/external/webrtc/webrtc/base/ |
random.h | 29 T Rand() { 33 "Rand is only supported for built-in integer types that are " 39 uint32_t Rand(uint32_t t); 42 uint32_t Rand(uint32_t low, uint32_t high); 45 int32_t Rand(int32_t low, int32_t high); 70 float Random::Rand<float>(); 74 double Random::Rand<double>(); 78 bool Random::Rand<bool>();
|
random.cc | 23 uint32_t Random::Rand(uint32_t t) { 36 uint32_t Random::Rand(uint32_t low, uint32_t high) { 38 return Rand(high - low) + low; 41 int32_t Random::Rand(int32_t low, int32_t high) { 47 return Rand(high - low) + low; 51 float Random::Rand<float>() { 58 double Random::Rand<double>() { 65 bool Random::Rand<bool>() { 66 return Rand(0, 1) == 1; 82 double uniform = Rand<double>() [all...] |
/prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 21 size_t Rand() { return R(); } 22 size_t RandBool() { return Rand() % 2; } 23 size_t operator()(size_t n) { return n ? Rand() % n : 0; }
|
FuzzerMutate.h | 23 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 92 Random &GetRand() { return Rand; } 117 Random &Rand;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 22 size_t Rand() { return this->operator()(); } 23 size_t RandBool() { return Rand() % 2; } 24 size_t operator()(size_t n) { return n ? Rand() % n : 0; }
|
FuzzerMutate.h | 24 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 93 Random &GetRand() { return Rand; } 125 Random &Rand;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 22 size_t Rand() { return this->operator()(); } 23 size_t RandBool() { return Rand() % 2; } 24 size_t operator()(size_t n) { return n ? Rand() % n : 0; }
|
FuzzerMutate.h | 24 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 93 Random &GetRand() { return Rand; } 125 Random &Rand;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 22 size_t Rand() { return this->operator()(); } 23 size_t RandBool() { return Rand() % 2; } 24 size_t operator()(size_t n) { return n ? Rand() % n : 0; }
|
FuzzerMutate.h | 24 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 93 Random &GetRand() { return Rand; } 125 Random &Rand;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 22 size_t Rand() { return this->operator()(); } 23 size_t RandBool() { return Rand() % 2; } 24 size_t operator()(size_t n) { return n ? Rand() % n : 0; }
|
FuzzerMutate.h | 24 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 93 Random &GetRand() { return Rand; } 125 Random &Rand;
|
/system/update_engine/update_manager/ |
prng.h | 34 uint32_t Rand() { return gen_(); }
|
/device/linaro/bootloader/edk2/SecurityPkg/Application/RngTest/ |
RngTest.c | 47 UINT8 *Rand;
54 Rand = NULL;
105 Rand = AllocatePool (RandSize);
106 if (Rand == NULL) {
114 Status = Rng->GetRNG (Rng, NULL, RandSize, Rand);
125 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Hmac256Guid, RandSize, Rand);
136 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Hash256Guid, RandSize, Rand);
147 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Ctr256Guid, RandSize, Rand);
158 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmX9313DesGuid, RandSize, Rand);
169 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmX931AesGuid, RandSize, Rand);
[all...] |
/external/boringssl/src/tool/ |
rand.cc | 22 #include <openssl/rand.h> 37 bool Rand(const std::vector<std::string> &args) {
|
/test/vts-testcase/fuzz/iface_fuzzer/include/ |
ProtoFuzzerUtils.h | 57 virtual uint64_t Rand() { return rand_(); } 59 virtual uint64_t operator()(uint64_t n) { return n ? Rand() % n : 0; }
|
/prebuilts/go/darwin-x86/src/math/rand/ |
rand.go | 5 // Package rand implements pseudo-random number generators. 13 // For random numbers suitable for security-sensitive work, see the crypto/rand 15 package rand package 29 // If a Rand r's underlying Source s implements Source64, 46 // A Rand is a source of random numbers. 47 type Rand struct { 61 // New returns a new Rand that uses random values from src 63 func New(src Source) *Rand { 65 return &Rand{src: src, s64: s64} 69 // Seed should not be called concurrently with any other Rand method [all...] |
/prebuilts/go/linux-x86/src/math/rand/ |
rand.go | 5 // Package rand implements pseudo-random number generators. 13 // For random numbers suitable for security-sensitive work, see the crypto/rand 15 package rand package 29 // If a Rand r's underlying Source s implements Source64, 46 // A Rand is a source of random numbers. 47 type Rand struct { 61 // New returns a new Rand that uses random values from src 63 func New(src Source) *Rand { 65 return &Rand{src: src, s64: s64} 69 // Seed should not be called concurrently with any other Rand method [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
NonBlockingThreadPool.h | 84 Queue* q = queues_[Rand(&pt->rand) % queues_.size()]; 118 constexpr PerThread() : pool(NULL), rand(0), thread_id(-1) { } 120 uint64_t rand; // Random generator state. member in struct:Eigen::NonBlockingThreadPoolTempl::PerThread 138 pt->rand = std::hash<std::thread::id>()(std::this_thread::get_id()); 176 unsigned r = Rand(&pt->rand); 240 unsigned r = Rand(&pt->rand); 261 static EIGEN_STRONG_INLINE unsigned Rand(uint64_t* state) [all...] |
/external/llvm/lib/Fuzzer/ |
FuzzerInternal.h | 136 size_t Rand() { return R(); } 137 size_t RandBool() { return Rand() % 2; } 138 size_t operator()(size_t n) { return n ? Rand() % n : 0; } 242 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 302 Random &GetRand() { return Rand; } 316 Random &Rand;
|
/prebuilts/go/darwin-x86/src/math/big/ |
int.go | 12 "math/rand" 556 // Rand sets z to a pseudo-random number in [0, n) and returns z. 557 func (z *Int) Rand(rnd *rand.Rand, n *Int) *Int {
|
/prebuilts/go/linux-x86/src/math/big/ |
int.go | 12 "math/rand" 556 // Rand sets z to a pseudo-random number in [0, n) and returns z. 557 func (z *Int) Rand(rnd *rand.Rand, n *Int) *Int {
|
/external/freetype/src/psaux/ |
t1decode.c | [all...] |
/external/pdfium/third_party/freetype/src/psaux/ |
t1decode.c | [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 91 uint32_t Rand() { 100 uint32_t Val = Rand(); 102 return Val | (Rand() << 16); 111 /// Rand operator for STL algorithms. 167 return PT->at(Ran->Rand() % PT->size()); 172 if (Ran->Rand() & 1) 176 if (Ran->Rand() & 1) 185 unsigned index = Ran->Rand(); 194 if (Ran->Rand() & 1) 198 if (Ran->Rand() & 1 [all...] |