Lines Matching refs:cEntries
830 uint32_t cEntries;
3608 uint32_t const cEntries = pCur->cb / sizeof(RTRCPTR);
3609 AssertMsgBreakStmt(pCur->cb == cEntries * sizeof(RTRCPTR) && cEntries, ("%#x (%s)\n", pCur->cb, pCur->pszName),
3612 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
3768 uint32_t const cEntries = cbField / sizeof(RTRCPTR);
3769 AssertMsgBreakStmt(cbField == cEntries * sizeof(RTRCPTR) && cEntries, ("%#x (%s)\n", cbField, pCur->pszName),
3771 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
3784 uint32_t const cEntries = cbField / sizeof(void *);
3785 AssertMsgBreakStmt(cbField == cEntries * sizeof(void *) && cEntries, ("%#x (%s)\n", cbField, pCur->pszName),
3787 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
4649 pDir->cEntries = 0;
4654 PSSMFILEDIRENTRY pEntry = &pDir->aEntries[pDir->cEntries++];
4655 Assert(pDir->cEntries <= pVM->ssm.s.cUnits);
4666 *pcEntries = pDir->cEntries;
4667 cbDir = RT_OFFSETOF(SSMFILEDIR, aEntries[pDir->cEntries]);
6571 uint32_t const cEntries = pCur->cb / sizeof(RTRCPTR);
6572 AssertMsgBreakStmt(pCur->cb == cEntries * sizeof(RTRCPTR) && cEntries, ("%#x (%s)\n", pCur->cb, pCur->pszName), rc = VERR_SSM_FIELD_INVALID_SIZE);
6574 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
6735 uint32_t const cEntries = cbField / sizeof(RTRCPTR);
6736 AssertMsgBreakStmt(cbField == cEntries * sizeof(RTRCPTR) && cEntries, ("%#x (%s)\n", cbField, pCur->pszName), rc = VERR_SSM_FIELD_INVALID_SIZE);
6738 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
6750 uint32_t const cEntries = cbField / sizeof(void *);
6751 AssertMsgBreakStmt(cbField == cEntries * sizeof(void *) && cEntries, ("%#x (%s)\n", cbField, pCur->pszName), rc = VERR_SSM_FIELD_INVALID_SIZE);
6753 for (uint32_t i = 0; i < cEntries && RT_SUCCESS(rc); i++)
8057 AssertLogRelMsgReturn(pDir->cEntries == cDirEntries,
8058 ("Bad directory entry count: %#x, expected %#x (from the footer)\n", pDir->cEntries, cDirEntries),
8060 AssertLogRelReturn(RT_UOFFSETOF(SSMFILEDIR, aEntries[pDir->cEntries]) == cbDir, VERR_SSM_INTEGRITY_DIR);
8062 for (uint32_t i = 0; i < pDir->cEntries; i++)
8332 AssertLogRelMsgReturn(DirHdr.cEntries < _64K,
8333 ("Too many directory entries at %#llx (%lld): %#x\n", off, off, DirHdr.cEntries),
8336 size_t cbDir = RT_OFFSETOF(SSMFILEDIR, aEntries[DirHdr.cEntries]);
8343 rc = ssmR3ValidateDirectory(pDir, cbDir, off, DirHdr.cEntries, pSSM->u.Read.cbFileHdr, pSSM->u.Read.u32SvnRev);
8357 return ssmR3ValidateFooter(&Footer, off, DirHdr.cEntries, pSSM->u.Read.fStreamCrc32, u32StreamCRC);