Lines Matching refs:patch_info
88 def patch_info(self): member in Transfer
91 @patch_info.setter
92 def patch_info(self, info): member in Transfer
106 self.patch_info = None
744 xf.patch_info = None
754 if xf.patch_info:
757 imgdiff = xf.patch_info.imgdiff
772 for index, patch_info, _ in patches:
774 xf.patch_len = len(patch_info.content)
777 patch_fd.write(patch_info.content)
1163 patch_info = xf.patch_info
1164 if not patch_info:
1174 patch_info = compute_patch(src_file, tgt_file, imgdiff)
1201 patches[patch_index] = (xf_index, patch_info, compressed_size)
1242 for xf_index, patch_info, compressed_size in result:
1244 if not xf.patch_info:
1245 xf.patch_info = patch_info
1247 size_ratio = len(xf.patch_info.content) * 100.0 / compressed_size
1248 diff_style = "imgdiff" if xf.patch_info.imgdiff else "bsdiff"
1252 len(xf.patch_info.content), compressed_size, size_ratio)
1258 if len(xf.patch_info.content) >= compressed_size:
1266 score = ((compressed_size - len(xf.patch_info.content)) * 100.0
1534 with open(patch_info_file) as patch_info:
1535 lines = patch_info.readlines()
1627 transfer_split.patch_info = PatchInfo(True, patch)