Lines Matching defs:Matches
261 bool Matches(T x) const {
695 // Matches the value against the given matcher, prints the value and explains
706 return matcher.Matches(value);
728 // TuplePrefix<N>::Matches(matcher_tuple, value_tuple) returns true
732 static bool Matches(const MatcherTuple& matcher_tuple,
734 return TuplePrefix<N - 1>::Matches(matcher_tuple, value_tuple)
735 && get<N - 1>(matcher_tuple).Matches(get<N - 1>(value_tuple));
779 static bool Matches(const MatcherTuple& /* matcher_tuple */,
804 Matches(matcher_tuple, value_tuple);
1145 // Matches anything that can convert to StringType.
1202 // Matches anything that can convert to StringType.
1249 // Matches anything that can convert to StringType.
1295 // Matches anything that can convert to StringType.
1341 // Matches anything that can convert to internal::string.
1793 // Used for implementing Matches(matcher), which turns a matcher into
1800 // This template operator() allows Matches(m) to be used as a
1805 // Matches(Ref(n))(x)).
1810 // allows us to write Matches(m) where m is a polymorphic matcher
1813 // If we write Matcher<T>(matcher_).Matches(x) here, it won't
1815 // Matcher<const T&>(matcher_).Matches(x) here, it won't compile
1817 // matcher_.Matches(x), it won't compile when matcher_ is
1822 return MatcherCast<const T&>(matcher_).Matches(x);
2660 return matcher_.Matches(sorted_container);
2776 if (!mono_tuple_matcher_.Matches(value_pair))
3038 return first_matcher_.Matches(a_pair.first) &&
3039 second_matcher_.Matches(a_pair.second);
3185 match = matchers_[exam_pos].Matches(*it);
3420 did_match.push_back(Matches(matchers_[irhs])(*elem_first));
3953 // Matches a string equal to str.
3960 // Matches a string not equal to str.
3967 // Matches a string equal to str, ignoring case.
3974 // Matches a string not equal to str, ignoring case.
3989 // Matches a string that starts with 'prefix' (case-sensitive).
3996 // Matches a string that ends with 'suffix' (case-sensitive).
4003 // Matches a string that fully matches regular expression 'regex'.
4014 // Matches a string that contains regular expression 'regex'.
4028 // Matches a string equal to str.
4035 // Matches a string not equal to str.
4042 // Matches a string equal to str, ignoring case.
4049 // Matches a string not equal to str, ignoring case.
4064 // Matches a string that starts with 'prefix' (case-sensitive).
4071 // Matches a string that ends with 'suffix' (case-sensitive).
4178 // Matches an STL-style container or a native array that contains the
4263 // Matches an STL-style container or a native array that contains at
4286 // Matches an STL-style container or a native array that contains only
4341 inline internal::MatcherAsPredicate<M> Matches(M matcher) {
4348 return testing::Matches(matcher)(value);
4351 // Matches the value against the given matcher and explains the match