Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 220) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h26 UInt end, match; in zero_run_search() local
31 match = 1 << 31; in zero_run_search()
37 while (match >= end) in zero_run_search()
39 if ((match&bitmapzz[0]) == 0) in zero_run_search()
43 match >>= 1; in zero_run_search()
47 match >>= 1; in zero_run_search()
72 match = 1 << 31; in zero_run_search()
74 while (match >= end) in zero_run_search()
76 if ((match&bitmapzz[1]) == 0) in zero_run_search()
80 match >>= 1; in zero_run_search()
[all …]
/frameworks/compile/libbcc/tools/build/
Dgen-config-from-mk.py36 if conf_patt.match(line.strip()):
42 if split_patt.match(line.strip()):
48 match = var_patt.match(line.strip())
49 if match:
50 print '#define', match.group(1), match.group(2)
52 elif split_patt.match(line.strip()):
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java173 Matcher match; in WifiP2pDevice() local
185 match = twoTokenPattern.matcher(string); in WifiP2pDevice()
186 if (!match.find()) { in WifiP2pDevice()
189 deviceAddress = match.group(2); in WifiP2pDevice()
192 match = threeTokenPattern.matcher(string); in WifiP2pDevice()
193 if (!match.find()) { in WifiP2pDevice()
196 deviceAddress = match.group(1); in WifiP2pDevice()
199 match = detailedDevicePattern.matcher(string); in WifiP2pDevice()
200 if (!match.find()) { in WifiP2pDevice()
204 deviceAddress = match.group(3); in WifiP2pDevice()
[all …]
DWifiP2pGroup.java110 Matcher match = groupStartedPattern.matcher(supplicantEvent); in WifiP2pGroup() local
111 if (!match.find()) { in WifiP2pGroup()
115 mNetworkName = match.group(1); in WifiP2pGroup()
119 mPassphrase = match.group(4); in WifiP2pGroup()
120 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup()
121 if (match.group(6) != null) { in WifiP2pGroup()
/frameworks/base/core/java/android/os/
DPatternMatcher.java64 public boolean match(String str) { in match() method in PatternMatcher
109 static boolean matchPattern(String pattern, String match, int type) { in matchPattern() argument
110 if (match == null) return false; in matchPattern()
112 return pattern.equals(match); in matchPattern()
114 return match.startsWith(pattern); in matchPattern()
121 return match.length() <= 0; in matchPattern()
123 final int NM = match.length(); in matchPattern()
152 if (match.charAt(im) == nextChar) { in matchPattern()
168 if (match.charAt(im) != c) { in matchPattern()
177 if (c != '.' && match.charAt(im) != c) return false; in matchPattern()
DUEventObserver.java49 private static native void nativeAddMatch(String match); in nativeAddMatch() argument
50 private static native void nativeRemoveMatch(String match); in nativeRemoveMatch() argument
96 public final void startObserving(String match) { in startObserving() argument
97 if (match == null || match.isEmpty()) { in startObserving()
102 t.addObserver(match, this); in startObserving()
216 public void addObserver(String match, UEventObserver observer) { in addObserver() argument
218 mKeysAndObservers.add(match); in addObserver()
220 nativeAddMatch(match); in addObserver()
230 final String match = (String)mKeysAndObservers.remove(i); in removeObserver() local
231 nativeRemoveMatch(match); in removeObserver()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java89 int match = sURLMatcher.match(url); in query() local
90 switch (match) { in query()
118 int match = sURLMatcher.match(url); in getType() local
119 switch (match) { in getType()
133 int match = sURLMatcher.match(url); in update() local
135 switch (match) { in update()
/frameworks/base/core/jni/
Dandroid_os_UEventObserver.cpp48 const String8& match = gMatches.itemAt(i); in isMatch() local
54 if (strstr(field, match.string())) { in isMatch()
55 ALOGV("Matched uevent message with pattern: %s", match.string()); in isMatch()
88 ScopedUtfChars match(env, matchStr); in nativeAddMatch() local
91 gMatches.add(String8(match.c_str())); in nativeAddMatch()
95 ScopedUtfChars match(env, matchStr); in nativeRemoveMatch() local
99 if (gMatches.itemAt(i) == match.c_str()) { in nativeRemoveMatch()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java65 int match = sURLMatcher.match(url); in query() local
66 switch (match) { in query()
87 int match = sURLMatcher.match(url); in getType() local
88 switch (match) { in getType()
/frameworks/base/tools/aapt/
DResourceFilter.cpp73 ResourceFilter::match(int axis, uint32_t value) const in match() function in ResourceFilter
89 ResourceFilter::match(int axis, const ResTable_config& config) const in match() function in ResourceFilter
91 return match(axis, AaptGroupEntry::getConfigValueForAxis(config, axis)); in match()
95 ResourceFilter::match(const ResTable_config& config) const in match() function in ResourceFilter
98 if (!match(i, AaptGroupEntry::getConfigValueForAxis(config, i))) { in match()
DResourceFilter.h22 bool match(int axis, uint32_t value) const;
23 bool match(int axis, const ResTable_config& config) const;
24 bool match(const ResTable_config& config) const;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java79 switch (URL_MATCHER.match(url)) { in query()
96 switch (URL_MATCHER.match(url)) { in getType()
115 int match = URL_MATCHER.match(url); in insert() local
116 switch (match) { in insert()
141 switch (match) { in insert()
182 int match = URL_MATCHER.match(url); in delete() local
183 switch (match) { in delete()
250 int match = URL_MATCHER.match(url); in update() local
251 switch (match) { in update()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java120 int match = sURLMatcher.match(url); in getType() local
121 switch (match) { in getType()
133 int match = sURLMatcher.match(url); in openFile() local
134 switch (match) { in openFile()
/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java69 int match = super.lookup(event, content); in lookup() local
71 if (match != 0) { in lookup()
72 return match; in lookup()
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DPduCache.java134 int match = URI_MATCHER.match(uri); in purge() local
135 switch (match) { in purge()
153 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); in purge()
188 int match = URI_MATCHER.match(uri); in normalizeKey() local
191 switch (match) { in normalizeKey()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd83 <div class="jd-descrdiv">Set the search criteria to match widgets that are checkable.</div>
101 <div class="jd-descrdiv">Set the search criteria to match widgets that
138 <div class="jd-descrdiv">Set the search criteria to match the class property
157 <div class="jd-descrdiv">Set the search criteria to match the class property
176 <div class="jd-descrdiv">Set the search criteria to match the class property
195 <div class="jd-descrdiv">Set the search criteria to match widgets that are clickable.</div>
213 <div class="jd-descrdiv">Set the search criteria to match the content-description
232 <div class="jd-descrdiv">Set the search criteria to match the content-description
251 <div class="jd-descrdiv">Set the search criteria to match the content-description
270 <div class="jd-descrdiv">Set the search criteria to match the content-description
[all …]
DUiWatcher.jd33 … is unable to find a match using the <code><a href="UiSelector.html">UiSelector</a></code>.</div>
67 … the framework is unable to find a match using the <code><a href="UiSelector.html">UiSelector</a><…
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java87 public int match; field in ResolveInfo
229 + " match=0x" + Integer.toHexString(match) in dump()
262 match = orig.match; in ResolveInfo()
287 sb.append(Integer.toHexString(match)); in toString()
317 dest.writeInt(match); in writeToParcel()
359 match = source.readInt(); in ResolveInfo()
/frameworks/base/core/java/android/util/
DDebugUtils.java67 boolean match = false; in isObjectSelected()
91 match |= (value != null ? in isObjectSelected()
104 return match; in isObjectSelected()
/frameworks/base/core/java/android/content/
DIntentFilter.java694 public int match(Uri data) { in match() method in IntentFilter.AuthorityEntry
788 if (pe.match(data)) { in hasDataSchemeSpecificPart()
938 if (pe.match(data)) { in hasDataPath()
969 int match = ae.match(data); in matchDataAuthority() local
970 if (match >= 0) { in matchDataAuthority()
971 return match; in matchDataAuthority()
1019 int match = MATCH_CATEGORY_EMPTY; in matchData() local
1028 match = MATCH_CATEGORY_SCHEME; in matchData()
1035 match = hasDataSchemeSpecificPart(data.getSchemeSpecificPart()) in matchData()
1038 if (match != MATCH_CATEGORY_SCHEME_SPECIFIC_PART) { in matchData()
[all …]
/frameworks/base/tools/preload/
Dsorttable.js81 if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
82 mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/);
172 if (text.match(/^-?[�$�]?[\d,.]+%?$/)) {
178 possdate = text.match(sorttable.DATE_RE)
272 mtch = a[0].match(sorttable.DATE_RE);
277 mtch = b[0].match(sorttable.DATE_RE);
287 mtch = a[0].match(sorttable.DATE_RE);
292 mtch = b[0].match(sorttable.DATE_RE);
/frameworks/base/core/java/android/text/util/
DLinkify.java143 public final String transformUrl(final Matcher match, String url) {
144 return Patterns.digitsAndPlusOnly(match);
194 String transformUrl(final Matcher match, String url); in transformUrl() argument
454 for (PhoneNumberMatch match : matches) { in gatherTelLinks()
456 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString()); in gatherTelLinks()
457 spec.start = match.start(); in gatherTelLinks()
458 spec.end = match.end(); in gatherTelLinks()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java231 int match = receiver.filter.match(action, type, scheme, data, in sendBroadcast() local
233 if (match >= 0) { in sendBroadcast()
235 Integer.toHexString(match)); in sendBroadcast()
244 switch (match) { in sendBroadcast()
/frameworks/base/services/java/com/android/server/pm/
DPreferredActivity.java39 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, in PreferredActivity() argument
42 mPref = new PreferredComponent(this, match, set, activity, always); in PreferredActivity()
/frameworks/base/services/java/com/android/server/
DIntentResolver.java351 protected R newResult(F filter, int match, int userId) { in newResult() argument
540 int match; in buildResolveList() local
566 match = filter.match(action, resolvedType, scheme, data, categories, TAG); in buildResolveList()
567 if (match >= 0) { in buildResolveList()
569 Integer.toHexString(match) + " hasDefault=" in buildResolveList()
572 final R oneResult = newResult(filter, match, userId); in buildResolveList()
587 switch (match) { in buildResolveList()

123456789