/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 90 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); local 92 if (matches.size() > 0) { 93 for (ResolveInfo info : matches) { 120 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); local 121 if (matches.size() > 0) { 128 if (!findActivity(matches, component)) { 138 int count = matches.size(); 140 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/chromium/chrome/browser/extensions/ |
convert_user_script.cc | 103 ListValue* matches = new ListValue(); local 106 matches->Append(Value::CreateStringValue( 110 // TODO(aa): Derive tighter matches where possible. 111 matches->Append(Value::CreateStringValue("http://*/*")); 112 matches->Append(Value::CreateStringValue("https://*/*")); 124 content_script->Set(keys::kMatches, matches);
|
/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/Source/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/tc/ |
q_netem.c | 145 if (matches(*argv, "limit") == 0) { 151 } else if (matches(*argv, "latency") == 0 || 152 matches(*argv, "delay") == 0) { 175 } else if (matches(*argv, "loss") == 0 || 176 matches(*argv, "drop") == 0) { 190 } else if (matches(*argv, "reorder") == 0) { 205 } else if (matches(*argv, "corrupt") == 0) { 220 } else if (matches(*argv, "gap") == 0) { 226 } else if (matches(*argv, "duplicate") == 0) { 239 } else if (matches(*argv, "distribution") == 0) [all...] |
f_fw.c | 71 if (matches(*argv, "classid") == 0 || 72 matches(*argv, "flowid") == 0) { 80 } else if (matches(*argv, "police") == 0) { 87 } else if (matches(*argv, "action") == 0) {
|
/external/iproute2/ip/ |
iplink.c | 190 if (matches(*argv, "mac") == 0) { 198 } else if (matches(*argv, "vlan") == 0) { 208 if (matches(*argv, "qos") == 0) { 219 } else if (matches(*argv, "rate") == 0) { 268 } else if (matches(*argv, "link") == 0) { 271 } else if (matches(*argv, "address") == 0) { 277 } else if (matches(*argv, "broadcast") == 0 || 284 } else if (matches(*argv, "txqueuelen") == 0 || 286 matches(*argv, "txqlen") == 0) { 365 } else if (matches(*argv, "dynamic") == 0) [all...] |
iproute.c | 613 } else if (matches(*argv, "realms") == 0) { 724 matches(*argv, "dsfield") == 0) { 730 } else if (matches(*argv, "metric") == 0 || 731 matches(*argv, "priority") == 0 || 732 matches(*argv, "preference") == 0) { 780 } else if (matches(*argv, "reordering") == 0) { 811 } else if (matches(*argv, "window") == 0) { 821 } else if (matches(*argv, "cwnd") == 0) { 831 } else if (matches(*argv, "initcwnd") == 0) { 841 } else if (matches(*argv, "initrwnd") == 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)
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbSettingsManager.java | 168 private boolean matches(int clasz, int subclass, int protocol) { method in class:UsbSettingsManager.DeviceFilter 174 public boolean matches(UsbDevice device) { method in class:UsbSettingsManager.DeviceFilter 179 if (matches(device.getDeviceClass(), device.getDeviceSubclass(), 186 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), 193 public boolean matches(DeviceFilter f) { method in class:UsbSettingsManager.DeviceFilter 198 return matches(f.mClass, f.mSubclass, f.mProtocol); 301 public boolean matches(UsbAccessory acc) { method in class:UsbSettingsManager.AccessoryFilter 308 public boolean matches(AccessoryFilter f) { method in class:UsbSettingsManager.AccessoryFilter 466 // Checks to see if a package matches a device or accessory. 485 if (filter.matches(device)) 506 ArrayList<ResolveInfo> matches = new ArrayList<ResolveInfo>(); local 521 ArrayList<ResolveInfo> matches = new ArrayList<ResolveInfo>(); local 539 ArrayList<ResolveInfo> matches; local 566 ArrayList<ResolveInfo> matches; local [all...] |
/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/Source/WebCore/platform/graphics/android/ |
GLExtras.cpp | 59 // Put a cap on the number of matches to draw. If the current page has more 60 // matches than this, only draw the focused match. This both prevents clutter 175 WTF::Vector<MatchInfo>* matches = m_findOnPage->matches(); local 176 XLOG("drawFindOnPage, matches: %p", matches); 177 if (!matches || !m_findOnPage->isCurrentLocationValid()) 179 int count = matches->size(); 184 MatchInfo& info = matches->at(i); 197 MatchInfo& info = matches->at(current) [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 77 if (matches(hostName, firstCn)) { 82 if (matches(hostName, cn)) { 91 * Returns true if {@code hostname} matches {@code cn}. 97 private boolean matches(String hostName, String cn) { method in class:DefaultHostnameVerifier 106 // When a wildcard matches, also check that the wildcard is legit
|
/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);
|
/external/chromium/chrome/browser/autocomplete/ |
history_quick_provider.h | 66 // matches (|matches|) to highlight where terms were found. 68 const history::TermMatches& matches,
|
/external/easymock/src/org/easymock/internal/matchers/ |
Captures.java | 45 public boolean matches(Object actual) {
method in class:Captures
|
Compare.java | 46 public boolean matches(Object actual) {
method in class:Compare
|
Equals.java | 33 public boolean matches(Object actual) {
method in class:Equals
|
/external/icu4c/common/ |
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
|
/external/icu4c/i18n/ |
quant.h | 70 virtual UMatchDegree matches(const Replaceable& text, 87 * @return true if this rule matches the given index value.
|
/external/iptables/iptables/ |
xshared.h | 58 struct xtables_rule_match *matches; member in struct:iptables_command_state
|
/external/jsr305/ri/src/main/java/javax/annotation/ |
MatchesPattern.java | 24 if (p.matcher(((String) value)).matches())
|
/external/proguard/src/proguard/classfile/visitor/ |
ClassNameFilter.java | 31 * matches a given regular expression. 110 return regularExpressionMatcher.matches(name);
|
/external/webkit/Source/WebKit/win/ |
WebUserContentURLPattern.h | 53 virtual HRESULT STDMETHODCALLTYPE matchesSubdomains(BOOL* matches);
|