Searched refs:RTRandU32Ex (Results 1 - 13 of 13) sorted by relevance

/vbox/src/VBox/Main/testcase/
H A DtstGuestCtrlContextID.cpp57 uint32_t uSession = RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_SESSIONS - 1);
61 uint32_t uSession2 = RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_SESSIONS - 1);
63 RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_OBJECTS - 1),
64 RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_CONTEXTS - 1));
82 uint32_t s = RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_SESSIONS - 1);
83 uint32_t p = RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_OBJECTS - 1);
84 uint32_t c = RTRandU32Ex(0, VBOX_GUESTCTRL_MAX_CONTEXTS - 1);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTMemWipe.cpp46 for (uint32_t p = 0; p < RTRandU32Ex(1, 64); p++)
71 size_t cbWipeRand = RTRandU32Ex(1, cbAlloc);
H A DtstIprtList.cpp558 a = pTestList->at(RTRandU32Ex(0, (uint32_t)pTestList->size() - 1));
580 pTestList->replace(RTRandU32Ex(0, (uint32_t)pTestList->size() - 1), 0xFF00FF00);
602 pTestList->removeAt(RTRandU32Ex(0, (uint32_t)pTestList->size() - 1));
663 au8TestInts[i] = (uint8_t)RTRandU32Ex(1, UINT8_MAX);
669 au16TestInts[i] = (uint16_t)RTRandU32Ex(1, UINT16_MAX);
675 au32TestInts[i] = RTRandU32Ex(1, UINT32_MAX);
H A DtstRTLocalIpc.cpp341 size_t cbRead = RTRandU32Ex(1, sizeof(LOCALIPCTESTMSG) - cbReadTotal); /* Force a bit of fragmentation. */
H A DtstRand.cpp393 RTPrintf("tstRand: TESTING RTRandU32Ex(%#RX32, %#RX32) distribution... [div=%#RX32 range=%#RX32]\n", uFirst, uLast, uDivisor, uRange);
396 uint32_t uRand = RTRandU32Ex(uFirst, uLast);
H A DtstUtf8.cpp53 wc = (RTUTF16)RTRandU32Ex(1, 0xfffd);
/vbox/src/VBox/Runtime/common/rand/
H A Drand.cpp114 RTDECL(uint32_t) RTRandU32Ex(uint32_t u32First, uint32_t u32Last) RT_NO_THROW
119 RT_EXPORT_SYMBOL(RTRandU32Ex); variable
/vbox/src/VBox/VMM/testcase/
H A DtstPDMAsyncCompletionStress.cpp233 pTestTask->DataSeg.cbSeg = RTRandU32Ex(512, TASK_TRANSFER_SIZE_MAX) & ~511;
296 pTestTask->DataSeg.cbSeg = RTRandU32Ex(1, RT_MIN(pTestFile->cbFileCurr, TASK_TRANSFER_SIZE_MAX));
324 int uRnd = RTRandU32Ex(0, 100);
379 RTThreadSleep(RTRandU32Ex(1, 100));
426 pTestFile->cbFileSegment = RTRandU32Ex(SEGMENT_SIZE_MIN, RT_MIN(pTestFile->cbFileMax, SEGMENT_SIZE_MAX)) & ~((size_t)511);
452 pTestFile->cTasksActiveMax = RTRandU32Ex(1, TASK_ACTIVE_MAX);
/vbox/include/iprt/
H A Drand.h70 RTDECL(uint32_t) RTRandU32Ex(uint32_t u32First, uint32_t u32Last) RT_NO_THROW;
H A Dmangling.h1202 # define RTRandU32Ex RT_MANGLER(RTRandU32Ex) macro
/vbox/src/VBox/Runtime/generic/
H A Dcreatetemp-generic.cpp105 pszX[j] = s_sz[RTRandU32Ex(0, RT_ELEMENTS(s_sz) - 2)];
/vbox/src/VBox/Runtime/r3/
H A Dmemsafer-r3.cpp118 g_cMemSaferPtrScramblerRotate = RTRandU32Ex(0, ARCH_BITS - 1);
389 pThis->offUser = (RTRandU32Ex(0, 128) * RTMEMSAFER_ALIGN) & PAGE_OFFSET_MASK;
/vbox/src/VBox/Main/src-client/
H A DConsoleImplTeleporter.cpp1073 uPort = RTRandU32Ex(cTries >= 8192 ? 49152 : 1024, 65534);

Completed in 114 milliseconds