Searched refs:bytes_read (Results 1 – 3 of 3) sorted by relevance
57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); in TEST_F() local58 if (bytes_read == 0) { in TEST_F()61 computed_crc = crc32(computed_crc, buf, bytes_read); in TEST_F()
184 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_, ptr, byte_count)); in ReadFully() local185 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()
1665 int bytes_read = TEMP_FAILURE_RETRY(read(in->Fd(), buffer.get(), buffer_size)); in dex2oat() local1666 if (bytes_read <= 0) { in dex2oat()1669 bool write_ok = out->WriteFully(buffer.get(), bytes_read); in dex2oat()