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.py38 def compute_patch(src, tgt, imgdiff=False): argument
50 for p in tgt:
264 def __init__(self, tgt, src=None, threads=None, version=4, argument
282 self.tgt = tgt
288 assert tgt.blocksize == 4096
294 self.AssertPartition(tgt.care_map, tgt.file_map.values())
507 self.HashBlocks(self.tgt, xf.tgt_ranges),
535 self.HashBlocks(self.tgt, xf.tgt_ranges),
559 assert max_stashed_blocks * self.tgt.blocksize < max_allowed, \
561 max_stashed_blocks * self.tgt.blocksize, max_stashed_blocks,
[all …]
Dcommon.py1343 def __init__(self, partition, tgt, src=None, check_first_block=False, argument
1345 self.tgt = tgt
1359 b = blockimgdiff.BlockImageDiff(tgt, src, threads=OPTIONS.worker_threads,
1402 ranges = self.tgt.care_map
1408 self.tgt.TotalSha1(include_clobbered_blocks=True),
1497 ranges = self.tgt.care_map
1501 self.tgt.TotalSha1(include_clobbered_blocks=True)))
1505 if self.tgt.extended:
1506 ranges_str = self.tgt.extended.to_string_raw()
1509 self._HashZeroBlocks(self.tgt.extended.size())))
Dota_from_target_files.py1417 for src, tgt in self.renames.iteritems():
1418 print "Renaming " + src + " to " + tgt.name
1419 script.RenameFile(src, tgt.name)
Dota_from_target_files1417 for src, tgt in self.renames.iteritems():
1418 print "Renaming " + src + " to " + tgt.name
1419 script.RenameFile(src, tgt.name)