Searched refs:matches (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_exceptions.cpp126 if (!ex.matches(PyExc_KeyError)) throw;
138 if (!ex.matches(PyExc_Exception)) throw;
149 if (!ex.matches(PyExc_ImportError)) throw;
189 if (ex.matches(exc_type))
/gem5/ext/googletest/googlemock/src/
H A Dgmock-matchers.cc46 // Constructs a matcher that matches a const string& whose value is
52 // Constructs a matcher that matches a const string& whose value is
58 // Constructs a matcher that matches a string whose value is equal to s.
61 // Constructs a matcher that matches a string whose value is equal to s.
67 // Constructs a matcher that matches a const StringPiece& whose value is
73 // Constructs a matcher that matches a const StringPiece& whose value is
79 // Constructs a matcher that matches a const StringPiece& whose value is
85 // Constructs a matcher that matches a StringPiece whose value is equal to s.
90 // Constructs a matcher that matches a StringPiece whose value is equal to s.
95 // Constructs a matcher that matches
330 ElementMatcherPairs matches = FindMaxBipartiteMatching(matrix); local
[all...]
/gem5/src/base/
H A Dtrie.hh52 matches(Key test) function in struct:Trie::Node
129 if (kid && kid->matches(key) && (kid->mask & new_mask) == kid->mask) {
168 if (node->kids[0] && node->kids[0]->matches(key))
170 else if (node->kids[1] && node->kids[1]->matches(key))
/gem5/src/systemc/tests/
H A Dverify.py321 matches = { n: e for n, e in self.entries.items() if match(n) }
323 for match in matches.values():
327 if platform_name in matches:
328 return matches[platform_name].path
329 if name in matches:
330 return matches[name].path
/gem5/src/mem/cache/
H A Dcache_blk.hh141 bool matches(const RequestPtr &req) const function in class:CacheBlk::Lock
411 if (l->matches(pkt->req)) {
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc216 // Returns the reason why x matches, or doesn't match, m.
782 // Tests that A<T>() matches any value of type T.
811 // Tests that An<T>() matches any value of type T.
831 // Tests that _ can be used as a matcher for any type and matches any
853 // Tests that Eq(x) matches any value equal to x.
896 // Tests that TypedEq<T>(v) matches values of type T that's equal to v.
932 // Tests that Ge(v) matches anything >= v.
946 // Tests that Gt(v) matches anything > v.
960 // Tests that Le(v) matches anything <= v.
974 // Tests that Lt(v) matches anythin
5106 ElementMatcherPairs matches = local
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h74 // used by a matcher to explain why a value matches or doesn't match.
145 // Returns true iff the matcher matches x; also explains the match
254 // Returns true iff the matcher matches x; also explains the match
260 // Returns true iff this matcher matches x.
274 // Explains why x matches, or doesn't match, the matcher.
314 // object that can check whether a value of type T matches. The
669 // A<T>() returns a matcher that matches any value of type T.
729 // iff the first N fields of matcher_tuple matches the first N
868 *os << "never matches";
872 // Implements _, a matcher that matches an
2824 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener); local
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h344 /// Check if the currently trapped error type matches the given Python exception class (or a
345 /// subclass thereof). May also be passed a tuple to search for any exception class matches in
347 bool matches(handle exc) const { return PyErr_GivenExceptionMatches(m_type.ptr(), exc.ptr()); } function in class:error_already_set

Completed in 48 milliseconds