Lines Matching refs:bytes_read
260 size_t bytes_read = 0;265 while (bytes_read < expected) {277 bytes_read += avail;283 CHECK_EQ(expected, bytes_read);284 length_ -= bytes_read;289 return bytes_read;317 size_t bytes_read = 0;322 while (bytes_read < max) {337 bytes_read += off;342 return bytes_read;350 CHECK_EQ(max, bytes_read);