Searched refs:GetRandom (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_common_test.cpp | 425 TEST(SanitizerCommon, GetRandom) { in TEST() argument 428 EXPECT_FALSE(GetRandom(nullptr, 32, blocking)); in TEST() 429 EXPECT_FALSE(GetRandom(buffer_1, 0, blocking)); in TEST() 430 EXPECT_FALSE(GetRandom(buffer_1, 512, blocking)); in TEST() 434 EXPECT_TRUE(GetRandom(buffer_1, size, blocking)); in TEST() 435 EXPECT_TRUE(GetRandom(buffer_2, size, blocking)); in TEST()
|
/openbsd/gnu/llvm/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread.cpp | 19 if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&seed), sizeof(seed), in RandomSeed()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_fuchsia.cpp | 458 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
|
H A D | sanitizer_win.cpp | 1151 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
|
H A D | sanitizer_common.h | 1068 bool GetRandom(void *buffer, uptr length, bool blocking = true);
|
H A D | sanitizer_mac.cpp | 1386 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
|
H A D | sanitizer_linux.cpp | 2389 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
|