/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)
|
f_flow.c | 76 if (matches(s, flow_keys[i]) == 0) { 156 if (matches(*argv, "map") == 0) { 158 } else if (matches(*argv, "hash") == 0) { 160 } else if (matches(*argv, "keys") == 0) { 165 } else if (matches(*argv, "and") == 0) { 172 } else if (matches(*argv, "or") == 0) { 179 } else if (matches(*argv, "xor") == 0) { 186 } else if (matches(*argv, "rshift") == 0) { 193 } else if (matches(*argv, "addend") == 0) { 200 } else if (matches(*argv, "divisor") == 0) [all...] |
q_cbq.c | 66 if (matches(*argv, "bandwidth") == 0 || 67 matches(*argv, "rate") == 0) { 73 } else if (matches(*argv, "ewma") == 0) { 83 } else if (matches(*argv, "cell") == 0) { 99 } else if (matches(*argv, "avpkt") == 0) { 105 } else if (matches(*argv, "mpu") == 0) { 111 } else if (matches(*argv, "allot") == 0) { 118 } else if (matches(*argv, "overhead") == 0) { 123 } else if (matches(*argv, "linklayer") == 0) { 128 } else if (matches(*argv, "help") == 0) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BuildTest.java | 132 assertTrue(BOARD_PATTERN.matcher(Build.BOARD).matches()); 134 assertTrue(BRAND_PATTERN.matcher(Build.BRAND).matches()); 136 assertTrue(DEVICE_PATTERN.matcher(Build.DEVICE).matches()); 140 assertTrue(HARDWARE_PATTERN.matcher(Build.HARDWARE).matches()); 144 assertTrue(ID_PATTERN.matcher(Build.ID).matches()); 150 assertTrue(PRODUCT_PATTERN.matcher(Build.PRODUCT).matches()); 152 assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); 154 assertTrue(TAGS_PATTERN.matcher(Build.TAGS).matches()); 158 assertTrue(TYPE_PATTERN.matcher(Build.TYPE).matches());
|
/external/iproute2/ip/ |
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/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)) {
|
Contains.java | 32 public boolean matches(Object actual) {
method in class:Contains
|
EndsWith.java | 32 public boolean matches(Object actual) {
method in class:EndsWith
|
InstanceOf.java | 32 public boolean matches(Object actual) {
method in class:InstanceOf
|
StartsWith.java | 32 public boolean matches(Object actual) {
method in class:StartsWith
|
/external/webkit/Source/WebCore/svg/ |
SVGURIReference.cpp | 32 if (attr->name().matches(XLinkNames::hrefAttr)) { 42 return attrName.matches(XLinkNames::hrefAttr);
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 269 assertTrue(mat.matches()); 314 mat.matches(); 361 assertTrue(mat.matches()); 371 assertTrue(Pattern.compile("\\x61a").matcher("aa").matches()); method 372 // assertTrue(Pattern.matches("\\u0061a", "aa")); 373 assertTrue(Pattern.compile("\\0141a").matcher("aa").matches()); method 374 assertTrue(Pattern.compile("\\0777").matcher("?7").matches()); method 379 assertTrue(Pattern.compile("\\p{Ll}").matcher("k").matches()); // Unicode lower case method 380 assertTrue(Pattern.compile("\\P{Ll}").matcher("K").matches()); // Unicode non-lower method 382 assertTrue(Pattern.compile("\\p{Lu}").matcher("K").matches()); // Unicode upper cas method 383 assertTrue(Pattern.compile("\\\\P{Lu}").matcher("k").matches()); \/\/ Unicode non-upper method 386 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("k").matches()); method 387 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("K").matches()); method 388 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("K").matches()); method 389 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("k").matches()); method 392 assertFalse(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("k").matches()); method 393 assertTrue(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("K").matches()); method 395 assertTrue(Pattern.compile("[\\\\p{Lu}a-z]").matcher("k").matches()); method 396 assertTrue(Pattern.compile("[a-z\\\\p{Lu}]").matcher("k").matches()); method 398 assertFalse(Pattern.compile("[\\\\p{Lu}a-d]").matcher("k").matches()); method 399 assertTrue(Pattern.compile("[a-d\\\\p{Lu}]").matcher("K").matches()); method 402 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}&&[^G]]]").matcher("K").matches()); method 579 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/external/chromium/webkit/glue/ |
password_form_dom_manager.h | 49 // preferred_match should equal (address) one of matches. 53 const PasswordFormMap& matches,
|
/external/clang/lib/Driver/ |
ArgList.cpp | 30 if (O.matches(Id0) || 31 (Id1.isValid() && O.matches(Id1)) || 32 (Id2.isValid() && O.matches(Id2))) 51 if ((*it)->getOption().matches(Id)) { 63 if ((*it)->getOption().matches(Id)) 71 if ((*it)->getOption().matches(Id)) { 83 if ((*it)->getOption().matches(Id0) || 84 (*it)->getOption().matches(Id1)) { 98 if ((*it)->getOption().matches(Id0) || 99 (*it)->getOption().matches(Id1) | [all...] |
/external/icu4c/common/unicode/ |
unifilt.h | 88 virtual UMatchDegree matches(const Replaceable& text,
|
unimatch.h | 26 * Constants returned by <code>UnicodeMatcher::matches()</code> 32 * Constant returned by <code>matches()</code> indicating a 41 * Constant returned by <code>matches()</code> indicating a 53 * Constant returned by <code>matches()</code> indicating a 56 * the given text matches, and it is known that additional 123 virtual UMatchDegree matches(const Replaceable& text,
|
/external/libvpx/examples/ |
gen_example_doxy.php | 61 while (preg_match($regexp, $page_body, $matches) > 0) 65 $block_new = $matches[1]; 76 while (preg_match($regexp, $page_body, $matches)) 78 $geshi = new GeSHi($matches[1], $language);
|
/external/proguard/src/proguard/util/ |
ExtensionMatcher.java | 46 public boolean matches(String string) method in class:ExtensionMatcher
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogCatViewerFilter.java | 44 return mFilter.matches(m);
|