Searched refs:bytes_read (Results 1 - 4 of 4) sorted by relevance

/art/runtime/
H A Dzip_archive_test.cc57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local
58 if (bytes_read == 0) {
61 computed_crc = crc32(computed_crc, buf, bytes_read);
/art/runtime/base/unix_file/
H A Dfd_file.cc216 ssize_t bytes_read = TEMP_FAILURE_RETRY(read_func(fd, ptr, byte_count, offset)); local
217 if (bytes_read <= 0) {
222 byte_count -= bytes_read; // Reduce the number of remaining bytes.
223 ptr += bytes_read; // Move the buffer forward.
224 offset += static_cast<size_t>(bytes_read); // Move the offset forward.
/art/runtime/jit/
H A Doffline_profiling_info.cc350 int bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, byte_count)); local
351 if (bytes_read == 0) {
354 } else if (bytes_read < 0) {
358 byte_count -= bytes_read;
359 buffer += bytes_read;
/art/dex2oat/
H A Ddex2oat.cc1822 int bytes_read = TEMP_FAILURE_RETRY(read(in->Fd(), buffer.get(), buffer_size)); local
1823 if (bytes_read <= 0) {
1826 bool write_ok = out->WriteFully(buffer.get(), bytes_read);

Completed in 763 milliseconds