Home | History | Annotate | Download | only in gmock

Lines Matching defs:MatcherCast

392 // MatcherCast().  We need this helper in order to partially
393 // specialize the implementation of MatcherCast() (C++ allows
397 // This general version is used when MatcherCast()'s argument is a
446 // This more specialized version is used when MatcherCast()'s argument
493 // types is done explicitly via MatcherCast<T>(m), which takes a
497 inline Matcher<T> MatcherCast(M matcher) {
547 return MatcherCast<T>(matcher);
1493 // MatcherCast<const T&>() is necessary for making the code work
1495 return MatcherCast<const T&>(matcher_).Matches(x);
1522 // We write MatcherCast<const T&>(matcher_) instead of
1525 const Matcher<const T&> matcher = MatcherCast<const T&>(matcher_);
1682 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
2534 matchers_.push_back(MatcherCast<const Element&>(*it));
2818 field, MatcherCast<const FieldType&>(matcher)));
2819 // The call to MatcherCast() is required for supporting inner
2836 MatcherCast<GTEST_REFERENCE_TO_CONST_(PropertyType)>(matcher)));
2837 // The call to MatcherCast() is required for supporting inner
2861 MatcherCast<typename internal::CallableTraits<Callable>::ResultType>(
2863 // The call to MatcherCast() is required for supporting inner