Lines Matching refs:part
629 for part in manifest.partitions:
630 name = part.partition_name
632 part, 'old_partition_info', report)
634 part, 'new_partition_info', report, 'manifest.partitions')
637 for _, part in common.CROS_PARTITIONS:
638 self._CheckElemNotPresent(manifest, 'old_%s_info' % part, 'manifest')
639 self._CheckElemNotPresent(manifest, 'new_%s_info' % part, 'manifest')
643 old_part_msgs = [part.msg for part in self.old_part_info.values() if part]
647 is_delta = any(part and part.msg for part in self.old_part_info.values())
655 for part, (msg, part_report) in self.old_part_info.items():
657 field = 'old_%s_info' % part
658 self.old_fs_sizes[part] = self._CheckMandatoryField(msg, 'size',
664 if self.old_fs_sizes[part] > part_sizes[part] > 0:
667 (part, self.old_fs_sizes[part], part_sizes[part]))
676 for part, (msg, part_report) in self.new_part_info.items():
677 field = 'new_%s_info' % part
678 self.new_fs_sizes[part] = self._CheckMandatoryField(msg, 'size',
684 if self.new_fs_sizes[part] > part_sizes[part] > 0:
687 (part, self.new_fs_sizes[part], part_sizes[part]))
1222 for part, operations in ((p.partition_name, p.operations)
1224 report.AddSection('%s operations' % part)
1226 new_fs_usable_size = self.new_fs_sizes[part]
1227 old_fs_usable_size = self.old_fs_sizes[part]
1229 if part_sizes is not None and part_sizes.get(part, None):
1230 new_fs_usable_size = old_fs_usable_size = part_sizes[part]
1236 operations, report, '%s_install_operations' % part,
1237 self.old_fs_sizes[part], self.new_fs_sizes[part],