/external/clang/lib/ASTMatchers/Dynamic/ |
VariantValue.cpp | 26 return (Twine("Matcher<") + MatcherKind.asStringRef() + ">").str(); 53 VariantMatcher::MatcherOps::canConstructFrom(const DynTypedMatcher &Matcher, 55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); 56 return Matcher.canConvertTo(NodeKind); 66 // Matcher<T>. 82 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} 85 return Matcher; 89 return (Twine("Matcher<") + Matcher.getSupportedKind().asStringRef() + ">" [all...] |
/external/clang/unittests/ASTMatchers/ |
ASTMatchersNarrowingTest.cpp | 1 // unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp - AST matcher unit tests// 259 auto VD = internal::Matcher<VarDecl>(Name).dynCastTo<Decl>(); 260 auto RD = internal::Matcher<RecordDecl>(Name).dynCastTo<Decl>(); 546 TEST(Matcher, BindMatchedNodes) { 570 TEST(Matcher, BindTheSameNameInAlternatives) { 571 StatementMatcher matcher = anyOf( local 580 // The first branch of the matcher binds x to 0 but then fails. 583 matcher, 587 TEST(Matcher, BindsIDForMemoizedResults) { 588 // Using the same matcher in two match expressions will make memoizatio [all...] |
ASTMatchersNodeTest.cpp | 1 //== unittests/ASTMatchers/ASTMatchersNodeTest.cpp - AST matcher unit tests ==// 172 DeclarationMatcher Matcher = enumConstantDecl(hasName("A")); 173 EXPECT_TRUE(matches("enum X{ A };", Matcher)); 174 EXPECT_TRUE(notMatches("enum X{ B };", Matcher)); 175 EXPECT_TRUE(notMatches("enum X {};", Matcher)); 178 TEST(Matcher, UnresolvedLookupExpr) { 192 TEST(Matcher, Call) { 194 // Matcher<Decl>, too? 239 TEST(Matcher, Lambda) { 244 TEST(Matcher, ForRange) [all...] |
/external/googletest/googlemock/include/gmock/ |
gmock-generated-matchers.h | 207 // Implements the Args() matcher. 217 typedef Matcher<const SelectedArgs&> MonomorphicInnerMatcher; 287 operator Matcher<ArgsTuple>() const { 481 Args(const InnerMatcher& matcher) { 482 return internal::ArgsMatcher<InnerMatcher>(matcher); 487 Args(const InnerMatcher& matcher) { 488 return internal::ArgsMatcher<InnerMatcher, k1>(matcher); 493 Args(const InnerMatcher& matcher) { 494 return internal::ArgsMatcher<InnerMatcher, k1, k2>(matcher); 499 Args(const InnerMatcher& matcher) { [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/ |
TryWithResourcesEcjFilter.java | 35 final Matcher matcher = new Matcher(output); local 38 matcher.start(t.handler); 39 if (!matcher.matchEcj()) { 40 matcher.start(t.handler); 41 matcher.matchEcjNoFlowOut(); 47 static class Matcher extends AbstractMatcher { 56 Matcher(final IFilterOutput output) {
|
/external/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 1 //===- DAGISelMatcherEmitter.cpp - Matcher Emitter ------------------------===// 10 // This file contains code to generate C++ code for a matcher. 59 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 66 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 153 /// EmitMatcher - Emit bytes for the specified matcher and return 156 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 161 case Matcher::Scope: { 223 case Matcher::RecordNode: 232 case Matcher::RecordChild [all...] |
DAGISelMatcher.h | 1 //===- DAGISelMatcher.h - Representation of DAG pattern matcher -*- C++ -*-===// 22 class Matcher; 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 35 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 39 /// Matcher - Base class for all the DAG ISel Matcher representation 41 class Matcher { [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 1 //===- DAGISelMatcherEmitter.cpp - Matcher Emitter ------------------------===// 10 // This file contains code to generate C++ code for a matcher. 54 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 59 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 135 /// EmitMatcherOpcodes - Emit bytes for the specified matcher and return 138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 143 case Matcher::Scope: { 205 case Matcher::RecordNode: 214 case Matcher::RecordChild [all...] |
DAGISelMatcher.h | 1 //===- DAGISelMatcher.h - Representation of DAG pattern matcher -----------===// 22 class Matcher; 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 Matcher *OptimizeMatcher(Matcher *Matcher, const CodeGenDAGPatterns &CGP); 34 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 38 /// Matcher - Base class for all the the DAG ISel Matcher representatio [all...] |
/external/v8/testing/gmock/include/gmock/ |
gmock-generated-matchers.h | 207 // Implements the Args() matcher. 217 typedef Matcher<const SelectedArgs&> MonomorphicInnerMatcher; 287 operator Matcher<ArgsTuple>() const { 481 Args(const InnerMatcher& matcher) { 482 return internal::ArgsMatcher<InnerMatcher>(matcher); 487 Args(const InnerMatcher& matcher) { 488 return internal::ArgsMatcher<InnerMatcher, k1>(matcher); 493 Args(const InnerMatcher& matcher) { 494 return internal::ArgsMatcher<InnerMatcher, k1, k2>(matcher); 499 Args(const InnerMatcher& matcher) { [all...] |
/frameworks/support/content/tests/java/android/support/content/ |
TestQueryCallback.java | 70 mQueryLatch.assertHasItem(new Matcher<Query>() { 79 mReplyLatch.assertHasItem(new Matcher<Pair<Integer, Cursor>>() { 129 public void assertHasItem(Matcher<T> matcher) { 132 if (matcher.matches(val)) { 144 interface Matcher<T> {
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 10 // Implements the base layer of the matcher framework. 12 // Matchers are methods that return a Matcher<T> which provides a method 19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T> 21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy 22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base> 23 // everywhere a Matcher<Derived> is required. 26 // The matcher functions are defined in ASTMatchers.h. To make it possible 27 // to implement both the matcher function and the implementation of the matcher [all...] |
/art/compiler/dex/ |
inline_method_analyser.cc | 40 class Matcher { 43 typedef bool MatchFn(Matcher* matcher); 50 static bool Mark(Matcher* matcher); 52 template <bool (Matcher::*Fn)()> 53 static bool Required(Matcher* matcher); 55 template <bool (Matcher::*Fn)()> 56 static bool Repeated(Matcher* matcher); // On match, returns to the mark [all...] |
/libcore/ojluni/src/main/java/java/util/regex/ |
Matcher.java | 35 * <p> A matcher is created from a pattern by invoking the pattern's {@link 36 * Pattern#matcher matcher} method. Once created, a matcher can be used to 54 * state of the matcher. 56 * <p> A matcher finds matches in a subset of its input called the 57 * <i>region</i>. By default, the region contains all of the matcher's input. 73 * <p> The explicit state of a matcher includes the start and end indices of 80 * <p> The explicit state of a matcher is initially undefined; attempting to 82 * IllegalStateException} to be thrown. The explicit state of a matcher i [all...] |
/external/fmtlib/test/gmock/ |
gmock.h | 275 class Matcher; 292 // MatcherTuple<T>::type is a tuple type where each field is a Matcher 304 typedef ::std::tr1::tuple<Matcher<A1> > type; 309 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type; 314 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 319 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> 5386 typename tuple_element<N - 1, MatcherTuple>::type matcher = local 6435 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_); local [all...] |
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 14 // calling the Matches(...) method of each matcher we are running on each 15 // AST node. The matcher can recurse via the ASTMatchFinder interface. 39 // of performance vs. memory consumption by running matcher 47 // We use memoization to avoid running the same matcher on the same 50 // identifying the matcher), a pointer to the AST node and the 51 // bound nodes before the matcher was executed. 83 // Creates an AST visitor that matches 'matcher' on all children or 87 MatchChildASTVisitor(const DynTypedMatcher *Matcher, 93 : Matcher(Matcher), [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieMap.java | 95 abstract public Matcher<V> getMatcher(); 97 public abstract static class Matcher<V> { 173 public TrieMap.Matcher<V> getMatcher() { 214 public class BytesMatcher extends Matcher<V> { 359 public TrieMap.Matcher<V> getMatcher() { 398 public class CharsMatcher extends Matcher<V> {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TrieMap.java | 94 abstract public Matcher<V> getMatcher(); 96 public abstract static class Matcher<V> { 172 public TrieMap.Matcher<V> getMatcher() { 213 public class BytesMatcher extends Matcher<V> { 358 public TrieMap.Matcher<V> getMatcher() { 397 public class CharsMatcher extends Matcher<V> {
|