Searched refs:RTRandU32Ex (Results 1 - 13 of 13) sorted by relevance
/vbox/src/VBox/Main/testcase/ |
H A D | tstGuestCtrlContextID.cpp | 57 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 D | tstRTMemWipe.cpp | 46 for (uint32_t p = 0; p < RTRandU32Ex(1, 64); p++) 71 size_t cbWipeRand = RTRandU32Ex(1, cbAlloc);
|
H A D | tstIprtList.cpp | 558 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 D | tstRTLocalIpc.cpp | 341 size_t cbRead = RTRandU32Ex(1, sizeof(LOCALIPCTESTMSG) - cbReadTotal); /* Force a bit of fragmentation. */
|
H A D | tstRand.cpp | 393 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 D | tstUtf8.cpp | 53 wc = (RTUTF16)RTRandU32Ex(1, 0xfffd);
|
/vbox/src/VBox/Runtime/common/rand/ |
H A D | rand.cpp | 114 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 D | tstPDMAsyncCompletionStress.cpp | 233 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 D | rand.h | 70 RTDECL(uint32_t) RTRandU32Ex(uint32_t u32First, uint32_t u32Last) RT_NO_THROW;
|
H A D | mangling.h | 1202 # define RTRandU32Ex RT_MANGLER(RTRandU32Ex) macro
|
/vbox/src/VBox/Runtime/generic/ |
H A D | createtemp-generic.cpp | 105 pszX[j] = s_sz[RTRandU32Ex(0, RT_ELEMENTS(s_sz) - 2)];
|
/vbox/src/VBox/Runtime/r3/ |
H A D | memsafer-r3.cpp | 118 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 D | ConsoleImplTeleporter.cpp | 1073 uPort = RTRandU32Ex(cTries >= 8192 ? 49152 : 1024, 65534);
|
Completed in 99 milliseconds