Searched refs:cbThis (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/ValidationKit/snippets/
H A Dalloc-1.c66 unsigned long cbThis = cb > 10*1024*1024 ? 10*1024*1024 : cb; local
67 char *pb = malloc(cbThis);
74 cbDone += cbThis;
77 while (cbThis >= 0x1000)
79 *pb = (char)cbThis;
81 cbThis -= 0x1000;
/vbox/src/VBox/Runtime/common/filesystem/
H A Dfilesystemext.cpp348 size_t cbThis = 0; local
359 cbThis = RT_MIN(cb, pThis->pBlkGrpDesc->offLast - offStart + 1);
361 cbThis / pThis->cbBlock +
362 (cbThis % pThis->cbBlock ? 1 : 0));
370 cb -= cbThis;
371 offStart += cbThis;
/vbox/src/VBox/Runtime/common/zip/
H A Dgzipvfs.cpp528 size_t cbThis = cbLeft < ~(uInt)0 ? cbLeft : ~(uInt)0 / 2; local
530 pThis->Zlib.avail_in = (uInt)cbThis;
533 Assert(cbThis >= pThis->Zlib.avail_in);
534 cbThis -= pThis->Zlib.avail_in;
535 cbWritten += cbThis;
536 if (cbLeft == cbThis || rc != VINF_SUCCESS)
538 pbSrc += cbThis;
539 cbLeft -= cbThis;
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp388 uint32_t cbThis = RT_MIN(cb, cbMemory); local
391 uint32_t uNextRva = uRva + cbThis;
404 cbThis = paSkipAreas[i].uRva - uRva;
410 cbThis -= uSkipEnd - uRva;
416 cbThis = 0;
424 NTSTATUS rcNt = supHardNtVpReadMem(pThis->hProcess, pImage->uImageBase + uRva, pbMemory, cbThis);
428 pImage->pszName, cbThis, pImage->uImageBase + uRva, uRva, iSh + 1,
432 if (memcmp(pbFile, pbMemory, cbThis) != 0)
438 while (off < cbThis && pbFile[off] == pbMemory[off])
444 for (uint32_t off2 = off + 1; off2 < cbThis; off
[all...]
/vbox/src/VBox/Runtime/common/vfs/
H A Dvfsbase.cpp730 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSOBJINTERNAL), RTVFS_INST_ALIGNMENT) local
732 RTVFSOBJINTERNAL *pThis = (RTVFSOBJINTERNAL *)RTMemAllocZ(cbThis);
1604 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSINTERNAL), RTVFS_INST_ALIGNMENT) local
1606 RTVFSINTERNAL *pThis = (RTVFSINTERNAL *)RTMemAllocZ(cbThis);
1691 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSFSSTREAMINTERNAL), RTVFS_INST_ALIGNMENT) local
1693 RTVFSFSSTREAMINTERNAL *pThis = (RTVFSFSSTREAMINTERNAL *)RTMemAllocZ(cbThis);
1822 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSSYMLINKINTERNAL), RTVFS_INST_ALIGNMENT) local
1824 RTVFSSYMLINKINTERNAL *pThis = (RTVFSSYMLINKINTERNAL *)RTMemAllocZ(cbThis);
1966 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSIOSTREAMINTERNAL), RTVFS_INST_ALIGNMENT) local
1968 RTVFSIOSTREAMINTERNAL *pThis = (RTVFSIOSTREAMINTERNAL *)RTMemAllocZ(cbThis);
2401 size_t const cbThis = RT_ALIGN_Z(sizeof(RTVFSFILEINTERNAL), RTVFS_INST_ALIGNMENT) local
[all...]
/vbox/src/VBox/Storage/
H A DVD.cpp1234 size_t cbThis = cbLeft; local
1242 cbThis = (idxEnd - idxStart) * 512;
1251 cbThis = (idxEnd - idxStart) * 512;
1258 &IoCtx, offStart, cbThis, NULL,
1259 NULL, &cbThis, NULL,
1268 offStart += cbThis;
1269 cbLeft -= cbThis;
3250 size_t cbThis = cbLeft; local
3258 cbThis = (idxEnd - idxStart) * 512;
3267 cbThis
[all...]
/vbox/src/VBox/HostDrivers/Support/
H A DSUPLib.cpp1836 size_t cbThis = RT_OFFSETOF(SUPDRVTRACERSTRTAB, apszOrgFunctions[cProbeLocs]);
1837 PSUPDRVTRACERSTRTAB pThis = (PSUPDRVTRACERSTRTAB)RTMemAlloc(cbThis);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwingdi.h3343 DWORD cbThis; member in struct:tagGLYPHSET
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dwingdi.h3316 DWORD cbThis; member in struct:tagGLYPHSET

Completed in 269 milliseconds