Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 5 of 5) sorted by relevance

/build/tools/
Dparsedeps.py10 def __init__(self, tgt): argument
11 self.tgt = tgt
26 def add(self, tgt, prereq): argument
27 t = self.lines.get(tgt)
29 t = Dependency(tgt)
30 self.lines[tgt] = t
38 def setPos(self, tgt, pos): argument
39 t = self.lines.get(tgt)
41 t = Dependency(tgt)
42 self.lines[tgt] = t
[all …]
/build/tools/releasetools/
Dblockimgdiff.py34 def compute_patch(src, tgt, imgdiff=False): argument
46 for p in tgt:
218 def __init__(self, tgt, src=None, threads=None, version=3): argument
231 self.tgt = tgt
237 assert tgt.blocksize == 4096
243 self.AssertPartition(tgt.care_map, tgt.file_map.values())
422 self.HashBlocks(self.tgt, xf.tgt_ranges),
448 self.HashBlocks(self.tgt, xf.tgt_ranges),
465 assert max_stashed_blocks * self.tgt.blocksize < (512 << 20)
468 if self.tgt.extended:
[all …]
Dcommon.py1171 def __init__(self, partition, tgt, src=None, check_first_block=False, argument
1173 self.tgt = tgt
1189 b = blockimgdiff.BlockImageDiff(tgt, src, threads=OPTIONS.worker_threads,
1251 ranges = self.tgt.care_map
1255 self.tgt.TotalSha1(include_clobbered_blocks=True)))
1259 if self.tgt.extended:
1260 ranges_str = self.tgt.extended.to_string_raw()
1263 self._HashZeroBlocks(self.tgt.extended.size())))
Dota_from_target_files1100 for src, tgt in self.renames.iteritems():
1101 print "Renaming " + src + " to " + tgt.name
1102 script.RenameFile(src, tgt.name)
Dota_from_target_files.py1100 for src, tgt in self.renames.iteritems():
1101 print "Renaming " + src + " to " + tgt.name
1102 script.RenameFile(src, tgt.name)