Lines Matching refs:padding_needed
2410 padding_needed = padded_size - len(vbmeta_blob)
2411 output.write('\0' * padding_needed)
2692 padding_needed = image.block_size - (image.image_size%image.block_size)
2693 image.truncate(image.image_size + padding_needed)
2700 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
2702 vbmeta_blob_with_padding = vbmeta_blob + '\0'*padding_needed
2865 padding_needed = image.block_size - (image.image_size%image.block_size)
2866 image.truncate(image.image_size + padding_needed)
2873 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
2875 vbmeta_blob_with_padding = vbmeta_blob + '\0'*padding_needed
3049 padding_needed = image.block_size - (image.image_size%image.block_size)
3050 image.truncate(image.image_size + padding_needed)
3076 padding_needed = (round_to_multiple(len(hash_tree), image.block_size) -
3078 hash_tree_with_padding = hash_tree + '\0'*padding_needed
3085 padding_needed = (round_to_multiple(len(fec_data), image.block_size) -
3087 fec_data_with_padding = fec_data + '\0'*padding_needed
3109 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
3111 vbmeta_blob_with_padding = vbmeta_blob + '\0'*padding_needed
3395 padding_needed = (round_to_multiple(
3397 level_output += '\0' * padding_needed