Searched defs:Matcher (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
H A Dmatcher.py30 class Matcher(object): class in inherits:object
/external/chromium_org/third_party/closure_linter/closure_linter/common/
H A Dmatcher.py30 class Matcher(object): class in inherits:object
/external/hamcrest/src/org/hamcrest/
H A DMatcher.java9 * Matcher implementations should <b>NOT directly implement this interface</b>.
11 * which will ensure that the Matcher API can grow to support
12 * new features and remain compatible with all Matcher implementations.
14 * For easy access to common Matcher implementations, use the static factory
21 public interface Matcher<T> extends SelfDescribing { interface in inherits:SelfDescribing
27 * because the caller of the Matcher does not know at runtime what the type is
39 * This method simply acts a friendly reminder not to implement Matcher directly and
43 * @see Matcher for reasons why.
/external/chromium_org/athena/activity/
H A Dactivity_manager_impl.cc89 struct Matcher { struct
90 Matcher(aura::Window* w) : window(w) {} function in struct:athena::Matcher
97 std::find_if(activities_.begin(), activities_.end(), Matcher(window));
/external/chromium_org/ui/aura/test/
H A Dui_controls_factory_aurax11.cc43 bool Matcher(const base::NativeEvent& event) { function in namespace:aura::test::__anon16583
201 ui::PlatformEventWaiter::Create(closure, base::Bind(&Matcher));
/external/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h186 /// \brief Returns the results of matching \p Matcher on \p Node.
189 /// \p Matcher on \p Node and returns the collected results.
198 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
202 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
213 /// Decl *D = selectFirst<Decl>("id", match(Matcher.bind("id"),
240 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, argument
244 Finder.addMatcher(Matcher, &Callback);
251 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { argument
252 return match(Matcher, ast_type_traits::DynTypedNode::create(Node), Context);
H A DASTMatchersInternal.h12 // 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.
204 /// A Matcher<Base> can be used anywhere a Matcher<Derived> is
206 /// to the AST hierarchy. In other words, Matcher<T> is contravariant
211 class Matcher { class in namespace:clang::ast_matchers::internal
214 explicit Matcher(MatcherInterface<T> *Implementation) function in class:clang::ast_matchers::internal::Matcher
221 Matcher(const Matcher<From> &Other, function in class:clang::ast_matchers::internal::Matcher
230 Matcher(const Matcher<TypeT> &Other, function in class:clang::ast_matchers::internal::Matcher
467 matchesFirstInRange(const MatcherT &Matcher, IteratorT Start, IteratorT End, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) argument
483 matchesFirstInPointerRange(const MatcherT &Matcher, IteratorT Start, IteratorT End, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) argument
708 matchesChildOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, TraversalKind Traverse, BindKind Bind) argument
725 matchesDescendantOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, BindKind Bind) argument
742 matchesAncestorOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, AncestorMatchMode MatchMode) argument
[all...]
H A DASTMatchers.h113 internal::Matcher<T> id(const std::string &ID,
121 typedef internal::Matcher<Decl> DeclarationMatcher;
122 typedef internal::Matcher<Stmt> StatementMatcher;
123 typedef internal::Matcher<QualType> TypeMatcher;
124 typedef internal::Matcher<TypeLoc> TypeLocMatcher;
125 typedef internal::Matcher<NestedNameSpecifier> NestedNameSpecifierMatcher;
126 typedef internal::Matcher<NestedNameSpecifierLoc> NestedNameSpecifierLocMatcher;
133 /// to an \c internal::Matcher<> type such as \c TypeMatcher.
142 /// Usable as: Any Matcher
336 internal::Matcher<TemplateArgumen
1716 findAll(const internal::Matcher<T> &Matcher) argument
[all...]
/external/chromium_org/ui/views/test/
H A Dui_controls_factory_desktop_aurax11.cc49 bool Matcher(const base::NativeEvent& event) { function in namespace:views::test::__anon17118
231 ui::PlatformEventWaiter::Create(closure, base::Bind(&Matcher));
/external/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h12 /// Supports all the types required for dynamic Matcher construction.
46 /// the underlying matcher(s) can unambiguously return a Matcher<T>.
52 virtual bool canConstructFrom(const DynTypedMatcher &Matcher,
54 virtual void constructFrom(const DynTypedMatcher &Matcher) = 0;
76 static VariantMatcher SingleMatcher(const DynTypedMatcher &Matcher);
105 /// \c Matcher<T>.
108 /// \c Matcher<T>.
110 /// overloads can be converted to \c Matcher<T>. If there are more than one
119 /// \brief Return this matcher as a \c Matcher<T>.
124 ast_matchers::internal::Matcher<
149 canConstructFrom(const DynTypedMatcher &Matcher, bool &IsExactMatch) const argument
156 constructFrom(const DynTypedMatcher& Matcher) argument
249 VariantMatcher *Matcher; member in union:clang::ast_matchers::dynamic::VariantValue::AllValues
[all...]
/external/openfst/src/include/fst/
H A Dmatcher-fst.h35 // class Matcher {
42 // Matcher(const F &fst, MatchType type, MatcherData *data);
45 // // passed to a Matcher constructor.
205 class Matcher< MatcherFst<F, M, N, I> > { class in namespace:fst
212 Matcher(const FST &fst, MatchType match_type) { function in class:fst::Matcher
216 Matcher(const Matcher<FST> &matcher) { function in class:fst::Matcher
220 ~Matcher() { delete matcher_; }
222 Matcher<FST> *Copy() const {
223 return new Matcher<FS
[all...]
H A Dmatcher.h37 // The Matcher interface is:
40 // class Matcher {
49 // Matcher(const F &fst, MatchType type);
52 // Matcher(const Matcher &matcher, bool safe = false);
56 // Matcher<F> *Copy(bool safe = false) const;
91 // Matcher prefers being used as the matching side in composition.
94 // Matcher needs to be used as the matching side in composition.
100 // Matcher interface, templated on the Arc definition; used
1150 // Matcher<StdFs
1158 class Matcher { class in namespace:fst
1166 Matcher(const F &fst, MatchType match_type) { function in class:fst::Matcher
1172 Matcher(const Matcher<F> &matcher, bool safe = false) { function in class:fst::Matcher
1177 Matcher(MatcherBase<Arc>* base_matcher) { base_ = base_matcher; } function in class:fst::Matcher
[all...]
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py31 Matcher = matcher.Matcher variable
197 Matcher(END_BLOCK_COMMENT, Type.END_DOC_COMMENT,
201 Matcher(DOC_INLINE_FLAG, Type.DOC_INLINE_FLAG),
202 Matcher(DOC_FLAG_LEX_SPACES, Type.DOC_FLAG,
206 Matcher(DOC_FLAG, Type.DOC_FLAG, JavaScriptModes.DOC_COMMENT_MODE),
209 Matcher(START_BLOCK, Type.DOC_START_BRACE),
210 Matcher(END_BLOCK, Type.DOC_END_BRACE),
211 Matcher(DOC_PREFIX, Type.DOC_PREFIX, None, True)]
214 # The token matcher groups work as follows: it is an list of Matcher object
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py31 Matcher = matcher.Matcher variable
193 Matcher(END_BLOCK_COMMENT, Type.END_DOC_COMMENT,
197 Matcher(DOC_INLINE_FLAG, Type.DOC_INLINE_FLAG),
198 Matcher(DOC_FLAG_LEX_SPACES, Type.DOC_FLAG,
202 Matcher(DOC_FLAG, Type.DOC_FLAG, JavaScriptModes.DOC_COMMENT_MODE),
205 Matcher(START_BLOCK, Type.DOC_START_BRACE),
206 Matcher(END_BLOCK, Type.DOC_END_BRACE),
207 Matcher(DOC_PREFIX, Type.DOC_PREFIX, None, True)]
220 The token matcher groups work as follows: it is a list of Matcher object
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp28 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} argument
31 return Matcher;
35 return (Twine("Matcher<") + Matcher.getSupportedKind().asStringRef() + ">")
41 if (Ops.canConstructFrom(Matcher, Ignore))
42 Ops.constructFrom(Matcher);
46 const DynTypedMatcher Matcher; member in class:clang::ast_matchers::dynamic::VariantMatcher::SinglePayload
69 return (Twine("Matcher<")
129 SingleMatcher(const DynTypedMatcher &Matcher) argument
167 VariantValue(const VariantMatcher &Matcher) argument
[all...]
H A DMarshallers.h50 return (Twine("Matcher<") + MatcherKind.asStringRef() + ">").str();
97 template <class T> struct ArgTypeTraits<ast_matchers::internal::Matcher<T> > {
101 static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
119 /// \brief Matcher descriptor interface.
195 /// \param Func Matcher construct function. This is the function that
243 Out.push_back(ast_matchers::internal::Matcher<typename TypeList::head>(Poly));
249 /// There are 2 cases right now: The return value is a Matcher<T> or is a
251 /// For the latter, we instantiate all the possible Matcher<T> of the poly
253 static VariantMatcher outvalueToVariantMatcher(const DynTypedMatcher &Matcher) { argument
254 return VariantMatcher::SingleMatcher(Matcher);
[all...]
/external/clang/unittests/ASTMatchers/Dynamic/
H A DParserTest.cpp29 ast_matchers::internal::Matcher<Stmt> M = stmt();
43 const ExpectedMatchersTy::value_type *Matcher = local
45 return reinterpret_cast<MatcherCtor>(Matcher);
53 const ExpectedMatchersTy::value_type *Matcher = local
55 MatcherInfo ToStore = { Matcher->first, NameRange, Args, BindID };
57 return VariantMatcher::SingleMatcher(Matcher->second);
70 typedef std::map<std::string, ast_matchers::internal::Matcher<Stmt> >
153 using ast_matchers::internal::Matcher;
162 Matcher<Decl> M = VarDecl->unconditionalConvertTo<Decl>();
206 "(Expected = Matcher<Exp
[all...]
/external/chromium_org/ui/gfx/image/
H A Dimage_skia.cc45 class Matcher { class in namespace:gfx::internal::__anon16864
47 explicit Matcher(float scale) : scale_(scale) { function in class:gfx::internal::__anon16864::Matcher
221 Matcher(image.scale())) == image_reps_.end()) {
/external/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp1 //===- DAGISelMatcherEmitter.cpp - Matcher Emitter ------------------------===//
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,
138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
143 case Matcher::Scope: {
205 case Matcher::RecordNode:
214 case Matcher::RecordChild:
224 case Matcher::RecordMemRef:
228 case Matcher
454 const EmitRegisterMatcher *Matcher = cast<EmitRegisterMatcher>(N); local
[all...]
H A DDAGISelMatcher.h22 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 DAG ISel Matcher representation
40 class Matcher { class in namespace:llvm
91 Matcher(KindTy K) : Kind(K) {} function in class:llvm::Matcher
[all...]
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp83 MatchChildASTVisitor(const DynTypedMatcher *Matcher, argument
89 : Matcher(Matcher),
238 // Sets 'Matched' to true if 'Matcher' matches 'Node' and:
250 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
258 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
279 const DynTypedMatcher *const Matcher; member in class:clang::ast_matchers::internal::__anon17765::MatchChildASTVisitor
371 const DynTypedMatcher &Matcher,
376 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Traversal,
380 Key.MatcherID = Matcher
370 memoizedMatchesRecursively(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, int MaxDepth, TraversalKind Traversal, BindKind Bind) argument
401 matchesRecursively(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, int MaxDepth, TraversalKind Traversal, BindKind Bind) argument
491 memoizedMatchesAncestorOfRecursively( const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, AncestorMatchMode MatchMode) argument
586 typeHasMatchingAlias(const Type *TypeNode, const Matcher<NamedDecl> Matcher, BoundNodesTreeBuilder *Builder) argument
[all...]
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp783 DeclarationMatcher Matcher = enumConstantDecl(hasName("A")); local
784 EXPECT_TRUE(matches("enum X{ A };", Matcher));
785 EXPECT_TRUE(notMatches("enum X{ B };", Matcher));
786 EXPECT_TRUE(notMatches("enum X {};", Matcher));
832 TEST(Matcher, BindMatchedNodes) {
856 TEST(Matcher, BindTheSameNameInAlternatives) {
873 TEST(Matcher, BindsIDForMemoizedResults) {
960 TEST(Matcher, Call) {
962 // Matcher<Decl>, too?
1007 TEST(Matcher, Lambd
4013 NestedNameSpecifierMatcher Matcher = nestedNameSpecifier( local
4022 NestedNameSpecifierMatcher Matcher = nestedNameSpecifier( local
[all...]
/external/owasp/sanitizer/lib/junit/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 568 milliseconds

12