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

/vbox/src/VBox/Runtime/common/math/
H A Dbignum.cpp68 Assert( (a_pBigNum)->cUsed == (a_pBigNum)->cAllocated \
69 || ASMMemIsAllU32(&(a_pBigNum)->pauElements[(a_pBigNum)->cUsed], \
70 ((a_pBigNum)->cAllocated - (a_pBigNum)->cUsed) * RTBIGNUM_ELEMENT_SIZE, 0) == NULL); \
84 * For calculating the rtBigNumEnsureExtraZeroElements argument from cUsed.
120 RTBIGNUMELEMENT const *pauSubtrahend, uint32_t cUsed);
122 uint32_t cUsed);
123 DECLASM(RTBIGNUMELEMENT) rtBigNumMagnitudeShiftLeftOneAssemblyWorker(RTBIGNUMELEMENT *pauElements, uint32_t cUsed,
353 if (iElement < pBigNum->cUsed)
364 * @param cNewUsed The new cUsed value.
385 if (pBigNum->cUsed > cNewUse
[all...]
H A Dbignum-amd64-x86.asm46 ; @param cUsed x86:[ebp + 20] gcc:rcx msc:r9
60 %define cUsed ecx
65 %define cUsed r9d
70 add cUsed, 1 ; cUsed = RT_ALIGN(cUsed, 2) / 2
71 shr cUsed, 1
73 cmp cUsed, 8 ; Skip the big loop if small number.
76 mov r10d, cUsed
109 and cUsed,
[all...]
/vbox/src/VBox/Devices/Input/
H A DPS2M.cpp155 uint32_t cUsed; \
315 pQ->cUsed = 0;
328 if (pQ->cUsed >= pQ->cSize)
330 LogFlowFunc(("queue %p full (%d entries)\n", pQ, pQ->cUsed));
337 ++pQ->cUsed;
351 uint32_t cItems = pQ->cUsed;
379 SSMR3GetU32(pSSM, &pQ->cUsed);
381 LogFlow(("Loading %d items to queue %p\n", pQ->cUsed, pQ));
383 if (pQ->cUsed > pQ->cSize)
385 AssertMsgFailed(("Saved size=%u, actual=%u\n", pQ->cUsed, p
[all...]
H A DPS2K.cpp117 uint32_t cUsed; \
478 pQ->cUsed = 0;
491 if (pQ->cUsed >= pQ->cSize)
493 LogFlowFunc(("queue %p full (%d entries)\n", pQ, pQ->cUsed));
500 ++pQ->cUsed;
514 uint32_t cItems = pQ->cUsed;
540 int rc = SSMR3GetU32(pSSM, &pQ->cUsed);
542 LogFlow(("Loading %u items to queue %p\n", pQ->cUsed, pQ));
543 AssertMsgReturn(pQ->cUsed <= pQ->cSize, ("Saved size=%u, actual=%u\n", pQ->cUsed, p
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTBigNum.cpp199 RTTESTI_CHECK(Num.cUsed == pBigNum->cUsed);
206 RTTESTI_CHECK(Num.cUsed == pBigNum->cUsed);
224 RTTESTI_CHECK(g_Zero.cUsed == 0);
228 RTTESTI_CHECK(g_Minus1.cUsed == 1);
231 RTTESTI_CHECK(g_One.cUsed == 1 && g_One.pauElements[0] == 1);
232 RTTESTI_CHECK(g_Two.cUsed == 1 && g_Two.pauElements[0] == 2);
233 RTTESTI_CHECK(g_Three.cUsed == 1 && g_Three.pauElements[0] == 3);
234 RTTESTI_CHECK(g_Four.cUsed
[all...]
/vbox/include/iprt/
H A Dbignum.h82 uint32_t cUsed; member in struct:RTBIGNUM
/vbox/src/VBox/VMM/tools/
H A DVBoxCpuReport.cpp3616 uint32_t cUsed = 0; local
3617 while (cUsed < cRegs)
3621 int rc = msrProberModifyBitChanges(paMsrs[cUsed].uMsr, &fIgnMaskN, &fGpMaskN, 0);
3626 if (cUsed == 0)
3634 fIgnMaskN, fIgnMask, fGpMaskN, fGpMask, paMsrs[cUsed].uMsr);
3635 cUsed++;
3637 if (cUsed > 0)
3638 printMsrRangeFunctionEx(paMsrs[0].uMsr, paMsrs[cUsed - 1].uMsr, "AmdFam10hMc4MiscN", NULL, 0, fIgnMask, fGpMask, NULL);
3642 while (cUsed + cReserved < cRegs)
3645 int rc = msrProberModifyBitChanges(paMsrs[cUsed
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMAsyncCompletion.cpp119 volatile uint32_t cUsed; member in struct:PDMASYNCCOMPLETIONTEMPLATE
180 pTemplate->cUsed = 0;
400 if (pTemplate->cUsed > 0)
1481 ASMAtomicIncU32(&pTemplate->cUsed);
1525 ASMAtomicDecU32(&pEndpoint->pTemplate->cUsed);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/
H A DVBoxMPInternal.cpp41 uint32_t cUsed; member in struct:_VBVA_CHANNELCONTEXTS
631 pContexts->cUsed++;
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrvInternal.h333 uint32_t volatile cUsed; member in struct:SUPDRVBUNDLE
H A DSUPDrv.cpp750 pSession->Bundle.cUsed = 0; */
920 pToFree->cUsed = 0;
3268 if (pBundle->cUsed > 0)
3436 if (pBundle->cUsed > 0)
3521 if (pBundle->cUsed > 0)
4227 if (pBundle->cUsed < RT_ELEMENTS(pBundle->aMem))
4234 pBundle->cUsed++;
4254 pBundle->cUsed++;
4294 if (pBundle->cUsed > 0)
/vbox/src/VBox/Devices/testcase/
H A DtstDeviceStructSizeRC.cpp446 GEN_CHECK_OFF(KbdCmdQ, cUsed);

Completed in 978 milliseconds