Home | History | Annotate | Download | only in gmock

Lines Matching defs:MatcherCast

505 // MatcherCast().  We need this helper in order to partially
506 // specialize the implementation of MatcherCast() (C++ allows
510 // This general version is used when MatcherCast()'s argument is a
559 // This more specialized version is used when MatcherCast()'s argument
606 // types is done explicitly via MatcherCast<T>(m), which takes a
610 inline Matcher<T> MatcherCast(const M& matcher) {
660 return MatcherCast<T>(matcher);
1820 // MatcherCast<const T&>() is necessary for making the code work
1822 return MatcherCast<const T&>(matcher_).Matches(x);
1852 // We don't write MatcherCast<const T&> either, as that allows
2069 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
2417 : size_matcher_(MatcherCast<SizeType>(size_matcher)) {}
2474 : distance_matcher_(MatcherCast<DistanceType>(distance_matcher)) {}
3127 matchers_.push_back(MatcherCast<const Element&>(*first++));
3369 matchers_.push_back(MatcherCast<const Element&>(*first));
3448 // Performs MatcherCast<Target> on an input argument of any type.
3453 return MatcherCast<Target>(a);
3916 field, MatcherCast<const FieldType&>(matcher)));
3917 // The call to MatcherCast() is required for supporting inner
3934 MatcherCast<GTEST_REFERENCE_TO_CONST_(PropertyType)>(matcher)));
3935 // The call to MatcherCast() is required for supporting inner
3959 MatcherCast<typename internal::CallableTraits<Callable>::ResultType>(
3961 // The call to MatcherCast() is required for supporting inner