Searched refs:RandomEngine (Results 1 – 17 of 17) sorted by relevance
/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() 108 auto gen = std::bind(dist, RandomEngine()); in FillRandom()
|
D | resize_bilinear_test.cc | 79 RandomEngine().seed(38291); in TEST() 95 RandomEngine().seed(38291); in TEST() 111 RandomEngine().seed(38291); in TEST() 127 RandomEngine().seed(38291); in TEST()
|
D | test_util.h | 37 std::mt19937& RandomEngine(); 66 auto gen = std::bind(dist, RandomEngine()); in FillRandom() 80 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 | 55 using RandomEngine = std::mt19937; in TEST_P() typedef 56 RandomEngine rand(std::get<0>(GetParam())); in TEST_P() 58 WeightedReservoirSampler<int, RandomEngine> sampler(&rand); in TEST_P()
|
D | mutator.h | 45 explicit Mutator(RandomEngine* random); 76 RandomEngine* random() { return random_; } in random() 88 RandomEngine* random_;
|
D | mutator.cc | 55 size_t GetRandomIndex(RandomEngine* random, size_t count) { in GetRandomIndex() 62 void FlipBit(size_t size, uint8_t* bytes, RandomEngine* random) { in FlipBit() 69 T FlipBit(T value, RandomEngine* random) { in FlipBit() 75 bool GetRandomBool(RandomEngine* random, size_t n = 2) { in GetRandomBool() 155 MutationSampler(bool keep_initialized, RandomEngine* random, Message* message) in MutationSampler() 256 RandomEngine* random_; 265 WeightedReservoirSampler<Result, RandomEngine> sampler_; 271 DataSourceSampler(const ConstFieldInstance& match, RandomEngine* random, in DataSourceSampler() 330 RandomEngine* random_; 332 WeightedReservoirSampler<ConstFieldInstance, RandomEngine> sampler_; [all …]
|
D | utf8_fix.cc | 32 char* FixCode(char* b, const char* e, RandomEngine* random) { in FixCode() 81 void FixUtf8String(std::string* str, RandomEngine* random) { in FixUtf8String()
|
D | random.h | 22 using RandomEngine = std::mt19937; variable
|
D | utf8_fix.h | 24 void FixUtf8String(std::string* str, RandomEngine* random);
|
D | utf8_fix_test.cc | 47 RandomEngine random(GetParam()); in TEST_P()
|
D | mutator_test.cc | 230 RandomEngine random_;
|
/external/gemmlowp/test/ |
D | test.h | 95 std::mt19937& RandomEngine() { in RandomEngine() function 102 return dist(RandomEngine()); in Random() 126 (*m)(r, c) = dist(RandomEngine()); in MakeRandom()
|
D | benchmark_all_sizes.cc | 272 std::mt19937& RandomEngine() { in RandomEngine() function 312 std::shuffle(std::begin(shapes), std::end(shapes), RandomEngine()); in all_shapes_in_random_order()
|
D | test.cc | 1285 row_vector_data[i] = uniform_minus_500_plus_500(RandomEngine()); in TestOutputStages() 1306 col_vector_data[i] = uniform_minus_500_plus_500(RandomEngine()); in TestOutputStages()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
D | RandomIRBuilder.h | 24 using RandomEngine = std::mt19937; variable 27 RandomEngine Rand;
|
/external/libprotobuf-mutator/src/libfuzzer/ |
D | libfuzzer_macro.cc | 94 RandomEngine random(seed); in MutateMessage() 111 RandomEngine random(seed); in CrossOverMessages()
|