Home
last modified time | relevance | path

Searched refs:RandomGenerator (Results 1 - 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/tint/fuzzers/
H A Drandom_generator.cc48 RandomGenerator::RandomGenerator(std::unique_ptr<RandomGeneratorEngine> engine) in RandomGenerator() function in tint::fuzzers::RandomGenerator
51 RandomGenerator::RandomGenerator(uint64_t seed) in RandomGenerator() function in tint::fuzzers::RandomGenerator
52 : RandomGenerator(std::make_unique<MersenneTwisterEngine>(seed)) {} in RandomGenerator()
54 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32()
59 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32()
64 uint64_t RandomGenerator::GetUInt64(uint64_t lower, uint64_t upper) { in GetUInt64()
69 uint64_t RandomGenerator::GetUInt64(uint64_t bound) { in GetUInt64()
74 uint8_t RandomGenerator
[all...]
H A Drandom_generator.h28 class RandomGenerator { class
32 explicit RandomGenerator(std::unique_ptr<RandomGeneratorEngine> engine);
36 explicit RandomGenerator(uint64_t seed);
38 ~RandomGenerator() = default;
39 RandomGenerator(RandomGenerator&&) = default;
105 RandomGenerator(const RandomGenerator&) = delete;
106 RandomGenerator& operator=(const RandomGenerator
[all...]
H A Drandom_generator_test.cc45 void SetUp() override { rng_ = std::make_unique<RandomGenerator>(0); }
50 std::unique_ptr<RandomGenerator> rng_;
169 std::make_unique<RandomGenerator>(std::make_unique<MonotonicEngine>()); in TEST_F()
191 std::make_unique<RandomGenerator>(std::make_unique<MonotonicEngine>()); in TEST_F()
H A Ddata_builder.h42 : generator_(RandomGenerator::CalculateSeed(data, size)) { in DataBuilder()
96 RandomGenerator generator_;
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/
H A Drandom_generator.cpp84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {}
86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) {
87 RandomGenerator(RandomGenerator::CalculateSeed(data, size));
90 spv_target_env RandomGenerator::GetTargetEnv() {
102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) {
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) {
111 uint64_t RandomGenerator
[all...]
H A Drandom_generator.h27 class RandomGenerator { class
31 explicit RandomGenerator(uint64_t seed);
36 explicit RandomGenerator(const uint8_t* data, size_t size);
38 ~RandomGenerator() {} in ~RandomGenerator()
63 }; // class RandomGenerator
H A Dspvtools_binary_parser_fuzzer.cpp26 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
H A Dspvtools_opt_legalization_fuzzer.cpp26 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
H A Drandom_generator.cpp84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {}
86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) {
87 RandomGenerator(RandomGenerator::CalculateSeed(data, size));
90 spv_target_env RandomGenerator::GetTargetEnv() {
102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) {
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) {
111 uint64_t RandomGenerator
[all...]
H A Drandom_generator.h27 class RandomGenerator { class
31 explicit RandomGenerator(uint64_t seed);
36 explicit RandomGenerator(const uint8_t* data, size_t size);
38 ~RandomGenerator() {} in ~RandomGenerator()
63 }; // class RandomGenerator
/third_party/spirv-tools/test/fuzzers/
H A Drandom_generator.cpp84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {}
86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) {
87 RandomGenerator(RandomGenerator::CalculateSeed(data, size));
90 spv_target_env RandomGenerator::GetTargetEnv() {
102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) {
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) {
111 uint64_t RandomGenerator
[all...]
H A Drandom_generator.h27 class RandomGenerator { class
31 explicit RandomGenerator(uint64_t seed);
36 explicit RandomGenerator(const uint8_t* data, size_t size);
38 ~RandomGenerator() {} in ~RandomGenerator()
63 }; // class RandomGenerator
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
H A Dwgsl_mutator.h136 RandomGenerator& generator);
147 RandomGenerator& generator);
158 RandomGenerator& generator);
165 RandomGenerator& generator);
173 RandomGenerator& generator);
181 bool InsertReturnStatement(std::string& wgsl_code, RandomGenerator& generator);
H A Dwgsl_mutator.cc125 bool InsertReturnStatement(std::string& wgsl_code, RandomGenerator& generator) { in InsertReturnStatement()
222 RandomGenerator& generator) { in SwapRandomIntervals()
256 RandomGenerator& generator) { in DeleteRandomInterval()
280 RandomGenerator& generator) { in DuplicateRandomInterval()
305 RandomGenerator& generator) { in ReplaceRandomIdentifier()
332 RandomGenerator& generator) { in ReplaceRandomIntLiteral()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Drandom_generator.cpp20 RandomGenerator::RandomGenerator() = default;
22 RandomGenerator::~RandomGenerator() = default;
H A Drandom_generator.h23 class RandomGenerator { class
25 RandomGenerator();
27 virtual ~RandomGenerator();
H A Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Drandom_generator.cpp20 RandomGenerator::RandomGenerator() = default;
22 RandomGenerator::~RandomGenerator() = default;
H A Drandom_generator.h23 class RandomGenerator { class
25 RandomGenerator();
27 virtual ~RandomGenerator();
H A Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
/third_party/spirv-tools/source/fuzz/
H A Drandom_generator.cpp20 RandomGenerator::RandomGenerator() = default;
22 RandomGenerator::~RandomGenerator() = default;
H A Drandom_generator.h23 class RandomGenerator { class
25 RandomGenerator();
27 virtual ~RandomGenerator();
H A Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
H A Dprobability_context.h35 explicit ProbabilityContext(RandomGenerator* generator);
68 RandomGenerator* generator_;
H A Dprobability_context.cc28 ProbabilityContext::ProbabilityContext(RandomGenerator* generator) in ProbabilityContext()

Completed in 8 milliseconds

123