Lines Matching refs:tree_size
1394 self.tree_offset, self.tree_size, self.data_block_size,
1427 self.tree_size = 0
1452 o.write(' Tree Size: {} bytes\n'.format(self.tree_size))
1480 self.tree_offset, self.tree_size, self.data_block_size,
1514 (hash_level_offsets, tree_size) = calc_hash_level_offsets(
1521 tree_size)
1529 hash_tree_ondisk = image.read(self.tree_size)
1530 is_zeroed = (self.tree_size == 0) or (hash_tree_ondisk[0:8] == b'ZeRoHaSH')
2252 new_image_size = desc.tree_offset + desc.tree_size
2291 zero_ht_num_bytes = ht_desc.tree_size
2295 if ht_desc.fec_offset != ht_desc.tree_offset + ht_desc.tree_size:
3681 (hash_level_offsets, tree_size) = calc_hash_level_offsets(
3698 tree_size)
3703 tree_size = 0
3709 ht_desc.tree_size = tree_size
3970 tree_size = 0
3979 tree_size += level_size
3990 return level_offsets, tree_size
4056 digest_padding, hash_level_offsets, tree_size): argument
4073 hash_ret = bytearray(tree_size)