/external/deqp-deps/SPIRV-Tools/test/ |
D | text_to_binary.pipe_storage_test.cpp | 22 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 …]
|
D | text_to_binary.subgroup_dispatch_test.cpp | 27 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 …]
|
D | text_to_binary.barrier_test.cpp | 31 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 …]
|
D | operand_pattern_test.cpp | 24 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 …]
|
D | text_to_binary.type_declaration_test.cpp | 30 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 …]
|
D | text_to_binary.annotation_test.cpp | 35 using ::testing::Eq; 53 Eq(MakeInstruction(SpvOpDecorate, in TEST_P() 60 Eq(input.str())); in TEST_P() 119 Eq("Invalid decoration 'xxyyzz'.")); in TEST_F() 124 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 130 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 137 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 159 Eq(MakeInstruction(SpvOpDecorate, {1, GetParam().enum_value, in TEST_P() 218 Eq("Invalid built-in 'xxyyzz'.")); in TEST_F() 241 Eq("Invalid function parameter attribute 'xxyyzz'.")); in TEST_F() [all …]
|
D | text_to_binary.image_test.cpp | 30 using ::testing::Eq; 48 Eq(MakeInstruction(SpvOpImageFetch, {1, 2, 3, 4}, in TEST_P() 103 Eq("Invalid image operand 'xxyyzz'.")); in TEST_F() 113 Eq(MakeInstruction(SpvOpImage, {1, 2, 3}))); in TEST_F() 121 Eq("Expected id to start with %.")); in TEST_F() 126 Eq("Expected operand, found end of stream.")); in TEST_F() 131 Eq("Expected id to start with %.")); in TEST_F() 138 Eq("Expected '=', found end of stream.")); in TEST_F() 141 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 144 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() [all …]
|
D | text_to_binary.control_flow_test.cpp | 35 using ::testing::Eq; 49 Eq(MakeInstruction(SpvOpSelectionMerge, {1, GetParam().value()}))); in TEST_P() 68 Eq(MakeInstruction(SpvOpSelectionMerge, {1, expected_mask}))); in TEST_F() 74 Eq("Invalid selection control operand 'flatten|DontFlatten'.")); in TEST_F() 88 Eq(MakeInstruction(SpvOpLoopMerge, {1, 2, ctrl.value()}, in TEST_P() 128 Eq(MakeInstruction(SpvOpLoopMerge, {1, 2, expected_mask}))); in TEST_F() 133 Eq("Invalid loop control operand 'none'.")); in TEST_F() 140 Eq(MakeInstruction(SpvOpSwitch, {1, 2}))); in TEST_F() 147 Eq(Concatenate({MakeInstruction(SpvOpTypeInt, {1, 32, 0}), in TEST_F() 157 Eq(Concatenate({ in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_to_binary.pipe_storage_test.cpp | 22 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 …]
|
D | text_to_binary.subgroup_dispatch_test.cpp | 27 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 …]
|
D | text_to_binary.barrier_test.cpp | 31 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 …]
|
D | operand_pattern_test.cpp | 24 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 …]
|
D | text_to_binary.type_declaration_test.cpp | 30 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 …]
|
D | text_to_binary.annotation_test.cpp | 35 using ::testing::Eq; 53 Eq(MakeInstruction(SpvOpDecorate, in TEST_P() 60 Eq(input.str())); in TEST_P() 119 Eq("Invalid decoration 'xxyyzz'.")); in TEST_F() 124 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 130 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 137 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 159 Eq(MakeInstruction(SpvOpDecorate, {1, GetParam().enum_value, in TEST_P() 218 Eq("Invalid built-in 'xxyyzz'.")); in TEST_F() 241 Eq("Invalid function parameter attribute 'xxyyzz'.")); in TEST_F() [all …]
|
D | text_to_binary.image_test.cpp | 30 using ::testing::Eq; 48 Eq(MakeInstruction(SpvOpImageFetch, {1, 2, 3, 4}, in TEST_P() 103 Eq("Invalid image operand 'xxyyzz'.")); in TEST_F() 113 Eq(MakeInstruction(SpvOpImage, {1, 2, 3}))); in TEST_F() 121 Eq("Expected id to start with %.")); in TEST_F() 126 Eq("Expected operand, found end of stream.")); in TEST_F() 131 Eq("Expected id to start with %.")); in TEST_F() 138 Eq("Expected '=', found end of stream.")); in TEST_F() 141 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() 144 Eq("Expected <opcode> or <result-id> at the beginning of an " in TEST_F() [all …]
|
D | text_to_binary.control_flow_test.cpp | 35 using ::testing::Eq; 49 Eq(MakeInstruction(SpvOpSelectionMerge, {1, GetParam().value()}))); in TEST_P() 68 Eq(MakeInstruction(SpvOpSelectionMerge, {1, expected_mask}))); in TEST_F() 74 Eq("Invalid selection control operand 'flatten|DontFlatten'.")); in TEST_F() 88 Eq(MakeInstruction(SpvOpLoopMerge, {1, 2, ctrl.value()}, in TEST_P() 128 Eq(MakeInstruction(SpvOpLoopMerge, {1, 2, expected_mask}))); in TEST_F() 133 Eq("Invalid loop control operand 'none'.")); in TEST_F() 140 Eq(MakeInstruction(SpvOpSwitch, {1, 2}))); in TEST_F() 147 Eq(Concatenate({MakeInstruction(SpvOpTypeInt, {1, 32, 0}), in TEST_F() 157 Eq(Concatenate({ in TEST_F() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.weakeq/ |
D | cmp.weakeq.pass.cpp | 29 auto& Eq = std::weak_equality::equivalent; in test_signatures() local 31 ASSERT_NOEXCEPT(Eq == 0); in test_signatures() 32 ASSERT_NOEXCEPT(0 == Eq); in test_signatures() 33 ASSERT_NOEXCEPT(Eq != 0); in test_signatures() 34 ASSERT_NOEXCEPT(0 != Eq); in test_signatures() 36 ASSERT_NOEXCEPT(0 <=> Eq); in test_signatures() 37 ASSERT_NOEXCEPT(Eq <=> 0); in test_signatures() 38 ASSERT_SAME_TYPE(decltype(Eq <=> 0), std::weak_equality); in test_signatures() 39 ASSERT_SAME_TYPE(decltype(0 <=> Eq), std::weak_equality); in test_signatures() 44 auto& Eq = std::weak_equality::equivalent; in test_constexpr() local [all …]
|
/external/googletest/googletest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() 51 *this = Eq(static_cast<std::string>(s)); in Matcher() 58 *this = Eq(std::string(s)); in Matcher() 63 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() 69 *this = Eq(static_cast<std::string>(s)); in Matcher() 75 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() 81 *this = Eq(static_cast<::string>(s)); in Matcher() 86 Matcher<const ::string&>::Matcher(const ::string& s) { *this = Eq(s); } in Matcher() 90 Matcher<const ::string&>::Matcher(const char* s) { *this = Eq(::string(s)); } in Matcher() 94 *this = Eq(static_cast<::string>(s)); in Matcher() [all …]
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | gen_node_test.cc | 30 using ::testing::Eq; 36 EXPECT_THAT(p.IsInbound(), Eq(true)); in TEST() 37 EXPECT_THAT(p.IsControl(), Eq(false)); in TEST() 38 EXPECT_THAT(p.Id(), Eq(100)); in TEST() 40 EXPECT_THAT(p2.IsInbound(), Eq(true)); in TEST() 41 EXPECT_THAT(p2.IsControl(), Eq(false)); in TEST() 42 EXPECT_THAT(p2.Id(), Eq(100)); in TEST() 46 EXPECT_THAT(p.IsInbound(), Eq(false)); in TEST() 47 EXPECT_THAT(p.IsControl(), Eq(false)); in TEST() 48 EXPECT_THAT(p.Id(), Eq(0)); in TEST() [all …]
|
D | sig_node_test.cc | 32 using ::testing::Eq; 175 EXPECT_THAT(hlit->second.unique_hash, Eq(hlit->first)); in TEST_F() 179 EXPECT_THAT(hlit->second.unique_hash, Eq(hlit->first)); in TEST_F() 183 EXPECT_THAT(hlit->second.unique_hash, Eq(hlit->first)); in TEST_F() 192 EXPECT_THAT(rhit->second.unique_hash, Eq(kSameHash)); in TEST_F() 217 EXPECT_THAT(peerit->link_hash, Eq(kSameHash)); in TEST_F() 218 EXPECT_THAT(peerit->peer, Eq(&sn1)); in TEST_F() 222 EXPECT_THAT(peerit->link_hash, Eq(hash2)); in TEST_F() 223 EXPECT_THAT(peerit->peer, Eq(&sn2)); in TEST_F() 227 EXPECT_THAT(peerit->link_hash, Eq(hash3)); in TEST_F() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.partialord/ |
D | partialord.pass.cpp | 33 auto& Eq = std::partial_ordering::equivalent; in test_signatures() local 35 ASSERT_NOEXCEPT(Eq == 0); in test_signatures() 36 ASSERT_NOEXCEPT(0 == Eq); in test_signatures() 37 ASSERT_NOEXCEPT(Eq != 0); in test_signatures() 38 ASSERT_NOEXCEPT(0 != Eq); in test_signatures() 39 ASSERT_NOEXCEPT(0 < Eq); in test_signatures() 40 ASSERT_NOEXCEPT(Eq < 0); in test_signatures() 41 ASSERT_NOEXCEPT(0 <= Eq); in test_signatures() 42 ASSERT_NOEXCEPT(Eq <= 0); in test_signatures() 43 ASSERT_NOEXCEPT(0 > Eq); in test_signatures() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.weakord/ |
D | weakord.pass.cpp | 32 auto& Eq = std::weak_ordering::equivalent; in test_signatures() local 34 ASSERT_NOEXCEPT(Eq == 0); in test_signatures() 35 ASSERT_NOEXCEPT(0 == Eq); in test_signatures() 36 ASSERT_NOEXCEPT(Eq != 0); in test_signatures() 37 ASSERT_NOEXCEPT(0 != Eq); in test_signatures() 38 ASSERT_NOEXCEPT(0 < Eq); in test_signatures() 39 ASSERT_NOEXCEPT(Eq < 0); in test_signatures() 40 ASSERT_NOEXCEPT(0 <= Eq); in test_signatures() 41 ASSERT_NOEXCEPT(Eq <= 0); in test_signatures() 42 ASSERT_NOEXCEPT(0 > Eq); in test_signatures() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.strongeq/ |
D | cmp.strongeq.pass.cpp | 33 auto& Eq = std::strong_equality::equivalent; in test_signatures() local 35 ASSERT_NOEXCEPT(Eq == 0); in test_signatures() 36 ASSERT_NOEXCEPT(0 == Eq); in test_signatures() 37 ASSERT_NOEXCEPT(Eq != 0); in test_signatures() 38 ASSERT_NOEXCEPT(0 != Eq); in test_signatures() 40 ASSERT_NOEXCEPT(0 <=> Eq); in test_signatures() 41 ASSERT_NOEXCEPT(Eq <=> 0); in test_signatures() 42 ASSERT_SAME_TYPE(decltype(Eq <=> 0), std::strong_equality); in test_signatures() 43 ASSERT_SAME_TYPE(decltype(0 <=> Eq), std::strong_equality); in test_signatures() 59 auto& Eq = std::strong_equality::equal; in test_constexpr() local [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.strongord/ |
D | strongord.pass.cpp | 33 auto& Eq = std::strong_ordering::equivalent; in test_signatures() local 35 ASSERT_NOEXCEPT(Eq == 0); in test_signatures() 36 ASSERT_NOEXCEPT(0 == Eq); in test_signatures() 37 ASSERT_NOEXCEPT(Eq != 0); in test_signatures() 38 ASSERT_NOEXCEPT(0 != Eq); in test_signatures() 39 ASSERT_NOEXCEPT(0 < Eq); in test_signatures() 40 ASSERT_NOEXCEPT(Eq < 0); in test_signatures() 41 ASSERT_NOEXCEPT(0 <= Eq); in test_signatures() 42 ASSERT_NOEXCEPT(Eq <= 0); in test_signatures() 43 ASSERT_NOEXCEPT(0 > Eq); in test_signatures() [all …]
|
/external/nos/host/android/hals/weaver/test/ |
D | test.cpp | 24 using ::testing::Eq; 55 EXPECT_THAT(status, Eq(WeaverStatus::OK)); in TEST() 56 EXPECT_THAT(config.slots, Eq(response.number_of_slots())); in TEST() 57 EXPECT_THAT(config.keySize, Eq(response.key_size())); in TEST() 58 EXPECT_THAT(config.valueSize, Eq(response.value_size())); in TEST() 69 EXPECT_THAT(status, Eq(WeaverStatus::FAILED)); in TEST() 81 EXPECT_THAT(status, Eq(WeaverStatus::FAILED)); in TEST() 107 EXPECT_THAT(hal.write(slot, key, value), Eq(WeaverStatus::OK)); in TEST() 116 EXPECT_THAT(hal.write(0, hidl_vec<uint8_t>{}, hidl_vec<uint8_t>{}), Eq(WeaverStatus::OK)); in TEST() 125 EXPECT_THAT(hal.write(0, hidl_vec<uint8_t>{}, hidl_vec<uint8_t>{}), Eq(WeaverStatus::FAILED)); in TEST() [all …]
|