Home
last modified time | relevance | path

Searched refs:GetRandom (Results 1 – 10 of 10) 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.cc87 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() function
487 Event::GetRandom(/*length=*/regs.args[1], /*flags=*/regs.args[2])); in GetTrace()
667 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
704 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
705 ret.push_back(Event::GetRandom(1, 0)); in TestFunctionPRNGModel()
712 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc87 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() function
487 Event::GetRandom(/*length=*/regs.args[1], /*flags=*/regs.args[2])); in GetTrace()
667 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
704 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
705 ret.push_back(Event::GetRandom(1, 0)); in TestFunctionPRNGModel()
712 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel()
/external/webrtc/rtc_base/
Dhelpers.cc55 static_cast<uint8_t*>(buf)[i] = static_cast<uint8_t>(GetRandom()); in Generate()
61 int GetRandom() { in GetRandom() function in rtc::TestRandomGenerator
/external/armnn/src/armnn/test/
DSubgraphViewTests.cpp1374 auto GetRandom = [&randomGenerator](auto maxExclusive) { in __anonc2781dcd0e02() variable
1398 uint32_t numInputs = 1 + GetRandom(4u);
1399 uint32_t numConstants = 1 + GetRandom(4u);
1400 uint32_t numOutputs = 1 + GetRandom(4u);
1401 uint32_t numConcats = 0 + GetRandom(500u);
1402 uint32_t numSplits = 0 + GetRandom(500u);
1423 numInputs = 1 + GetRandom(3u);
1430 numOutputs = 1 + GetRandom(3u);
1440 uint32_t maxLayerDepth = 5 + GetRandom(2000u);
1455 depth = 1 + GetRandom(maxLayerDepth);
[all …]
/external/openthread/tests/unit/
Dtest_spinel_buffer.cpp888 uint32_t GetRandom(uint32_t max) in GetRandom() function
916 byte = static_cast<uint8_t>(GetRandom(256)); in WriteRandomFrame()
997 shouldRead = (GetRandom(100) < kReadProbability); in TestFuzzBuffer()
1018 uint32_t len = GetRandom(kMaxFrameLen) + 1; in TestFuzzBuffer()
1021 if (GetRandom(100) < kHighPriorityProbability) in TestFuzzBuffer()
Dtest_hdlc.cpp594 uint32_t GetRandom(uint32_t max) in GetRandom() function
618 length = static_cast<uint16_t>(GetRandom(kMaxFrameLength)); in TestFuzzEncoderDecoder()
623 frame[i] = static_cast<uint8_t>(GetRandom(256)); in TestFuzzEncoderDecoder()
/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.