Home
last modified time | relevance | path

Searched refs:RandState (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcommon.h110 template <typename T> inline void shuffle(T *A, u32 N, u32 *RandState) { in shuffle() argument
113 u32 State = *RandState; in shuffle()
116 *RandState = State; in shuffle()
H A Dprimary32.h86 Sci->RandState = getRandomU32(&Seed); in init()
403 u32 RandState; member
837 shuffle(ShuffleArray + I - N, N, &Sci->RandState); in populateFreeList()
847 shuffle(ShuffleArray + NumberOfBlocks - N, N, &Sci->RandState); in populateFreeList()
H A Dprimary64.h126 getRegionInfo(I)->RandState = getRandomU32(&Seed); in init()
548 u32 RandState GUARDED_BY(MMLock) = 0;
619 (getRandomModN(&Region->RandState, 16) + 1) * PageSize; in initRegion()
1087 shuffle(ShuffleArray + I - N, N, &Region->RandState); in populateFreeListAndPopBlocks()
1097 shuffle(ShuffleArray + NumberOfBlocks - N, N, &Region->RandState); in populateFreeListAndPopBlocks()