Searched refs:SafeMatcherCast (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h614 // Implements SafeMatcherCast().
665 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { function in namespace:testing
1478 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1578 SafeMatcherCast<T>(matchers.first),
1598 SafeMatcherCast<T>(matchers.first),
1599 SafeMatcherCast<T>(matchers.second)));
1648 return Matcher<T>(new BothOfMatcherImpl<T>(SafeMatcherCast<T>(matcher1_),
1649 SafeMatcherCast<T>(matcher2_)));
1744 SafeMatcherCast<T>(matcher1_), SafeMatcherCast<
[all...]
H A Dgmock-generated-matchers.h221 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc675 // Tests that SafeMatcherCast<T>(m) works when m is a polymorphic matcher.
677 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32));
682 // Tests that SafeMatcherCast<T>(m) works when m is a Matcher<U> where
687 Matcher<float> m2 = SafeMatcherCast<float>(m1);
691 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a'));
696 // Tests that SafeMatcherCast<T>(m) works when m is a Matcher<U> where T and U
701 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1);
706 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3);
711 // Tests that SafeMatcherCast<T&>(m) works when m is a Matcher<const T&>.
715 Matcher<int&> m2 = SafeMatcherCast<in
[all...]

Completed in 37 milliseconds