Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_matchers.cc25 bool HloMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloMatcher
46 if (!operands_[index].MatchAndExplain(operands[index], &inner_listener)) { in MatchAndExplain()
77 bool HloParameterMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloParameterMatcher
80 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
92 bool HloComparisonMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloComparisonMatcher
95 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
108 bool HloGetTupleElementMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloGetTupleElementMatcher
111 if (!HloMatcher::MatchAndExplain(instruction, listener)) { in MatchAndExplain()
128 bool HloCustomCallMatcher::MatchAndExplain( in MatchAndExplain() function in xla::testing::HloCustomCallMatcher
131 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,
Dpattern_matcher_gmock_test.cc41 EXPECT_FALSE(m.MatchAndExplain(val, &listener)); in Explain()
Dhlo_matchers_test.cc38 EXPECT_FALSE(m.MatchAndExplain(t, &listener)); in Explain()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h128 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
195 bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
196 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
202 return MatchAndExplain(x, &dummy); in Matches()
216 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
348 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
349 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
463 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
464 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener); in MatchAndExplain()
597 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
[all …]
Dgmock-generated-matchers.h233 virtual bool MatchAndExplain(ArgsTuple args, in MatchAndExplain() function
243 const bool match = inner_matcher_.MatchAndExplain(selected_args, in MatchAndExplain()
1420 virtual bool MatchAndExplain(\
1454 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1468 virtual bool MatchAndExplain(\
1506 bool name##MatcherP<p0##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1520 virtual bool MatchAndExplain(\
1563 p1##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1577 virtual bool MatchAndExplain(\
1623 p2##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
[all …]
Dgmock-generated-matchers.h.pump118 virtual bool MatchAndExplain(ArgsTuple args,
128 const bool match = inner_matcher_.MatchAndExplain(selected_args,
664 virtual bool MatchAndExplain(\
698 bool $class_name$param_types::gmock_Impl<arg_type>::MatchAndExplain(\
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h195 bool MatchAndExplain(T x, MatchResultListener* listener) const override { in MatchAndExplain() function
210 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener); in MatchAndExplain()
340 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
386 if (!matcher.MatchAndExplain(value, &listener)) { in ExplainMatchFailuresTo()
489 bool MatchAndExplain(const T& /* x */,
517 bool MatchAndExplain(const Pointer& p,
533 bool MatchAndExplain(const Pointer& p,
591 bool MatchAndExplain(Super& x,
662 bool MatchAndExplain(const absl::string_view& s,
667 return MatchAndExplain(str, listener);
[all …]
Dgmock-generated-matchers.h275 virtual bool MatchAndExplain(\
309 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
324 virtual bool MatchAndExplain(\
362 bool name##MatcherP<p0##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
377 virtual bool MatchAndExplain(\
421 p1##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
437 virtual bool MatchAndExplain(\
483 p2##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
501 virtual bool MatchAndExplain(\
555 p3##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
[all …]
Dgmock-generated-matchers.h.pump308 virtual bool MatchAndExplain(\
342 bool $class_name$param_types::gmock_Impl<arg_type>::MatchAndExplain(\
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h167 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
190 bool MatchAndExplain(const T& x, in MatchAndExplain() function
192 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
255 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function
256 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
262 return MatchAndExplain(x, &dummy); in Matches()
276 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
547 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
548 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
611 bool MatchAndExplain(Lhs lhs, in MatchAndExplain() function
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h176 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
256 bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
257 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
263 return MatchAndExplain(x, &dummy); in Matches()
277 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
461 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
462 return impl_.MatchAndExplain(x, listener); in MatchAndExplain()
576 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
577 return source_matcher_.MatchAndExplain(static_cast<U>(x), listener); in MatchAndExplain()
710 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
[all …]
Dgmock-generated-matchers.h223 virtual bool MatchAndExplain(ArgsTuple args, in MatchAndExplain() function
233 const bool match = inner_matcher_.MatchAndExplain(selected_args, in MatchAndExplain()
1389 virtual bool MatchAndExplain(\
1423 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1437 virtual bool MatchAndExplain(\
1475 bool name##MatcherP<p0##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1489 virtual bool MatchAndExplain(\
1532 p1##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1546 virtual bool MatchAndExplain(\
1592 p2##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/
DError.h39 bool MatchAndExplain(const ExpectedHolder<T> &Holder, in MatchAndExplain() function
44 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain()
91 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain() function
110 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener); in MatchAndExplain()
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.cc107 bool MatchAndExplain( in MatchAndExplain() function
185 !control_dep_set->MatchAndExplain(control_deps, &inner_listener)) { in MatchAndExplain()
311 if ((*input_matchers)[input_idx].MatchAndExplain(input, &inner_listener)) { in MatchAndExplainInput()
343 bool MatchAndExplain( in MatchAndExplain() function in tensorflow::testing::matchers::__anondf03e96e0111::OutEdgeMatcher
347 if (!src_matcher_.MatchAndExplain(out_edge.first, &inner_listener)) { in MatchAndExplain()
Dnode_matchers_test.cc45 EXPECT_FALSE(m.MatchAndExplain(t, &listener)); in Explain()
/external/v8/testing/
Dgmock-support.h48 virtual bool MatchAndExplain(T value, MatchResultListener* listener) const { in MatchAndExplain() function
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc53 bool MatchAndExplain(const NodeExecStats& p, in MatchAndExplain() function in tensorflow::profiler::cpu::__anon23f1949c0111::NodeStatsMatcher
/external/googletest/googlemock/docs/
DFrequentlyAskedQuestions.md55 virtual bool MatchAndExplain(MyType value,
63 (i.e. rename `Matches()` to `MatchAndExplain()` and give it a second
92 `MatchAndExplain()`, using the `MatchResultListener` argument where
102 virtual bool MatchAndExplain(MyType value,
130 you should rename the `Matches()` method to `MatchAndExplain()` and
141 bool MatchAndExplain(MyType value,
178 `MatchAndExplain()`:
187 bool MatchAndExplain(MyType value,
/external/nos/host/android/hals/keymaster/test/
Dimport_wrapped_key_test.cpp179 virtual bool MatchAndExplain(const ImportWrappedKeyRequest& request, in MatchAndExplain() function in ImportWrappedKeyRequestMatcher
Dimport_key_test.cpp161 virtual bool MatchAndExplain(const ImportKeyRequest& request, in MatchAndExplain() function in ImportKeyRequestMatcher
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc150 virtual bool MatchAndExplain(int lhs, in MatchAndExplain() function in testing::gmock_matchers_test::GreaterThanMatcher
233 virtual bool MatchAndExplain(int x, in MatchAndExplain() function in testing::gmock_matchers_test::EvenMatcherImpl
256 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::NewEvenMatcherImpl
330 TEST(MatcherTest, MatchAndExplain) { in TEST() argument
333 EXPECT_TRUE(m.MatchAndExplain(42, &listener1)); in TEST()
337 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST()
379 bool MatchAndExplain(const T& x, in MatchAndExplain() function in testing::gmock_matchers_test::ReferencesBarOrIsZeroImpl
425 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::PolymorphicIsEvenImpl
3503 bool MatchAndExplain(const T& n, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::DivisibleByImpl
4082 bool MatchAndExplain(const tuple<T1, T2>& a_pair, in MatchAndExplain() function in testing::gmock_matchers_test::IsHalfOfMatcher
Dgmock-generated-matchers_test.cc229 virtual bool MatchAndExplain(tuple<char, int> value, in MatchAndExplain() function in __anonfdc984440111::LessThanMatcher
262 virtual bool MatchAndExplain(int lhs, in MatchAndExplain() function in __anonfdc984440111::GreaterThanMatcher
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc117 bool MatchAndExplain(int lhs, MatchResultListener* listener) const override { in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::GreaterThanMatcher
207 bool MatchAndExplain(int x, in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::EvenMatcherImpl
228 bool MatchAndExplain(int x, MatchResultListener* listener) const override { in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::NewEvenMatcherImpl
316 TEST(MatcherTest, MatchAndExplain) { in TEST() argument
319 EXPECT_TRUE(m.MatchAndExplain(42, &listener1)); in TEST()
323 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST()
483 bool MatchAndExplain(const T& x, in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::ReferencesBarOrIsZeroImpl
529 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::PolymorphicIsEvenImpl
4610 bool MatchAndExplain(const T& n, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::__anon67385ff30111::DivisibleByImpl
5454 TEST(IsSupersetOfTest, MatchAndExplain) { in TEST() argument
[all …]

12