Lines Matching refs:ofs

364     static char pktStr[9] = "PKT DRVR";  /* ASCIIZ string at ofs 3 */

829 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs);
831 if (ofs != _farpeekw (_dos_ds, realBase+rxInOfs))
836 head.firstCount = _farpeekw (_dos_ds, realBase+ofs);
837 head.secondCount = _farpeekw (_dos_ds, realBase+ofs+2);
838 head.handle = _farpeekw (_dos_ds, realBase+ofs+4);
844 dosmemget (realBase+ofs+6, len, buf);
849 ofs += sizeof (RX_ELEMENT);
850 if (ofs > LAST_RX_BUF)
852 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
860 WORD ofs;
863 ofs = _farpeekw (_dos_ds, realBase+rxInOfs);
865 ofs += sizeof (RX_ELEMENT);
867 if (ofs > LAST_RX_BUF)
869 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
895 WORD ofs = *(WORD*) (realBase+rxOutOfs);
897 if (ofs != *(WORD*) (realBase+rxInOfs))
902 head.firstCount = *(WORD*) (realBase+ofs);
903 head.secondCount = *(WORD*) (realBase+ofs+2);
904 head.handle = *(WORD*) (realBase+ofs+4);
910 memcpy (buf, (const void*)(realBase+ofs+6), len);
915 ofs += sizeof (RX_ELEMENT);
916 if (ofs > LAST_RX_BUF)
918 else *(WORD*) (realBase+rxOutOfs) = ofs;
926 WORD ofs;
929 ofs = *(WORD*) (realBase+rxInOfs);
931 ofs += sizeof (RX_ELEMENT);
933 if (ofs > LAST_RX_BUF)
935 else *(WORD*) (realBase+rxOutOfs) = ofs;
1021 unsigned ofs; /* clear the DOS-mem to prevent further upcalls */
1023 for (ofs = 0; ofs < 16 * rm_mem.size / 4; ofs += 4)
1024 _farpokel (_dos_ds, realBase + ofs, 0);
1247 unsigned sel, ofs;
1253 ofs = _FP_OFF (protBase);
1254 printf ("Protbase = %04X:%08X\n", sel,ofs);
1258 ofs = _FP_OFF (rxOutOfsFp);
1259 printf ("rxOutOfsFp = %04X:%08X\n", sel,ofs);
1262 ofs = _FP_OFF (rxInOfsFp);
1263 printf ("rxInOfsFp = %04X:%08X\n", sel,ofs);