Home
last modified time | relevance | path

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

1234567

/frameworks/base/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/
Dgen-config-from-mk.py19 if conf_patt.match(line.strip()):
23 if split_patt.match(line.strip()):
29 match = var_patt.match(line.strip())
30 if match:
31 print '#define', match.group(1), match.group(2)
33 elif split_patt.match(line.strip()):
/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.java116 public void addObserver(String match, UEventObserver observer) { in addObserver() argument
118 mObservers.add(match); in addObserver()
164 public final synchronized void startObserving(String match) { in startObserving() argument
166 sThread.addObserver(match, this); in startObserving()
/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/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/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/com/google/android/mms/util/
DPduCache.java119 int match = URI_MATCHER.match(uri); in purge() local
120 switch (match) { in purge()
138 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); in purge()
171 int match = URI_MATCHER.match(uri); in normalizeKey() local
174 switch (match) { in normalizeKey()
/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java65 int match = super.lookup(event, content); in lookup() local
67 if (match != 0) { in lookup()
68 return match; in lookup()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccProvider.java237 switch (URL_MATCHER.match(url)) { in query()
284 switch (URL_MATCHER.match(url)) { in getType()
303 int match = URL_MATCHER.match(url); in insert() local
304 switch (match) { in insert()
329 switch (match) { in insert()
370 int match = URL_MATCHER.match(url); in delete() local
371 switch (match) { in delete()
443 int match = URL_MATCHER.match(url); in update() local
444 switch (match) { in update()
/frameworks/base/core/java/android/util/
DDebugUtils.java66 boolean match = false; in isObjectSelected()
90 match |= (value != null ? in isObjectSelected()
103 return match; in isObjectSelected()
/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/content/pm/
DResolveInfo.java75 public int match; field in ResolveInfo
210 + " match=0x" + Integer.toHexString(match) in dump()
238 + preferredOrder + " m=0x" + Integer.toHexString(match) + "}"; in toString()
263 dest.writeInt(match); in writeToParcel()
302 match = source.readInt(); in ResolveInfo()
/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/core/java/android/content/
DIntentFilter.java674 public int match(Uri data) { in match() method in IntentFilter.AuthorityEntry
826 if (pe.match(data)) { in hasDataPath()
857 int match = ae.match(data); in matchDataAuthority() local
858 if (match >= 0) { in matchDataAuthority()
859 return match; in matchDataAuthority()
905 int match = MATCH_CATEGORY_EMPTY; in matchData() local
914 match = MATCH_CATEGORY_SCHEME; in matchData()
923 match = authMatch; in matchData()
925 match = MATCH_CATEGORY_PATH; in matchData()
948 match = MATCH_CATEGORY_TYPE; in matchData()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DPreferredActivity.java39 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) { in PreferredActivity() argument
41 mPref = new PreferredComponent(this, match, set, activity); in PreferredActivity()
/frameworks/base/services/java/com/android/server/
DIntentResolver.java344 protected R newResult(F filter, int match) { in newResult() argument
519 int match; in buildResolveList() local
545 match = filter.match(action, resolvedType, scheme, data, categories, TAG); in buildResolveList()
546 if (match >= 0) { in buildResolveList()
548 Integer.toHexString(match)); in buildResolveList()
550 final R oneResult = newResult(filter, match); in buildResolveList()
560 switch (match) { in buildResolveList()
/frameworks/base/core/java/android/provider/
DTelephony.java1360 Matcher match = NAME_ADDR_EMAIL_PATTERN.matcher(address); in extractAddrSpec() local
1362 if (match.matches()) { in extractAddrSpec()
1363 return match.group(2); in extractAddrSpec()
1380 Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); in isEmailAddress() local
1381 return match.matches(); in isEmailAddress()
1395 Matcher match = Patterns.PHONE.matcher(number); in isPhoneNumber() local
1396 return match.matches(); in isPhoneNumber()
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java293 TrieNode match = longestMatch(getResources().getSmileys(), this, nextChar, in parseSmiley() local
295 if (match == null) { in parseSmiley()
299 int nextCharClass = getCharClass(nextChar + match.getText().length()); in parseSmiley()
304 addToken(new Smiley(match.getText())); in parseSmiley()
305 nextChar += match.getText().length(); in parseSmiley()
316 TrieNode match = longestMatch(getResources().getAcronyms(), this, nextChar); in parseAcronym() local
317 if (match == null) { in parseAcronym()
320 addToken(new Acronym(match.getText(), match.getValue())); in parseAcronym()
321 nextChar += match.getText().length(); in parseAcronym()
/frameworks/base/core/java/android/app/
DInstrumentation.java555 final boolean match(Context who, in match() method in Instrumentation.ActivityMonitor
560 && mWhich.match(who.getContentResolver(), intent, in match()
1056 am.match(activity, activity, activity.getIntent()); in callActivityOnCreate()
1086 am.match(activity, activity, activity.getIntent()); in callActivityOnDestroy()
1161 am.match(activity, activity, activity.getIntent()); in callActivityOnResume()
1367 if (am.match(who, null, intent)) { in execStartActivity()
1406 if (am.match(who, null, intents[0])) { in execStartActivities()
1465 if (am.match(who, null, intent)) { in execStartActivity()
/frameworks/base/wifi/java/android/net/wifi/
DWifiMonitor.java559 Matcher match = mConnectedEventPattern.matcher(data); in handleNetworkStateChange() local
560 if (!match.find()) { in handleNetworkStateChange()
563 BSSID = match.group(1); in handleNetworkStateChange()
565 networkId = Integer.parseInt(match.group(2)); in handleNetworkStateChange()
/frameworks/base/media/libstagefright/foundation/
DAString.cpp256 const char *match = strstr(mData + start, substring); in find() local
258 if (match == NULL) { in find()
262 return match - mData; in find()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java141 int cat = ri.match&IntentFilter.MATCH_CATEGORY_MASK; in onIntentSelected()
169 if (a.match(data) >= 0) { in onIntentSelected()
182 if (p.match(path)) { in onIntentSelected()
199 if (r.match > bestMatch) bestMatch = r.match; in onIntentSelected()

1234567