Home
last modified time | relevance | path

Searched refs:FuzzerContext (Results 1 – 25 of 192) sorted by relevance

12345678

/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_context.cpp83 FuzzerContext::FuzzerContext(RandomGenerator* random_generator, in FuzzerContext() function in spvtools::fuzz::FuzzerContext
150 FuzzerContext::~FuzzerContext() = default;
152 uint32_t FuzzerContext::GetFreshId() { return next_fresh_id_++; } in GetFreshId()
154 bool FuzzerContext::ChooseEven() { return random_generator_->RandomBool(); } in ChooseEven()
156 bool FuzzerContext::ChoosePercentage(uint32_t percentage_chance) { in ChoosePercentage()
161 uint32_t FuzzerContext::ChooseBetweenMinAndMax( in ChooseBetweenMinAndMax()
Dfuzzer_pass.h33 FuzzerContext* fuzzer_context,
49 FuzzerContext* GetFuzzerContext() const { return fuzzer_context_; } in GetFuzzerContext()
228 FuzzerContext* fuzzer_context_;
Dfuzzer_context.h30 class FuzzerContext {
34 FuzzerContext(RandomGenerator* random_generator, uint32_t min_fresh_id);
36 ~FuzzerContext();
Dfuzzer_pass_outline_functions.h29 FuzzerContext* fuzzer_context,
Dfuzzer_pass_copy_objects.h27 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_loads.h27 FuzzerContext* fuzzer_context,
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dfuzzer_context.cpp89 FuzzerContext::FuzzerContext(RandomGenerator* random_generator, in FuzzerContext() function in spvtools::fuzz::FuzzerContext
164 FuzzerContext::~FuzzerContext() = default;
166 uint32_t FuzzerContext::GetFreshId() { return next_fresh_id_++; } in GetFreshId()
168 bool FuzzerContext::ChooseEven() { return random_generator_->RandomBool(); } in ChooseEven()
170 bool FuzzerContext::ChoosePercentage(uint32_t percentage_chance) { in ChoosePercentage()
175 uint32_t FuzzerContext::ChooseBetweenMinAndMax( in ChooseBetweenMinAndMax()
Dfuzzer_pass.h34 FuzzerContext* fuzzer_context,
52 FuzzerContext* GetFuzzerContext() const { return fuzzer_context_; } in GetFuzzerContext()
241 FuzzerContext* fuzzer_context_;
Dfuzzer_context.h30 class FuzzerContext {
34 FuzzerContext(RandomGenerator* random_generator, uint32_t min_fresh_id);
36 ~FuzzerContext();
Dfuzzer_pass_swap_commutable_operands.h30 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_access_chains.h30 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_global_variables.h29 FuzzerContext* fuzzer_context,
Dfuzzer_pass_merge_blocks.h28 FuzzerContext* fuzzer_context,
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_context.cpp88 FuzzerContext::FuzzerContext(RandomGenerator* random_generator, in FuzzerContext() function in spvtools::fuzz::FuzzerContext
161 FuzzerContext::~FuzzerContext() = default;
163 uint32_t FuzzerContext::GetFreshId() { return next_fresh_id_++; } in GetFreshId()
165 bool FuzzerContext::ChooseEven() { return random_generator_->RandomBool(); } in ChooseEven()
167 bool FuzzerContext::ChoosePercentage(uint32_t percentage_chance) { in ChoosePercentage()
172 uint32_t FuzzerContext::ChooseBetweenMinAndMax( in ChooseBetweenMinAndMax()
Dfuzzer_pass.h34 FuzzerContext* fuzzer_context,
52 FuzzerContext* GetFuzzerContext() const { return fuzzer_context_; } in GetFuzzerContext()
241 FuzzerContext* fuzzer_context_;
Dfuzzer_context.h30 class FuzzerContext {
34 FuzzerContext(RandomGenerator* random_generator, uint32_t min_fresh_id);
36 ~FuzzerContext();
Dfuzzer_pass_add_global_variables.h29 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_stores.h30 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_access_chains.h30 FuzzerContext* fuzzer_context,
Dfuzzer_pass_add_dead_blocks.h29 FuzzerContext* fuzzer_context,
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp202 FuzzerContext fuzzer_context(&prng, 100); in TEST()
280 FuzzerContext fuzzer_context(&prng, 100); in TEST()
408 FuzzerContext fuzzer_context(&prng, 100); in TEST()
500 FuzzerContext fuzzer_context(&prng, 100); in TEST()
567 FuzzerContext fuzzer_context(&prng, 100); in TEST()
692 FuzzerContext fuzzer_context(&prng, 100); in TEST()
785 FuzzerContext fuzzer_context(&prng, 100); in TEST()
914 FuzzerContext fuzzer_context(&prng, 100); in TEST()
1047 FuzzerContext fuzzer_context(&prng, 100); in TEST()
1131 FuzzerContext fuzzer_context(&prng, 100); in TEST()
[all …]
Dfuzzer_pass_construct_composites_test.cpp89 FuzzerContext fuzzer_context(prng.get(), 100); in TEST()
171 FuzzerContext fuzzer_context(prng.get(), 100); in TEST()
/external/angle/third_party/spirv-tools/src/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp202 FuzzerContext fuzzer_context(&prng, 100); in TEST()
280 FuzzerContext fuzzer_context(&prng, 100); in TEST()
408 FuzzerContext fuzzer_context(&prng, 100); in TEST()
500 FuzzerContext fuzzer_context(&prng, 100); in TEST()
567 FuzzerContext fuzzer_context(&prng, 100); in TEST()
692 FuzzerContext fuzzer_context(&prng, 100); in TEST()
785 FuzzerContext fuzzer_context(&prng, 100); in TEST()
914 FuzzerContext fuzzer_context(&prng, 100); in TEST()
1047 FuzzerContext fuzzer_context(&prng, 100); in TEST()
1126 FuzzerContext fuzzer_context(&prng, 100); in TEST()
[all …]
Dfuzzer_pass_construct_composites_test.cpp89 FuzzerContext fuzzer_context(prng.get(), 100); in TEST()
171 FuzzerContext fuzzer_context(prng.get(), 100); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp199 FuzzerContext fuzzer_context(prng.get(), 100); in TEST()
273 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0).get(), 100); in TEST()
397 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0).get(), 100); in TEST()
485 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0).get(), 100); in TEST()
662 FuzzerContext fuzzer_context(MakeUnique<PseudoRandomGenerator>(0).get(), 100); in TEST()

12345678