Searched refs:cNew (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-basics.cpp78 uint32_t cCurrent, uint32_t cNew)
82 AssertReturn(cNew > cCurrent, VERR_INVALID_PARAMETER);
83 AssertReturn(cNew < _1M, VERR_OUT_OF_RANGE);
93 AssertReturn(cNew != 0, VERR_INVALID_PARAMETER);
94 return pAllocation->pAllocator->pfnAlloc(pAllocation->pAllocator, pAllocation, ppvArray, cNew * cbEntry);
98 size_t cbNew = cNew * cbEntry;
105 cNew += 8;
107 cNew += 2;
109 cNew += 4;
110 cbNew += cNew * cbEntr
77 RTAsn1MemGrowArray(PRTASN1ALLOCATION pAllocation, void **ppvArray, size_t cbEntry, uint32_t cCurrent, uint32_t cNew) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPVhwa.cpp746 uint32_t cNew = ASMAtomicIncU32(&pSource->Vhwa.cOverlaysCreated);
747 if (cNew == 1)
789 uint32_t cNew = ASMAtomicDecU32(&pSource->Vhwa.cOverlaysCreated);
791 if (!cNew)
798 Assert(cNew < UINT32_MAX / 2);
/vbox/src/VBox/VMM/VMMR3/
H A DCPUMR3Db.cpp324 uint32_t cNew = RT_ALIGN_32(cMsrRanges + cNewRanges, 16); local
331 size_t cbNew = cNew * sizeof(**ppaMsrRanges);
345 pvNew = RTMemRealloc(*ppaMsrRanges, cNew * sizeof(**ppaMsrRanges));
H A DSTAM.cpp680 uint32_t cNew = pParent->cChildren ? (uint32_t)pParent->cChildren * 2 : 8;
681 AssertReturnStmt(cNew <= 0x8000, RTMemFree(pNew), NULL);
682 void *pvNew = RTMemRealloc(pParent->papChildren, cNew * sizeof(pParent->papChildren[0]));
H A DPATM.cpp4788 uint32_t cNew = --pPatchPage->cCount; local
4789 if (i < cNew)
4790 pPatchPage->papPatch[i] = pPatchPage->papPatch[cNew];
4791 pPatchPage->papPatch[cNew] = NULL;
/vbox/src/VBox/Runtime/common/string/
H A Dstrcache.cpp474 uint32_t cNew = pThis->cHashTab * RTSTRCACHE_HASH_GROW_FACTOR; local
475 PRTSTRCACHEENTRY *papNew = (PRTSTRCACHEENTRY *)RTMemAllocZ(sizeof(papNew[0]) * cNew);
486 pThis->cHashTab = cNew;
/vbox/src/VBox/Runtime/common/crypto/
H A Dx509-certpaths.cpp1315 uint32_t cNew = RT_ALIGN_32(pThis->v.cPermittedSubtrees + cAdding, 16);
1316 if (cNew > pThis->v.cPermittedSubtreesAlloc)
1318 if (cNew >= _4K)
1320 cNew, pThis->v.cPermittedSubtrees);
1321 void *pvNew = RTMemRealloc(pThis->v.papPermittedSubtrees, cNew * sizeof(pThis->v.papPermittedSubtrees[0]));
1324 pThis->v.cPermittedSubtreesAlloc, cNew);
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmoddwarf.cpp2851 uint32_t cNew = RT_ALIGN(uCode, 64); local
2852 void *pv = RTMemRealloc(pThis->paCachedAbbrevs, sizeof(pThis->paCachedAbbrevs[0]) * cNew);
2857 Log(("rtDwarfAbbrev_LookupMiss: Growing from %u to %u...\n", pThis->cCachedAbbrevsAlloced, cNew));
2859 for (uint32_t i = pThis->cCachedAbbrevsAlloced; i < cNew; i++)
2861 pThis->cCachedAbbrevsAlloced = cNew;
/vbox/src/VBox/Runtime/common/math/
H A Dbignum.cpp371 uint32_t const cNew = RT_ALIGN_32(cMinElements, RTBIGNUM_ALIGNMENT);
372 uint32_t const cbNew = cNew * RTBIGNUM_ELEMENT_SIZE;
390 pBigNum->cAllocated = cNew;
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-ogl.cpp2630 uint32_t cNew = RT_ALIGN(sid + 15, 16); local
2631 void *pvNew = RTMemRealloc(pState->papSurfaces, sizeof(pState->papSurfaces[0]) * cNew);
2634 while (pState->cSurfaces < cNew)
4249 uint32_t cNew = RT_ALIGN(cid + 15, 16);
4250 void *pvNew = RTMemRealloc(pState->papContexts, sizeof(pState->papContexts[0]) * cNew);
4253 while (pState->cContexts < cNew)
H A DDevVGA-SVGA3d-win.cpp1405 uint32_t cNew = RT_ALIGN(sid + 15, 16); local
1406 void *pvNew = RTMemRealloc(pState->papSurfaces, sizeof(pState->papSurfaces[0]) * cNew);
1409 while (pState->cSurfaces < cNew)
2936 uint32_t cNew = RT_ALIGN(cid + 15, 16); local
2937 void *pvNew = RTMemRealloc(pState->papContexts, sizeof(pState->papContexts[0]) * cNew);
2940 while (pState->cContexts < cNew)
/vbox/include/iprt/
H A Dasn1.h143 * @param cNew The new entry count.
146 uint32_t cCurrent, uint32_t cNew);

Completed in 164 milliseconds