Lines Matching refs:bytes_read
92 tSize bytes_read = 0; in Read() local
97 bytes_read = hdfsRead(fileSys_, hfile_, buffer, remaining_bytes); in Read()
98 if (bytes_read <= 0) { in Read()
101 assert(bytes_read <= remaining_bytes); in Read()
103 total_bytes_read += bytes_read; in Read()
104 remaining_bytes -= bytes_read; in Read()
105 buffer += bytes_read; in Read()
112 if (bytes_read < 0) { in Read()
127 ssize_t bytes_read = hdfsPread(fileSys_, hfile_, offset, in Read() local
131 *result = Slice(scratch, (bytes_read < 0) ? 0 : bytes_read); in Read()
132 if (bytes_read < 0) { in Read()