Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 4 of 4) 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:
193 def __init__(self, tgt, src=None, threads=None, version=2): argument
202 self.tgt = tgt
208 assert tgt.blocksize == 4096
214 self.AssertPartition(tgt.care_map, tgt.file_map.values())
377 assert max_stashed_blocks * self.tgt.blocksize < (512 << 20)
379 all_tgt = RangeSet(data=(0, self.tgt.total_blocks))
384 new_dontcare = all_tgt.subtract(self.tgt.care_map)
406 max_stashed_blocks, max_stashed_blocks * self.tgt.blocksize))
[all …]
Dcommon.py1027 def __init__(self, partition, tgt, src=None, check_first_block=False): argument
1028 self.tgt = tgt
1039 b = blockimgdiff.BlockImageDiff(tgt, src, threads=OPTIONS.worker_threads,
1073 (self.device, self.tgt.care_map.to_string_raw(),
1074 self.tgt.TotalSha1(), self.partition))
Dota_from_target_files1034 for src, tgt in self.renames.iteritems():
1035 print "Renaming " + src + " to " + tgt.name
1036 script.RenameFile(src, tgt.name)