Home
last modified time | relevance | path

Searched refs:PseudoRandomGenerator (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dpseudo_random_generator.cpp22 PseudoRandomGenerator::PseudoRandomGenerator(uint32_t seed) : mt_(seed) {} in PseudoRandomGenerator() function in spvtools::fuzz::PseudoRandomGenerator
24 PseudoRandomGenerator::~PseudoRandomGenerator() = default;
26 uint32_t PseudoRandomGenerator::RandomUint32(uint32_t bound) { in RandomUint32()
31 uint64_t PseudoRandomGenerator::RandomUint64(uint64_t bound) { in RandomUint64()
36 bool PseudoRandomGenerator::RandomBool() { in RandomBool()
40 uint32_t PseudoRandomGenerator::RandomPercentage() { in RandomPercentage()
46 double PseudoRandomGenerator::RandomDouble() { in RandomDouble()
Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
28 explicit PseudoRandomGenerator(uint32_t seed);
30 ~PseudoRandomGenerator() override;
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dpseudo_random_generator.cpp22 PseudoRandomGenerator::PseudoRandomGenerator(uint32_t seed) : mt_(seed) {} in PseudoRandomGenerator() function in spvtools::fuzz::PseudoRandomGenerator
24 PseudoRandomGenerator::~PseudoRandomGenerator() = default;
26 uint32_t PseudoRandomGenerator::RandomUint32(uint32_t bound) { in RandomUint32()
31 uint64_t PseudoRandomGenerator::RandomUint64(uint64_t bound) { in RandomUint64()
36 bool PseudoRandomGenerator::RandomBool() { in RandomBool()
40 uint32_t PseudoRandomGenerator::RandomPercentage() { in RandomPercentage()
46 double PseudoRandomGenerator::RandomDouble() { in RandomDouble()
Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
28 explicit PseudoRandomGenerator(uint32_t seed);
30 ~PseudoRandomGenerator() override;
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dpseudo_random_generator.cpp22 PseudoRandomGenerator::PseudoRandomGenerator(uint32_t seed) : mt_(seed) {} in PseudoRandomGenerator() function in spvtools::fuzz::PseudoRandomGenerator
24 PseudoRandomGenerator::~PseudoRandomGenerator() = default;
26 uint32_t PseudoRandomGenerator::RandomUint32(uint32_t bound) { in RandomUint32()
31 uint64_t PseudoRandomGenerator::RandomUint64(uint64_t bound) { in RandomUint64()
36 bool PseudoRandomGenerator::RandomBool() { in RandomBool()
40 uint32_t PseudoRandomGenerator::RandomPercentage() { in RandomPercentage()
46 double PseudoRandomGenerator::RandomDouble() { in RandomDouble()
Dpseudo_random_generator.h26 class PseudoRandomGenerator : public RandomGenerator {
28 explicit PseudoRandomGenerator(uint32_t seed);
30 ~PseudoRandomGenerator() override;
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp207 PseudoRandomGenerator prng(0); in TEST()
288 PseudoRandomGenerator prng(0); in TEST()
419 PseudoRandomGenerator prng(0); in TEST()
514 PseudoRandomGenerator prng(0); in TEST()
584 PseudoRandomGenerator prng(0); in TEST()
712 PseudoRandomGenerator prng(0); in TEST()
808 PseudoRandomGenerator prng(0); in TEST()
940 PseudoRandomGenerator prng(0); in TEST()
1076 PseudoRandomGenerator prng(0); in TEST()
1158 PseudoRandomGenerator prng(0); in TEST()
[all …]
Dfuzzer_pass_outline_functions_test.cpp127 PseudoRandomGenerator prng(0); in TEST()
170 PseudoRandomGenerator prng(0); in TEST()
294 PseudoRandomGenerator prng(0); in TEST()
461 PseudoRandomGenerator prng(0); in TEST()
Dfuzzer_shrinker_test.cpp957 InterestingThenRandom(const PseudoRandomGenerator& random_generator) in InterestingThenRandom()
970 PseudoRandomGenerator random_generator_;
1060 donor_suppliers, MakeUnique<PseudoRandomGenerator>(seed), in RunFuzzerAndShrinker()
1096 InterestingThenRandom(PseudoRandomGenerator(seed)).AsFunction(), {}, 0, in RunFuzzerAndShrinker()
Dfuzzer_pass_construct_composites_test.cpp80 auto prng = MakeUnique<PseudoRandomGenerator>(0); in TEST()
161 auto prng = MakeUnique<PseudoRandomGenerator>(0); in TEST()
Dshrinker_test.cpp166 PseudoRandomGenerator random_generator(0); in TEST()
344 PseudoRandomGenerator random_generator(0); in TEST()
Dfuzzer_pass_test.cpp90 PseudoRandomGenerator prng(0); in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp207 PseudoRandomGenerator prng(0); in TEST()
288 PseudoRandomGenerator prng(0); in TEST()
419 PseudoRandomGenerator prng(0); in TEST()
514 PseudoRandomGenerator prng(0); in TEST()
584 PseudoRandomGenerator prng(0); in TEST()
712 PseudoRandomGenerator prng(0); in TEST()
808 PseudoRandomGenerator prng(0); in TEST()
940 PseudoRandomGenerator prng(0); in TEST()
1076 PseudoRandomGenerator prng(0); in TEST()
1158 PseudoRandomGenerator prng(0); in TEST()
[all …]
Dfuzzer_pass_outline_functions_test.cpp127 PseudoRandomGenerator prng(0); in TEST()
170 PseudoRandomGenerator prng(0); in TEST()
294 PseudoRandomGenerator prng(0); in TEST()
461 PseudoRandomGenerator prng(0); in TEST()
Dfuzzer_shrinker_test.cpp957 InterestingThenRandom(const PseudoRandomGenerator& random_generator) in InterestingThenRandom()
970 PseudoRandomGenerator random_generator_;
1060 donor_suppliers, MakeUnique<PseudoRandomGenerator>(seed), in RunFuzzerAndShrinker()
1096 InterestingThenRandom(PseudoRandomGenerator(seed)).AsFunction(), {}, 0, in RunFuzzerAndShrinker()
Dfuzzer_pass_construct_composites_test.cpp80 auto prng = MakeUnique<PseudoRandomGenerator>(0); in TEST()
161 auto prng = MakeUnique<PseudoRandomGenerator>(0); in TEST()
Dshrinker_test.cpp166 PseudoRandomGenerator random_generator(0); in TEST()
344 PseudoRandomGenerator random_generator(0); in TEST()
Dfuzzer_pass_test.cpp90 PseudoRandomGenerator prng(0); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp207 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
288 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
419 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
514 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
584 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
712 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
808 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
940 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
1076 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
1158 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
[all …]
Dfuzzer_pass_outline_functions_test.cpp127 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
170 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
294 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
461 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
Dfuzzer_shrinker_test.cpp956 InterestingThenRandom(const PseudoRandomGenerator& random_generator) in InterestingThenRandom()
969 PseudoRandomGenerator random_generator_;
1060 MakeUnique<PseudoRandomGenerator>(seed), in RunFuzzerAndShrinker()
1109 InterestingThenRandom(PseudoRandomGenerator(seed)).AsFunction(), {}, 0, in RunFuzzerAndShrinker()
Dfuzzer_pass_construct_composites_test.cpp80 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
161 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
Dshrinker_test.cpp166 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
344 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
Dfuzzer_pass_test.cpp90 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()
Dfuzzer_pass_add_opphi_synonyms_test.cpp131 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0), 100, in TEST()

12