Home
last modified time | relevance | path

Searched refs:GetRandom (Results 1 – 14 of 14) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp549 struct GetRandom in operator ()() struct
556 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
557 T aOffset = GetRandom()(random, T(-8), T(8)); in operator ()()
599 struct GetRandom in operator ()() struct
606 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
607 T aOffset = GetRandom()(random, T(-8), T(8)); in operator ()()
739 struct GetRandom in operator ()() struct
746 T rLen = GetRandom()(rnd, T(0), T(8)); in operator ()()
747 T rMin = GetRandom()(rnd, T(-4), T(4)); in operator ()()
761 T aLen = GetRandom()(rnd, T(0), T(8)-rLen); in operator ()()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc60 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() function
225 Event::GetRandom(/*length=*/regs.rsi, /*flags=*/regs.rdx)); in GetTrace()
353 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
403 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
404 ret.push_back(Event::GetRandom(1, 0)); in TestFunctionPRNGModel()
411 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel()
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc60 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() function
225 Event::GetRandom(/*length=*/regs.rsi, /*flags=*/regs.rdx)); in GetTrace()
353 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
403 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
404 ret.push_back(Event::GetRandom(1, 0)); in TestFunctionPRNGModel()
411 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cpp358 TEST(SanitizerCommon, GetRandom) { in TEST() argument
361 EXPECT_FALSE(GetRandom(nullptr, 32, blocking)); in TEST()
362 EXPECT_FALSE(GetRandom(buffer_1, 0, blocking)); in TEST()
363 EXPECT_FALSE(GetRandom(buffer_1, 512, blocking)); in TEST()
367 EXPECT_TRUE(GetRandom(buffer_1, size, blocking)); in TEST()
368 EXPECT_TRUE(GetRandom(buffer_2, size, blocking)); in TEST()
/external/webrtc/rtc_base/
Dhelpers.cc54 static_cast<uint8_t*>(buf)[i] = static_cast<uint8_t>(GetRandom()); in Generate()
60 int GetRandom() { in GetRandom() function in rtc::TestRandomGenerator
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_thread.cpp18 if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&seed), sizeof(seed), in RandomSeed()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_fuchsia.cpp496 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
Dsanitizer_common.h997 bool GetRandom(void *buffer, uptr length, bool blocking = true);
Dsanitizer_win.cpp1110 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
Dsanitizer_mac.cpp1324 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
Dsanitizer_linux.cpp2253 bool GetRandom(void *buffer, uptr length, bool blocking) { in GetRandom() function
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp278 if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&Cookie), sizeof(Cookie), in init()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/tpm/
Dsub.mk170 srcs-y += tpm_symlink/TPMCmd/tpm/src/command/Random/GetRandom.c
/external/tpm2-tss/doc/
Ddoxygen.dox1222 FAPI functions to invoke GetRandom either as one-call or in an asynchronous manner.