Lines Matching refs:MatchAndExplain
128 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()
647 if (!matcher.MatchAndExplain(value, &listener)) { in ExplainMatchFailuresTo()
714 virtual bool MatchAndExplain( in MatchAndExplain() function
762 virtual bool MatchAndExplain(\
798 bool MatchAndExplain(const Pointer& p, in MatchAndExplain() function
814 bool MatchAndExplain(const Pointer& p, in MatchAndExplain() function
872 virtual bool MatchAndExplain( in MatchAndExplain() function
946 bool MatchAndExplain(ConstCharPointer s, in MatchAndExplain() function
951 return MatchAndExplain(StringType(s), listener); in MatchAndExplain()
954 bool MatchAndExplain(const StringType& s, in MatchAndExplain() function
1000 bool MatchAndExplain(ConstCharPointer s, in MatchAndExplain() function
1002 return s != NULL && MatchAndExplain(StringType(s), listener); in MatchAndExplain()
1005 bool MatchAndExplain(const StringType& s, in MatchAndExplain() function
1041 bool MatchAndExplain(ConstCharPointer s, in MatchAndExplain() function
1043 return s != NULL && MatchAndExplain(StringType(s), listener); in MatchAndExplain()
1046 bool MatchAndExplain(const StringType& s, in MatchAndExplain() function
1081 bool MatchAndExplain(ConstCharPointer s, in MatchAndExplain() function
1083 return s != NULL && MatchAndExplain(StringType(s), listener); in MatchAndExplain()
1086 bool MatchAndExplain(const StringType& s, in MatchAndExplain() function
1120 bool MatchAndExplain(const char* s, in MatchAndExplain() function
1122 return s != NULL && MatchAndExplain(internal::string(s), listener); in MatchAndExplain()
1125 bool MatchAndExplain(const internal::string& s, in MatchAndExplain() function
1176 virtual bool MatchAndExplain( \
1214 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
1215 return !matcher_.MatchAndExplain(x, listener); in MatchAndExplain()
1278 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
1282 if (!matcher1_.MatchAndExplain(x, &listener1)) { in MatchAndExplain()
1288 if (!matcher2_.MatchAndExplain(x, &listener2)) { in MatchAndExplain()
1365 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain() function
1369 if (matcher1_.MatchAndExplain(x, &listener1)) { in MatchAndExplain()
1375 if (matcher2_.MatchAndExplain(x, &listener2)) { in MatchAndExplain()
1439 bool MatchAndExplain(T& x, // NOLINT in MatchAndExplain() function
1574 virtual bool MatchAndExplain(T value, in MatchAndExplain() function
1694 virtual bool MatchAndExplain(Pointer pointer, in MatchAndExplain() function
1734 bool MatchAndExplain(const T& value, MatchResultListener* listener) const { in MatchAndExplain() function
1795 bool MatchAndExplain(const T&value, MatchResultListener* listener) const { in MatchAndExplain() function
1899 virtual bool MatchAndExplain(T obj, MatchResultListener* listener) const {
1962 bool MatchAndExplain(const LhsContainer& lhs,
2061 virtual bool MatchAndExplain(LhsContainer lhs,
2079 const bool match = matcher_.MatchAndExplain(sorted_container,
2160 virtual bool MatchAndExplain(LhsContainer lhs,
2176 if (!mono_tuple_matcher_.MatchAndExplain(
2235 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener);
2273 virtual bool MatchAndExplain(Container container,
2302 virtual bool MatchAndExplain(Container container,
2362 virtual bool MatchAndExplain(PairType key_value,
2365 const bool match = inner_matcher_.MatchAndExplain(key_value.first,
2444 virtual bool MatchAndExplain(PairType a_pair,
2453 if (!first_matcher_.MatchAndExplain(a_pair.first,
2460 if (!second_matcher_.MatchAndExplain(a_pair.second,
2574 virtual bool MatchAndExplain(Container container,
2594 if (matchers_[i].MatchAndExplain(*it, &s)) {
3183 return SafeMatcherCast<const T&>(matcher).MatchAndExplain(value, listener);