/external/hamcrest/src/org/hamcrest/ |
Matcher.java | 6 * A matcher over acceptable values. 7 * A matcher is able to describe itself to give feedback when it fails. 9 * 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 { 24 * Evaluates the matcher for argument <var>item</var>. 27 * because the caller of the Matcher does not know at runtime what the type is 31 * @param item the object against which the matcher is evaluated [all...] |
/external/chromium/testing/gmock/src/ |
gmock-matchers.cc | 34 // This file implements Matcher<const string&>, Matcher<string>, and 46 // Constructs a matcher that matches a const string& whose value is 48 Matcher<const internal::string&>::Matcher(const internal::string& s) { 52 // Constructs a matcher that matches a const string& whose value is 54 Matcher<const internal::string&>::Matcher(const char* s) { 58 // Constructs a matcher that matches a string whose value is equal to s. 59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s); [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
matcher.py | 17 """Regular expression based JavaScript matcher classes.""" 30 class Matcher(object): 31 """A token matcher. 41 regex: The regular expression representing this matcher. 47 """Create a new matcher template. 54 line_start: Whether this matcher should only match string at the start
|
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
matcher.py | 17 """Regular expression based JavaScript matcher classes.""" 30 class Matcher(object): 31 """A token matcher. 41 regex: The regular expression representing this matcher. 47 """Create a new matcher template. 54 line_start: Whether this matcher should only match string at the start
|
/external/chromium_org/ui/aura/test/ |
ui_controls_factory_aurax11.cc | 46 EventWaiter(const base::Closure& closure, EventWaiterMatcher matcher) 48 matcher_(matcher) { 81 bool Matcher(const base::NativeEvent& event) { 224 new EventWaiter(closure, &Matcher);
|
/external/openfst/src/include/fst/ |
matcher-fst.h | 0 // matcher-fst.h 19 // Class to add a matcher to an FST. 26 #include <fst/lookahead-matcher.h> 32 // matcher.h) and these additional methods: 35 // class Matcher { 40 // // data; matcher increments its reference count on construction and 42 // Matcher(const F &fst, MatchType type, MatcherData *data); 45 // // passed to a Matcher constructor. 49 // The matcher initialization data class must have the form: 74 // Class to add a matcher M to an Fst F. Creates a new Fst of type name N [all...] |
matcher.h | 0 // matcher.h 37 // 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; 81 // // Return matcher FST. 84 // // matcher. It takes as argument the input Fst's known properties [all...] |
/external/chromium/testing/gmock/include/gmock/ |
gmock-matchers.h | 55 // To implement a matcher Foo for type T, define: 58 // 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 68 // used by a matcher to explain why a value matches or doesn't match. 94 // the match result. A matcher's MatchAndExplain() method can use 108 // The implementation of a matcher. 114 // Returns true iff the matcher matches x; also explains the match 117 // example, the MatchAndExplain() method of the Pointee(...) matcher 120 // You should override this method when defining a new matcher 535 typename tuple_element<N - 1, MatcherTuple>::type matcher = local 1479 const Matcher<const T&> matcher = MatcherCast<const T&>(matcher_); local [all...] |
gmock-generated-matchers.h | 217 // Implements the Args() matcher. 227 typedef Matcher<const SelectedArgs&> MonomorphicInnerMatcher; 297 operator Matcher<ArgsTuple>() const { 316 operator Matcher<Container>() const { 327 const Matcher<const Element&> matcher = local 329 return MakeMatcher(new ElementsAreMatcherImpl<Container>(&matcher, 1)); 344 operator Matcher<Container>() const { 349 const Matcher<const Element&> matchers[] = { 371 operator Matcher<Container>() const [all...] |
/external/chromium_org/ui/views/test/ |
ui_controls_factory_desktop_aurax11.cc | 46 EventWaiter(const base::Closure& closure, EventWaiterMatcher matcher) 48 matcher_(matcher) { 81 bool Matcher(const base::NativeEvent& event) { 255 new EventWaiter(closure, &Matcher);
|
/external/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...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 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) [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 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) [all...] |
/external/chromium_org/ui/gfx/image/ |
image_skia.cc | 35 class Matcher { 37 explicit Matcher(float scale) : scale_(scale) { 147 Matcher(image.scale())) == image_reps_.end()) {
|
/external/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 /// EmitMatcher - 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 DAG ISel Matcher representatio [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
Matcher.java | 23 public final class Matcher implements MatchResult { 80 * Creates a matcher for a given combination of pattern and input. Both 88 Matcher(Pattern pattern, CharSequence input) { 105 * @return the {@code Matcher} itself. 109 public Matcher appendReplacement(StringBuffer buffer, String replacement) { 154 * Resets the {@code Matcher}. This results in the region being set to the 159 * @return the {@code Matcher} itself. 161 public Matcher reset() { 166 * Provides a new input and resets the {@code Matcher}. This results in the 174 * @return the {@code Matcher} itself [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. 35 // of performance vs. memory consumption by running matcher 43 // We use memoization to avoid running the same matcher on the same 46 // identifying the matcher), a pointer to the AST node and the 47 // bound nodes before the matcher was executed. 82 // Creates an AST visitor that matches 'matcher' on all children or 86 MatchChildASTVisitor(const DynTypedMatcher *Matcher, 92 : Matcher(Matcher), [all...] |
/external/clang/unittests/ASTMatchers/ |
ASTMatchersTest.cpp | 1 //===- unittest/Tooling/ASTMatchersTest.cpp - AST matcher unit tests ------===// 753 DeclarationMatcher Matcher = enumConstantDecl(hasName("A")); 754 EXPECT_TRUE(matches("enum X{ A };", Matcher)); 755 EXPECT_TRUE(notMatches("enum X{ B };", Matcher)); 756 EXPECT_TRUE(notMatches("enum X {};", Matcher)); 802 TEST(Matcher, BindMatchedNodes) { 826 TEST(Matcher, BindTheSameNameInAlternatives) { 827 StatementMatcher matcher = anyOf( local 836 // The first branch of the matcher binds x to 0 but then fails. 839 matcher, [all...] |
/external/robolectric/lib/main/ |
hamcrest-core-1.2.jar | |
/prebuilts/tools/common/m2/internal/xerces/xercesImpl/2.6.2/ |
xercesImpl-2.6.2.jar | |
/external/jdiff/ |
xerces.jar | |
/prebuilts/sdk/tools/lib/ |
lombok-ast-0.2.jar | |
/prebuilts/tools/common/lombok-ast/ |
lombok-ast-0.2.1.jar | |
lombok-ast-0.2.jar | |