Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc68 size_t idx = my_rand_r(&seed) % vec.size(); in MallocStress()
74 size_t size = my_rand_r(&seed) % 1000 + 1; in MallocStress()
75 switch ((my_rand_r(&seed) % 128)) { in MallocStress()
80 size_t alignment = 1 << (my_rand_r(&seed) % 10 + 1); in MallocStress()
163 void *p = __asan::asan_malloc(1 + (my_rand_r(&seed) % 4000), &stack); in ThreadedQuarantineTestWorker()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_test_utils.h86 static inline uint32_t my_rand_r(uint32_t* state) { in my_rand_r() function
93 return my_rand_r(&global_seed); in my_rand()
Dsanitizer_allocator_test.cc620 uptr sz = my_rand_r(&rnd) % 1000; in TEST()