Searched refs:bytes_read (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | zip_archive_test.cc | 57 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()
|
D | native_stack_dump.cc | 177 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); in Drain() local 178 if (bytes_read <= 0) { in Drain() 183 buffer[bytes_read] = '\0'; in Drain()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 308 int64_t bytes_read = elf_file_->Read(buffer.data(), kBufSize, offset); in ComputeFileBuildId() local 309 CHECK_GE(bytes_read, 0); in ComputeFileBuildId() 310 if (bytes_read == 0) { in ComputeFileBuildId() 314 SHA1_Update(&ctx, buffer.data(), bytes_read); in ComputeFileBuildId() 315 offset += bytes_read; in ComputeFileBuildId()
|
/art/oatdump/ |
D | oatdump_test.h | 205 ssize_t bytes_read = in Exec() local 207 if (bytes_read <= 0) { in Exec() 210 line_len += bytes_read; in Exec() 211 total += bytes_read; in Exec()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 260 ssize_t bytes_read = TEMP_FAILURE_RETRY(read_func(fd, ptr, byte_count, offset)); in ReadFullyGeneric() local 261 if (bytes_read <= 0) { in ReadFullyGeneric() 266 byte_count -= bytes_read; // Reduce the number of remaining bytes. in ReadFullyGeneric() 267 ptr += bytes_read; // Move the buffer forward. in ReadFullyGeneric() 268 offset += static_cast<size_t>(bytes_read); // Move the offset forward. in ReadFullyGeneric()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 219 ssize_t bytes_read = 0; in RunDex2Oat() local 221 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { in RunDex2Oat() 222 *error_msg += std::string(buffer, bytes_read); in RunDex2Oat()
|
D | dex2oat_test.cc | 262 ssize_t bytes_read = 0; in Dex2Oat() local 264 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { in Dex2Oat() 265 output_ += std::string(buffer, bytes_read); in Dex2Oat()
|
/art/patchoat/ |
D | patchoat_test.cc | 200 ssize_t bytes_read = 0; in RunDex2OatOrPatchoat() local 202 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { in RunDex2OatOrPatchoat() 203 *error_msg += std::string(buffer, bytes_read); in RunDex2OatOrPatchoat()
|
/art/runtime/jit/ |
D | profile_compilation_info.cc | 1225 int bytes_read = TEMP_FAILURE_RETRY(read(fd_, buffer, byte_count));; in Read() local 1226 if (bytes_read == 0) { in Read() 1229 } else if (bytes_read < 0) { in Read() 1233 byte_count -= bytes_read; in Read() 1234 buffer += bytes_read; in Read()
|