Home
last modified time | relevance | path

Searched refs:binary_in (Results 1 – 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dreplayer_test.cpp84 std::vector<uint32_t> binary_in; in TEST() local
87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
88 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
328 std::vector<uint32_t> binary_in; in TEST() local
331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
332 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
[all …]
Dfuzzer_shrinker_test.cpp987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, in RunAndCheckShrinker() argument
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1026 std::vector<uint32_t> binary_in; in RunFuzzerAndShrinker() local
1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndShrinker()
1030 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndShrinker()
1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); in RunFuzzerAndShrinker()
1084 RunAndCheckShrinker(env, binary_in, initial_facts, in RunFuzzerAndShrinker()
1086 AlwaysInteresting().AsFunction(), binary_in, 0, in RunFuzzerAndShrinker()
1091 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
1101 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
[all …]
Dfuzzer_replayer_test.cpp1646 std::vector<uint32_t> binary_in; in RunFuzzerAndReplayer() local
1649 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndReplayer()
1650 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndReplayer()
1671 binary_in, validator_options, in RunFuzzerAndReplayer()
1703 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts, in RunFuzzerAndReplayer()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dreplayer_test.cpp84 std::vector<uint32_t> binary_in; in TEST() local
87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
88 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
328 std::vector<uint32_t> binary_in; in TEST() local
331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
332 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
[all …]
Dfuzzer_shrinker_test.cpp987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, in RunAndCheckShrinker() argument
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1026 std::vector<uint32_t> binary_in; in RunFuzzerAndShrinker() local
1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndShrinker()
1030 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndShrinker()
1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); in RunFuzzerAndShrinker()
1084 RunAndCheckShrinker(env, binary_in, initial_facts, in RunFuzzerAndShrinker()
1086 AlwaysInteresting().AsFunction(), binary_in, 0, in RunFuzzerAndShrinker()
1091 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
1101 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
[all …]
Dfuzzer_replayer_test.cpp1646 std::vector<uint32_t> binary_in; in RunFuzzerAndReplayer() local
1649 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndReplayer()
1650 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndReplayer()
1671 binary_in, validator_options, in RunFuzzerAndReplayer()
1703 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts, in RunFuzzerAndReplayer()
/third_party/spirv-tools/test/fuzz/
Dreplayer_test.cpp84 std::vector<uint32_t> binary_in; in TEST() local
87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
88 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST()
328 std::vector<uint32_t> binary_in; in TEST() local
331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST()
332 ASSERT_TRUE(t.Validate(binary_in)); in TEST()
[all …]
Dfuzzer_shrinker_test.cpp987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, in RunAndCheckShrinker() argument
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1026 std::vector<uint32_t> binary_in; in RunFuzzerAndShrinker() local
1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndShrinker()
1030 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndShrinker()
1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); in RunFuzzerAndShrinker()
1084 RunAndCheckShrinker(env, binary_in, initial_facts, in RunFuzzerAndShrinker()
1086 AlwaysInteresting().AsFunction(), binary_in, 0, in RunFuzzerAndShrinker()
1091 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
1101 env, binary_in, initial_facts, fuzzer.GetTransformationSequence(), in RunFuzzerAndShrinker()
[all …]
Dfuzzer_replayer_test.cpp1629 std::vector<uint32_t> binary_in; in RunFuzzerAndReplayer() local
1632 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); in RunFuzzerAndReplayer()
1633 ASSERT_TRUE(t.Validate(binary_in)); in RunFuzzerAndReplayer()
1654 binary_in, validator_options, in RunFuzzerAndReplayer()
1686 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts, in RunFuzzerAndReplayer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dreducer_test.cpp206 std::vector<uint32_t> binary_in; in TEST() local
209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
520 std::vector<uint32_t> binary_in; in TEST() local
524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
544 std::vector<uint32_t> binary_in; in TEST() local
548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
587 std::vector<uint32_t> binary_in; in TEST() local
[all …]
Dvalidation_during_reduction_test.cpp222 std::vector<uint32_t> binary_in; in TEST() local
225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
437 std::vector<uint32_t> binary_in; in TEST() local
440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
527 std::vector<uint32_t> binary_in; in TEST() local
530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
562 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dreducer_test.cpp206 std::vector<uint32_t> binary_in; in TEST() local
209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
520 std::vector<uint32_t> binary_in; in TEST() local
524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
544 std::vector<uint32_t> binary_in; in TEST() local
548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
587 std::vector<uint32_t> binary_in; in TEST() local
[all …]
Dvalidation_during_reduction_test.cpp222 std::vector<uint32_t> binary_in; in TEST() local
225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
437 std::vector<uint32_t> binary_in; in TEST() local
440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
527 std::vector<uint32_t> binary_in; in TEST() local
530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
562 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
[all …]
/third_party/spirv-tools/test/reduce/
Dreducer_test.cpp206 std::vector<uint32_t> binary_in; in TEST() local
209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
520 std::vector<uint32_t> binary_in; in TEST() local
524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
544 std::vector<uint32_t> binary_in; in TEST() local
548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST()
556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
587 std::vector<uint32_t> binary_in; in TEST() local
[all …]
Dvalidation_during_reduction_test.cpp222 std::vector<uint32_t> binary_in; in TEST() local
225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
437 std::vector<uint32_t> binary_in; in TEST() local
440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST()
527 std::vector<uint32_t> binary_in; in TEST() local
530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST()
546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
562 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Doptimizer_test.cpp32 std::vector<uint32_t> binary_in; in TEST() local
33 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary_in); in TEST()
38 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
47 std::vector<uint32_t> binary_in; in TEST() local
48 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary_in); in TEST()
53 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Doptimizer_test.cpp40 std::vector<uint32_t> binary_in; in TEST() local
42 &binary_in); in TEST()
47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
57 std::vector<uint32_t> binary_in; in TEST() local
59 &binary_in); in TEST()
64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
Dstrip_reflect_info_test.cpp49 std::vector<uint32_t> binary_in; in TEST_F() local
50 tools.Assemble(before, &binary_in); in TEST_F()
58 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Doptimizer_test.cpp40 std::vector<uint32_t> binary_in; in TEST() local
42 &binary_in); in TEST()
47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
57 std::vector<uint32_t> binary_in; in TEST() local
59 &binary_in); in TEST()
64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
Dstrip_reflect_info_test.cpp49 std::vector<uint32_t> binary_in; in TEST_F() local
50 tools.Assemble(before, &binary_in); in TEST_F()
58 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
/third_party/spirv-tools/test/opt/
Doptimizer_test.cpp40 std::vector<uint32_t> binary_in; in TEST() local
42 &binary_in); in TEST()
47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
57 std::vector<uint32_t> binary_in; in TEST() local
59 &binary_in); in TEST()
64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
Dstrip_reflect_info_test.cpp49 std::vector<uint32_t> binary_in; in TEST_F() local
50 tools.Assemble(before, &binary_in); in TEST_F()
58 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp470 const std::vector<uint32_t>& binary_in, in Replay() argument
501 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay()
514 const std::vector<uint32_t>& binary_in, in Shrink() argument
554 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink()
571 const std::vector<uint32_t>& binary_in, in Fuzz() argument
605 binary_in, validator_options, in Fuzz()
733 std::vector<uint32_t> binary_in; in main() local
734 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main()
765 target_env, validator_options, binary_in, initial_facts, in main()
771 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main()
[all …]
/third_party/spirv-tools/tools/fuzz/
Dfuzz.cpp470 const std::vector<uint32_t>& binary_in, in Replay() argument
501 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay()
514 const std::vector<uint32_t>& binary_in, in Shrink() argument
554 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink()
571 const std::vector<uint32_t>& binary_in, in Fuzz() argument
605 binary_in, validator_options, in Fuzz()
720 std::vector<uint32_t> binary_in; in main() local
721 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main()
753 target_env, validator_options, binary_in, initial_facts, in main()
759 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
Dfuzz.cpp470 const std::vector<uint32_t>& binary_in, in Replay() argument
501 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay()
514 const std::vector<uint32_t>& binary_in, in Shrink() argument
554 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink()
571 const std::vector<uint32_t>& binary_in, in Fuzz() argument
605 binary_in, validator_options, in Fuzz()
733 std::vector<uint32_t> binary_in; in main() local
734 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main()
765 target_env, validator_options, binary_in, initial_facts, in main()
771 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main()
[all …]

123