Home | History | Annotate | Download | only in files

Lines Matching refs:bytes_read

209   int bytes_read = 0;
212 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read,
213 size - bytes_read, offset + bytes_read));
217 bytes_read += rv;
218 } while (bytes_read < size);
220 return bytes_read ? bytes_read : rv;
231 int bytes_read = 0;
234 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read));
238 bytes_read += rv;
239 } while (bytes_read < size);
241 return bytes_read ? bytes_read : rv;