Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 6 of 6) 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.py3146 def __init__(self, partition, tgt, src=None, check_first_block=False, argument
3148 self.tgt = tgt
3161 b = BlockImageDiff(tgt, src, threads=OPTIONS.worker_threads,
3229 ranges = self.tgt.care_map
3235 self.tgt.TotalSha1(include_clobbered_blocks=True),
3313 ranges = self.tgt.care_map
3318 self.tgt.TotalSha1(include_clobbered_blocks=True)))
3322 if self.tgt.extended:
3323 ranges_str = self.tgt.extended.to_string_raw()
3327 self._HashZeroBlocks(self.tgt.extended.size())))
[all …]
Dnon_ab_ota.py83 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
86 block_diff_dict[partition] = common.BlockDifference(partition, tgt,
Dtest_common.py1731 def __init__(self, partition, tgt, src=None): argument
1733 self.tgt = tgt