Home
last modified time | relevance | path

Searched refs:IsEqual (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/third_party/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp51 bool IsEqual(const spv_target_env env, in IsEqual() function
75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
92 bool IsEqual(const spv_target_env env, const opt::IRContext* ir_1, in IsEqual() function
98 return IsEqual(env, binary_1, binary_2); in IsEqual()
101 bool IsEqual(const spv_target_env env, const std::vector<uint32_t>& binary_1, in IsEqual() function
105 return IsEqual(env, binary_1, binary_2); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
48 bool IsEqual(spv_target_env env, const opt::IRContext* ir_1,
53 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& binary_1,
Dtransformation_propagate_instruction_up_test.cpp181 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
245 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
311 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
430 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
547 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
658 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
738 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
818 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
892 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_merge_blocks_test.cpp203 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
278 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
425 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
518 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
612 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
698 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_split_block_test.cpp255 ASSERT_TRUE(IsEqual(env, after_split_1, context.get())); in TEST()
306 ASSERT_TRUE(IsEqual(env, after_split_2, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_split_3, context.get())); in TEST()
486 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
615 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
789 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
862 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
Dtransformation_duplicate_region_with_selection_test.cpp159 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
289 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
907 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1064 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1282 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1476 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1596 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1877 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2006 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2137 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
[all …]
Dtransformation_add_function_test.cpp293 ASSERT_TRUE(IsEqual(env, after_transformation1, context.get())); in TEST()
432 ASSERT_TRUE(IsEqual(env, after_transformation2, context.get())); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
923 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
969 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1083 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1130 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1441 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1609 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp51 bool IsEqual(const spv_target_env env, in IsEqual() function
75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
92 bool IsEqual(const spv_target_env env, const opt::IRContext* ir_1, in IsEqual() function
98 return IsEqual(env, binary_1, binary_2); in IsEqual()
101 bool IsEqual(const spv_target_env env, const std::vector<uint32_t>& binary_1, in IsEqual() function
105 return IsEqual(env, binary_1, binary_2); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
48 bool IsEqual(spv_target_env env, const opt::IRContext* ir_1,
53 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& binary_1,
Dtransformation_propagate_instruction_up_test.cpp181 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
245 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
311 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
430 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
547 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
658 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
738 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
818 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
892 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_merge_blocks_test.cpp203 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
278 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
425 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
518 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
612 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
698 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_split_block_test.cpp255 ASSERT_TRUE(IsEqual(env, after_split_1, context.get())); in TEST()
306 ASSERT_TRUE(IsEqual(env, after_split_2, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_split_3, context.get())); in TEST()
486 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
615 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
789 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
862 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
Dtransformation_duplicate_region_with_selection_test.cpp159 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
289 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
907 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1064 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1282 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1476 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1596 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1877 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2006 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2137 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
[all …]
Dtransformation_add_function_test.cpp293 ASSERT_TRUE(IsEqual(env, after_transformation1, context.get())); in TEST()
432 ASSERT_TRUE(IsEqual(env, after_transformation2, context.get())); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
923 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
969 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1083 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1130 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1441 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1609 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
[all …]
Dtransformation_propagate_instruction_down_test.cpp273 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
440 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
552 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
640 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
814 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
941 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
1048 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
1133 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp51 bool IsEqual(const spv_target_env env, in IsEqual() function
75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function
89 return IsEqual(env, expected_text, actual_binary); in IsEqual()
92 bool IsEqual(const spv_target_env env, const opt::IRContext* ir_1, in IsEqual() function
98 return IsEqual(env, binary_1, binary_2); in IsEqual()
101 bool IsEqual(const spv_target_env env, const std::vector<uint32_t>& binary_1, in IsEqual() function
105 return IsEqual(env, binary_1, binary_2); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
38 bool IsEqual(spv_target_env env, const std::string& expected_text,
43 bool IsEqual(spv_target_env env, const std::string& expected_text,
48 bool IsEqual(spv_target_env env, const opt::IRContext* ir_1,
53 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& binary_1,
Dtransformation_propagate_instruction_up_test.cpp181 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
245 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
311 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
430 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
547 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
658 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
738 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
818 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
892 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_merge_blocks_test.cpp203 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
278 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
425 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
518 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
612 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
698 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
Dtransformation_split_block_test.cpp255 ASSERT_TRUE(IsEqual(env, after_split_1, context.get())); in TEST()
306 ASSERT_TRUE(IsEqual(env, after_split_2, context.get())); in TEST()
359 ASSERT_TRUE(IsEqual(env, after_split_3, context.get())); in TEST()
486 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
615 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
789 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
862 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
Dtransformation_duplicate_region_with_selection_test.cpp159 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
289 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
907 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1064 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1282 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1476 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1596 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
1877 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2006 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
2137 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST()
[all …]
Dtransformation_add_function_test.cpp293 ASSERT_TRUE(IsEqual(env, after_transformation1, context.get())); in TEST()
432 ASSERT_TRUE(IsEqual(env, after_transformation2, context.get())); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
923 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
969 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1083 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1130 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
1441 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
1609 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.8/
DImproved_keyof_with_intersection_types_1.ts49 type IsEqual<X, Y> = alias
54 let f1: IsEqual<TAB, keyof A | keyof B> = true;
57 let f2: IsEqual<TTB<boolean>, keyof boolean | keyof B> = true;
60 let f3: IsEqual<TAU<string>, keyof A | keyof string> = true;
63 let f4: IsEqual<TTU<number, string>, keyof number | keyof string> = true;
/third_party/vk-gl-cts/framework/randomshaders/
DrsgBinaryOps.cpp871 template <bool IsEqual, typename T>
876 else if (IsEqual && dstMin == false) in computeEqualityValueRange()
878 else if (!IsEqual && dstMin == true) in computeEqualityValueRange()
941 template <bool IsEqual>
942 EqualityComparisonOp<IsEqual>::EqualityComparisonOp (GeneratorState& state, ConstValueRangeAccess i… in EqualityComparisonOp()
943 : BinaryOp<8, ASSOCIATIVITY_LEFT>(IsEqual ? Token::CMP_EQ : Token::CMP_NE) in EqualityComparisonOp()
977 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
981 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
987 computeEqualityValueRange<IsEqual>(state.getRandom(), dstMin, dstMax, in EqualityComparisonOp()
994 template <bool IsEqual>
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/type_relationships/Type_and_Member_Identity/
DType_and_Member_Identity_2.ts28 type IsEqual<TT, UU> = alias
38 let isEqual1: IsEqual<T, U> = true;
39 let isEqual2: IsEqual<T, number> = true;

12345678910>>...13