Home
last modified time | relevance | path

Searched refs:RandomEngine (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dtest_util.cc67 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()
Dresize_bilinear_test.cc79 RandomEngine().seed(38291); in TEST()
95 RandomEngine().seed(38291); in TEST()
111 RandomEngine().seed(38291); in TEST()
127 RandomEngine().seed(38291); in TEST()
Dtest_util.h37 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/
Dweighted_reservoir_sampler.h31 template <class T, class RandomEngine = std::default_random_engine>
34 explicit WeightedReservoirSampler(RandomEngine* random) : random_(random) {} in WeightedReservoirSampler()
54 RandomEngine* random_;
Dweighted_reservoir_sampler_test.cc55 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()
Dmutator.h45 explicit Mutator(RandomEngine* random);
76 RandomEngine* random() { return random_; } in random()
88 RandomEngine* random_;
Dmutator.cc55 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 …]
Dutf8_fix.cc32 char* FixCode(char* b, const char* e, RandomEngine* random) { in FixCode()
81 void FixUtf8String(std::string* str, RandomEngine* random) { in FixUtf8String()
Drandom.h22 using RandomEngine = std::mt19937; variable
Dutf8_fix.h24 void FixUtf8String(std::string* str, RandomEngine* random);
Dutf8_fix_test.cc47 RandomEngine random(GetParam()); in TEST_P()
Dmutator_test.cc230 RandomEngine random_;
/external/gemmlowp/test/
Dtest.h95 std::mt19937& RandomEngine() { in RandomEngine() function
102 return dist(RandomEngine()); in Random()
126 (*m)(r, c) = dist(RandomEngine()); in MakeRandom()
Dbenchmark_all_sizes.cc272 std::mt19937& RandomEngine() { in RandomEngine() function
312 std::shuffle(std::begin(shapes), std::end(shapes), RandomEngine()); in all_shapes_in_random_order()
Dtest.cc1285 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/
DRandomIRBuilder.h24 using RandomEngine = std::mt19937; variable
27 RandomEngine Rand;
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.cc94 RandomEngine random(seed); in MutateMessage()
111 RandomEngine random(seed); in CrossOverMessages()