Searched refs:block_size (Results 1 – 3 of 3) sorted by relevance
/build/make/tools/releasetools/ |
D | verity_utils.py | 519 def CreateHashtreeInfoGenerator(partition_name, block_size, info_dict): argument 526 partition_size, block_size, fec_supported) 545 def __init__(self, partition_size, block_size, fec_supported): argument 555 self.block_size = block_size 589 assert self.block_size == image.blocksize 590 assert self.partition_size == image.total_blocks * self.block_size, \ 595 assert adjusted_size % self.block_size == 0 598 assert verity_tree_size % self.block_size == 0 601 assert metadata_size % self.block_size == 0 608 data=[0, adjusted_size / self.block_size]) [all …]
|
D | build_image.py | 429 block_size = int(fs_dict.get("Block size", "4096")) 430 free_size = int(fs_dict.get("Free blocks", "0")) * block_size 447 if block_size <= 4096: 450 size = ((size + block_size - 1) // block_size) * block_size
|
D | test_common.py | 39 block_size = 4 * KiB 43 yield os.urandom(block_size) 44 yield '\0' * (step_size - block_size)
|