/development/vndk/tools/elfcheck/elfcheck/ |
D | readobj.py | 40 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)
|
D | rewriter.py | 208 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/scripts/ |
D | stack_core.py | 191 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 …]
|
D | get_rust_pkg.py | 87 match = PKG_VERSION_MATCHER.match(pkg) 88 if match is not None: 89 return (match.group(1), match.group(2)) 95 match = VERSION_MATCHER.match(version) 96 if match is not None: 97 return tuple(int(match.group(i)) for i in range(1, 4))
|
D | cargo2android.py | 175 if VERSION_SUFFIX_PAT.match(s): 176 return VERSION_SUFFIX_PAT.match(s).group(1) 832 groups = deps_libname.match(lib) 1102 result = version_pat.match(line) 1110 result = version_pat.match(dir_name) 1168 if name.match(line): 1169 self.root_pkg = name.match(line).group(1) 1172 in_pkg = pkg_section.match(line) is not None 1342 if RUSTC_VV_CMD_ARGS.match(new_rustc): 1343 args = RUSTC_VV_CMD_ARGS.match(new_rustc).group(1) [all …]
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 74 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/tools/repo_diff/ |
D | repo_diff_trees.py | 221 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/ |
D | SyncAdapter.java | 240 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/tools/findunused/ |
D | findunusedtranslations | 55 for $match (@matches) { 56 print "Rewriting $match\n"; 61 open(IN, "<$match"); 97 open(OUT, ">$match");
|
/development/vndk/tools/sourcedr/ninja/ |
D | ninja.py | 254 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 …]
|
D | list_installed_file_from_source.py | 77 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)]
|
D | list_source_file.py | 56 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/gsi/gsi_util/gsi_util/dumpers/ |
D | prop_dumper.py | 43 match = re.search('%s=(.*)' % (lookup_key), self._content) 44 return match.group(1) if match else None
|
/development/tools/winscope/src/ |
D | decodeVideo.js | 22 var match = true; 25 match = false; 29 if (match) {
|
/development/tools/logblame/ |
D | logs.py | 64 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)
|
D | ps.py | 116 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/ |
D | DataProvider.java | 250 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/vndk/tools/sourcedr/blueprint/ |
D | blueprint.py | 253 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]
|
D | analyze_manifest_split.py | 57 match = self._matcher.match(path) 58 if match: 59 return self._projects[match.lastindex - 1][1]
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 236 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()
|
/development/vndk/tools/definition-tool/tests/ |
D | ndk_toolchain.py | 37 match = pattern.match(name) 38 if match: 39 apis.append(int(match.group(1)))
|
/development/testrunner/test_defs/ |
D | native_test.py | 148 def _FindFileRecursively(self, path, match): argument 159 if f == match: 162 found = self._FindFileRecursively(os.path.join(root, d), match)
|
/development/vndk/tools/definition-tool/tools/ |
D | update_dataset.py | 44 match = patt.match(path) 45 if not match: 47 path = match.group(1)
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 218 switch (mUriMatcher.match(uri)) { in query() 255 switch (mUriMatcher.match(uri)) { in getType() 270 if (mUriMatcher.match(uri) != MAIN) { in insert() 311 switch (mUriMatcher.match(uri)) { in delete() 346 switch (mUriMatcher.match(uri)) { in update()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | MetadataParser.java | 67 if ((m = Utils.match(mDumpstateLineRe, text)) != null) { in parseHeader() 69 } else if ((m = Utils.match(mHeaderLineRe, text)) != null) { in parseHeader()
|