Home
last modified time | relevance | path

Searched refs:my_rand (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bvgraph_test.cc82 uptr idx = (uptr)my_rand() % g.size(); in BasicTest()
85 uptr from = my_rand() % g.size(); in BasicTest()
86 uptr to = my_rand() % g.size(); in BasicTest()
90 from = my_rand() % g.size(); in BasicTest()
130 uptr from = my_rand() % g.size(); in RemoveEdges()
131 uptr to = my_rand() % g.size(); in RemoveEdges()
135 uptr idx = my_rand() % g.size(); in RemoveEdges()
Dsanitizer_bitvector_test.cc94 uptr bit = ((uptr)my_rand() % bv.size()); in TestBitVector()
96 switch (my_rand() % 2) { in TestBitVector()
119 uptr n_bits = ((uptr)my_rand() % bv.size()) + 1; in TestBitVector()
120 uptr n_bits1 = (uptr)my_rand() % (bv.size() / 2); in TestBitVector()
Dsanitizer_test_utils.h92 static inline uint32_t my_rand() { in my_rand() function
/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc47 u32 seed = my_rand(); in MallocStress()
156 u32 seed = my_rand(); in ThreadedQuarantineTestWorker()
Dasan_test.cc361 (my_rand() % 1000 + kMinElem) * sizeof(int)); in TEST()