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 | 205 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 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 | linux.cpp | 182 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
|
| H A D | common.h | 185 bool getRandom(void *Buffer, uptr Length, bool Blocking = false);
|
| H A D | fuchsia.cpp | 220 bool getRandom(void *Buffer, uptr Length, UNUSED bool Blocking) { in getRandom() function
|
| H A D | primary32.h | 250 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
|
| H A D | combined.h | 155 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie)))) in init()
|
| H A D | primary64.h | 341 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init()
|