Home
last modified time | relevance | path

Searched refs:MatchAndExplain (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_matchers.cc25 bool HloMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloMatcher
50 if (!operands_[index].MatchAndExplain(operands[index], &inner_listener)) { in MatchAndExplain()
81 bool HloParameterMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloParameterMatcher
84 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
96 bool HloComparisonMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloComparisonMatcher
99 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
112 bool HloGetTupleElementMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloGetTupleElementMatcher
115 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
132 bool HloCustomCallMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloCustomCallMatcher
135 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
[all …]
Dpattern_matcher_gmock.h35 bool MatchAndExplain(const Layout& l, in MatchAndExplain() function
39 bool MatchAndExplain(const Layout* l, in MatchAndExplain() function
44 bool MatchAndExplain(const Shape& s, in MatchAndExplain() function
48 bool MatchAndExplain(const Shape* s, in MatchAndExplain() function
53 bool MatchAndExplain(const HloInstruction& instr, in MatchAndExplain() function
57 bool MatchAndExplain(const HloInstruction* instr, in MatchAndExplain() function
Dhlo_matchers.h33 bool MatchAndExplain(const HloInstruction* instruction,
50 bool MatchAndExplain(const HloInstruction* instruction,
65 bool MatchAndExplain(const HloInstruction* instruction,
81 bool MatchAndExplain(const HloInstruction* instruction,
98 bool MatchAndExplain(const HloInstruction* instruction,
111 bool MatchAndExplain(const HloInstruction* instruction,
124 bool MatchAndExplain(const HloInstruction* instruction,
141 bool MatchAndExplain(const HloInstruction* instruction,
161 bool MatchAndExplain(const HloInstruction* instruction,
182 bool MatchAndExplain(const HloInstruction* instruction,
Dpattern_matcher_gmock_test.cc41 EXPECT_FALSE(m.MatchAndExplain(val, &listener)); in Explain()
/external/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h175 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
198 bool MatchAndExplain(const T& x, in MatchAndExplain() function
200 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
263 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function
264 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
270 return MatchAndExplain(x, &dummy); in Matches()
284 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
483 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
484 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
547 bool MatchAndExplain(Lhs lhs, in MatchAndExplain() function
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h174 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
197 bool MatchAndExplain(const T& x, in MatchAndExplain() function
199 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
262 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function
263 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
269 return MatchAndExplain(x, &dummy); in Matches()
283 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
481 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
482 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
545 bool MatchAndExplain(Lhs lhs, in MatchAndExplain() function
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-matchers.h174 virtual bool MatchAndExplain(T x, MatchResultListener *listener) const = 0;
197 bool MatchAndExplain(const T &x, in MatchAndExplain() function
199 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
274 bool MatchAndExplain(const T &x, MatchResultListener *listener) const { in MatchAndExplain() function
275 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
281 return MatchAndExplain(x, &dummy); in Matches()
295 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
492 bool MatchAndExplain(T x, MatchResultListener *listener) const override { in MatchAndExplain() function
493 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
560 bool MatchAndExplain(Lhs lhs, in MatchAndExplain() function
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h178 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
258 bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
259 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
265 return MatchAndExplain(x, &dummy); in Matches()
279 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
463 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
464 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
578 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
579 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener); in MatchAndExplain()
712 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
[all …]
Dgmock-generated-matchers.h225 virtual bool MatchAndExplain(ArgsTuple args, in MatchAndExplain() function
235 const bool match = inner_matcher_.MatchAndExplain(selected_args, in MatchAndExplain()
1391 virtual bool MatchAndExplain(\
1425 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1439 virtual bool MatchAndExplain(\
1477 bool name##MatcherP<p0##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1491 virtual bool MatchAndExplain(\
1534 p1##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1548 virtual bool MatchAndExplain(\
1594 p2##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h414 bool MatchAndExplain(T x, MatchResultListener* listener) const override { in MatchAndExplain() function
435 return source_matcher_.MatchAndExplain(static_cast<CastType>(x), in MatchAndExplain()
595 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
641 if (!matcher.MatchAndExplain(value, &listener)) { in ExplainMatchFailuresTo()
749 bool MatchAndExplain(const T& /* x */, std::ostream* /* listener */) const {
766 bool MatchAndExplain(const Pointer& p,
782 bool MatchAndExplain(const Pointer& p,
840 bool MatchAndExplain(Super& x,
908 bool MatchAndExplain(const internal::StringView& s,
913 return MatchAndExplain(str, listener);
[all …]
/external/llvm-project/llvm/include/llvm/Testing/Support/
DError.h38 bool MatchAndExplain(const ExpectedHolder<T> &Holder, in MatchAndExplain() function
43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain()
90 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain() function
109 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener); in MatchAndExplain()
139 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain() function
145 return Matcher.MatchAndExplain(Messages, listener); in MatchAndExplain()
DSupportHelpers.h78 bool MatchAndExplain(const llvm::Optional<T> &Input, in MatchAndExplain() function
80 return Input && ValueMatcher.MatchAndExplain(Input.getValue(), L); in MatchAndExplain()
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h168 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
249 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function
257 return MatchAndExplain(x, &dummy); in Matches()
275 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
351 -> decltype(P::Get(m).MatchAndExplain(value, listener->stream())) {
352 return P::Get(m).MatchAndExplain(value, listener->stream());
358 -> decltype(P::Get(m).MatchAndExplain(value, listener)) {
359 return P::Get(m).MatchAndExplain(value, listener);
662 bool MatchAndExplain(T x, MatchResultListener* listener) const override {
663 return impl_.MatchAndExplain(x, listener);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
DError.h38 bool MatchAndExplain(const ExpectedHolder<T> &Holder, in MatchAndExplain() function
43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain()
90 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain() function
109 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener); in MatchAndExplain()
DSupportHelpers.h76 bool MatchAndExplain(const llvm::Optional<T> &Input, in MatchAndExplain() function
78 return Input && ValueMatcher.MatchAndExplain(Input.getValue(), L); in MatchAndExplain()
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.cc111 bool MatchAndExplain( in MatchAndExplain() function
189 !control_dep_set->MatchAndExplain(control_deps, &inner_listener)) { in MatchAndExplain()
315 if ((*input_matchers)[input_idx].MatchAndExplain(input, &inner_listener)) { in MatchAndExplainInput()
347 bool MatchAndExplain( in MatchAndExplain() function in tensorflow::testing::matchers::__anon857546a50111::OutEdgeMatcher
351 if (!src_matcher_.MatchAndExplain(out_edge.first, &inner_listener)) { in MatchAndExplain()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DMatchers.h55 bool MatchAndExplain(const std::vector<T> &V, in MatchAndExplain() function
169 MatchAndExplain(Optional optional, in MatchAndExplain() function
DFuzzyMatchTests.cpp58 bool MatchAndExplain(llvm::StringRef Pattern, in MatchAndExplain() function
195 bool MatchAndExplain(llvm::StringRef Pattern, in MatchAndExplain() function
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/
Dutils.h91 bool MatchAndExplain( in MatchAndExplain() function
139 if (!mono_tuple_matcher_.MatchAndExplain({*left, *right}, in MatchAndExplain()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h4995 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
5075 bool MatchAndExplain(T x, MatchResultListener* listener) const {
5076 return impl_->MatchAndExplain(x, listener);
5082 return MatchAndExplain(x, &dummy);
5096 MatchAndExplain(x, &listener);
5280 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
5281 return impl_.MatchAndExplain(x, listener);
5395 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
5396 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener);
5529 const bool match = matcher.MatchAndExplain(value, &inner_listener);
[all …]
/external/fmtlib/test/gmock/
Dgmock.h4833 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
4888 bool MatchAndExplain(T x, MatchResultListener* listener) const {
4889 return impl_->MatchAndExplain(x, listener);
4895 return MatchAndExplain(x, &dummy);
4909 MatchAndExplain(x, &listener);
5093 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
5094 return impl_.MatchAndExplain(x, listener);
5208 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
5209 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener);
5342 const bool match = matcher.MatchAndExplain(value, &inner_listener);
[all …]
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dtest_helpers.h50 return ::testing::Matcher<decltype(arg.TSC)>(M).MatchAndExplain(
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape_test.cc47 bool MatchAndExplain(const Message& p, testing::MatchResultListener*) const { in MatchAndExplain() function in xla::__anonff27023d0111::ProtoStringMatcher
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc62 bool MatchAndExplain(const NodeExecStats& p, in MatchAndExplain() function in tensorflow::profiler::__anoncba9e6b30111::NodeStatsMatcher
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc123 bool MatchAndExplain(int lhs, MatchResultListener* listener) const override { in MatchAndExplain() function in testing::gmock_matchers_test::__anond473036a0111::GreaterThanMatcher
213 bool MatchAndExplain(int x, in MatchAndExplain() function in testing::gmock_matchers_test::__anond473036a0111::EvenMatcherImpl
234 bool MatchAndExplain(int x, MatchResultListener* listener) const override { in MatchAndExplain() function in testing::gmock_matchers_test::__anond473036a0111::NewEvenMatcherImpl
322 TEST(MatcherTest, MatchAndExplain) { in TEST() argument
325 EXPECT_TRUE(m.MatchAndExplain(42, &listener1)); in TEST()
329 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST()
423 bool MatchAndExplain(const T& x, in MatchAndExplain() function in testing::gmock_matchers_test::__anond473036a0111::ReferencesBarOrIsZeroImpl
469 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::__anond473036a0111::PolymorphicIsEvenImpl
4768 bool MatchAndExplain(const T& n, MatchResultListener* listener) const { in TEST() function in testing::gmock_matchers_test::__anond473036a0111::DivisibleByImpl
5610 TEST(IsSupersetOfTest, MatchAndExplain) { in TEST() argument
[all …]

12