Lines Matching refs:padding_needed
2223 padding_needed = padded_size - len(vbmeta_blob)
2224 output.write(b'\0' * padding_needed)
2969 padding_needed = padded_size - len(vbmeta_blob)
2970 output.write(b'\0' * padding_needed)
3280 padding_needed = image.block_size - (image.image_size%image.block_size)
3281 image.truncate(image.image_size + padding_needed)
3288 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
3290 vbmeta_blob_with_padding = vbmeta_blob + b'\0' * padding_needed
3481 padding_needed = image.block_size - (
3483 image.truncate(image.image_size + padding_needed)
3490 padding_needed = (
3493 vbmeta_blob_with_padding = vbmeta_blob + b'\0' * padding_needed
3688 padding_needed = image.block_size - (image.image_size%image.block_size)
3689 image.truncate(image.image_size + padding_needed)
3721 padding_needed = (round_to_multiple(len(hash_tree), image.block_size) -
3723 hash_tree_with_padding = hash_tree + b'\0' * padding_needed
3733 padding_needed = (round_to_multiple(len(fec_data), image.block_size) -
3735 fec_data_with_padding = fec_data + b'\0' * padding_needed
3758 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
3760 vbmeta_blob_with_padding = vbmeta_blob + b'\0' * padding_needed
4101 padding_needed = (round_to_multiple(
4103 level_output += b'\0' * padding_needed