Lines Matching refs:data_offset
809 def _CheckMoveOperation(self, op, data_offset, total_src_blocks, argument
824 if data_offset is not None:
907 if op.data_offset:
944 def _CheckSourceCopyOperation(self, data_offset, total_src_blocks, argument
958 if data_offset is not None:
1022 data_offset = self._CheckOptionalField(op, 'data_offset', None)
1024 self._CheckPresentIff(data_offset, data_length, 'data_offset',
1041 if data_offset is None:
1047 actual_hash = hashlib.sha256(self.payload.ReadDataBlob(data_offset,
1054 elif data_offset is not None:
1063 if data_offset is not None:
1065 if data_offset != prev_data_offset:
1068 (op_name, data_offset, prev_data_offset))
1078 self._CheckMoveOperation(op, data_offset, total_src_blocks,
1085 self._CheckSourceCopyOperation(data_offset, total_src_blocks,
1262 self.sigs_offset == fake_sig_op.data_offset and
1267 fake_sig_op.data_offset,
1277 offset=self.payload.data_offset, hasher=payload_hasher)
1398 used_payload_size = self.payload.data_offset + total_blob_size