Searched refs:bytes_read (Results 1 - 3 of 3) sorted by relevance
/art/runtime/base/unix_file/ |
H A D | fd_file.cc | 112 int bytes_read = TEMP_FAILURE_RETRY(read(fd_, ptr, byte_count)); local 113 if (bytes_read <= 0) { 116 byte_count -= bytes_read; // Reduce the number of remaining bytes. 117 ptr += bytes_read; // Move the buffer forward. 125 int bytes_read = TEMP_FAILURE_RETRY(write(fd_, ptr, byte_count)); local 126 if (bytes_read < 0) { 129 byte_count -= bytes_read; // Reduce the number of remaining bytes. 130 ptr += bytes_read; // Move the buffer forward.
|
/art/runtime/ |
H A D | zip_archive_test.cc | 51 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local 52 if (bytes_read == 0) { 55 computed_crc = crc32(computed_crc, buf, bytes_read);
|
/art/dex2oat/ |
H A D | dex2oat.cc | 1053 int bytes_read = TEMP_FAILURE_RETRY(read(in->Fd(), buffer.get(), buffer_size)); local 1054 if (bytes_read <= 0) { 1057 bool write_ok = out->WriteFully(buffer.get(), bytes_read);
|
Completed in 101 milliseconds