Home
last modified time | relevance | path

Searched refs:Eq (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.pipe_storage_test.cpp21 using ::testing::Eq;
27 Eq("Invalid Opcode name 'OpTypePipeStorage'")); in TEST_F()
33 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
37 Eq(MakeInstruction(SpvOpTypePipeStorage, {1}))); in TEST_F()
40 Eq("'=' expected after result id.")); in TEST_F()
48 Eq("Invalid Opcode name 'OpConstantPipeStorage'")); in TEST_F()
54 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
58 Eq("Expected operand, found end of stream.")); in TEST_F()
61 Eq("Expected operand, found end of stream.")); in TEST_F()
64 Eq(MakeInstruction(SpvOpConstantPipeStorage, {1, 2, 3, 4, 5}))); in TEST_F()
[all …]
Dtext_to_binary.subgroup_dispatch_test.cpp26 using ::testing::Eq;
36 Eq("Invalid Opcode name 'OpGetKernelLocalSizeForSubgroupCount'")); in TEST_F()
42 Eq("Expected <result-id> at the beginning of an instruction, " in TEST_F()
46 Eq("Expected operand, found end of stream.")); in TEST_F()
50 Eq("Expected operand, found end of stream.")); in TEST_F()
55 Eq(MakeInstruction(SpvOpGetKernelLocalSizeForSubgroupCount, in TEST_F()
61 Eq("Expected '=', found end of stream.")); in TEST_F()
68 Eq("Expected id to start with %.")); in TEST_F()
73 Eq("Expected id to start with %.")); in TEST_F()
82 Eq("Invalid Opcode name 'OpGetKernelLocalSizeForSubgroupCount'")); in TEST_F()
[all …]
Dtext_to_binary.barrier_test.cpp26 using ::testing::Eq;
38 Eq(MakeInstruction(SpvOpMemoryBarrier, {1, 2}))); in TEST_F()
39 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_F()
45 Eq("Expected operand, found end of stream.")); in TEST_F()
50 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
56 Eq("Expected operand, found end of stream.")); in TEST_F()
61 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
84 Eq("Invalid Opcode name 'OpMemoryNamedBarrier'")); in TEST_F()
89 Eq("Expected operand, found end of stream.")); in TEST_F()
92 Eq("Expected operand, found end of stream.")); in TEST_F()
[all …]
Doperand_pattern_test.cpp20 using ::testing::Eq;
26 EXPECT_THAT(empty, Eq(spv_operand_pattern_t{})); in TEST()
35 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
41 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID, in TEST()
53 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
56 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST()
77 EXPECT_THAT(pattern, Eq(GetParam().expected)); in TEST_P()
132 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST_P()
162 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
169 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
[all …]
Dtext_to_binary.type_declaration_test.cpp27 using ::testing::Eq;
39 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, GetParam().value(), 2, 3, 0, 4, in TEST_P()
43 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
64 Eq("Invalid dimensionality 'xxyyzz'.")); in TEST_F()
76 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, SpvDim1D, 2, 3, 0, 4, in TEST_P()
79 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
133 Eq("Invalid image format 'xxyyzz'.")); in TEST_F()
144 Eq(MakeInstruction(SpvOpTypeImage, in TEST_P()
148 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
171 Eq(MakeInstruction(SpvOpTypePipe, {1, GetParam().value()}))); in TEST_P()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.pipe_storage_test.cpp22 using ::testing::Eq;
31 Eq(MakeInstruction(SpvOpTypePipeStorage, {1}))); in TEST_F()
37 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
41 Eq(MakeInstruction(SpvOpTypePipeStorage, {1}))); in TEST_F()
44 Eq("'=' expected after result id.")); in TEST_F()
52 Eq(MakeInstruction(SpvOpConstantPipeStorage, {1, 2, 3, 4, 5}))); in TEST_F()
58 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
62 Eq("Expected operand, found end of stream.")); in TEST_F()
65 Eq("Expected operand, found end of stream.")); in TEST_F()
68 Eq(MakeInstruction(SpvOpConstantPipeStorage, {1, 2, 3, 4, 5}))); in TEST_F()
[all …]
Dtext_to_binary.memory_test.cpp32 using ::testing::Eq;
45 Eq(MakeInstruction(SpvOpStore, {1, 2, GetParam().value()}, in TEST_P()
62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F()
64 Eq(MakeInstruction(SpvOpStore, {1, 2, expected_mask, 16}))); in TEST_F()
75 Eq(MakeInstruction(SpvOpVariable, {1, 2, GetParam().value()}))); in TEST_P()
106 Eq(MakeInstruction(SpvOpPtrEqual, {1, 2, 3, 4}))); in TEST_F()
109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
123 Eq(MakeInstruction(SpvOpPtrNotEqual, {1, 2, 3, 4}))); in TEST_F()
126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
140 Eq(MakeInstruction(SpvOpPtrDiff, {1, 2, 3, 4}))); in TEST_F()
[all …]
Dtext_to_binary.subgroup_dispatch_test.cpp27 using ::testing::Eq;
38 Eq(MakeInstruction(SpvOpGetKernelLocalSizeForSubgroupCount, in TEST_F()
45 Eq("Expected <result-id> at the beginning of an instruction, " in TEST_F()
49 Eq("Expected operand, found end of stream.")); in TEST_F()
53 Eq("Expected operand, found end of stream.")); in TEST_F()
58 Eq(MakeInstruction(SpvOpGetKernelLocalSizeForSubgroupCount, in TEST_F()
64 Eq("Expected '=', found end of stream.")); in TEST_F()
71 Eq("Expected id to start with %.")); in TEST_F()
76 Eq("Expected id to start with %.")); in TEST_F()
86 Eq(MakeInstruction(SpvOpGetKernelMaxNumSubgroups, {1, 2, 3, 4, 5, 6}))); in TEST_F()
[all …]
Dtext_to_binary.barrier_test.cpp31 using ::testing::Eq;
40 Eq(MakeInstruction(SpvOpMemoryBarrier, {1, 2}))); in TEST_F()
41 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_F()
47 Eq("Expected operand, found end of stream.")); in TEST_F()
52 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
58 Eq("Expected operand, found end of stream.")); in TEST_F()
63 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
95 Eq("Expected operand, found end of stream.")); in TEST_F()
98 Eq("Expected operand, found end of stream.")); in TEST_F()
101 Eq("Expected operand, found end of stream.")); in TEST_F()
[all …]
Doperand_pattern_test.cpp24 using ::testing::Eq;
28 EXPECT_THAT(empty, Eq(spv_operand_pattern_t{})); in TEST()
37 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
43 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID, in TEST()
55 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
58 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST()
79 EXPECT_THAT(pattern, Eq(GetParam().expected)); in TEST_P()
136 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST_P()
166 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
173 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
[all …]
Dtext_to_binary.type_declaration_test.cpp30 using ::testing::Eq;
42 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, GetParam().value(), 2, 3, 0, 4, in TEST_P()
46 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
67 Eq("Invalid dimensionality 'xxyyzz'.")); in TEST_F()
79 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, SpvDim1D, 2, 3, 0, 4, in TEST_P()
82 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
136 Eq("Invalid image format 'xxyyzz'.")); in TEST_F()
147 Eq(MakeInstruction(SpvOpTypeImage, in TEST_P()
151 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
174 Eq(MakeInstruction(SpvOpTypePipe, {1, GetParam().value()}))); in TEST_P()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.pipe_storage_test.cpp22 using ::testing::Eq;
31 Eq(MakeInstruction(SpvOpTypePipeStorage, {1}))); in TEST_F()
37 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
41 Eq(MakeInstruction(SpvOpTypePipeStorage, {1}))); in TEST_F()
44 Eq("'=' expected after result id.")); in TEST_F()
52 Eq(MakeInstruction(SpvOpConstantPipeStorage, {1, 2, 3, 4, 5}))); in TEST_F()
58 Eq("Expected <result-id> at the beginning of an instruction, found " in TEST_F()
62 Eq("Expected operand, found end of stream.")); in TEST_F()
65 Eq("Expected operand, found end of stream.")); in TEST_F()
68 Eq(MakeInstruction(SpvOpConstantPipeStorage, {1, 2, 3, 4, 5}))); in TEST_F()
[all …]
Dtext_to_binary.memory_test.cpp32 using ::testing::Eq;
45 Eq(MakeInstruction(SpvOpStore, {1, 2, GetParam().value()}, in TEST_P()
62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F()
64 Eq(MakeInstruction(SpvOpStore, {1, 2, expected_mask, 16}))); in TEST_F()
75 Eq(MakeInstruction(SpvOpVariable, {1, 2, GetParam().value()}))); in TEST_P()
106 Eq(MakeInstruction(SpvOpPtrEqual, {1, 2, 3, 4}))); in TEST_F()
109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
123 Eq(MakeInstruction(SpvOpPtrNotEqual, {1, 2, 3, 4}))); in TEST_F()
126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
140 Eq(MakeInstruction(SpvOpPtrDiff, {1, 2, 3, 4}))); in TEST_F()
[all …]
Dtext_to_binary.subgroup_dispatch_test.cpp27 using ::testing::Eq;
38 Eq(MakeInstruction(SpvOpGetKernelLocalSizeForSubgroupCount, in TEST_F()
45 Eq("Expected <result-id> at the beginning of an instruction, " in TEST_F()
49 Eq("Expected operand, found end of stream.")); in TEST_F()
53 Eq("Expected operand, found end of stream.")); in TEST_F()
58 Eq(MakeInstruction(SpvOpGetKernelLocalSizeForSubgroupCount, in TEST_F()
64 Eq("Expected '=', found end of stream.")); in TEST_F()
71 Eq("Expected id to start with %.")); in TEST_F()
76 Eq("Expected id to start with %.")); in TEST_F()
86 Eq(MakeInstruction(SpvOpGetKernelMaxNumSubgroups, {1, 2, 3, 4, 5, 6}))); in TEST_F()
[all …]
Dtext_to_binary.barrier_test.cpp31 using ::testing::Eq;
40 Eq(MakeInstruction(SpvOpMemoryBarrier, {1, 2}))); in TEST_F()
41 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_F()
47 Eq("Expected operand, found end of stream.")); in TEST_F()
52 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
58 Eq("Expected operand, found end of stream.")); in TEST_F()
63 EXPECT_THAT(CompileFailure(input), Eq("Expected id to start with %.")); in TEST_F()
95 Eq("Expected operand, found end of stream.")); in TEST_F()
98 Eq("Expected operand, found end of stream.")); in TEST_F()
101 Eq("Expected operand, found end of stream.")); in TEST_F()
[all …]
Doperand_pattern_test.cpp24 using ::testing::Eq;
28 EXPECT_THAT(empty, Eq(spv_operand_pattern_t{})); in TEST()
37 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
43 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID, in TEST()
55 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST()
58 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST()
79 EXPECT_THAT(pattern, Eq(GetParam().expected)); in TEST_P()
136 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{})); in TEST_P()
166 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
173 Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_OPTIONAL_CIV})); in TEST()
[all …]
Dtext_to_binary.type_declaration_test.cpp30 using ::testing::Eq;
42 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, GetParam().value(), 2, 3, 0, 4, in TEST_P()
46 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
67 Eq("Invalid dimensionality 'xxyyzz'.")); in TEST_F()
79 Eq(MakeInstruction(SpvOpTypeImage, {1, 2, SpvDim1D, 2, 3, 0, 4, in TEST_P()
82 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
136 Eq("Invalid image format 'xxyyzz'.")); in TEST_F()
147 Eq(MakeInstruction(SpvOpTypeImage, in TEST_P()
151 EXPECT_THAT(EncodeAndDecodeSuccessfully(input), Eq(input)); in TEST_P()
174 Eq(MakeInstruction(SpvOpTypePipe, {1, GetParam().value()}))); in TEST_P()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_navigator_test.cc35 using ::testing::Eq;
103 EXPECT_THAT(nav.btree(), Eq(nullptr)); in TEST()
113 EXPECT_THAT(nav.btree(), Eq(tree())); in TEST_P()
114 EXPECT_THAT(nav.Current(), Eq(flats().front())); in TEST_P()
115 EXPECT_THAT(edge, Eq(flats().front())); in TEST_P()
122 EXPECT_THAT(nav.btree(), Eq(tree())); in TEST_P()
123 EXPECT_THAT(nav.Current(), Eq(flats().back())); in TEST_P()
124 EXPECT_THAT(edge, Eq(flats().back())); in TEST_P()
132 EXPECT_THAT(nav.Previous(), Eq(nullptr)); in TEST_P()
133 EXPECT_THAT(nav.Current(), Eq(flats.front())); in TEST_P()
[all …]
Dcord_rep_btree_reader_test.cc37 using ::testing::Eq;
62 EXPECT_THAT(chunk, Eq(data.substr(0, chunk.length()))); in TEST()
65 EXPECT_THAT(reader.consumed(), Eq(consumed)); in TEST()
69 EXPECT_THAT(chunk, Eq(data.substr(consumed, chunk.length()))); in TEST()
72 EXPECT_THAT(reader.consumed(), Eq(consumed)); in TEST()
75 EXPECT_THAT(consumed, Eq(data.length())); in TEST()
76 EXPECT_THAT(reader.consumed(), Eq(data.length())); in TEST()
99 ASSERT_THAT(chunk, Eq(data.substr(consumed + skip1, chunk.length()))); in TEST()
101 ASSERT_THAT(reader.consumed(), Eq(consumed)); in TEST()
107 ASSERT_THAT(chunk, Eq(data.substr(consumed + skip, chunk.length()))); in TEST()
[all …]
Dcordz_info_test.cc38 using ::testing::Eq;
72 EXPECT_THAT(CordzInfo::Head(CordzSnapshot()), Eq(info)); in TEST()
73 EXPECT_THAT(info->GetCordRepForTesting(), Eq(data.rep.rep)); in TEST()
81 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST()
88 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST()
99 EXPECT_THAT(child_info->GetCordRepForTesting(), Eq(child.rep.rep)); in TEST()
110 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST()
118 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST()
137 EXPECT_THAT(CordzInfo::Head(CordzSnapshot()), Eq(nullptr)); in TEST()
138 EXPECT_THAT(info->GetCordRepForTesting(), Eq(data.rep.rep)); in TEST()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dnamer_test.cc24 using ::testing::Eq;
40 EXPECT_THAT(Namer::Sanitize(""), Eq("empty")); in TEST_F()
44 EXPECT_THAT(Namer::Sanitize("_"), Eq("x_")); in TEST_F()
48 EXPECT_THAT(Namer::Sanitize("7zip"), Eq("x7zip")); in TEST_F()
52 EXPECT_THAT(Namer::Sanitize("_abcdef12345"), Eq("x_abcdef12345")); in TEST_F()
83 EXPECT_THAT(namer.FindUnusedDerivedName("eleanor"), Eq("eleanor")); in TEST_F()
85 EXPECT_THAT(namer.FindUnusedDerivedName("eleanor"), Eq("eleanor")); in TEST_F()
91 EXPECT_THAT(namer.FindUnusedDerivedName("rigby"), Eq("rigby_1")); in TEST_F()
100 EXPECT_THAT(namer.FindUnusedDerivedName("rigby"), Eq("rigby_2")); in TEST_F()
123 EXPECT_THAT(namer.MakeDerivedName("eleanor"), Eq("eleanor")); in TEST_F()
[all …]
Dparser_impl_user_name_test.cc24 using ::testing::Eq;
34 EXPECT_THAT(p->namer().GetName(1), Eq("the_void_type")); in TEST_F()
58 EXPECT_THAT(p->namer().GetName(1), Eq("vanilla")); in TEST_F()
59 EXPECT_THAT(p->namer().GetName(2), Eq("vanilla_1")); in TEST_F()
73 EXPECT_THAT(p->namer().GetMemberName(3, 0), Eq("strawberry")); in TEST_F()
74 EXPECT_THAT(p->namer().GetMemberName(3, 1), Eq("vanilla")); in TEST_F()
75 EXPECT_THAT(p->namer().GetMemberName(3, 2), Eq("chocolate")); in TEST_F()
87 EXPECT_THAT(p->namer().GetMemberName(3, 0), Eq("field0")); in TEST_F()
98 EXPECT_THAT(p->namer().GetMemberName(3, 0), Eq("field0")); in TEST_F()
99 EXPECT_THAT(p->namer().GetMemberName(3, 1), Eq("field1")); in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_reader_test.cc34 using testing::Eq;
61 EXPECT_THAT(reader.ring(), Eq(nullptr)); in TEST()
77 EXPECT_THAT(first, Eq(flats[0])); in TEST()
79 EXPECT_THAT(reader.ring(), Eq(ring)); in TEST()
80 EXPECT_THAT(reader.index(), Eq(ring->head())); in TEST()
81 EXPECT_THAT(reader.node(), Eq(ring->entry_child(ring->head()))); in TEST()
82 EXPECT_THAT(reader.length(), Eq(ring->length)); in TEST()
83 EXPECT_THAT(reader.consumed(), Eq(flats[0].length())); in TEST()
84 EXPECT_THAT(reader.remaining(), Eq(ring->length - reader.consumed())); in TEST()
88 EXPECT_THAT(reader.ring(), Eq(nullptr)); in TEST()
[all …]
/third_party/boost/boost/pending/
Dcontainer_traits.hpp316 template < class Key, class Eq, class Hash, class Alloc >
317 struct container_traits< boost::unordered_set< Key, Eq, Hash, Alloc > >
322 template < class Key, class T, class Eq, class Hash, class Alloc >
323 struct container_traits< boost::unordered_map< Key, T, Eq, Hash, Alloc > >
328 template < class Key, class Eq, class Hash, class Alloc >
329 struct container_traits< boost::unordered_multiset< Key, Eq, Hash, Alloc > >
334 template < class Key, class T, class Eq, class Hash, class Alloc >
336 boost::unordered_multimap< Key, T, Eq, Hash, Alloc > >
342 template < class Key, class Eq, class Hash, class Alloc >
344 const boost::unordered_set< Key, Eq, Hash, Alloc >&) in container_category() argument
[all …]
/third_party/boringssl/src/third_party/googletest/src/
Dgtest-matchers.cc45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
50 *this = Eq(std::string(s)); in Matcher()
55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher()
65 *this = Eq(s); in Matcher()
71 *this = Eq(std::string(s)); in Matcher()
77 *this = Eq(std::string(s)); in Matcher()
82 Matcher<absl::string_view>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
87 *this = Eq(std::string(s)); in Matcher()
93 *this = Eq(std::string(s)); in Matcher()

12345678910>>...15