Lines Matching defs:Matches
580 // Matches the value against the given matcher, prints the value and explains
591 return matcher.Matches(value);
613 // TuplePrefix<N>::Matches(matcher_tuple, value_tuple) returns true
617 static bool Matches(const MatcherTuple& matcher_tuple,
619 return TuplePrefix<N - 1>::Matches(matcher_tuple, value_tuple) &&
620 std::get<N - 1>(matcher_tuple).Matches(std::get<N - 1>(value_tuple));
662 static bool Matches(const MatcherTuple& /* matcher_tuple */,
686 return TuplePrefix<std::tuple_size<ValueTuple>::value>::Matches(matcher_tuple,
924 // Matches anything that can convert to StringType.
989 // Matches anything that can convert to StringType.
1042 // Matches anything that can convert to StringType.
1096 // Matches anything that can convert to StringType.
1132 // Matches anything that can convert to std::string.
1529 // Used for implementing Matches(matcher), which turns a matcher into
1536 // This template operator() allows Matches(m) to be used as a
1541 // Matches(Ref(n))(x)).
1546 // allows us to write Matches(m) where m is a polymorphic matcher
1549 // If we write Matcher<T>(matcher_).Matches(x) here, it won't
1551 // Matcher<const T&>(matcher_).Matches(x) here, it won't compile
1553 // matcher_.Matches(x), it won't compile when matcher_ is
1558 return MatcherCast<const T&>(matcher_).Matches(x);
1592 if (matcher.Matches(x)) {
2543 return matcher_.Matches(sorted_container);
2671 if (!mono_tuple_matcher_.Matches(
3087 return first_matcher_.Matches(pair_getters::First(a_pair, Rank0())) &&
3088 second_matcher_.Matches(pair_getters::Second(a_pair, Rank0()));
3310 VariadicExpand({good = good && std::get<I>(matchers_).Matches(
3441 match = matchers_[exam_pos].Matches(*it);
3948 return holds_alternative<T>(value) && matcher_.Matches(get<T>(value));
4009 return ptr != nullptr && matcher_.Matches(*ptr);
4071 if (!listener->IsInterested()) return inner_matcher_.Matches(selected_args);
4468 // Matches a string equal to str.
4476 // Matches a string not equal to str.
4484 // Matches a string equal to str, ignoring case.
4492 // Matches a string not equal to str, ignoring case.
4509 // Matches a string that starts with 'prefix' (case-sensitive).
4517 // Matches a string that ends with 'suffix' (case-sensitive).
4528 // Matches a string equal to str.
4535 // Matches a string not equal to str.
4542 // Matches a string equal to str, ignoring case.
4549 // Matches a string not equal to str, ignoring case.
4564 // Matches a string that starts with 'prefix' (case-sensitive).
4571 // Matches a string that ends with 'suffix' (case-sensitive).
4725 // Matches an STL-style container or a native array that contains the
4793 // Matches an STL-style container or a native array that contains at
4947 // Matches an STL-style container or a native array that contains only
5039 // Matches a base64 escaped string, when the unescaped string matches the
5051 inline internal::MatcherAsPredicate<M> Matches(M matcher) {
5058 return testing::Matches(matcher)(value);
5061 // Matches the value against the given matcher and explains the match