Lines Matching defs:g_hRand
83 RTRAND g_hRand;
109 int uRnd = RTRandAdvU32Ex(g_hRand, 0, 100);
121 paDiskSeg[i].pbDataDiff = pbTestPattern + RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 0, cbTestPattern - paDiskSeg[i].cbSeg - 512), 512);
250 RTRandAdvBytes(g_hRand, pbTestPattern, pTest->cbTestPattern);
251 cDiskSegments = RTRandAdvU32Ex(g_hRand, pTest->cDiskSegsMin, pTest->cDiskSegsMax);
259 paDiskSeg[i].cbSeg = RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 512, pTest->cbTestPattern), 512);
261 paDiskSeg[i].pbData = pbTestPattern + RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 0, pTest->cbTestPattern - paDiskSeg[i].cbSeg - 512), 512);
353 uint32_t uStartMerge = RTRandAdvU32Ex(g_hRand, 1, cDiffs - 1);
354 uint32_t uEndMerge = RTRandAdvU32Ex(g_hRand, uStartMerge + 1, cDiffs);
413 rc = RTRandAdvCreateParkMiller(&g_hRand);
420 RTRandAdvSeed(g_hRand, 0x12345678);
454 RTRandAdvDestroy(g_hRand);