Searched defs:Rand (Results 1 - 10 of 10) sorted by relevance

/external/webrtc/webrtc/base/
H A Drandom.h29 T Rand() { function in class:webrtc::Random
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>();
H A Drandom.cc23 uint32_t Random::Rand(uint32_t t) { function in class:webrtc::Random
36 uint32_t Random::Rand(uint32_t low, uint32_t high) { function in class:webrtc::Random
38 return Rand(high - low) + low;
41 int32_t Random::Rand(int32_t low, int32_t high) { function in class:webrtc::Random
47 return Rand(high - low) + low;
51 float Random::Rand<float>() { function in class:webrtc::Random
58 double Random::Rand<double>() { function in class:webrtc::Random
65 bool Random::Rand<bool>() { function in class:webrtc::Random
66 return Rand(0, 1) == 1;
82 double uniform = Rand<doubl
[all...]
/external/boringssl/src/tool/
H A Drand.cc37 bool Rand(const std::vector<std::string> &args) { function
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dshape_partition_test.cc194 std::vector<int64> RandR4Dims() { return {Rand(), Rand(), Rand(), Rand()}; }
196 int64 Rand() { return distribution_(generator_); } function in class:xla::cpu::__anon25566::RandomShapePartitionIteratorTest
207 const int num_outer_dims_to_partition = 1 + (Rand() % 3);
218 const int64 dim_partition_count = 1 + Rand() % dim_sizes[i];
/external/llvm/lib/Fuzzer/
H A DFuzzerMutate.cpp21 MutationDispatcher::MutationDispatcher(Random &Rand, argument
23 : Rand(Rand), Options(Options) {
52 static char FlipRandomBit(char X, Random &Rand) { argument
53 int Bit = Rand(8);
64 static char RandCh(Random &Rand) { argument
65 if (Rand.RandBool()) return Rand(256);
67 return Special[Rand(sizeof(Special) - 1)];
72 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand
[all...]
H A DFuzzerInternal.h136 size_t Rand() { return R(); } function in class:fuzzer::Random
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;
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DNonBlockingThreadPool.h84 Queue* q = queues_[Rand(&pt->rand) % queues_.size()];
176 unsigned r = Rand(&pt->rand);
240 unsigned r = Rand(&pt->rand);
261 static EIGEN_STRONG_INLINE unsigned Rand(uint64_t* state) { function in class:Eigen::NonBlockingThreadPoolTempl
/external/tensorflow/tensorflow/cc/gradients/
H A Dmath_grad_test.cc607 const int m = Rand();
608 const int k = Rand();
609 const int n = Rand();
642 int Rand() { return 1 + (random::New64() % 10); } function in class:tensorflow::__anon25356::MathGradTest
/external/freetype/src/psaux/
H A Dt1decode.c1078 FT_Fixed Rand; local
1081 Rand = seed;
1082 if ( Rand >= 0x8000L )
1083 Rand++;
1085 top[0] = Rand;
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp91 uint32_t Rand() { function in class:llvm::__anon14887::Random
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()
[all...]

Completed in 384 milliseconds