Home
last modified time | relevance | path

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

1234567891011

/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/base/tools/aapt/tests/
DResourceFilter_test.cpp37 EXPECT_TRUE(filter.match(config)); in TEST()
42 EXPECT_TRUE(filter.match(config)); in TEST()
52 EXPECT_TRUE(filter.match(config)); in TEST()
63 EXPECT_TRUE(filter.match(config)); in TEST()
75 EXPECT_TRUE(filter.match(config)); in TEST()
86 EXPECT_TRUE(filter.match(config)); in TEST()
97 EXPECT_FALSE(filter.match(config)); in TEST()
110 EXPECT_FALSE(filter.match(config)); in TEST()
123 EXPECT_TRUE(filter.match(config)); in TEST()
134 EXPECT_TRUE(filter.match(config)); in TEST()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DAuthMatch.java35 public static String toString(int match) { in toString() argument
36 if (match < 0) { in toString()
39 else if (match == 0) { in toString()
44 if ((match & REALM) != 0) { in toString()
47 if ((match & METHOD) != 0) { in toString()
50 if ((match & PARAM) != 0) { in toString()
DDomainMatcher.java53 Label(int match) { in Label() argument
54 mMatch = match; in Label()
64 public void addDomain(Iterator<String> labels, int match) { in addDomain() argument
75 subLabel.addDomain(labels, match); in addDomain()
78 subLabel.mMatch = match; in addDomain()
165 int match = MATCH_NONE; in isSubDomain() local
171 match = label.getMatch(); in isSubDomain()
172 if (match == MATCH_PRIMARY) { in isSubDomain()
177 return match; in isSubDomain()
/frameworks/base/core/java/android/os/
DPatternMatcher.java112 public boolean match(String str) { in match() method in PatternMatcher
172 static boolean matchPattern(String match, String pattern, int[] parsedPattern, int type) { in matchPattern() argument
173 if (match == null) return false; in matchPattern()
175 return pattern.equals(match); in matchPattern()
177 return match.startsWith(pattern); in matchPattern()
179 return matchGlobPattern(pattern, match); in matchPattern()
181 return matchAdvancedPattern(parsedPattern, match); in matchPattern()
186 static boolean matchGlobPattern(String pattern, String match) { in matchGlobPattern() argument
189 return match.length() <= 0; in matchGlobPattern()
191 final int NM = match.length(); in matchGlobPattern()
[all …]
DUEventObserver.java50 private static native void nativeAddMatch(String match); in nativeAddMatch() argument
51 private static native void nativeRemoveMatch(String match); in nativeRemoveMatch() argument
99 public final void startObserving(String match) { in startObserving() argument
100 if (match == null || match.isEmpty()) { in startObserving()
105 t.addObserver(match, this); in startObserving()
223 public void addObserver(String match, UEventObserver observer) { in addObserver() argument
225 mKeysAndObservers.add(match); in addObserver()
227 nativeAddMatch(match); in addObserver()
237 final String match = (String)mKeysAndObservers.remove(i); in removeObserver() local
238 nativeRemoveMatch(match); in removeObserver()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java189 Matcher match; in WifiP2pDevice() local
201 match = twoTokenPattern.matcher(string); in WifiP2pDevice()
202 if (!match.find()) { in WifiP2pDevice()
205 deviceAddress = match.group(2); in WifiP2pDevice()
208 match = threeTokenPattern.matcher(string); in WifiP2pDevice()
209 if (!match.find()) { in WifiP2pDevice()
212 deviceAddress = match.group(1); in WifiP2pDevice()
215 match = detailedDevicePattern.matcher(string); in WifiP2pDevice()
216 if (!match.find()) { in WifiP2pDevice()
220 deviceAddress = match.group(3); in WifiP2pDevice()
[all …]
DWifiP2pGroup.java116 Matcher match = groupStartedPattern.matcher(supplicantEvent); in WifiP2pGroup() local
117 if (!match.find()) { in WifiP2pGroup()
121 mNetworkName = match.group(1); in WifiP2pGroup()
123 mFrequency = Integer.parseInt(match.group(2)); in WifiP2pGroup()
126 mPassphrase = match.group(4); in WifiP2pGroup()
127 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup()
128 if (match.group(6) != null) { in WifiP2pGroup()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp111 char *match = strcasestr(debugName, term); in GetDebugName() local
112 if (match != NULL && (match == debugName || match[-1] == '.' in GetDebugName()
113 || match[len] == '.' || match[len] == '\0')) { in GetDebugName()
114 char *src = match + len; in GetDebugName()
115 if (match == debugName || match[-1] == '.') { in GetDebugName()
118 memmove(match, src, debugName + strlen(debugName) - src + 1); in GetDebugName()
/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/tools/aapt/
DResourceFilter.h23 virtual bool match(const android::ResTable_config& config) const = 0;
37 bool match(const android::ResTable_config& config) const;
86 bool match(const android::ResTable_config& config) const { in match() function
112 bool match(const android::ResTable_config& config) const { in match() function
113 return !mFilter->match(config); in match()
129 bool match(const android::ResTable_config& config) const { in match() function
132 if (!mFilters[i]->match(config)) { in match()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java113 int match = sURLMatcher.match(url); in query() local
114 switch (match) { in query()
142 int match = sURLMatcher.match(url); in getType() local
143 switch (match) { in getType()
157 int match = sURLMatcher.match(url); in update() local
159 switch (match) { in update()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/
Dpddm.py237 match = _MACRO_RE.match(line)
239 if match is None or match.group(0) != line:
241 name = match.group('name')
242 args_str = match.group('args').strip()
250 if not _MACRO_ARG_NAME_RE.match(arg):
271 match = _MACRO_RE.match(macro_ref_str)
272 if match is None or match.group(0) != macro_ref_str:
274 if match.group('name') not in self._macros:
275 raise PDDMError('No macro named "%s".' % match.group('name'))
276 return self._Expand(match, [], macro_ref_str)
[all …]
/frameworks/av/media/codec2/docs/
Ddoxyfilter.sh46 ind = re.match(r'^( *)', line).group(1)
49 m = re.match(r'^ *[*]/', line)
56 m = re.match(r'^ *//', line)
61 m = re.match(r'^ */[*]', line)
66 in_comment = not re.match(r'^ *[*]/', line)
86 if re.match(r'^namespace android {', line):
92 elif re.match(r'^} +// +namespace', line):
/frameworks/base/tools/bit/
Daapt.cpp182 smatch match; in inspect_apk() local
183 if (regex_match(line, match, NS_REGEX)) { in inspect_apk()
184 int depth = match[1].length() / 2; in inspect_apk()
191 scope->namespaces[match[2]] = match[3]; in inspect_apk()
192 } else if (regex_match(line, match, ELEMENT_REGEX)) { in inspect_apk()
195 string str = match[2]; in inspect_apk()
203 element->lineno = atoi(match[3].str().c_str()); in inspect_apk()
204 element->depth = match[1].length() / 2; in inspect_apk()
217 } else if (regex_match(line, match, ATTR_REGEX)) { in inspect_apk()
220 string str = match[2]; in inspect_apk()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTimeZoneLookupHelper.java230 OffsetResult match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, isDst); in lookupByNitzStatic() local
231 if (match == null) { in lookupByNitzStatic()
233 match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, !isDst); in lookupByNitzStatic()
235 return match; in lookupByNitzStatic()
245 TimeZone match = null; in lookupByInstantOffsetDst() local
251 if (match == null) { in lookupByInstantOffsetDst()
252 match = tz; in lookupByInstantOffsetDst()
260 if (match == null) { in lookupByInstantOffsetDst()
263 return new OffsetResult(match.getID(), isOnlyMatch); in lookupByInstantOffsetDst()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java164 Tuple match = null; in setState() local
169 match = tuple; in setState()
173 if (match == mLastMatch) { in setState()
179 mLastMatch = match; in setState()
180 if (match != null) { in setState()
181 start(match); in setState()
185 private void start(Tuple match) { in start() argument
186 match.mAnimator.setTarget(getTarget()); in start()
187 mRunningAnimator = match.mAnimator; in start()
/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/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/org/apache/http/conn/ssl/
DAbstractVerifier.java157 boolean match = false; in verify()
179 match = hostName.endsWith(cn.substring(1)); in verify()
180 if(match && strictWithSubDomains) { in verify()
183 match = countDots(hostName) == countDots(cn); in verify()
186 match = hostName.equals(cn); in verify()
188 if(match) { in verify()
192 if(!match) { in verify()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccRulesAuthTableTest.java165 assertTrue(EuiccRulesAuthTable.match("12", "12")); in testMatch()
166 assertTrue(EuiccRulesAuthTable.match("1E", "12")); in testMatch()
167 assertTrue(EuiccRulesAuthTable.match("12E", "12")); in testMatch()
168 assertTrue(EuiccRulesAuthTable.match("EEE", "12")); in testMatch()
169 assertTrue(EuiccRulesAuthTable.match("120", "120")); in testMatch()
170 assertTrue(EuiccRulesAuthTable.match("12E", "120")); in testMatch()
171 assertTrue(EuiccRulesAuthTable.match("EEE", "120")); in testMatch()
173 assertFalse(EuiccRulesAuthTable.match("13", "12")); in testMatch()
174 assertFalse(EuiccRulesAuthTable.match("2E", "12")); in testMatch()
175 assertFalse(EuiccRulesAuthTable.match("123", "120")); in testMatch()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Ddebug.js94 var match = /^get([A-Z]\w*)/.exec(name);
95 if (match && name != 'getExtension' &&
97 var has = 'has' + match[1];
101 object[jspb.debug.formatFieldName_(match[1])] = jspb.debug.dump_(val);
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java92 public boolean match(X509Certificate ca) { in findBySubjectAndPublicKey()
102 public boolean match(X509Certificate ca) {
117 public boolean match(X509Certificate ca) {
136 boolean match(X509Certificate cert);
157 if (selector.match(cert)) {
184 if (selector.match(cert)) {
/frameworks/opt/telephony/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/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()

1234567891011