Home
last modified time | relevance | path

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

123

/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py40 match = _ELF_CLASS.match(line)
41 if match:
42 if match.group(1) == 'ELF32':
52 match = _DT_NEEDED.match(line)
53 if match:
54 dt_needed.add(match.group(1))
56 match = _DT_SONAME.match(line)
57 if match:
58 dt_soname = match.group(1)
Drewriter.py208 def _lookup_variable(match): argument
209 key = match.group(1)
214 return match.group(0)
235 match = self._INCLUDE.match(line)
236 if match:
237 command = match.group(1)
246 match = self._VAR.match(line)
247 if match:
251 key = match.group(1).strip()
252 assign_op = match.group(2).strip()
[all …]
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java74 final int match = sUriMatcher.match(uri); in getType() local
75 switch (match) { in getType()
96 int uriMatch = sUriMatcher.match(uri); in query()
125 final int match = sUriMatcher.match(uri); in insert() local
127 switch (match) { in insert()
151 final int match = sUriMatcher.match(uri); in delete() local
153 switch (match) { in delete()
183 final int match = sUriMatcher.match(uri); in update() local
185 switch (match) { in update()
/development/scripts/
Dstack_core.py191 if self.trace_line.match(line):
192 match = self.trace_line.match(line)
193 return {"frame": match.group("frame"),
194 "offset": match.group("offset"),
195 "so_offset": match.group("so_offset"),
196 "dso": match.group("dso"),
197 "symbol_present": bool(match.group("symbolpresent")),
198 "symbol_name": match.group("symbol")}
199 if self.sanitizer_trace_line.match(line):
200 match = self.sanitizer_trace_line.match(line)
[all …]
Dbattery_simulator.py61 if re.match("\d+", val):
/development/tools/findunused/
Dfindunusedtranslations55 for $match (@matches) {
56 print "Rewriting $match\n";
61 open(IN, "<$match");
97 open(OUT, ">$match");
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py43 match = re.search('%s=(.*)' % (lookup_key), self._content)
44 return match.group(1) if match else None
/development/tools/winscope/src/
DdecodeVideo.js22 var match = true;
25 match = false;
29 if (match) {
/development/tools/repo_diff/
Drepo_diff_trees.py221 if re.match(exclusion_pattern, name):
255 lambda match: stats_from_match(
258 match,
264 def stats_from_match(upstream_projects, downstream_projects, match): argument
289 upstream_project_name = match['upstream']
290 downstream_project_name = match['downstream']
304 project_stats.update(match)
380 downstream_stats = {match['downstream']: match for match in project_stats}
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java240 FeedParser.Entry match = entryMap.get(entryId); in updateLocalFeedData() local
241 if (match != null) { in updateLocalFeedData()
247 if ((match.title != null && !match.title.equals(title)) || in updateLocalFeedData()
248 (match.link != null && !match.link.equals(link)) || in updateLocalFeedData()
249 (match.published != published)) { in updateLocalFeedData()
253 .withValue(FeedContract.Entry.COLUMN_NAME_TITLE, match.title) in updateLocalFeedData()
254 .withValue(FeedContract.Entry.COLUMN_NAME_LINK, match.link) in updateLocalFeedData()
255 .withValue(FeedContract.Entry.COLUMN_NAME_PUBLISHED, match.published) in updateLocalFeedData()
/development/vndk/tools/sourcedr/ninja/
Dlist_installed_file_from_source.py77 if source_filter.match(path):
79 if out_pattern.match(path):
98 matched = bool(source_filter.match(path))
104 if installed_filter.match(path) and is_from_vendor(path)]
Dninja.py254 def match(self, buf, pos): member in TokenMatcher
255 match = self._matcher.match(buf, pos)
256 if not match:
258 return (self._kinds[match.lastindex - 1], match.start(), match.end())
321 match = self._COMMENT_MATCHER.match(self._line_buf)
322 if not match:
325 self._line_pos = match.end()
332 match = self._SPACE_MATCHER.match(self._line_buf, self._line_pos)
333 if match:
334 self._line_pos = match.end()
[all …]
Dlist_source_file.py56 if not out_dir_pattern.match(cur):
66 if out_host_dir_pattern.match(dep):
111 matched_files = [path for path in graph if installed_filter.match(path)]
/development/tools/logblame/
Dlogs.py64 m = CHATTY_IDENTICAL.match(logLine.text)
103 m = BUFFER_BEGIN.match(line)
112 m = BUFFER_SWITCH.match(line)
121 m = HEADER.match(line)
139 m = HEADER_TYPE2.match(line)
Dps.py116 m = HEADER_RE.match(line)
119 m = PROCESS_RE.match(line)
133 m = ANDROID_UID_RE.match(text)
137 m = UID_RE.match(text)
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java250 switch (sUriMatcher.match(uri)) { in query()
295 return sMimeTypes.get(sUriMatcher.match(uri)); in getType()
309 switch (sUriMatcher.match(uri)) { in insert()
355 switch (sUriMatcher.match(uri)) { in bulkInsert()
451 switch (sUriMatcher.match(uri)) { in update()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DMetadataParser.java67 if ((m = Utils.match(mDumpstateLineRe, text)) != null) { in parseHeader()
69 } else if ((m = Utils.match(mHeaderLineRe, text)) != null) { in parseHeader()
/development/testrunner/test_defs/
Dnative_test.py148 def _FindFileRecursively(self, path, match): argument
159 if f == match:
162 found = self._FindFileRecursively(os.path.join(root, d), match)
/development/vndk/tools/sourcedr/blueprint/
Danalyze_manifest_split.py57 match = self._matcher.match(path)
58 if match:
59 return self._projects[match.lastindex - 1][1]
Dlist_vndk_module.py64 if select and not select.match(path):
66 if exclude and exclude.match(path):
Dblueprint.py253 match = cls.UNICODE_CHARS_PATTERN.match(buf, pos)
254 if match:
255 literal += match.group(0)
256 pos = match.end()
361 match = cls.LEXER_MATCHER.match(buf, offset)
362 if not match:
364 token = cls.LEXER_PATTERNS[match.lastindex - 1][0]
369 end = match.end()
992 match = path_matcher.match(attrs['_path'])
993 attrs['_namespace'] = namespaces[match.lastindex - 1]
/development/vndk/tools/definition-tool/tests/
Dndk_toolchain.py37 match = pattern.match(name)
38 if match:
39 apis.append(int(match.group(1)))
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcatParser.java59 if ((m = Utils.match(mBufferBeginRe, text)) != null) { in parse()
68 } else if ((m = Utils.match(mLogLineRe, text)) != null) { in parse()
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py44 match = patt.match(path)
45 if not match:
47 path = match.group(1)
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java236 switch (sUriMatcher.match(uri)) { in query()
307 switch (sUriMatcher.match(uri)) { in getType()
346 switch (sUriMatcher.match(uri)) { in getStreamTypes()
469 if (sUriMatcher.match(uri) != NOTES) { in insert()
559 switch (sUriMatcher.match(uri)) { in delete()
644 switch (sUriMatcher.match(uri)) { in update()

123