Home
last modified time | relevance | path

Searched refs:getRandomU32 (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dcommon.h79 inline u32 getRandomU32(u32 *State) { in getRandomU32() function
90 return getRandomU32(State) % N; // [0, N) in getRandomModN()
H A Dprimary64.h83 Region->RandState = getRandomU32(&Seed); in init()
H A Dprimary32.h81 Sci->RandState = getRandomU32(&Seed); in init()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Drelease_test.cpp169 InFreeRange = (scudo::getRandomU32(&RandState) & 1U) == 1; in testReleaseFreeMemoryToOS()
170 CurrentRangeEnd += (scudo::getRandomU32(&RandState) & 0x7f) + 1; in testReleaseFreeMemoryToOS()