Home | History | Annotate | Download | only in gmock

Lines Matching defs:MatcherCast

104 // MatcherCast().  We need this helper in order to partially
105 // specialize the implementation of MatcherCast() (C++ allows
109 // This general version is used when MatcherCast()'s argument is a
178 // This more specialized version is used when MatcherCast()'s argument
239 // types is done explicitly via MatcherCast<T>(m), which takes a
243 inline Matcher<T> MatcherCast(const M& matcher) {
290 return MatcherCast<T>(matcher);
1194 matchers.push_back(MatcherCast<RawU>(matcher));
1277 // MatcherCast<const T&>() is necessary for making the code work
1279 return MatcherCast<const T&>(matcher_).Matches(x);
1309 // We don't write MatcherCast<const T&> either, as that allows
1612 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
1904 : callable_(callable), matcher_(MatcherCast<ResultType>(matcher)) {}
1963 : size_matcher_(MatcherCast<SizeType>(size_matcher)) {}
2017 : distance_matcher_(MatcherCast<DistanceType>(distance_matcher)) {}
2703 matchers_.push_back(MatcherCast<const Element&>(*first++));
2958 matchers_.push_back(MatcherCast<const Element&>(*first));
3035 // Performs MatcherCast<Target> on an input argument of any type.
3040 return MatcherCast<Target>(a);
3250 : value_matcher_(MatcherCast<ValueType>(value_matcher)) {}
3715 field, MatcherCast<const FieldType&>(matcher)));
3716 // The call to MatcherCast() is required for supporting inner
3729 field_name, field, MatcherCast<const FieldType&>(matcher)));
3744 property, MatcherCast<const PropertyType&>(matcher)));
3745 // The call to MatcherCast() is required for supporting inner
3762 property_name, property, MatcherCast<const PropertyType&>(matcher)));
3774 property, MatcherCast<const PropertyType&>(matcher)));
3787 property_name, property, MatcherCast<const PropertyType&>(matcher)));