Home
last modified time | relevance | path

Searched refs:op_name (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/scripts/update_payload/
Dchecker.py693 def _CheckLength(self, length, total_blocks, op_name, length_name): argument
707 raise error.PayloadError('%s: %s is zero.' % (op_name, length_name))
711 '%s: %s' % (op_name, length_name))
755 def _CheckReplaceOperation(self, op, data_length, total_dst_blocks, op_name): argument
770 'total_dst_blocks.' % op_name)
774 raise error.PayloadError('%s: contains src_extents.' % op_name)
778 raise error.PayloadError('%s: missing data_{offset,length}.' % op_name)
783 op_name + '.data_length', 'dst')
790 (op_name, data_length, total_dst_blocks, self.block_size))
792 def _CheckZeroOperation(self, op, op_name): argument
[all …]
Dapplier.py231 def _ApplyReplaceOperation(self, op, op_name, out_data, part_file, part_size): argument
259 '%s.dst_extents' % op_name):
292 (op_name, data_start, data_length))
294 def _ApplyZeroOperation(self, op, op_name, part_file): argument
306 base_name = '%s.dst_extents' % op_name
314 def _ApplySourceCopyOperation(self, op, op_name, old_part_file, argument
330 (op_name, op.type))
339 '%s.dst_extents' % op_name)
358 def _ApplyDiffOperation(self, op, op_name, patch_data, old_part_file, argument
375 (op_name, op.type))
[all …]
Dcommon.py201 def _OperationNameFormatter(op, op_name): argument
202 return '%s(%s)' % (op_name, OpType.NAMES.get(op.type, '?'))
Dchecker_unittest.py45 def _OpTypeByName(op_name): argument
58 return op_name_to_type[op_name]