Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h57 inline void RandomShuffle(T *a, u32 n, u32 *rand_state) { in RandomShuffle() argument
59 u32 state = *rand_state; in RandomShuffle()
62 *rand_state = state; in RandomShuffle()
H A Dsanitizer_allocator_primary32.h284 u32 rand_state; in ALIGNED() local
322 RandomShuffle(pointers_array, count, &sci->rand_state); in PopulateBatches()
347 if (UNLIKELY(sci->rand_state == 0)) in PopulateFreeList()
349 sci->rand_state = reinterpret_cast<uptr>(sci) ^ NanoTime(); in PopulateFreeList()
H A Dsanitizer_allocator_primary64.h677 u32 rand_state; // Seed for random shuffle, used if kRandomShuffleChunks. in ALIGNED() local
784 region->rand_state = static_cast<u32>(region_beg >> 12); in PopulateFreeArray()
838 &region->rand_state); in PopulateFreeArray()