/build/soong/scripts/ |
D | ninja_rsp.py | 42 entry = self.read_entry() 43 if entry: 44 return entry 55 entry = c 59 entry += c 60 return entry 63 entry = "" 71 return entry 77 raise "malformed escape sequence %s'\\%s" % (entry, c) 78 entry += "'" [all …]
|
D | gen-kotlin-build-file.py | 69 for entry in c.split(':'): 70 path = os.path.abspath(entry)
|
/build/soong/ui/tracer/ |
D | microfactory.go | 37 for _, entry := range entries { 40 if endTime <= entry.Begin { 42 cpus[cpu] = entry.End 48 cpus = append(cpus, entry.End) 52 Name: entry.Name, 54 Time: entry.Begin, 55 Dur: entry.End - entry.Begin,
|
/build/make/tools/releasetools/ |
D | target_files_diff.py | 161 for entry in list1: 162 name = os.path.join(prefix, entry) 163 name1 = os.path.join(dir1, entry) 164 name2 = os.path.join(dir2, entry) 169 if entry in list2: 203 for entry in list2: 204 name = os.path.join(prefix, entry) 205 name1 = os.path.join(dir1, entry) 206 name2 = os.path.join(dir2, entry) 211 if entry not in list1:
|
D | apex_utils.py | 73 for entry in apk_entries: 74 apk_name = os.path.basename(entry) 78 .format(entry, self.apex_path)) 79 if not any(dirname in entry for dirname in ['app/', 'priv-app/', 82 ' %s', entry) 99 for entry in apk_entries: 100 apk_path = os.path.join(payload_dir, entry) 103 key_name = apk_keys.get(os.path.basename(entry))
|
D | edify_generator.py | 359 def _GetSlotSuffixDeviceForEntry(self, entry=None): argument 370 assert entry is not None 371 if entry.slotselect: 372 return 'add_slot_suffix("%s")' % entry.device 373 return '"%s"' % entry.device 379 entry = common.GetEntryForDevice(self.fstab, lst[1]) 380 if entry is not None: 381 assert not entry.slotselect, \
|
D | validate_target_files.py | 79 for entry in image.file_map: 81 if not entry.startswith(prefix): 86 ranges = image.file_map[entry] 97 logging.warning('Skipping %s that has incomplete block list', entry) 112 input_tmp, which.upper(), entry[(len(prefix) + 1):]) 113 unpacked_file = _ReadFile(entry, unpacked_name, True) 117 entry, file_ranges, blocks_sha1, file_sha1)
|
D | test_ota_from_target_files.py | 611 for entry in entries: 613 entry, 614 entry.replace('.', '-').upper(), 627 for entry in entries: 628 offset, size = map(int, tokens[entry].split(':')) 631 if entry == 'metadata': 634 expected = entry.replace('.', '-').upper().encode() 958 for entry in entries: 960 entry, entry.replace('.', '-').upper(), zipfile.ZIP_STORED)
|
D | merge_target_files.py | 245 for entry in sorted(data): 246 out_str = '{}={}\n'.format(entry, data[entry]) if isinstance( 247 data, dict) else '{}\n'.format(entry)
|
/build/soong/cmd/merge_zips/ |
D | merge_zips.go | 219 func (oz *OutputZip) addEmptyEntry(entry string) error { 222 Name: entry, 228 _, err := oz.addZipEntry(entry, ZipEntryFromBuffer{fh, emptyBuf}) 275 entry := NewZipEntryFromZip(inputZip, index) 276 if oz.stripDirEntries && entry.IsDir() { 279 existingEntry, err := oz.addZipEntry(entry.name, entry) 288 if existingEntry.IsDir() != entry.IsDir() { 290 entry.name, existingEntry, entry) 295 (oz.emulateJar && entry.name == jar.ManifestFile || entry.name == jar.ModuleInfoClass) || 297 (existingEntry.CRC32() == entry.CRC32() && existingEntry.Size() == entry.Size()) || [all …]
|
/build/soong/ui/build/paths/ |
D | logs.go | 135 func SendLog(logSocket string, entry *LogEntry, done chan interface{}) { 136 sendLog(logSocket, getSocketAddr, timeoutDuration, entry, done) 139 func sendLog(logSocket string, lookup socketAddrFunc, timeout time.Duration, entry *LogEntry, done … 153 enc.Encode(entry) 202 entry := &LogEntry{} 203 if err := dec.Decode(entry); err != nil { 206 ret <- entry
|
D | logs_test.go | 84 entry := <-recv 85 if entry == nil { 96 if !reflect.DeepEqual(ref, *entry) { 97 t.Fatalf("Bad log entry: %v", entry)
|
/build/soong/finder/fs/ |
D | readdir.go | 61 for _, entry := range entries { 62 if !entry.modeExists { 63 mode, lerr := lstatFileMode(path + "/" + entry.name) 72 entry.mode = mode 73 entry.modeExists = true 75 ret = append(ret, entry)
|
/build/soong/env/ |
D | env.go | 62 for _, entry := range contents { 63 key := entry.Key 64 old := entry.Value
|
/build/make/tools/ziptime/ |
D | ZipFile.cpp | 165 int entry; in rewriteCentralDir() local 166 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) { in rewriteCentralDir()
|
/build/blueprint/proptools/ |
D | tag.go | 26 for _, entry := range strings.Split(tag, ",") { 27 if entry == value {
|
/build/soong/cmd/path_interposer/ |
D | main.go | 75 sendLog func(logSocket string, entry *paths.LogEntry, done chan interface{}) 222 entry, ok := procs[pid] 230 Command: entry.Command, 234 pid = entry.Ppid
|
D | main_test.go | 149 logFunc := func(logSocket string, entry *paths.LogEntry, done chan interface{}) { 153 if entry.Basename != testCase.logEntry { 154 t.Errorf("unexpected log entry:\nwant: %q\n got: %q", testCase.logEntry, entry.Basename)
|
/build/make/tools/atree/ |
D | files.cpp | 393 add_more(const string& entry, bool isDir, in add_more() argument 399 r.sourceName = path_append(rec.sourceName, entry); in add_more() 407 r.outName = path_append(rec.outName, entry); in add_more() 447 string entry = path_append(path, ent->d_name); in list_dir() local 449 add_more(entry, is_directory, rec, more); in list_dir() 451 dirs.push_back(entry); in list_dir()
|
/build/soong/finder/ |
D | finder.go | 651 for _, entry := range dirInfos { 652 _, found := dirsByDevice[entry.Device] 654 dirsByDevice[entry.Device] = []PersistedDirInfo{} 656 dirsByDevice[entry.Device] = append(dirsByDevice[entry.Device], 657 PersistedDirInfo{P: entry.Path, T: entry.ModTime, I: entry.Inode, F: entry.FileNames}) 1422 entry := &DirEntries{Path: path, DirNames: subdirs, FileNames: subfiles} 1423 f.pruneCacheCandidates(entry) 1427 for _, subdirName := range entry.DirNames { 1446 parentNode.FileNames = entry.FileNames
|
/build/soong/cc/ |
D | fuzz.go | 219 for _, entry := range fuzz.corpus { 221 Input(entry). 222 Output(intermediateDir.Join(ctx, entry.Base())) 230 for _, entry := range fuzz.data { 232 Input(entry). 233 Output(intermediateDir.Join(ctx, entry.Rel()))
|
/build/make/tools/ |
D | fat16copy.py | 393 entry = "".join(longname_record_data + [record]) 415 f.write(entry) 621 def write_cluster_entry(self, entry): argument 627 f.write(struct.pack("<H", entry)) 629 f.write(struct.pack("<H", entry)) 691 for entry in entries: 692 self.write_cluster_entry(entry)
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 309 int entry; in readCentralDir() local 310 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) { in readCentralDir() 1251 void* ZipFile::uncompress(const ZipEntry* entry) const in uncompress() 1253 size_t unlen = entry->getUncompressedLen(); in uncompress() 1254 size_t clen = entry->getCompressedLen(); in uncompress() 1263 off_t offset = entry->getFileOffset(); in uncompress() 1268 switch (entry->getCompressionMethod()) in uncompress()
|
/build/soong/apex/ |
D | key.go | 158 entry := apexKeyEntry{ 163 apexKeyMap[m.BaseModuleName()] = entry
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 262 for _, entry := range strings.Split(tag.Get(key), ",") { 263 if entry == value {
|