/external/iproute2/genl/ |
genl.c | 123 if (matches(argv[1], "-stats") == 0 || 124 matches(argv[1], "-statistics") == 0) { 126 } else if (matches(argv[1], "-details") == 0) { 128 } else if (matches(argv[1], "-raw") == 0) { 130 } else if (matches(argv[1], "-Version") == 0) { 133 } else if (matches(argv[1], "-help") == 0) { 154 if (matches(argv[1], "help") == 0)
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersMacros.h | 30 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); 50 /// The code should return true if 'Node' matches. 57 virtual bool matches( \ 66 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 82 /// The code should return true if 'Node' matches. 90 virtual bool matches( \ 101 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 118 /// The code should return true if 'Node' matches. 128 virtual bool matches( \ 142 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ [all...] |
ASTMatchersInternal.h | 13 // Matches(...) which is a predicate on an AST node. The Matches method's 105 /// If a match can contain multiple matches on the same node with different 135 /// \brief Visits all matches that this BoundNodesTree represents. 203 virtual bool matches(const T &Node, 213 /// \brief Returns true if the matcher matches the provided node. 215 /// A subclass must implement this instead of Matches(). 219 /// Implements MatcherInterface::Matches. 220 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::SingleNodeMatcherInterface 236 /// \brief Returns true if the matcher matches the given \c DynNode 261 bool matches(const T &Node, function in class:clang::ast_matchers::internal::Matcher 283 virtual bool matches(const ast_type_traits::DynTypedNode DynNode, function in class:clang::ast_matchers::internal::Matcher 300 virtual bool matches(const Derived &Node, function in class:clang::ast_matchers::internal::Matcher::ImplicitCastMatcher 333 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasDeclarationMatcher 603 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::DynCastMatcher 625 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::IdMatcher 674 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasMatcher 700 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::ForEachMatcher 724 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::NotMatcher 745 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::AllOfMatcher 770 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::AnyOfMatcher 816 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasDescendantMatcher 839 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasAncestorMatcher 865 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::ForEachDescendantMatcher 920 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::IsTemplateInstantiationMatcher 939 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::IsExplicitTemplateSpecializationMatcher [all...] |
/external/iproute2/ip/ |
iplink_can.c | 105 if (matches(*argv, "bitrate") == 0) { 109 } else if (matches(*argv, "sample-point") == 0) { 117 } else if (matches(*argv, "tq") == 0) { 121 } else if (matches(*argv, "prop-seg") == 0) { 125 } else if (matches(*argv, "phase-seg1") == 0) { 129 } else if (matches(*argv, "phase-seg2") == 0) { 133 } else if (matches(*argv, "sjw") == 0) { 137 } else if (matches(*argv, "loopback") == 0) { 141 } else if (matches(*argv, "listen-only") == 0) { 145 } else if (matches(*argv, "triple-sampling") == 0) [all...] |
link_gre.c | 133 if (!matches(*argv, "key")) { 151 } else if (!matches(*argv, "ikey")) { 166 } else if (!matches(*argv, "okey")) { 181 } else if (!matches(*argv, "seq")) { 184 } else if (!matches(*argv, "iseq")) { 186 } else if (!matches(*argv, "oseq")) { 188 } else if (!matches(*argv, "csum")) { 191 } else if (!matches(*argv, "icsum")) { 193 } else if (!matches(*argv, "ocsum")) { 195 } else if (!matches(*argv, "nopmtudisc")) [all...] |
ipmroute.c | 168 } else if (matches(*argv, "from") == 0) { 175 if (matches(*argv, "help") == 0) 192 if (matches(*argv, "add") == 0) 194 if (matches(*argv, "delete") == 0) 196 if (matches(*argv, "get") == 0) 199 if (matches(*argv, "list") == 0 || matches(*argv, "show") == 0 200 || matches(*argv, "lst") == 0) 202 if (matches(*argv, "help") == 0)
|
/external/guava/guava/src/com/google/common/base/ |
CharMatcher.java | 37 * "any character {@code c} for which {@code this.matches(c)} returns {@code true}". 121 @Override public boolean matches(char c) { 132 @Override public boolean matches(char c) { 142 @Override public boolean matches(char c) { 152 @Override public boolean matches(char c) { 162 @Override public boolean matches(char c) { 216 /** Matches any character. */ 219 @Override public boolean matches(char c) { 296 /** Matches no characters. */ 299 @Override public boolean matches(char c) [all...] |
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 286 assertTrue(mat.matches()); 331 mat.matches(); 378 assertTrue(mat.matches()); 388 assertTrue(Pattern.compile("\\x61a").matcher("aa").matches()); method 389 // assertTrue(Pattern.matches("\\u0061a", "aa")); 390 assertTrue(Pattern.compile("\\0141a").matcher("aa").matches()); method 391 assertTrue(Pattern.compile("\\0777").matcher("?7").matches()); method 396 assertTrue(Pattern.compile("\\p{Ll}").matcher("k").matches()); // Unicode lower case method 397 assertTrue(Pattern.compile("\\P{Ll}").matcher("K").matches()); // Unicode non-lower method 399 assertTrue(Pattern.compile("\\p{Lu}").matcher("K").matches()); // Unicode upper cas method 400 assertTrue(Pattern.compile("\\\\P{Lu}").matcher("k").matches()); \/\/ Unicode non-upper method 403 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("k").matches()); method 404 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("K").matches()); method 405 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("K").matches()); method 406 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("k").matches()); method 409 assertFalse(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("k").matches()); method 410 assertTrue(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("K").matches()); method 412 assertTrue(Pattern.compile("[\\\\p{Lu}a-z]").matcher("k").matches()); method 413 assertTrue(Pattern.compile("[a-z\\\\p{Lu}]").matcher("k").matches()); method 415 assertFalse(Pattern.compile("[\\\\p{Lu}a-d]").matcher("k").matches()); method 416 assertTrue(Pattern.compile("[a-d\\\\p{Lu}]").matcher("K").matches()); method 419 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}&&[^G]]]").matcher("K").matches()); method 596 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/external/iproute2/tc/ |
tc_filter.c | 103 } else if (matches(*argv, "preference") == 0 || 104 matches(*argv, "priority") == 0) { 110 } else if (matches(*argv, "protocol") == 0) { 119 } else if (matches(*argv, "estimator") == 0) { 122 } else if (matches(*argv, "help") == 0) { 151 if (matches(*argv, "help") == 0) 300 } else if (matches(*argv, "preference") == 0 || 301 matches(*argv, "priority") == 0) { 308 } else if (matches(*argv, "protocol") == 0) { 317 } else if (matches(*argv, "help") == 0) [all...] |
m_police.c | 79 if (matches(arg, "continue") == 0) 81 else if (matches(arg, "drop") == 0) 83 else if (matches(arg, "shot") == 0) 85 else if (matches(arg, "pass") == 0) 89 else if (matches(arg, "reclassify") == 0) 91 else if (matches(arg, "pipe") == 0) 153 if (matches(*argv, "index") == 0) { 159 } else if (matches(*argv, "burst") == 0 || 212 } else if (matches(*argv, "peakrate") == 0) { 222 } else if (matches(*argv, "reclassify") == 0) [all...] |
m_estimator.c | 46 if (matches(*argv, "help") == 0) 51 if (matches(*argv, "help") == 0)
|
/cts/tests/tests/os/src/android/os/cts/ |
BuildTest.java | 130 assertTrue(BOARD_PATTERN.matcher(Build.BOARD).matches()); 132 assertTrue(BRAND_PATTERN.matcher(Build.BRAND).matches()); 134 assertTrue(DEVICE_PATTERN.matcher(Build.DEVICE).matches()); 138 assertTrue(HARDWARE_PATTERN.matcher(Build.HARDWARE).matches()); 142 assertTrue(ID_PATTERN.matcher(Build.ID).matches()); 148 assertTrue(PRODUCT_PATTERN.matcher(Build.PRODUCT).matches()); 150 assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); 152 assertTrue(TAGS_PATTERN.matcher(Build.TAGS).matches()); 156 assertTrue(TYPE_PATTERN.matcher(Build.TYPE).matches());
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_index.cc | 84 Matches matches; 86 if (!GetBookmarksWithTitleMatchingTerm(terms[i], i == 0, &matches)) 91 SortMatches(matches, &node_typed_counts); 95 // matches and so this shouldn't be performance critical. 101 // so that the best matches will always be included in the results. The loop 104 // best matches. 110 void BookmarkIndex::SortMatches(const Matches& matches, 118 for (Matches::const_iterator i = matches.begin(); i != matches.end(); ++i [all...] |
/external/chromium/chrome/browser/autocomplete/ |
extension_app_provider_unittest.cc | 74 ACMatches matches; local 80 matches = app_provider_->matches(); 81 EXPECT_EQ(keyword_cases[i].num_results, matches.size()) 83 if (matches.size() == keyword_cases[i].num_results) { 85 EXPECT_EQ(keyword_cases[i].output[j], matches[j].destination_url);
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 215 char *expect, char *matches, const char *fail) 292 if (matches == NULL) 299 if (matches) 301 p = strchr (matches, ','); 305 ret = check_match (rm, n, string, matches ? matches : "-", fail); 309 matches = p + 1; 312 matches = NULL; 320 char *expect, const char *matches, const char *letters, 327 char *matches_mb = mb_frob_string (matches, letters) 440 char *pattern, *flagstr, *string, *expect, *matches, *p; local [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
And.java | 34 public boolean matches(Object actual) {
method in class:And 36 if (!matcher.matches(actual)) {
|
Or.java | 34 public boolean matches(Object actual) {
method in class:Or 36 if (matcher.matches(actual)) {
|
/external/hamcrest/src/org/hamcrest/core/ |
AllOf.java | 22 public boolean matches(Object o) { method in class:AllOf 24 if (!matcher.matches(o)) {
|
AnyOf.java | 23 public boolean matches(Object o) { method in class:AnyOf 25 if (matcher.matches(o)) {
|
Is.java | 25 public boolean matches(Object arg) { method in class:Is 26 return matcher.matches(arg);
|
IsNot.java | 22 public boolean matches(Object arg) { method in class:IsNot 23 return !matcher.matches(arg);
|
/external/junit/src/org/junit/internal/matchers/ |
CombinableMatcher.java | 17 public boolean matches(Object item) { method in class:CombinableMatcher 18 return fMatcher.matches(item);
|
Each.java | 14 public boolean matches(Object item) { 15 return allItemsAre.matches(item);
|
/external/webkit/Source/WebCore/svg/ |
SVGURIReference.cpp | 32 if (attr->name().matches(XLinkNames::hrefAttr)) { 42 return attrName.matches(XLinkNames::hrefAttr);
|
/external/chromium/webkit/glue/ |
password_form_dom_manager.h | 49 // preferred_match should equal (address) one of matches. 53 const PasswordFormMap& matches,
|