Home
last modified time | relevance | path

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

/build/make/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/make/tools/releasetools/
Dblockimgdiff.py241 def __init__(self, tgt, src=None, threads=None, version=4, argument
260 self.tgt = tgt
266 assert tgt.blocksize == 4096
272 self.AssertPartition(tgt.care_map, tgt.file_map.values())
349 common.OPTIONS.stash_threshold / self.tgt.blocksize)
532 assert max_stashed_blocks * self.tgt.blocksize <= max_allowed, \
534 max_stashed_blocks * self.tgt.blocksize, max_stashed_blocks,
535 self.tgt.blocksize, max_allowed, cache_size,
540 if self.tgt.hashtree_info:
542 self.tgt.hashtree_info.hashtree_range.to_string_raw(),
[all …]
Dtest_blockimgdiff.py72 tgt = EmptyImage()
73 block_image_diff = BlockImageDiff(tgt, src)
118 tgt = EmptyImage()
119 block_image_diff = BlockImageDiff(tgt, src, version=3)
152 tgt = EmptyImage()
153 block_image_diff = BlockImageDiff(tgt, src, version=3)
Dcommon.py2679 def __init__(self, partition, tgt, src=None, check_first_block=False, argument
2681 self.tgt = tgt
2694 b = BlockImageDiff(tgt, src, threads=OPTIONS.worker_threads,
2762 ranges = self.tgt.care_map
2768 self.tgt.TotalSha1(include_clobbered_blocks=True),
2846 ranges = self.tgt.care_map
2851 self.tgt.TotalSha1(include_clobbered_blocks=True)))
2855 if self.tgt.extended:
2856 ranges_str = self.tgt.extended.to_string_raw()
2860 self._HashZeroBlocks(self.tgt.extended.size())))
[all …]
Dtest_common.py1678 def __init__(self, partition, tgt, src=None): argument
1680 self.tgt = tgt
Dota_from_target_files679 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
682 block_diff_dict[partition] = common.BlockDifference(partition, tgt,
Dota_from_target_files.py679 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
682 block_diff_dict[partition] = common.BlockDifference(partition, tgt,