Searched refs:bytes_read (Results 1 – 7 of 7) sorted by relevance
/art/libartbase/base/ |
D | zip_archive_test.cc | 58 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); in TEST_F() local 59 if (bytes_read == 0) { in TEST_F() 62 computed_crc = crc32(computed_crc, buf, bytes_read); in TEST_F()
|
D | common_art_test.cc | 565 ssize_t bytes_read = 0; in ForkAndExec() local 566 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0].get(), buffer, 128)) > 0) { in ForkAndExec() 567 handler(buffer, bytes_read); in ForkAndExec()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 79 DWORD bytes_read = 0; in pread() local 84 if (!ReadFile(handle, data, static_cast<DWORD>(byte_count), &bytes_read, &overlapped)) { in pread() 90 !::GetOverlappedResult(handle, &overlapped, &bytes_read, TRUE)) { in pread() 96 return static_cast<ssize_t>(bytes_read); in pread() 424 ssize_t bytes_read = TEMP_FAILURE_RETRY(read_func(fd, ptr, byte_count, offset)); in ReadFullyGeneric() local 425 if (bytes_read <= 0) { in ReadFullyGeneric() 430 byte_count -= bytes_read; // Reduce the number of remaining bytes. in ReadFullyGeneric() 431 ptr += bytes_read; // Move the buffer forward. in ReadFullyGeneric() 432 offset += static_cast<size_t>(bytes_read); // Move the offset forward. in ReadFullyGeneric()
|
/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/runtime/ |
D | native_stack_dump.cc | 194 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); in Drain() local 195 if (bytes_read <= 0) { in Drain() 200 buffer[bytes_read] = '\0'; in Drain()
|
/art/tools/timeout_dumper/ |
D | timeout_dumper.cc | 244 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); in Drain() local 245 if (bytes_read <= 0) { in Drain() 250 buffer[bytes_read] = '\0'; in Drain()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 1338 int bytes_read = TEMP_FAILURE_RETRY(read(fd_, buffer, byte_count));; in Read() local 1339 if (bytes_read == 0) { in Read() 1342 } else if (bytes_read < 0) { in Read() 1346 byte_count -= bytes_read; in Read() 1347 buffer += bytes_read; in Read()
|