Searched refs:this_read (Results 1 – 3 of 3) sorted by relevance
371 this_read = min(remain, diff_value)375 yield f_r.read(this_read * self.block_size)377 yield fill_data * (this_read * (self.block_size >> 2))378 diff_value -= this_read384 this_read = min(chunk_len, diff_value)387 yield f_r.read(this_read * self.block_size)389 yield fill_data * (this_read * (self.block_size >> 2))390 diff_value -= this_read
130 let this_read = pre.read(buf).unwrap(); in data() localVariable131 if this_read == 0 { in data()134 read += this_read; in data()
214 let this_read = Read::read(pre, buf).unwrap(); in data() localVariable215 if this_read == 0 { in data()218 read += this_read; in data()306 let this_read = Read::read(pre, buf).unwrap(); in data() localVariable307 if this_read == 0 { in data()310 read += this_read; in data()