Searched refs:cbNew (Results 26 - 39 of 39) sorted by relevance
12
/vbox/src/bldprogs/ |
H A D | scmsubversion.cpp | 116 size_t cbNew = *pcbAllocated ? *pcbAllocated * 2 : sizeof(szTmp) + 1; local 117 Assert(*poffCur + cbRead < cbNew); 118 rc2 = RTStrRealloc(ppszBuffer, cbNew); 126 *pcbAllocated = cbNew;
|
H A D | VBoxCPP.cpp | 678 size_t cbNew = pStrBuf->cbBufAllocated * 2; 679 if (cbNew < cbMin) 680 cbNew = RT_ALIGN_Z(cbMin, _1K); 681 void *pv = RTMemRealloc(pStrBuf->pszBuf, cbNew); 683 return vbcppError(pStrBuf->pThis, "out of memory (%zu bytes)", cbNew); 686 pStrBuf->cbBufAllocated = cbNew;
|
/vbox/src/VBox/Runtime/common/math/ |
H A D | bignum.cpp | 372 uint32_t const cbNew = cNew * RTBIGNUM_ELEMENT_SIZE; 373 Assert(cbNew > cbOld); 374 if (cbNew <= RTBIGNUM_MAX_SIZE && cbNew > cbOld) 378 pvNew = RTMemSaferReallocZ(cbOld, pBigNum->pauElements, cbNew); 380 pvNew = RTMemRealloc(pBigNum->pauElements, cbNew); 383 if (cbNew > cbOld) 384 RT_BZERO((char *)pvNew + cbOld, cbNew - cbOld);
|
/vbox/include/iprt/ |
H A D | string.h | 622 * @param cbNew When @a cbNew is zero, we'll behave like 629 #define RTStrRealloc(ppsz, cbNew) RTStrReallocTag((ppsz), (cbNew), RTSTR_TAG) 656 * @param cbNew When @a cbNew is zero, we'll behave like 664 RTDECL(int) RTStrReallocTag(char **ppsz, size_t cbNew, const char *pszTag);
|
H A D | asn1.h | 86 * This will not need to deal with free (@a cbNew == 0) or the initial 97 * @param cbNew The new minimum allocation size. The actual number 102 void *pvOld, void **ppvNew, size_t cbNew);
|
/vbox/src/VBox/HostServices/SharedFolders/testcase/ |
H A D | tstSharedFolderService.cpp | 1038 const RTFOFF cbNew = 50000; local 1051 Info.cbObject = cbNew; 1057 RTTEST_CHECK_MSG(hTest, testRTFileSetSizeSize == cbNew,
|
/vbox/include/VBox/vmm/ |
H A D | mm.h | 264 VMMR3DECL(int) MMR3HyperRealloc(PVM pVM, void *pv, size_t cb, unsigned uAlignmentNew, MMTAG enmTagNew, size_t cbNew, void **ppv);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | CPUMR3Db.cpp | 331 size_t cbNew = cNew * sizeof(**ppaMsrRanges); local 332 int rc = MMR3HyperRealloc(pVM, *ppaMsrRanges, cb, 32, MM_TAG_CPUM_MSRS, cbNew, &pvNew);
|
H A D | CPUMR3CpuId.cpp | 613 size_t cbNew = (cLeaves + 1) * sizeof(**ppaLeaves); 614 int rc = MMR3HyperRealloc(pVM, *ppaLeaves, cb, 32, MM_TAG_CPUM_CPUID, cbNew, (void **)ppaLeaves);
|
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 2246 size_t cbNew = RT_ALIGN_Z(cbBufReq, 16); // 1024 2247 void *pvNew = RTMemRealloc(pszStdErrBuf, cbNew); 2251 cbStdErrBuf = cbNew;
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | windowsx.h | 130 #define GlobalReAllocPtr(lp, cbNew, flags) (GlobalUnlockPtr(lp), GlobalLock(GlobalReAlloc(GlobalPtrHandle(lp) , (cbNew), (flags))))
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | windowsx.h | 130 #define GlobalReAllocPtr(lp, cbNew, flags) (GlobalUnlockPtr(lp), GlobalLock(GlobalReAlloc(GlobalPtrHandle(lp) , (cbNew), (flags))))
|
/vbox/include/iprt/nt/ |
H A D | nt.h | 2447 NTSYSAPI PVOID NTAPI RtlReAllocateHeap(HANDLE hHeap, ULONG fFlags, PVOID pvOld, SIZE_T cbNew);
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | IEMAll.cpp | 999 uint8_t cbNew = cbOldOpcodes - (uint8_t)offPrevOpcodes; local 1000 memmove(&pIemCpu->abOpcode[0], &pIemCpu->abOpcode[offPrevOpcodes], cbNew); 1001 pIemCpu->cbOpcode = cbNew;
|
Completed in 259 milliseconds
12