/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | replayer_test.cpp | 90 protobufs::TransformationSequence transformations; in TEST() local 92 *transformations.add_transformation() = in TEST() 103 transformations, 11, true, validator_options) in TEST() 108 // All transformations should be applied. in TEST() 110 transformations, replayer_result.applied_transformations)); in TEST() 189 transformations, 5, true, validator_options) in TEST() 194 // The first 5 transformations should be applied in TEST() 198 transformations.transformation(i), in TEST() 267 transformations, 0, true, validator_options) in TEST() 272 // No transformations shoul in TEST() 334 protobufs::TransformationSequence transformations; TEST() local 454 protobufs::TransformationSequence transformations; TEST() local [all...] |
H A D | transformation_replace_constant_with_uniform_test.cpp | 131 // These transformations work: they match the facts. in TEST() 148 // The transformations are not applicable if we change which uniforms are in TEST() 160 // The following transformations do not apply because the uniform descriptors in TEST() 181 // The following transformations do not apply because the ids are not fresh. in TEST() 502 // These transformations work: they match the facts. in TEST() 1251 std::vector<TransformationReplaceConstantWithUniform> transformations; 1253 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1256 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1259 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1262 transformations [all...] |
H A D | fuzzer_pass_test.cpp | 30 protobufs::TransformationSequence* transformations) in FuzzerPassMock() 32 transformations, false) {} in FuzzerPassMock() 92 protobufs::TransformationSequence transformations; in TEST() local 94 &fuzzer_context, &transformations); in TEST() 27 FuzzerPassMock(opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations) FuzzerPassMock() argument
|
H A D | transformation_add_global_variable_test.cpp | 138 TransformationAddGlobalVariable transformations[] = { in TEST() local 159 for (auto& transformation : transformations) { in TEST() 270 TransformationAddGlobalVariable transformations[] = { in TEST() local 283 for (auto& transformation : transformations) { in TEST() 389 TransformationAddGlobalVariable transformations[] = { in TEST() local 402 for (auto& transformation : transformations) { in TEST() 495 TransformationAddGlobalVariable transformations[] = { in TEST() local 503 for (auto& transformation : transformations) { in TEST()
|
H A D | shrinker_test.cpp | 171 protobufs::TransformationSequence transformations; in TEST() local 174 &transformations, false, {}); in TEST() 201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST() 349 protobufs::TransformationSequence transformations; in TEST() local 352 &transformations, false, {}); in TEST() 373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | replayer_test.cpp | 90 protobufs::TransformationSequence transformations; in TEST() local 92 *transformations.add_transformation() = in TEST() 103 transformations, 11, true, validator_options) in TEST() 108 // All transformations should be applied. in TEST() 110 transformations, replayer_result.applied_transformations)); in TEST() 189 transformations, 5, true, validator_options) in TEST() 194 // The first 5 transformations should be applied in TEST() 198 transformations.transformation(i), in TEST() 267 transformations, 0, true, validator_options) in TEST() 272 // No transformations shoul in TEST() 334 protobufs::TransformationSequence transformations; TEST() local 454 protobufs::TransformationSequence transformations; TEST() local [all...] |
H A D | transformation_replace_constant_with_uniform_test.cpp | 131 // These transformations work: they match the facts. in TEST() 148 // The transformations are not applicable if we change which uniforms are in TEST() 160 // The following transformations do not apply because the uniform descriptors in TEST() 181 // The following transformations do not apply because the ids are not fresh. in TEST() 502 // These transformations work: they match the facts. in TEST() 1251 std::vector<TransformationReplaceConstantWithUniform> transformations; 1253 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1256 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1259 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1262 transformations [all...] |
H A D | fuzzer_pass_test.cpp | 30 protobufs::TransformationSequence* transformations) in FuzzerPassMock() 32 transformations, false) {} in FuzzerPassMock() 92 protobufs::TransformationSequence transformations; in TEST() local 94 &fuzzer_context, &transformations); in TEST() 27 FuzzerPassMock(opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations) FuzzerPassMock() argument
|
H A D | transformation_add_global_variable_test.cpp | 138 TransformationAddGlobalVariable transformations[] = { in TEST() local 159 for (auto& transformation : transformations) { in TEST() 270 TransformationAddGlobalVariable transformations[] = { in TEST() local 283 for (auto& transformation : transformations) { in TEST() 389 TransformationAddGlobalVariable transformations[] = { in TEST() local 402 for (auto& transformation : transformations) { in TEST() 495 TransformationAddGlobalVariable transformations[] = { in TEST() local 503 for (auto& transformation : transformations) { in TEST()
|
H A D | shrinker_test.cpp | 171 protobufs::TransformationSequence transformations; in TEST() local 174 &transformations, false, {}); in TEST() 201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST() 349 protobufs::TransformationSequence transformations; in TEST() local 352 &transformations, false, {}); in TEST() 373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | replayer_test.cpp | 90 protobufs::TransformationSequence transformations; in TEST() local 92 *transformations.add_transformation() = in TEST() 103 transformations, 11, true, validator_options) in TEST() 108 // All transformations should be applied. in TEST() 110 transformations, replayer_result.applied_transformations)); in TEST() 189 transformations, 5, true, validator_options) in TEST() 194 // The first 5 transformations should be applied in TEST() 198 transformations.transformation(i), in TEST() 267 transformations, 0, true, validator_options) in TEST() 272 // No transformations shoul in TEST() 334 protobufs::TransformationSequence transformations; TEST() local 454 protobufs::TransformationSequence transformations; TEST() local [all...] |
H A D | transformation_replace_constant_with_uniform_test.cpp | 131 // These transformations work: they match the facts. in TEST() 148 // The transformations are not applicable if we change which uniforms are in TEST() 160 // The following transformations do not apply because the uniform descriptors in TEST() 181 // The following transformations do not apply because the ids are not fresh. in TEST() 502 // These transformations work: they match the facts. in TEST() 1251 std::vector<TransformationReplaceConstantWithUniform> transformations; 1253 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1257 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1261 transformations.emplace_back(TransformationReplaceConstantWithUniform( 1265 transformations [all...] |
H A D | fuzzer_pass_test.cpp | 30 protobufs::TransformationSequence* transformations) in FuzzerPassMock() 32 transformations, false) {} in FuzzerPassMock() 92 protobufs::TransformationSequence transformations; in TEST() local 94 &fuzzer_context, &transformations); in TEST() 27 FuzzerPassMock(opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations) FuzzerPassMock() argument
|
H A D | transformation_add_global_variable_test.cpp | 139 TransformationAddGlobalVariable transformations[] = { in TEST() local 160 for (auto& transformation : transformations) { in TEST() 271 TransformationAddGlobalVariable transformations[] = { in TEST() local 284 for (auto& transformation : transformations) { in TEST() 390 TransformationAddGlobalVariable transformations[] = { in TEST() local 403 for (auto& transformation : transformations) { in TEST() 497 TransformationAddGlobalVariable transformations[] = { in TEST() local 506 for (auto& transformation : transformations) { in TEST()
|
H A D | shrinker_test.cpp | 171 protobufs::TransformationSequence transformations; in TEST() local 174 &transformations, false, {}); in TEST() 201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST() 349 protobufs::TransformationSequence transformations; in TEST() local 352 &transformations, false, {}); in TEST() 373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngrtran.c | 152 png_ptr->transformations |= PNG_COMPOSE | PNG_STRIP_ALPHA; in png_set_background_fixed() 153 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_background_fixed() 160 png_ptr->transformations |= PNG_BACKGROUND_EXPAND; in png_set_background_fixed() 162 png_ptr->transformations &= ~PNG_BACKGROUND_EXPAND; in png_set_background_fixed() 190 png_ptr->transformations |= PNG_SCALE_16_TO_8; in png_set_scale_16() 204 png_ptr->transformations |= PNG_16_TO_8; in png_set_strip_16() 217 png_ptr->transformations |= PNG_STRIP_ALPHA; in png_set_strip_alpha() 337 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed() 343 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed() 351 png_ptr->transformations in png_set_alpha_mode_fixed() [all...] |
H A D | pngwtran.c | 498 * transformations is significant. 509 if ((png_ptr->transformations & PNG_USER_TRANSFORM) != 0) in png_do_write_transformations() 525 if ((png_ptr->transformations & PNG_FILLER) != 0) in png_do_write_transformations() 531 if ((png_ptr->transformations & PNG_PACKSWAP) != 0) in png_do_write_transformations() 536 if ((png_ptr->transformations & PNG_PACK) != 0) in png_do_write_transformations() 543 if ((png_ptr->transformations & PNG_SWAP_BYTES) != 0) in png_do_write_transformations() 549 if ((png_ptr->transformations & PNG_SHIFT) != 0) in png_do_write_transformations() 555 if ((png_ptr->transformations & PNG_SWAP_ALPHA) != 0) in png_do_write_transformations() 560 if ((png_ptr->transformations & PNG_INVERT_ALPHA) != 0) in png_do_write_transformations() 565 if ((png_ptr->transformations in png_do_write_transformations() [all...] |
H A D | pngpread.c | 270 (png_ptr->transformations & PNG_CHECK) == 0) { in png_push_read_chunk() 650 if (png_ptr->transformations != 0) in png_push_process_row_x2() 667 if (png_ptr->transformations != 0) in png_push_process_row_x2() 676 if (png_ptr->transformations != 0) in png_push_process_row_x2() 716 if (png_ptr->transformations == 0 && png_ptr->interlaced == 0) in png_push_process_multi_rows() 745 (png_ptr->transformations & PNG_CHECK) == 0) in png_process_IDAT_data() 771 (png_ptr->transformations & PNG_CHECK) == 0) in png_process_IDAT_data() 894 if (png_ptr->transformations == 0 && png_ptr->interlaced == 0) in png_push_process_row() 907 if (png_ptr->transformations != 0) in png_push_process_row() 926 (png_ptr->transformations in png_push_process_row() [all...] |
H A D | pngtrans.c | 28 png_ptr->transformations |= PNG_BGR; in png_set_bgr() 43 png_ptr->transformations |= PNG_SWAP_BYTES; in png_set_swap() 59 png_ptr->transformations |= PNG_PACK; in png_set_packing() 78 png_ptr->transformations |= PNG_PACKSWAP; in png_set_packswap() 91 png_ptr->transformations |= PNG_SHIFT; in png_set_shift() 105 png_ptr->transformations |= PNG_INTERLACE; in png_set_interlace_handling() 134 * format, because other transformations can give a format where the in png_set_filler() 194 png_ptr->transformations |= PNG_FILLER; in png_set_filler() 214 if ((png_ptr->transformations & PNG_FILLER) != 0) in png_set_add_alpha() 215 png_ptr->transformations | in png_set_add_alpha() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_replace_opphi_ids_from_dead_predecessors.cpp | 27 protobufs::TransformationSequence* transformations, in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 30 transformations, ignore_inapplicable_transformations) {} in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 33 // Keep a vector of the transformations to apply. in Apply() 34 std::vector<TransformationReplaceOpPhiIdFromDeadPredecessor> transformations; in Apply() local 40 [this, &function, &transformations](opt::BasicBlock* block) { in Apply() 50 block->id(), [this, &function, block, &transformations]( in Apply() 103 // Add a new transformation to the list of transformations to in Apply() 105 transformations.emplace_back( in Apply() 112 // Apply all the transformations. in Apply() 113 for (const auto& transformation : transformations) { in Apply() 23 FuzzerPassReplaceOpPhiIdsFromDeadPredecessors( opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations, bool ignore_inapplicable_transformations) FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() argument [all...] |
H A D | shrinker.cpp | 39 // A helper to return a transformation sequence identical to |transformations|, 41 // |chunk_size| is removed (or as many transformations as available if the whole 44 const protobufs::TransformationSequence& transformations, in RemoveChunk() 48 NumRemainingTransformations(transformations)); in RemoveChunk() 50 assert(upper <= NumRemainingTransformations(transformations)); in RemoveChunk() 52 for (uint32_t j = 0; j < NumRemainingTransformations(transformations); j++) { in RemoveChunk() 57 transformations.transformation()[j]; in RemoveChunk() 120 // Get the binary that results from running these transformations, and the 121 // subsequence of the initial transformations that actually apply (in 129 // Check that the binary produced by applying the initial transformations i 43 RemoveChunk( const protobufs::TransformationSequence& transformations, uint32_t chunk_index, uint32_t chunk_size) RemoveChunk() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_replace_opphi_ids_from_dead_predecessors.cpp | 27 protobufs::TransformationSequence* transformations, in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 30 transformations, ignore_inapplicable_transformations) {} in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 33 // Keep a vector of the transformations to apply. in Apply() 34 std::vector<TransformationReplaceOpPhiIdFromDeadPredecessor> transformations; in Apply() local 40 [this, &function, &transformations](opt::BasicBlock* block) { in Apply() 50 block->id(), [this, &function, block, &transformations]( in Apply() 103 // Add a new transformation to the list of transformations to in Apply() 105 transformations.emplace_back( in Apply() 112 // Apply all the transformations. in Apply() 113 for (const auto& transformation : transformations) { in Apply() 23 FuzzerPassReplaceOpPhiIdsFromDeadPredecessors( opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations, bool ignore_inapplicable_transformations) FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() argument [all...] |
H A D | shrinker.cpp | 39 // A helper to return a transformation sequence identical to |transformations|, 41 // |chunk_size| is removed (or as many transformations as available if the whole 44 const protobufs::TransformationSequence& transformations, in RemoveChunk() 48 NumRemainingTransformations(transformations)); in RemoveChunk() 50 assert(upper <= NumRemainingTransformations(transformations)); in RemoveChunk() 52 for (uint32_t j = 0; j < NumRemainingTransformations(transformations); j++) { in RemoveChunk() 57 transformations.transformation()[j]; in RemoveChunk() 120 // Get the binary that results from running these transformations, and the 121 // subsequence of the initial transformations that actually apply (in 129 // Check that the binary produced by applying the initial transformations i 43 RemoveChunk( const protobufs::TransformationSequence& transformations, uint32_t chunk_index, uint32_t chunk_size) RemoveChunk() argument [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_replace_opphi_ids_from_dead_predecessors.cpp | 27 protobufs::TransformationSequence* transformations, in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 30 transformations, ignore_inapplicable_transformations) {} in FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() 33 // Keep a vector of the transformations to apply. in Apply() 34 std::vector<TransformationReplaceOpPhiIdFromDeadPredecessor> transformations; in Apply() local 40 [this, &function, &transformations](opt::BasicBlock* block) { in Apply() 50 block->id(), [this, &function, block, &transformations]( in Apply() 103 // Add a new transformation to the list of transformations to in Apply() 105 transformations.emplace_back( in Apply() 112 // Apply all the transformations. in Apply() 113 for (const auto& transformation : transformations) { in Apply() 23 FuzzerPassReplaceOpPhiIdsFromDeadPredecessors( opt::IRContext* ir_context, TransformationContext* transformation_context, FuzzerContext* fuzzer_context, protobufs::TransformationSequence* transformations, bool ignore_inapplicable_transformations) FuzzerPassReplaceOpPhiIdsFromDeadPredecessors() argument [all...] |
H A D | shrinker.cpp | 39 // A helper to return a transformation sequence identical to |transformations|, 41 // |chunk_size| is removed (or as many transformations as available if the whole 44 const protobufs::TransformationSequence& transformations, in RemoveChunk() 48 NumRemainingTransformations(transformations)); in RemoveChunk() 50 assert(upper <= NumRemainingTransformations(transformations)); in RemoveChunk() 52 for (uint32_t j = 0; j < NumRemainingTransformations(transformations); j++) { in RemoveChunk() 57 transformations.transformation()[j]; in RemoveChunk() 120 // Get the binary that results from running these transformations, and the 121 // subsequence of the initial transformations that actually apply (in 129 // Check that the binary produced by applying the initial transformations i 43 RemoveChunk( const protobufs::TransformationSequence& transformations, uint32_t chunk_index, uint32_t chunk_size) RemoveChunk() argument [all...] |