Home
last modified time | relevance | path

Searched refs:getRandom (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp207 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 Dtrusty.cpp108 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 Dcommon.h163 bool getRandom(void *Buffer, uptr Length, bool Blocking = false);
H A Dlinux.cpp179 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 Dfuchsia.cpp220 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
H A Dprimary32.h81 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
H A Dcombined.h150 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie)))) in init()
H A Dprimary64.h122 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()