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.cpp205 uint32_t getRandom() { in getRandom() function
212 return PT->at(getRandom() % PT->size()); in getRandomVal()
217 if (getRandom() & 1) in getRandomConstant()
221 if (getRandom() & 1) in getRandomConstant()
230 unsigned index = getRandom(); in getRandomValue()
239 if (getRandom() & 1) in getRandomValue()
243 if (getRandom() & 1) in getRandomValue()
261 unsigned index = getRandom(); in getRandomPointerValue()
272 unsigned index = getRandom(); in getRandomVectorValue()
283 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 Dlinux.cpp182 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
H A Dcommon.h185 bool getRandom(void *Buffer, uptr Length, bool Blocking = false);
H A Dfuchsia.cpp220 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
H A Dprimary32.h250 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
H A Dcombined.h155 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie)))) in init()
H A Dprimary64.h341 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()