Lines Matching refs:MatchAndExplain
415 bool MatchAndExplain(T x, MatchResultListener* listener) const override {
436 return source_matcher_.MatchAndExplain(static_cast<CastType>(x),
595 const bool match = matcher.MatchAndExplain(value, &inner_listener);
641 if (!matcher.MatchAndExplain(value, &listener)) {
648 // matcher's MatchAndExplain() method handles the case when
748 bool MatchAndExplain(const T& /* x */, std::ostream* /* listener */) const {
765 bool MatchAndExplain(const Pointer& p,
779 bool MatchAndExplain(const Pointer& p,
833 // MatchAndExplain() takes a Super& (as opposed to const Super&)
835 bool MatchAndExplain(Super& x,
902 bool MatchAndExplain(const internal::StringView& s,
907 return MatchAndExplain(str, listener);
917 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
921 return MatchAndExplain(StringType(s), listener);
929 bool MatchAndExplain(const MatcheeStringType& s,
970 bool MatchAndExplain(const internal::StringView& s,
975 return MatchAndExplain(str, listener);
985 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
986 return s != nullptr && MatchAndExplain(StringType(s), listener);
994 bool MatchAndExplain(const MatcheeStringType& s,
1023 bool MatchAndExplain(const internal::StringView& s,
1028 return MatchAndExplain(str, listener);
1038 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1039 return s != nullptr && MatchAndExplain(StringType(s), listener);
1047 bool MatchAndExplain(const MatcheeStringType& s,
1077 bool MatchAndExplain(const internal::StringView& s,
1082 return MatchAndExplain(str, listener);
1092 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1093 return s != nullptr && MatchAndExplain(StringType(s), listener);
1101 bool MatchAndExplain(const MatcheeStringType& s,
1134 bool MatchAndExplain(const MatcheeStringType& s,
1189 bool MatchAndExplain(Tuple args,
1236 bool MatchAndExplain(const T& x,
1238 return !matcher_.MatchAndExplain(x, listener);
1299 bool MatchAndExplain(const T& x,
1307 if (matchers_[i].MatchAndExplain(x, &slistener)) {
1404 bool MatchAndExplain(const T& x,
1412 if (matchers_[i].MatchAndExplain(x, &slistener)) {
1504 bool MatchAndExplain(T& x, // NOLINT
1630 bool MatchAndExplain(const FloatType& f,
1676 bool MatchAndExplain(T value,
1828 bool MatchAndExplain(Tuple args,
1832 return static_cast<Matcher<FloatType>>(fm).MatchAndExplain(
1837 return static_cast<Matcher<FloatType>>(fm).MatchAndExplain(
1903 bool MatchAndExplain(Pointer pointer,
1962 bool MatchAndExplain(PointerType pointer,
2019 bool MatchAndExplain(From from, MatchResultListener* listener) const {
2034 bool MatchAndExplain(From& from, MatchResultListener* listener) const {
2072 bool MatchAndExplain(const T& value, MatchResultListener* listener) const {
2139 bool MatchAndExplain(const T& value, MatchResultListener* listener) const {
2262 bool MatchAndExplain(T obj, MatchResultListener* listener) const override {
2321 bool MatchAndExplain(Container container,
2325 const bool result = size_matcher_.MatchAndExplain(size, &size_listener);
2374 bool MatchAndExplain(Container container,
2381 distance_matcher_.MatchAndExplain(distance, &distance_listener);
2433 bool MatchAndExplain(const LhsContainer& lhs,
2532 bool MatchAndExplain(LhsContainer lhs,
2552 matcher_.MatchAndExplain(sorted_container, &inner_listener);
2641 bool MatchAndExplain(LhsContainer lhs,
2658 if (!mono_tuple_matcher_.MatchAndExplain(
2716 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener);
2737 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener);
2758 if (count_matcher.MatchAndExplain(match_elements.size(), &count_listener)) {
2800 bool MatchAndExplain(Container container,
2826 bool MatchAndExplain(Container container,
2857 bool MatchAndExplain(Container container,
2961 bool MatchAndExplain(PairType key_value,
2964 const bool match = inner_matcher_.MatchAndExplain(
3035 bool MatchAndExplain(Type object,
3082 bool MatchAndExplain(PairType a_pair,
3091 if (!first_matcher_.MatchAndExplain(pair_getters::First(a_pair, Rank0()),
3098 if (!second_matcher_.MatchAndExplain(pair_getters::Second(a_pair, Rank0()),
3300 bool MatchAndExplain(Struct t, MatchResultListener* listener) const override {
3320 {failed_pos == ~size_t{}&& !std::get<I>(matchers_).MatchAndExplain(
3417 bool MatchAndExplain(Container container,
3438 match = matchers_[exam_pos].MatchAndExplain(*it, &s);
3640 bool MatchAndExplain(Container container,
3667 matchers_[irhs].MatchAndExplain(*elem_first, &dummy));
3843 bool MatchAndExplain(T x, MatchResultListener* listener) const override {
3844 return mono_tuple2_matcher_.MatchAndExplain(ArgTuple(x, second_value_),
3906 bool MatchAndExplain(Optional optional,
3914 const bool match = value_matcher_.MatchAndExplain(value, &value_listener);
3944 bool MatchAndExplain(const Variant& value,
3958 const bool match = matcher_.MatchAndExplain(elem, &elem_listener);
4005 bool MatchAndExplain(const AnyType& value,
4019 const bool match = matcher_.MatchAndExplain(*elem, &elem_listener);
4065 bool MatchAndExplain(ArgsTuple args,
4078 inner_matcher_.MatchAndExplain(selected_args, &inner_listener);
5066 return SafeMatcherCast<const T&>(matcher).MatchAndExplain(value, listener);
5284 bool MatchAndExplain(const Err& err, MatchResultListener* listener) const {
5287 return matcher_.MatchAndExplain(err.what(), listener);
5352 bool MatchAndExplain(T&& x, MatchResultListener* listener) const {
5358 return matcher_.MatchAndExplain(err, listener);
5452 bool MatchAndExplain( \
5482 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain( \
5533 bool MatchAndExplain( \
5567 arg_type>::MatchAndExplain(const arg_type& arg, \