Lines Matching defs:off

1064                 uint32_t off = 0;
1065 while ((ch = pszForwarder[off]) != '.' && ch != '\0')
1069 off++;
1073 uint32_t const offDot = off;
1074 off++;
1078 if (pszForwarder[off] != '#')
1081 while ((ch = pszForwarder[off]) != '\0')
1085 off++;
1087 if (RT_UNLIKELY(off == offDot + 1))
1092 rc = RTStrToUInt32Full(&pszForwarder[off + 1], 10, &iImpOrdinal);
1100 uint32_t cbNeeded = RT_OFFSETOF(RTLDRIMPORTINFO, szModule[iImpOrdinal != UINT32_MAX ? offDot + 1 : off + 1]);
1112 memcpy(&pInfo->szModule[0], pszForwarder, off + 1);
2116 uint32_t off = 0;
2117 while (off < SpecialPlaces.cbToHash)
2119 uint32_t cbRead = RT_MIN(SpecialPlaces.cbToHash - off, cbScratch);
2121 rc = pModPe->Core.pReader->pfnRead(pModPe->Core.pReader, pbCur, cbRead, off);
2124 off, rc, cbRead);
2126 if (off < SpecialPlaces.offEndSpecial)
2128 if (off < SpecialPlaces.offCksum)
2131 uint32_t cbChunk = RT_MIN(SpecialPlaces.offCksum - off, cbRead);
2135 off += cbChunk;
2138 if (off < SpecialPlaces.offCksum + SpecialPlaces.cbCksum && off >= SpecialPlaces.offCksum)
2141 uint32_t cbChunk = RT_MIN(SpecialPlaces.offCksum + SpecialPlaces.cbCksum - off, cbRead);
2144 off += cbChunk;
2147 if (off < SpecialPlaces.offSecDir && off >= SpecialPlaces.offCksum + SpecialPlaces.cbCksum)
2150 uint32_t cbChunk = RT_MIN(SpecialPlaces.offSecDir - off, cbRead);
2154 off += cbChunk;
2157 if (off < SpecialPlaces.offSecDir + SpecialPlaces.cbSecDir && off >= SpecialPlaces.offSecDir)
2160 uint32_t cbChunk = RT_MIN(SpecialPlaces.offSecDir + SpecialPlaces.cbSecDir - off, cbRead);
2163 off += cbChunk;
2170 off += cbRead;
2238 "Invalid security data dir entry: cb=%#x off=%#x", cbSignature, offSignature);
2545 uint32_t off = offPageInFile;
2546 if (off < SpecialPlaces.offCksum)
2549 uint32_t cbChunk = RT_MIN(SpecialPlaces.offCksum - off, cbLeft);
2553 off += cbChunk;
2556 if (off < SpecialPlaces.offCksum + SpecialPlaces.cbCksum && off >= SpecialPlaces.offCksum)
2559 uint32_t cbChunk = RT_MIN(SpecialPlaces.offCksum + SpecialPlaces.cbCksum - off, cbLeft);
2562 off += cbChunk;
2565 if (off < SpecialPlaces.offSecDir && off >= SpecialPlaces.offCksum + SpecialPlaces.cbCksum)
2568 uint32_t cbChunk = RT_MIN(SpecialPlaces.offSecDir - off, cbLeft);
2572 off += cbChunk;
2575 if (off < SpecialPlaces.offSecDir + SpecialPlaces.cbSecDir && off >= SpecialPlaces.offSecDir)
2578 uint32_t cbChunk = RT_MIN(SpecialPlaces.offSecDir + SpecialPlaces.cbSecDir - off, cbLeft);
2581 off += cbChunk;
2951 pLoadCfg64->ProcessHeapFlags = pLoadCfg32->ProcessHeapFlags; /* switched place with ProcessAffinityMask, but we're more than 16 byte off by now so it doesn't matter. */
3381 uint32_t off = RVA - pSH->VirtualAddress;
3382 if (off < pSH->Misc.VirtualSize)
3384 cbRead = RT_MIN(pSH->Misc.VirtualSize - off, cb);
3385 rc = pReader->pfnRead(pReader, pvBuf, cbRead, pSH->PointerToRawData + off);
3556 uint32_t off = 0;
3559 PWIN_CERTIFICATE pCur = (PWIN_CERTIFICATE)((uint8_t *)pFirst + off);
3563 || pCur->dwLength + off > Dir.Size)
3565 Log(("rtldrPEOpen: %s: cert at %#x/%#x: dwLength=%#x\n", pszLogName, off, Dir.Size, pCur->dwLength));
3572 Log(("rtldrPEOpen: %s: cert at %#x/%#x: wRevision=%#x\n", pszLogName, off, Dir.Size, pCur->wRevision));
3584 Log(("rtldrPEOpen: %s: cert at %#x/%#x: wRevision=%#x\n", pszLogName, off, Dir.Size, pCur->wRevision));
3599 off += RT_ALIGN(pCur->dwLength, WIN_CERTIFICATE_ALIGNMENT);
3600 } while (off < Dir.Size);