Lines Matching defs:size

162   if src.size < 1000:
829 target_boot.size, source_boot.size, len(d))
835 source_boot.size, source_boot.sha1,
836 target_boot.size, target_boot.sha1))
877 source_boot.size, source_boot.sha1,
878 target_boot.size, target_boot.sha1),
880 target_boot.size, target_boot.sha1,
947 verbatim_targets.append((fn, tf.size, tf.sha1))
962 if d is None or len(d) > tf.size * OPTIONS.patch_threshold or \
968 verbatim_targets.append((tf.name, tf.size, tf.sha1))
974 patch_list.append((tf, sf, tf.size, common.sha1(d).hexdigest()))
975 largest_source_size = max(largest_source_size, sf.size)
981 for tf, sf, size, patch_sha in self.patch_list:
985 so_far += sf.size
989 for fn, size, sha1 in self.verbatim_targets:
1003 return sum(i[1].size for i in self.patch_list)
1008 tf, sf, size, _ = item
1014 script.ApplyPatch("/"+sf.name, "-", tf.size, tf.sha1, sf.sha1, "patch/"+sf.name+".p")
1015 so_far += tf.size
1021 tf, sf, size, _ = item
1022 script.ApplyPatch("/"+sf.name, "-", tf.size, tf.sha1, sf.sha1, "patch/"+sf.name+".p")
1176 target_boot.size, source_boot.size, len(d))
1184 source_boot.size, source_boot.sha1,
1185 target_boot.size, target_boot.sha1))
1186 so_far += source_boot.size
1188 size = []
1189 if system_diff.patch_list: size.append(system_diff.largest_source_size)
1191 if vendor_diff.patch_list: size.append(vendor_diff.largest_source_size)
1192 if size or updating_recovery or updating_boot:
1193 script.CacheFreeSpaceCheck(max(size))
1224 total_patch_size += target_boot.size
1240 source_boot.size, source_boot.sha1,
1241 target_boot.size, target_boot.sha1),
1243 target_boot.size, target_boot.sha1,
1245 so_far += target_boot.size
1260 # size of the patch, which must be included in every OTA package.