Lines Matching defs:SafeMatcherCast
501 // Implements SafeMatcherCast().
552 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) {
1243 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1328 return Matcher<T>(new BothOfMatcherImpl<T>(SafeMatcherCast<T>(matcher1_),
1329 SafeMatcherCast<T>(matcher2_)));
1417 SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
2141 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
2222 testing::SafeMatcherCast<const Element&>(inner_matcher)) {}
2358 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
2421 testing::SafeMatcherCast<const FirstType&>(first_matcher)),
2423 testing::SafeMatcherCast<const SecondType&>(second_matcher)) {
3183 return SafeMatcherCast<const T&>(matcher).MatchAndExplain(value, listener);