/external/webkit/WebCore/page/ |
UserContentURLPattern.h | 44 bool matches(const KURL&) const;
|
UserContentURLPattern.cpp | 41 if (contentPattern.matches(url)) { 52 if (contentPattern.matches(url)) { 112 bool UserContentURLPattern::matches(const KURL& test) const function in class:WebCore::UserContentURLPattern
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
LevenshteinSuggestionFormatter.java | 45 final int[] matches = findMatches(queryTokens, suggestionTokens); local 49 Log.d(TAG, "matches = " + matches); 53 final int matchesLen = matches.length; 57 int thisMatch = matches[i]; 78 * position i means that target token i matches source token n. A negative value means that
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameDistance.java | 110 int matches = 0; local 127 matches++; 133 if (matches == 0) { 151 float m = matches;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/ |
BaseBuilderTest.java | 31 assertEquals(true, m.matches());
|
/external/iproute2/tc/ |
q_htb.c | 73 if (matches(*argv, "r2q") == 0) { 78 } else if (matches(*argv, "default") == 0) { 83 } else if (matches(*argv, "debug") == 0) { 119 if (matches(*argv, "prio") == 0) { 125 } else if (matches(*argv, "mtu") == 0) { 130 } else if (matches(*argv, "mpu") == 0) { 135 } else if (matches(*argv, "overhead") == 0) { 140 } else if (matches(*argv, "linklayer") == 0) { 145 } else if (matches(*argv, "quantum") == 0) { 150 } else if (matches(*argv, "burst") == 0 | [all...] |
q_netem.c | 147 if (matches(*argv, "limit") == 0) { 153 } else if (matches(*argv, "latency") == 0 || 154 matches(*argv, "delay") == 0) { 177 } else if (matches(*argv, "loss") == 0 || 178 matches(*argv, "drop") == 0) { 192 } else if (matches(*argv, "reorder") == 0) { 207 } else if (matches(*argv, "corrupt") == 0) { 222 } else if (matches(*argv, "gap") == 0) { 228 } else if (matches(*argv, "duplicate") == 0) { 241 } else if (matches(*argv, "distribution") == 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 154 if (m.matches()) { 160 if (m.matches()) { 182 if (m.matches()) { 207 if (m.matches()) { 229 if (m.matches()) { 245 if (m.matches()) { 269 if (m.matches()) { 285 if (m.matches()) { 301 if (m.matches()) { 316 if (m.matches()) { [all...] |
/build/core/ |
device.mk | 65 $(error No matches for device "$(dn)"), \ 66 $(error Device "$(dn)" ambiguous: matches $(d)) \
|
/external/easymock/src/org/easymock/internal/matchers/ |
ArrayEquals.java | 31 public boolean matches(Object actual) {
method in class:ArrayEquals 61 return super.matches(actual);
|
/external/libvpx/examples/includes/ |
vp8_doc_tools.php | 148 while (preg_match($regexp, $blob, $matches)) 150 $geshi = new GeSHi($matches[1], $lang);
|
/frameworks/base/core/java/android/util/ |
DebugUtils.java | 69 if (object.getClass().getSimpleName().matches(selectors[0])) { 89 value.toString() : "null").matches(pair[1]);
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 373 notes = "Verifies matches() method for predefined.", 381 assertTrue(mat.matches()); 451 mat.matches(); 500 notes = "Verifies matches method for input sequence specified by URL.", 501 method = "matches", 510 assertTrue(mat.matches()); 527 method = "matches", 532 assertTrue(Pattern.compile("\\x61a").matcher("aa").matches()); method 533 // assertTrue(Pattern.matches("\\u0061a", "aa")); 534 assertTrue(Pattern.compile("\\0141a").matcher("aa").matches()); method 535 assertTrue(Pattern.compile("\\\\0777").matcher("?7").matches()); method 545 assertTrue(Pattern.compile("\\\\p{Ll}").matcher("k").matches()); \/\/ Unicode lower case method 546 assertTrue(Pattern.compile("\\\\P{Ll}").matcher("K").matches()); \/\/ Unicode non-lower method 548 assertTrue(Pattern.compile("\\\\p{Lu}").matcher("K").matches()); \/\/ Unicode upper case method 549 assertTrue(Pattern.compile("\\\\P{Lu}").matcher("k").matches()); \/\/ Unicode non-upper method 552 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("k").matches()); method 553 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("K").matches()); method 554 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("K").matches()); method 555 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("k").matches()); method 558 assertFalse(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("k").matches()); method 559 assertTrue(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("K").matches()); method 561 assertTrue(Pattern.compile("[\\\\p{Lu}a-z]").matcher("k").matches()); method 562 assertTrue(Pattern.compile("[a-z\\\\p{Lu}]").matcher("k").matches()); method 564 assertFalse(Pattern.compile("[\\\\p{Lu}a-d]").matcher("k").matches()); method 565 assertTrue(Pattern.compile("[a-d\\\\p{Lu}]").matcher("K").matches()); method 568 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}&&[^G]]]").matcher("K").matches()); method 838 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 91 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); local 93 if (matches.size() > 0) { 94 for (ResolveInfo info : matches) { 121 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); local 122 if (matches.size() > 0) { 129 if (!findActivity(matches, component)) { 139 int count = matches.size(); 141 final ResolveInfo info = matches.get(i);
|
/external/v8/test/mjsunit/ |
regexp-indexof.js | 28 function CheckMatch(re, str, matches) { 29 assertEquals(matches.length > 0, re.test(str)); 31 if (matches.length > 0) { 32 assertEquals(matches.length, result.length); 36 for (var idx = 0; idx < matches.length; idx++) { 37 var from = matches[idx][0]; 38 var length = matches[idx][1];
|
/external/easymock/src/org/easymock/internal/ |
ExpectedInvocation.java | 88 public boolean matches(Invocation actual) {
method in class:ExpectedInvocation 92 && matches(actual.getArguments()) : this.invocation.matches(
96 private boolean matches(Object[] arguments) {
method in class:ExpectedInvocation 101 if (!matchers.get(i).matches(arguments[i])) {
|
/external/webkit/WebCore/xml/ |
XPathPath.cpp | 132 NodeSet matches; local 133 step->evaluate(nodes[j], matches); 135 if (!matches.isSorted()) 138 for (size_t nodeIndex = 0; nodeIndex < matches.size(); ++nodeIndex) { 139 Node* node = matches[nodeIndex];
|
/external/iproute2/ip/ |
iproute.c | 624 } else if (matches(*argv, "realms") == 0) { 735 matches(*argv, "dsfield") == 0) { 741 } else if (matches(*argv, "metric") == 0 || 742 matches(*argv, "priority") == 0 || 743 matches(*argv, "preference") == 0) { 791 } else if (matches(*argv, "reordering") == 0) { 822 } else if (matches(*argv, "window") == 0) { 832 } else if (matches(*argv, "cwnd") == 0) { 842 } else if (matches(*argv, "initcwnd") == 0) { 852 } else if (matches(*argv, "rttvar") == 0) [all...] |
ipmaddr.c | 256 if (matches(*argv, "help") == 0) 294 if (matches(*argv, "address") == 0) { 297 if (matches(*argv, "help") == 0) 333 if (matches(*argv, "add") == 0) 335 if (matches(*argv, "delete") == 0) 337 if (matches(*argv, "list") == 0 || matches(*argv, "show") == 0 338 || matches(*argv, "lst") == 0) 340 if (matches(*argv, "help") == 0)
|
/external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/ |
markdown.php | 376 function _stripLinkDefinitions_callback($matches) { 377 $link_id = strtolower($matches[1]); 378 $this->urls[$link_id] = $matches[2]; 379 $this->titles[$link_id] =& $matches[3]; 521 function _hashHTMLBlocks_callback($matches) { 522 $text = $matches[1]; 662 function _doHardBreaks_callback($matches) { 737 function _doAnchors_reference_callback($matches) { 738 $whole_match = $matches[1]; 739 $link_text = $matches[2] [all...] |
/external/webkit/JavaScriptCore/wrec/ |
CharacterClassConstructor.cpp | 38 void CharacterClassConstructor::addSorted(Vector<UChar>& matches, UChar ch) 41 unsigned range = matches.size(); 47 int val = matches[pos+index] - ch; 58 if (pos == matches.size()) 59 matches.append(ch); 61 matches.insert(pos, ch); 234 // Need to check the spec, really, but think this matches PCRE behaviour. 239 addSorted(m_matches, other.matches[i]);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 318 Pattern.matches(imeiPattern, deviceId)); 383 Pattern.matches(esnPattern, deviceId)); 389 if (deviceId.substring(0, 2).matches("99|98|97")) { 393 Pattern.matches(meidPattern, deviceId)); 398 Pattern.matches(meidPattern, deviceId)); 409 Pattern.matches("[0-9A-Za-z]+", Build.SERIAL)); 416 Pattern.matches(macPattern, macAddress)); 446 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); 452 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
|
/external/chromium/third_party/icu/source/common/ |
triedict.h | 91 virtual int32_t matches( UText *text, 187 virtual int32_t matches( UText *text, 228 * <p>Search the dictionary for matches.</p> 334 virtual int32_t matches( UText *text,
|
unifilt.cpp | 35 * Default implementation of UnicodeMatcher::matches() for Unicode 36 * filters. Matches a single code point at offset (either one or 39 UMatchDegree UnicodeFilter::matches(const Replaceable& text, function in class:UnicodeFilter
|
/bootable/recovery/mtdutils/ |
mounts.c | 120 int matches; local 124 matches = sscanf(bufp, "%63s %63s %63s %127s", 127 if (matches == 4) { 140 printf("matches was %d on <<%.40s>>\n", matches, bufp);
|