Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/build/ohos/images/mkimage/
H A Dimkcovert.py83 total_blocks = int(header.readline())
101 output.truncate(total_blocks * blocksize)
113 output.truncate(total_blocks * blocksize - fill_cnt)
126 def process_block(inputrow, blocksize, outputtemp, blockid, total_blocks) -> int: argument
130 while (ind < total_blocks):
151 def get_raw_datafile(imagefile: str, blockid, total_blocks: int, blocksize: int) -> int:
157 table_numbers = process_block(inputrow, blocksize, outputtemp, blockid, total_blocks)
172 total_blocks = get_block_cnt(imagefile, blocksize)
173 table_numbers = get_raw_datafile(imagefile, blockid, total_blocks, blocksize)
180 outputrow.write("%s\n" % (int(total_blocks)))
[all …]
/ohos5.0/base/update/packaging_tools/
H A Dimage_class.py130 self.total_blocks = None
140 self.total_blocks = total_blocks = \
146 for i in range(self.total_blocks):
166 all_blocks = BlocksManager(range_data=(0, total_blocks))
H A Dpatch_package_process.py202 range_data=(0, self.tgt_img_obj.total_blocks))