Lines Matching defs:paDirEnts

540     PRTCVDIRENT32   paDirEnts;
957 if ( pThis->paDirEnts[i].iMod != 0xffff
958 && pThis->paDirEnts[i].iMod != 0x0000)
960 if (pThis->paDirEnts[i].uSubSectType == kCvSst_SegMap)
962 else if (pThis->paDirEnts[i].uSubSectType == kCvSst_SegName)
970 RTDBGMODCV_CHECK_RET_BF(pThis->paDirEnts[iSegMap].cb >= sizeof(RTCVSEGMAPHDR),
971 ("Bad sstSegMap entry: cb=%#x\n", pThis->paDirEnts[iSegMap].cb));
972 RTDBGMODCV_CHECK_NOMSG_RET_BF(iSegNames == UINT32_MAX || pThis->paDirEnts[iSegNames].cb > 0);
977 int rc = rtDbgModCvReadAtAlloc(pThis, pThis->paDirEnts[iSegMap].off, (void **)&pThis->pSegMap,
978 pThis->paDirEnts[iSegMap].cb);
981 pThis->cbSegNames = pThis->paDirEnts[iSegNames].cb;
982 rc = rtDbgModCvReadAtAlloc(pThis, pThis->paDirEnts[iSegNames].off, (void **)&pThis->pszzSegNames,
983 pThis->paDirEnts[iSegNames].cb);
1011 RTDBGMODCV_CHECK_RET_BF(pThis->paDirEnts[iSegMap].cb >= sizeof(*pHdr) + pHdr->cSegs * sizeof(paDescs[0]),
1012 ("SegMap is out of bounds: cbSubSect=%#x cSegs=%#x\n", pThis->paDirEnts[iSegMap].cb, pHdr->cSegs));
1322 * Loads the directory into memory (RTDBGMODCV::paDirEnts and
1329 * @returns IPRT status code. (May leave with paDirEnts allocated on failure.)
1351 pThis->paDirEnts = (PRTCVDIRENT32)RTMemAlloc(DirHdr.cEntries * sizeof(pThis->paDirEnts[0]));
1352 if (pThis->paDirEnts)
1355 pThis->paDirEnts, DirHdr.cEntries * sizeof(RTCVDIRENT16));
1360 RTCVDIRENT32 volatile *pDst = pThis->paDirEnts + cLeft;
1361 RTCVDIRENT16 volatile *pSrc = (RTCVDIRENT16 volatile *)pThis->paDirEnts + cLeft;
1420 pThis->paDirEnts = (PRTCVDIRENT32)RTMemAlloc(DirHdr.Core.cEntries * sizeof(pThis->paDirEnts[0]));
1421 if (pThis->paDirEnts)
1423 pThis->paDirEnts, DirHdr.Core.cEntries * sizeof(RTCVDIRENT32));
1444 PCRTCVDIRENT32 pDirEnt = &pThis->paDirEnts[i];
1498 else if (pThis->paDirEnts[0].iMod == 0)
1515 if (pThis->paDirEnts[i].iMod != 0)
1517 Log(("CV directory entry #%u: Expected iMod=%x instead of %x\n", i, 0, pThis->paDirEnts[i].iMod));
1529 if (pThis->paDirEnts[i].iMod == 0 || pThis->paDirEnts[i].iMod == 0xffff)
1553 PCRTCVDIRENT32 pDirEnt = &pThis->paDirEnts[i];
1586 if (pThis->paDirEnts[i].iMod != 0 && pThis->paDirEnts[i].iMod != 0xffff)
1589 pThis->paDirEnts[i].iMod));
1624 PCRTCVDIRENT32 pDirEnt = &pThis->paDirEnts[i];
2167 RTMemFree(pThis->paDirEnts);