Searched refs:total_src_blocks (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | checker.py | 843 def _CheckSourceCopyOperation(self, data_offset, total_src_blocks, argument 861 if total_src_blocks != total_dst_blocks: 864 (op_name, total_src_blocks, total_dst_blocks)) 866 def _CheckAnySourceOperation(self, op, total_src_blocks, op_name): argument 878 if total_src_blocks == 0: 907 total_src_blocks = self._CheckExtents( 926 self._CheckLength(op.src_length, total_src_blocks, op_name, 'src_length') 968 self._CheckSourceCopyOperation(data_offset, total_src_blocks, 970 self._CheckAnySourceOperation(op, total_src_blocks, op_name) 973 self._CheckAnySourceOperation(op, total_src_blocks, op_name) [all …]
|
D | checker_unittest.py | 783 total_src_blocks = 0 792 total_src_blocks = 16 837 if total_src_blocks: 839 op.src_length = total_src_blocks * block_size + 8 842 op.src_length = total_src_blocks * block_size
|