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

/external/chromium-trace/trace-viewer/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/testing/gmock/src/
H A Dgmock-matchers.cc34 // This file implements Matcher<const string&>, Matcher<string>, and
48 Matcher<const internal::string&>::Matcher(const internal::string& s) { function in class:testing::Matcher
54 Matcher<const internal::string&>::Matcher(const char* s) { function in class:testing::Matcher
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s); } function in class:testing::Matcher
62 Matcher<internal::string>::Matcher(cons function in class:testing::Matcher
[all...]
/external/clang/include/clang/ASTMatchers/
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.
229 /// Matcher implementations will check whether the \c DynTypedNode is
247 /// A Matcher<Base> can be used anywhere a Matcher<Derived> is
249 /// to the AST hierarchy. In other words, Matcher<
254 class Matcher : public DynTypedMatcher { class in namespace:clang::ast_matchers::internal
257 explicit Matcher(MatcherInterface<T> *Implementation) function in class:clang::ast_matchers::internal::Matcher
436 matchesChildOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, TraversalKind Traverse, BindKind Bind) argument
449 matchesDescendantOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, BindKind Bind) argument
462 matchesAncestorOf(const T &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder) argument
[all...]
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-matchers.h58 // 2. a factory function that creates a Matcher<T> object from a
62 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
64 // ownership management as Matcher objects can now be copied like
187 // An internal class for implementing Matcher<T>, which will derive
188 // from it. We put functionalities common to all Matcher<T>
245 // A Matcher<T> is a copyable and IMMUTABLE (except by assignment)
247 // implementation of Matcher<T> is just a linked_ptr to const
249 // from Matcher!
251 class Matcher : public internal::MatcherBase<T> { class in namespace:testing
253 // Constructs a null matcher. Needed for storing Matcher object
256 Matcher() {} function in class:testing::Matcher
259 explicit Matcher(const MatcherInterface<T>* impl) function in class:testing::Matcher
271 class Matcher<const internal::string&> class in namespace:testing
274 Matcher() {} function in class:testing::Matcher
276 explicit Matcher(const MatcherInterface<const internal::string&>* impl) function in class:testing::Matcher
288 class Matcher<internal::string> class in namespace:testing
291 Matcher() {} function in class:testing::Matcher
293 explicit Matcher(const MatcherInterface<internal::string>* impl) function in class:testing::Matcher
2589 Matcher<T>::Matcher(T value) { *this = Eq(value); } function in class:testing::Matcher
[all...]
H A Dgmock-generated-matchers.h227 typedef Matcher<const SelectedArgs&> MonomorphicInnerMatcher;
297 operator Matcher<ArgsTuple>() const {
316 operator Matcher<Container>() const {
327 const Matcher<const Element&> matcher =
344 operator Matcher<Container>() const {
349 const Matcher<const Element&> matchers[] = {
371 operator Matcher<Container>() const {
376 const Matcher<const Element&> matchers[] = {
400 operator Matcher<Container>() const {
405 const Matcher<cons
[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;
89 // Matcher interface, templated on the Arc definition; used
1061 // Matcher<StdFst> matcher(fst, MATCH_INPUT);
1069 class Matcher { class in namespace:fst
1077 Matcher(cons function in class:fst::Matcher
1083 Matcher(const Matcher<F> &matcher, bool safe = false) { function in class:fst::Matcher
1088 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/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
437 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
89 Matcher(KindTy K) : Kind(K) {} function in class:llvm::Matcher
[all...]
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp118 MatchChildASTVisitor(const DynTypedMatcher *Matcher, argument
124 : Matcher(Matcher),
219 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node),
235 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node),
249 const DynTypedMatcher *const Matcher; member in class:clang::ast_matchers::internal::__anon3535::MatchChildASTVisitor
319 const DynTypedMatcher &Matcher,
322 const UntypedMatchInput input(Matcher.getID(), Node.getMemoizationData());
330 matchesRecursively(Node, Matcher, &DescendantBoundNodesBuilder,
341 const DynTypedMatcher &Matcher,
318 memoizedMatchesRecursively(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, int MaxDepth, TraversalKind Traversal, BindKind Bind) argument
340 matchesRecursively(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, int MaxDepth, TraversalKind Traversal, BindKind Bind) argument
354 matchesChildOf(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, TraversalKind Traversal, BindKind Bind) argument
363 matchesDescendantOf(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, BindKind Bind) argument
371 matchesAncestorOf(const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder) argument
423 typeHasMatchingAlias(const Type *TypeNode, const Matcher<NamedDecl> Matcher, BoundNodesTreeBuilder *Builder) argument
[all...]
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp557 DeclarationMatcher Matcher = enumConstantDecl(hasName("A")); local
558 EXPECT_TRUE(matches("enum X{ A };", Matcher));
559 EXPECT_TRUE(notMatches("enum X{ B };", Matcher));
560 EXPECT_TRUE(notMatches("enum X {};", Matcher));
665 TEST(Matcher, BindMatchedNodes) {
689 TEST(Matcher, BindTheSameNameInAlternatives) {
706 TEST(Matcher, BindsIDForMemoizedResults) {
758 TEST(Matcher, Call) {
760 // Matcher<Decl>, too?
817 TEST(Matcher, OverloadedOperatorCal
[all...]
/external/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ...

Completed in 350 milliseconds