/third_party/skia/third_party/externals/tint/fuzzers/ |
D | random_generator.cc | 48 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::GetByte() { in GetByte() 80 uint32_t RandomGenerator::Get4Bytes() { in Get4Bytes() 86 void RandomGenerator::GetNBytes(uint8_t* dest, size_t n) { in GetNBytes() [all …]
|
D | random_generator.h | 28 class RandomGenerator { 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&) = delete;
|
D | random_generator_test.cc | 45 void SetUp() override { rng_ = std::make_unique<RandomGenerator>(0); } in SetUp() 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()
|
D | data_builder.h | 42 : generator_(RandomGenerator::CalculateSeed(data, size)) { in DataBuilder() 96 RandomGenerator generator_;
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/ |
D | random_generator.cpp | 84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {} in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) { in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 87 RandomGenerator(RandomGenerator::CalculateSeed(data, size)); in RandomGenerator() 90 spv_target_env RandomGenerator::GetTargetEnv() { in GetTargetEnv() 102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() 106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() 111 uint64_t RandomGenerator::CalculateSeed(const uint8_t* data, size_t size) { in CalculateSeed()
|
D | random_generator.h | 27 class RandomGenerator { 31 explicit RandomGenerator(uint64_t seed); 36 explicit RandomGenerator(const uint8_t* data, size_t size); 38 ~RandomGenerator() {} in ~RandomGenerator()
|
/third_party/spirv-tools/test/fuzzers/ |
D | random_generator.cpp | 84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {} in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) { in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 87 RandomGenerator(RandomGenerator::CalculateSeed(data, size)); in RandomGenerator() 90 spv_target_env RandomGenerator::GetTargetEnv() { in GetTargetEnv() 102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() 106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() 111 uint64_t RandomGenerator::CalculateSeed(const uint8_t* data, size_t size) { in CalculateSeed()
|
D | random_generator.h | 27 class RandomGenerator { 31 explicit RandomGenerator(uint64_t seed); 36 explicit RandomGenerator(const uint8_t* data, size_t size); 38 ~RandomGenerator() {} in ~RandomGenerator()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/ |
D | random_generator.cpp | 84 RandomGenerator::RandomGenerator(uint64_t seed) : engine_(seed) {} in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 86 RandomGenerator::RandomGenerator(const uint8_t* data, size_t size) { in RandomGenerator() function in spvtools::fuzzers::RandomGenerator 87 RandomGenerator(RandomGenerator::CalculateSeed(data, size)); in RandomGenerator() 90 spv_target_env RandomGenerator::GetTargetEnv() { in GetTargetEnv() 102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() 106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() 111 uint64_t RandomGenerator::CalculateSeed(const uint8_t* data, size_t size) { in CalculateSeed()
|
D | random_generator.h | 27 class RandomGenerator { 31 explicit RandomGenerator(uint64_t seed); 36 explicit RandomGenerator(const uint8_t* data, size_t size); 38 ~RandomGenerator() {} in ~RandomGenerator()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/ |
D | wgsl_mutator.h | 136 RandomGenerator& generator); 147 RandomGenerator& generator); 158 RandomGenerator& generator); 165 RandomGenerator& generator); 173 RandomGenerator& generator); 181 bool InsertReturnStatement(std::string& wgsl_code, RandomGenerator& generator);
|
D | wgsl_mutator.cc | 125 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/ |
D | random_generator.cpp | 20 RandomGenerator::RandomGenerator() = default; 22 RandomGenerator::~RandomGenerator() = default;
|
D | random_generator.h | 23 class RandomGenerator { 25 RandomGenerator(); 27 virtual ~RandomGenerator();
|
D | fuzzer_context.h | 36 FuzzerContext(std::unique_ptr<RandomGenerator> random_generator, 487 std::unique_ptr<RandomGenerator> random_generator_; 599 const std::function<bool(uint32_t, RandomGenerator*)>&
|
D | pseudo_random_generator.h | 26 class PseudoRandomGenerator : public RandomGenerator {
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | random_generator.cpp | 20 RandomGenerator::RandomGenerator() = default; 22 RandomGenerator::~RandomGenerator() = default;
|
D | random_generator.h | 23 class RandomGenerator { 25 RandomGenerator(); 27 virtual ~RandomGenerator();
|
D | fuzzer_context.h | 36 FuzzerContext(std::unique_ptr<RandomGenerator> random_generator, 487 std::unique_ptr<RandomGenerator> random_generator_; 599 const std::function<bool(uint32_t, RandomGenerator*)>&
|
D | pseudo_random_generator.h | 26 class PseudoRandomGenerator : public RandomGenerator {
|
/third_party/spirv-tools/source/fuzz/ |
D | random_generator.cpp | 20 RandomGenerator::RandomGenerator() = default; 22 RandomGenerator::~RandomGenerator() = default;
|
D | random_generator.h | 23 class RandomGenerator { 25 RandomGenerator(); 27 virtual ~RandomGenerator();
|
D | fuzzer_context.h | 36 FuzzerContext(std::unique_ptr<RandomGenerator> random_generator, 487 std::unique_ptr<RandomGenerator> random_generator_; 599 const std::function<bool(uint32_t, RandomGenerator*)>&
|
D | pseudo_random_generator.h | 26 class PseudoRandomGenerator : public RandomGenerator {
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/ |
D | probability_context.h | 35 explicit ProbabilityContext(RandomGenerator* generator); 68 RandomGenerator* generator_;
|