Lines Matching refs:data_length
147 data_length = len(data)
149 if not data_length:
151 write_length = min(data_length, ex.num_blocks * block_size)
160 data_length -= write_length
162 if data_length:
166 def _ExtentsToBspatchArg(extents, block_size, base_name, data_length=-1): argument
186 if data_length < 0:
187 data_length = sys.maxint
189 if not data_length:
195 if data_length < num_bytes:
198 pad_off = start_byte + data_length
199 pad_len = num_bytes - data_length
201 num_bytes = data_length
204 data_length -= num_bytes
206 if data_length:
258 data_length = len(out_data)
263 data_length = len(out_data)
267 data_length = len(out_data)
289 if data_end >= data_length + block_size:
294 if data_end > data_length:
295 padding = data_end - data_length
305 if data_start < data_length:
307 (op_name, data_start, data_length))
431 data_length=op.src_length if op.src_length else
435 data_length=op.dst_length if op.dst_length else
539 data = self.payload.ReadDataBlob(op.data_offset, op.data_length)