Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dzip_archive_test.cc57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); in TEST_F() local
58 if (bytes_read == 0) { in TEST_F()
61 computed_crc = crc32(computed_crc, buf, bytes_read); in TEST_F()
/art/runtime/base/unix_file/
Dfd_file.cc184 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_, ptr, byte_count)); in ReadFully() local
185 if (bytes_read <= 0) { in ReadFully()
190 byte_count -= bytes_read; // Reduce the number of remaining bytes. in ReadFully()
191 ptr += bytes_read; // Move the buffer forward. in ReadFully()
/art/dex2oat/
Ddex2oat.cc1665 int bytes_read = TEMP_FAILURE_RETRY(read(in->Fd(), buffer.get(), buffer_size)); in dex2oat() local
1666 if (bytes_read <= 0) { in dex2oat()
1669 bool write_ok = out->WriteFully(buffer.get(), bytes_read); in dex2oat()