• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/googletest/googlemock/include/gmock/

Lines Matching defs:Matches

296   bool Matches(GTEST_REFERENCE_TO_CONST_(T) x) const {
868 // Matches the value against the given matcher, prints the value and explains
879 return matcher.Matches(value);
901 // TuplePrefix<N>::Matches(matcher_tuple, value_tuple) returns true
905 static bool Matches(const MatcherTuple& matcher_tuple,
907 return TuplePrefix<N - 1>::Matches(matcher_tuple, value_tuple)
908 && get<N - 1>(matcher_tuple).Matches(get<N - 1>(value_tuple));
952 static bool Matches(const MatcherTuple& /* matcher_tuple */,
977 Matches(matcher_tuple, value_tuple);
1333 // Matches anything that can convert to StringType.
1403 // Matches anything that can convert to StringType.
1463 // Matches anything that can convert to StringType.
1522 // Matches anything that can convert to StringType.
1575 // Matches anything that can convert to std::string.
1995 // Used for implementing Matches(matcher), which turns a matcher into
2002 // This template operator() allows Matches(m) to be used as a
2007 // Matches(Ref(n))(x)).
2012 // allows us to write Matches(m) where m is a polymorphic matcher
2015 // If we write Matcher<T>(matcher_).Matches(x) here, it won't
2017 // Matcher<const T&>(matcher_).Matches(x) here, it won't compile
2019 // matcher_.Matches(x), it won't compile when matcher_ is
2024 return MatcherCast<const T&>(matcher_).Matches(x);
2973 return matcher_.Matches(sorted_container);
3100 if (!mono_tuple_matcher_.Matches(
3408 return first_matcher_.Matches(pair_getters::First(a_pair, Rank0())) &&
3409 second_matcher_.Matches(pair_getters::Second(a_pair, Rank0()));
3555 match = matchers_[exam_pos].Matches(*it);
3803 did_match.push_back(Matches(matchers_[irhs])(*elem_first));
4090 return holds_alternative<T>(value) && matcher_.Matches(get<T>(value));
4151 return ptr != NULL && matcher_.Matches(*ptr);
4584 // Matches a string equal to str.
4591 // Matches a string not equal to str.
4598 // Matches a string equal to str, ignoring case.
4605 // Matches a string not equal to str, ignoring case.
4620 // Matches a string that starts with 'prefix' (case-sensitive).
4627 // Matches a string that ends with 'suffix' (case-sensitive).
4633 // Matches a string that fully matches regular expression 'regex'.
4644 // Matches a string that contains regular expression 'regex'.
4658 // Matches a string equal to str.
4665 // Matches a string not equal to str.
4672 // Matches a string equal to str, ignoring case.
4679 // Matches a string not equal to str, ignoring case.
4694 // Matches a string that starts with 'prefix' (case-sensitive).
4701 // Matches a string that ends with 'suffix' (case-sensitive).
4860 // Matches an STL-style container or a native array that contains the
4945 // Matches an STL-style container or a native array that contains at
5090 // Matches an STL-style container or a native array that contains only
5145 inline internal::MatcherAsPredicate<M> Matches(M matcher) {
5152 return testing::Matches(matcher)(value);
5155 // Matches the value against the given matcher and explains the match