/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | test_util.cc | 67 std::mt19937& RandomEngine() { in RandomEngine() function 74 return dist(RandomEngine()); in UniformRandomInt() 79 return dist(RandomEngine()); in UniformRandomFloat() 89 val = dist(RandomEngine()); in ExponentialRandomPositiveInt() 101 val = dist(RandomEngine()); in ExponentialRandomPositiveFloat() 109 auto gen = std::bind(dist, RandomEngine()); in FillRandom()
|
D | resize_bilinear_test.cc | 82 RandomEngine().seed(38291); in TEST_P() 101 RandomEngine().seed(96743); in TEST_P() 126 RandomEngine().seed(38291); in TEST_P() 151 RandomEngine().seed(38291); in TEST_P()
|
D | test_util.h | 37 std::mt19937& RandomEngine(); 70 auto gen = std::bind(dist, RandomEngine()); in FillRandom()
|
/external/libprotobuf-mutator/src/ |
D | weighted_reservoir_sampler.h | 31 template <class T, class RandomEngine = std::default_random_engine> 34 explicit WeightedReservoirSampler(RandomEngine* random) : random_(random) {} in WeightedReservoirSampler() 54 RandomEngine* random_;
|
D | weighted_reservoir_sampler_test.cc | 56 using RandomEngine = std::minstd_rand; in TEST_P() typedef 57 RandomEngine rand(std::get<0>(GetParam())); in TEST_P() 59 WeightedReservoirSampler<int, RandomEngine> sampler(&rand); in TEST_P()
|
D | mutator.cc | 65 size_t GetRandomIndex(RandomEngine* random, size_t count) { in GetRandomIndex() 72 void FlipBit(size_t size, uint8_t* bytes, RandomEngine* random) { in FlipBit() 79 T FlipBit(T value, RandomEngine* random) { in FlipBit() 85 bool GetRandomBool(RandomEngine* random, size_t n = 2) { in GetRandomBool() 183 RandomEngine* random) in MutationSampler() 285 RandomEngine* random_; 294 WeightedReservoirSampler<Result, RandomEngine> sampler_; 300 DataSourceSampler(const ConstFieldInstance& match, RandomEngine* random, in DataSourceSampler() 361 RandomEngine* random_; 364 WeightedReservoirSampler<ConstFieldInstance, RandomEngine> sampler_; [all …]
|
D | utf8_fix.cc | 32 char* FixCode(char* b, const char* e, RandomEngine* random) { in FixCode() 83 void FixUtf8String(std::string* str, RandomEngine* random) { in FixUtf8String()
|
D | mutator.h | 90 RandomEngine* random() { return &random_; } in random() 103 RandomEngine random_;
|
D | random.h | 22 using RandomEngine = std::minstd_rand; variable
|
D | utf8_fix.h | 24 void FixUtf8String(std::string* str, RandomEngine* random);
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_testspec.cc | 31 template <typename T, typename RandomEngine, typename RandomDistribution> 32 void GenerateCsv(const std::vector<int>& shape, RandomEngine* engine, in GenerateCsv() 39 template <typename RandomEngine> 41 RandomEngine* engine, const std::vector<string>& input_layer, in GenerateInputValues()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | RandomIRBuilder.h | 23 using RandomEngine = std::mt19937; variable 26 RandomEngine Rand;
|
/external/llvm-project/llvm/include/llvm/FuzzMutate/ |
D | RandomIRBuilder.h | 23 using RandomEngine = std::mt19937; variable 26 RandomEngine Rand;
|
/external/gemmlowp/test/ |
D | test.h | 95 inline std::mt19937& RandomEngine() { in RandomEngine() function 102 return dist(RandomEngine()); in Random() 126 (*m)(r, c) = dist(RandomEngine()); in MakeRandom()
|
/external/abseil-cpp/absl/strings/ |
D | cord_test.cc | 26 typedef std::mt19937_64 RandomEngine; typedef 28 static std::string RandomLowercaseString(RandomEngine* rng); 29 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 31 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 40 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 49 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 55 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 70 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 105 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 330 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | cord_test.cc | 28 typedef std::mt19937_64 RandomEngine; typedef 30 static std::string RandomLowercaseString(RandomEngine* rng); 31 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 33 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 42 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 51 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 57 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 72 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 106 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 331 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | cord_test.cc | 28 typedef std::mt19937_64 RandomEngine; typedef 30 static std::string RandomLowercaseString(RandomEngine* rng); 31 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 33 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 42 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 51 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 57 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 72 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 106 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 331 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | cord_test.cc | 26 typedef std::mt19937_64 RandomEngine; typedef 28 static std::string RandomLowercaseString(RandomEngine* rng); 29 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 31 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 40 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 49 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 55 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 70 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 105 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 330 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | cord_test.cc | 42 typedef std::mt19937_64 RandomEngine; typedef 44 static std::string RandomLowercaseString(RandomEngine* rng); 45 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 47 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 56 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 65 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 71 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 86 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 120 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 347 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | cord_test.cc | 43 typedef std::mt19937_64 RandomEngine; typedef 45 static std::string RandomLowercaseString(RandomEngine* rng); 46 static std::string RandomLowercaseString(RandomEngine* rng, size_t length); 48 static int GetUniformRandomUpTo(RandomEngine* rng, int upper_bound) { in GetUniformRandomUpTo() 57 static size_t GetUniformRandomUpTo(RandomEngine* rng, size_t upper_bound) { in GetUniformRandomUpTo() 66 static int32_t GenerateSkewedRandom(RandomEngine* rng, int max_log) { in GenerateSkewedRandom() 72 static std::string RandomLowercaseString(RandomEngine* rng) { in RandomLowercaseString() 87 static std::string RandomLowercaseString(RandomEngine* rng, size_t length) { in RandomLowercaseString() 121 static size_t AppendWithFragments(const std::string& s, RandomEngine* rng, in AppendWithFragments() 364 RandomEngine rng(testing::GTEST_FLAG(random_seed)); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/ |
D | graphcycles_test.cc | 40 using RandomEngine = std::mt19937_64; typedef 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 176 static int RandomEdge(RandomEngine* rng, Edges *edges) { in RandomEdge() 201 RandomEngine rng(testing::UnitTest::GetInstance()->random_seed()); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 40 using RandomEngine = std::mt19937_64; typedef 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 176 static int RandomEdge(RandomEngine* rng, Edges *edges) { in RandomEdge() 201 RandomEngine rng(testing::UnitTest::GetInstance()->random_seed()); in TEST()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 40 using RandomEngine = std::mt19937_64; typedef 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 176 static int RandomEdge(RandomEngine* rng, Edges *edges) { in RandomEdge() 201 RandomEngine rng(testing::UnitTest::GetInstance()->random_seed()); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 40 using RandomEngine = std::mt19937_64; typedef 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 176 static int RandomEdge(RandomEngine* rng, Edges *edges) { in RandomEdge() 201 RandomEngine rng(testing::UnitTest::GetInstance()->random_seed()); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 40 using RandomEngine = std::mt19937_64; typedef 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 176 static int RandomEdge(RandomEngine* rng, Edges *edges) { in RandomEdge() 201 RandomEngine rng(testing::UnitTest::GetInstance()->random_seed()); in TEST()
|