Searched refs:RandState (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | common.h | 110 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 D | primary32.h | 86 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 D | primary64.h | 126 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()
|