/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_construct_composites.cpp | 99 GetFuzzerContext()->RandomIndex(composites_to_try_constructing); in Apply() 191 ->second[GetFuzzerContext()->RandomIndex( in TryConstructingArrayComposite() 221 ->second[GetFuzzerContext()->RandomIndex( in TryConstructingMatrixComposite() 246 ->second[GetFuzzerContext()->RandomIndex( in TryConstructingStructComposite() 332 instructions_to_choose_from[GetFuzzerContext()->RandomIndex( in TryConstructingVectorComposite() 353 auto index = GetFuzzerContext()->RandomIndex(instructions_to_use); in TryConstructingVectorComposite()
|
D | fuzzer_pass_obfuscate_constants.cpp | 53 comparison_opcode = greater_than_opcodes[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstantViaConstantPair() 57 less_than_opcodes[GetFuzzerContext()->RandomIndex(less_than_opcodes)]; in ObfuscateBoolConstantViaConstantPair() 255 available_types_with_uniforms[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstant() 271 auto constant_index_1 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 276 constant_index_2 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 320 uniform_descriptors[GetFuzzerContext()->RandomIndex(uniform_descriptors)]; in ObfuscateScalarConstant() 460 auto index = GetFuzzerContext()->RandomIndex(constant_uses); in Apply()
|
D | fuzzer_pass_add_global_variables.cpp | 49 base_types[GetFuzzerContext()->RandomIndex(base_types)]; in Apply() 65 available_pointers_to_base_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_local_variables.cpp | 52 base_types[GetFuzzerContext()->RandomIndex(base_types)]; in Apply() 68 available_pointers_to_base_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_stores.cpp | 96 auto pointer = relevant_pointers[GetFuzzerContext()->RandomIndex( in Apply() 121 relevant_values[GetFuzzerContext()->RandomIndex(relevant_values)] in Apply()
|
D | fuzzer_pass_outline_functions.cpp | 47 auto entry_block = blocks[GetFuzzerContext()->RandomIndex(blocks)]; in Apply() 64 auto exit_block = candidate_exit_blocks[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_context.h | 49 uint32_t RandomIndex(const HasSizeMethod& sequence) const { in RandomIndex() function 59 uint32_t index = RandomIndex(*sequence); in RemoveAtRandomIndex()
|
/external/angle/third_party/spirv-tools/src/source/fuzz/ |
D | fuzzer_pass_obfuscate_constants.cpp | 54 comparison_opcode = greater_than_opcodes[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstantViaConstantPair() 58 less_than_opcodes[GetFuzzerContext()->RandomIndex(less_than_opcodes)]; in ObfuscateBoolConstantViaConstantPair() 259 available_types_with_uniforms[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstant() 276 auto constant_index_1 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 281 constant_index_2 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 328 uniform_descriptors[GetFuzzerContext()->RandomIndex(uniform_descriptors)]; in ObfuscateScalarConstant() 469 auto index = GetFuzzerContext()->RandomIndex(constant_uses); in Apply()
|
D | fuzzer_pass_construct_composites.cpp | 193 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructArray() 225 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructMatrix() 255 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructStruct() 342 instructions_to_choose_from[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructVector() 363 auto index = GetFuzzerContext()->RandomIndex(instructions_to_use); in FindComponentsToConstructVector()
|
D | fuzzer_pass_add_equation_instructions.cpp | 83 GetFuzzerContext()->RandomIndex(integer_instructions)); in Apply() 115 GetFuzzerContext()->RandomIndex( in Apply() 136 .at(GetFuzzerContext()->RandomIndex( in Apply() 152 .at(GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_global_variables.cpp | 50 basic_types[GetFuzzerContext()->RandomIndex(basic_types)]; in Apply() 66 available_pointers_to_basic_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_local_variables.cpp | 53 basic_types[GetFuzzerContext()->RandomIndex(basic_types)]; in Apply() 69 available_pointers_to_basic_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_stores.cpp | 101 auto pointer = relevant_pointers[GetFuzzerContext()->RandomIndex( in Apply() 126 relevant_values[GetFuzzerContext()->RandomIndex(relevant_values)] in Apply()
|
D | fuzzer_pass_outline_functions.cpp | 48 auto entry_block = blocks[GetFuzzerContext()->RandomIndex(blocks)]; in Apply() 65 auto exit_block = candidate_exit_blocks[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_context.h | 49 uint32_t RandomIndex(const HasSizeMethod& sequence) const { in RandomIndex() function 59 uint32_t index = RandomIndex(*sequence); in RemoveAtRandomIndex()
|
D | fuzzer_pass_adjust_selection_controls.cpp | 65 block.id(), choices[GetFuzzerContext()->RandomIndex(choices)]); in Apply()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_obfuscate_constants.cpp | 54 comparison_opcode = greater_than_opcodes[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstantViaConstantPair() 58 less_than_opcodes[GetFuzzerContext()->RandomIndex(less_than_opcodes)]; in ObfuscateBoolConstantViaConstantPair() 259 available_types_with_uniforms[GetFuzzerContext()->RandomIndex( in ObfuscateBoolConstant() 276 auto constant_index_1 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 281 constant_index_2 = GetFuzzerContext()->RandomIndex(available_constants); in ObfuscateBoolConstant() 328 uniform_descriptors[GetFuzzerContext()->RandomIndex(uniform_descriptors)]; in ObfuscateScalarConstant() 469 auto index = GetFuzzerContext()->RandomIndex(constant_uses); in Apply()
|
D | fuzzer_pass_construct_composites.cpp | 193 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructArray() 225 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructMatrix() 255 ->second[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructStruct() 342 instructions_to_choose_from[GetFuzzerContext()->RandomIndex( in FindComponentsToConstructVector() 363 auto index = GetFuzzerContext()->RandomIndex(instructions_to_use); in FindComponentsToConstructVector()
|
D | fuzzer_pass_add_equation_instructions.cpp | 83 GetFuzzerContext()->RandomIndex(integer_instructions)); in Apply() 115 GetFuzzerContext()->RandomIndex( in Apply() 136 .at(GetFuzzerContext()->RandomIndex( in Apply() 152 .at(GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_global_variables.cpp | 50 basic_types[GetFuzzerContext()->RandomIndex(basic_types)]; in Apply() 66 available_pointers_to_basic_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_local_variables.cpp | 53 basic_types[GetFuzzerContext()->RandomIndex(basic_types)]; in Apply() 69 available_pointers_to_basic_type[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_pass_add_stores.cpp | 101 auto pointer = relevant_pointers[GetFuzzerContext()->RandomIndex( in Apply() 126 relevant_values[GetFuzzerContext()->RandomIndex(relevant_values)] in Apply()
|
D | fuzzer_pass_outline_functions.cpp | 48 auto entry_block = blocks[GetFuzzerContext()->RandomIndex(blocks)]; in Apply() 65 auto exit_block = candidate_exit_blocks[GetFuzzerContext()->RandomIndex( in Apply()
|
D | fuzzer_context.h | 49 uint32_t RandomIndex(const HasSizeMethod& sequence) const { in RandomIndex() function 59 uint32_t index = RandomIndex(*sequence); in RemoveAtRandomIndex()
|
D | fuzzer_pass_adjust_selection_controls.cpp | 65 block.id(), choices[GetFuzzerContext()->RandomIndex(choices)]); in Apply()
|