• Home
  • Raw
  • Download

Lines Matching refs:part

643       for part in manifest.partitions:
644 name = part.partition_name
646 part, 'old_partition_info', report)
648 part, 'new_partition_info', report, 'manifest.partitions')
651 for _, part in common.CROS_PARTITIONS:
652 self._CheckElemNotPresent(manifest, 'old_%s_info' % part, 'manifest')
653 self._CheckElemNotPresent(manifest, 'new_%s_info' % part, 'manifest')
657 old_part_msgs = [part.msg for part in self.old_part_info.values() if part]
661 is_delta = any(part and part.msg for part in self.old_part_info.values())
669 for part, (msg, part_report) in self.old_part_info.iteritems():
671 field = 'old_%s_info' % part
672 self.old_fs_sizes[part] = self._CheckMandatoryField(msg, 'size',
678 if self.old_fs_sizes[part] > part_sizes[part] > 0:
681 (part, self.old_fs_sizes[part], part_sizes[part]))
690 for part, (msg, part_report) in self.new_part_info.iteritems():
691 field = 'new_%s_info' % part
692 self.new_fs_sizes[part] = self._CheckMandatoryField(msg, 'size',
698 if self.new_fs_sizes[part] > part_sizes[part] > 0:
701 (part, self.new_fs_sizes[part], part_sizes[part]))
1369 for part, operations in install_operations:
1370 report.AddSection('%s operations' % part)
1372 new_fs_usable_size = self.new_fs_sizes[part]
1373 old_fs_usable_size = self.old_fs_sizes[part]
1375 if part_sizes.get(part, None):
1376 new_fs_usable_size = old_fs_usable_size = part_sizes[part]
1383 elif self.payload_type == _TYPE_DELTA and part == common.ROOTFS and \
1391 operations, report, '%s_install_operations' % part,
1392 self.old_fs_sizes[part], self.new_fs_sizes[part],
1395 and part == common.KERNEL))