Searched refs:matcher (Results 1 - 4 of 4) sorted by relevance

/gem5/util/style/
H A Dsort_includes.py100 def matcher(context, line): function in function:_include_matcher
104 return matcher
114 def matcher(context, line): function in function:_include_matcher_fname
121 return matcher
135 def matcher(context, line): function in function:_include_matcher_main
149 return matcher
234 for include_type, (ldelim, rdelim), matcher in self.includes_re:
235 keyword, include, extra = matcher(context, line)
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h61 // To implement a matcher Foo for type T, define:
74 // used by a matcher to explain why a value matches or doesn't match.
101 // the match result. A matcher's MatchAndExplain() method can use
116 // matcher.
121 // Describes this matcher to an ostream. The function should print
123 // matcher should have. The subject of the verb phrase is the value
125 // matcher prints "is greater than 7".
128 // Describes the negation of this matcher to an ostream. For
129 // example, if the description of this matcher is "is greater than
132 // MatcherInterface, but it is highly advised so that your matcher
600 Cast(const Matcher<T>& matcher) argument
610 MatcherCast(const M& matcher) argument
641 Cast(const Matcher<U>& matcher) argument
701 MatchPrintAndExplain(Value& value, const Matcher<T>& matcher, MatchResultListener* listener) argument
751 typename tuple_element<N - 1, MatcherTuple>::type matcher = local
1446 NotMatcherImpl(const Matcher<T>& matcher) argument
1472 NotMatcher(InnerMatcher matcher) argument
1567 BuildList(const Head& matcher, const Tail&... tail) argument
1798 MatcherAsPredicate(M matcher) argument
1854 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_); local
1879 MakePredicateFormatterFromMatcher(M matcher) argument
2045 PointeeMatcher(const InnerMatcher& matcher) argument
2068 Impl(const InnerMatcher& matcher) argument
2110 WhenDynamicCastToMatcherBase(const Matcher<To>& matcher) argument
2147 WhenDynamicCastToMatcher(const Matcher<To>& matcher) argument
2163 WhenDynamicCastToMatcher(const Matcher<To&>& matcher) argument
2183 FieldMatcher(FieldType Class::*field, const Matcher<const FieldType&>& matcher) argument
2341 ResultOfMatcher(Callable callable, const Matcher<ResultType>& matcher) argument
2357 Impl(CallableStorageType callable, const Matcher<ResultType>& matcher) argument
2615 WhenSortedByMatcher(const Comparator& comparator, const ContainerMatcher& matcher) argument
2636 Impl(const Comparator& comparator, const ContainerMatcher& matcher) argument
3896 Field( FieldType Class::*field, const FieldMatcher& matcher) argument
3939 ResultOf( Callable callable, const ResultOfMatcher& matcher) argument
4282 Contains(M matcher) argument
4314 Each(M matcher) argument
4341 Matches(M matcher) argument
4347 Value(const T& value, M matcher) argument
4354 ExplainMatchResult( M matcher, const T& value, MatchResultListener* listener) argument
4382 AllArgs(const InnerMatcher& matcher) argument
[all...]
H A Dgmock-generated-matchers.h207 // Implements the Args() matcher.
481 Args(const InnerMatcher& matcher) { argument
482 return internal::ArgsMatcher<InnerMatcher>(matcher);
487 Args(const InnerMatcher& matcher) { argument
488 return internal::ArgsMatcher<InnerMatcher, k1>(matcher);
493 Args(const InnerMatcher& matcher) { argument
494 return internal::ArgsMatcher<InnerMatcher, k1, k2>(matcher);
499 Args(const InnerMatcher& matcher) { argument
500 return internal::ArgsMatcher<InnerMatcher, k1, k2, k3>(matcher);
505 Args(const InnerMatcher& matcher) { argument
511 Args(const InnerMatcher& matcher) argument
517 Args(const InnerMatcher& matcher) argument
524 Args(const InnerMatcher& matcher) argument
532 Args(const InnerMatcher& matcher) argument
540 Args(const InnerMatcher& matcher) argument
549 Args(const InnerMatcher& matcher) argument
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc200 // Returns the description of the given matcher.
208 // Returns the description of the negation of the given matcher.
278 // Tests implementing a monomorphic matcher using MatchAndExplain().
307 // Tests default-constructing a matcher.
438 // matcher from its implementation using the old API.
463 // Using a polymorphic matcher to match a reference type.
471 // Using a polymorphic matcher to match a value type.
478 // Tests implementing a polymorphic matcher using MatchAndExplain().
529 // Tests that MatcherCast<T>(m) works when m is a polymorphic matcher.
655 // Verify that the matcher hold
3246 Matcher<Base*> matcher = WhenDynamicCastTo<Derived*>(Pointee(_)); local
3255 Matcher<Base*> matcher = WhenDynamicCastTo<Derived*>(Pointee(_)); local
3805 Matcher<int> matcher = ResultOf(&IntToStringFunction, Eq(string("foo"))); local
3813 Matcher<int> matcher = ResultOf(&IntToStringFunction, StrEq("foo")); local
3825 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); local
3837 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); local
3854 Matcher<double&> matcher = ResultOf(&DoubleFunction, Ref(x)); local
3876 Matcher<const string&> matcher = ResultOf(&StringFunction, Ref(s)); local
3886 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85))); local
3903 Matcher<int> matcher = ResultOf(IntToStringFunction, StrEq("foo")); local
3917 Matcher<int> matcher = ResultOf(Functor(), Eq(string("foo"))); local
4940 EMString(int element, int matcher) argument
4942 ss << "(element #" << element << ", matcher #" << matcher << ")"; local
[all...]

Completed in 33 milliseconds