Searched refs:getRandom (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 207 uint32_t getRandom() { in getRandom() function 214 return PT->at(getRandom() % PT->size()); in getRandomVal() 219 if (getRandom() & 1) in getRandomConstant() 223 if (getRandom() & 1) in getRandomConstant() 232 unsigned index = getRandom(); in getRandomValue() 241 if (getRandom() & 1) in getRandomValue() 245 if (getRandom() & 1) in getRandomValue() 263 unsigned index = getRandom(); in getRandomPointerValue() 274 unsigned index = getRandom(); in getRandomVectorValue() 285 return (getRandom() & 1) ? pickVectorType() : pickScalarType(); in pickType() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | trusty.cpp | 108 bool getRandom(UNUSED void *Buffer, UNUSED uptr Length, UNUSED bool Blocking) { in getRandom() 106 bool getRandom(UNUSED void *Buffer, UNUSED uptr Length, UNUSED bool Blocking) { getRandom() function
|
H A D | common.h | 163 bool getRandom(void *Buffer, uptr Length, bool Blocking = false);
|
H A D | linux.cpp | 179 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() 172 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { getRandom() function
|
H A D | fuchsia.cpp | 220 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
|
H A D | primary32.h | 81 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
|
H A D | combined.h | 150 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie)))) in init()
|
H A D | primary64.h | 122 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
|