/art/dex2oat/ |
dex2oat_test.cc | 231 ssize_t bytes_read = 0; local 233 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { 234 output_ += std::string(buffer, bytes_read); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
bz2module.c | 259 int bytes_read;
local 275 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1);
277 if (bytes_read == 0) break;
287 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1);
289 if (bytes_read == 0) break;
[all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_win.cc | 421 uptr bytes_read; local 422 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || 423 bytes_read != sizeof(dos_header)) 439 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || 440 bytes_read != sizeof(buf)) 568 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, 572 // bytes_read can't be passed directly to ReadFile: 579 if (bytes_read) 580 *bytes_read = num_read_long;
|
/external/google-breakpad/src/common/linux/ |
dump_symbols.cc | 479 ssize_t bytes_read = HANDLE_EINTR(read(debuglink_fd, &buf, kReadSize)); local 480 if (bytes_read < 0) { 485 if (bytes_read == 0) 487 actual_crc = google_breakpad::UpdateCrc32(actual_crc, buf, bytes_read); [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest-death-test.cc | 425 int bytes_read; local 432 bytes_read = posix::Read(read_fd(), &flag, 1); 433 } while (bytes_read == -1 && errno == EINTR); 435 if (bytes_read == 0) { 437 } else if (bytes_read == 1) { [all...] |
/external/googletest/googletest/src/ |
gtest-death-test.cc | 438 int bytes_read; local 445 bytes_read = posix::Read(read_fd(), &flag, 1); 446 } while (bytes_read == -1 && errno == EINTR); 448 if (bytes_read == 0) { 450 } else if (bytes_read == 1) { [all...] |
/external/libchrome/base/files/ |
file_util_posix.cc | 393 ssize_t bytes_read = local 395 if (bytes_read <= 0) 397 total_read += bytes_read; 704 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, max_size)); 707 return bytes_read; 904 ssize_t bytes_read = infile.ReadAtCurrentPos(&buffer[0], buffer.size()); local 905 if (bytes_read < 0) { 909 if (bytes_read == 0) 915 &buffer[bytes_written_per_read], bytes_read - bytes_written_per_read); 921 } while (bytes_written_per_read < bytes_read); [all...] |
/external/libjpeg-turbo/ |
jdmarker.c | 106 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon23578 761 unsigned int bytes_read, data_length; local 790 marker->bytes_read = 0; 791 bytes_read = 0; 795 bytes_read = data_length = 0; 800 bytes_read = marker->bytes_read; 802 data = cur_marker->data + bytes_read; 805 while (bytes_read < data_length) { 807 marker->bytes_read = bytes_read [all...] |
/external/libmicrohttpd/src/microhttpd/ |
connection.c | 1660 int bytes_read; local [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-death-test.cc | 438 int bytes_read; local 445 bytes_read = posix::Read(read_fd(), &flag, 1); 446 } while (bytes_read == -1 && errno == EINTR); 448 if (bytes_read == 0) { 450 } else if (bytes_read == 1) { [all...] |
/external/libxml2/ |
nanohttp.c | 1269 int bytes_read = 0; local [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest-death-test.cc | 390 int bytes_read; local 397 bytes_read = posix::Read(read_fd(), &flag, 1); 398 } while (bytes_read == -1 && errno == EINTR); 400 if (bytes_read == 0) { 402 } else if (bytes_read == 1) { [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-death-test.cc | 427 int bytes_read; local 434 bytes_read = posix::Read(read_fd(), &flag, 1); 435 } while (bytes_read == -1 && errno == EINTR); 437 if (bytes_read == 0) { 439 } else if (bytes_read == 1) { [all...] |
/external/openssh/ |
sftp-server.c | 278 u_int64_t bytes_read, bytes_write; member in struct:Handle 320 handles[i].bytes_read = handles[i].bytes_write = 0; 393 handles[handle].bytes_read += bytes; 407 return (handles[handle].bytes_read); [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jdmarker.c | 103 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon29424 777 unsigned int bytes_read, data_length; local 806 marker->bytes_read = 0; 807 bytes_read = 0; 811 bytes_read = data_length = 0; 816 bytes_read = marker->bytes_read; 818 data = cur_marker->data + bytes_read; 821 while (bytes_read < data_length) { 823 marker->bytes_read = bytes_read [all...] |
/external/protobuf/gtest/src/ |
gtest-death-test.cc | 374 int bytes_read; local 381 bytes_read = posix::Read(read_fd(), &flag, 1); 382 } while (bytes_read == -1 && errno == EINTR); 384 if (bytes_read == 0) { 386 } else if (bytes_read == 1) { [all...] |
/external/python/cpython2/Modules/ |
bz2module.c | 247 int bytes_read; local 263 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); 265 if (bytes_read == 0) break; 275 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); 277 if (bytes_read == 0) break; [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-death-test.cc | 387 int bytes_read; local 394 bytes_read = posix::Read(read_fd(), &flag, 1); 395 } while (bytes_read == -1 && errno == EINTR); 397 if (bytes_read == 0) { 399 } else if (bytes_read == 1) { [all...] |
/external/v8/testing/gtest/src/ |
gtest-death-test.cc | 436 int bytes_read; local 443 bytes_read = posix::Read(read_fd(), &flag, 1); 444 } while (bytes_read == -1 && errno == EINTR); 446 if (bytes_read == 0) { 448 } else if (bytes_read == 1) { [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
gtest-death-test.cc | 427 int bytes_read; local 434 bytes_read = posix::Read(read_fd(), &flag, 1); 435 } while (bytes_read == -1 && errno == EINTR); 437 if (bytes_read == 0) { 439 } else if (bytes_read == 1) { [all...] |
/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 888 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); local 889 if (bytes_read < 0) { 896 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)); 898 if (bytes_read == 0) break; // done parsing the xml file [all...] |
/frameworks/native/cmds/atrace/ |
atrace.cpp | 897 ssize_t bytes_read = read(traceFD, trace_data, 4096); local 898 if (bytes_read > 0) { 899 write(STDOUT_FILENO, trace_data, bytes_read); 904 bytes_read, errno, strerror(errno)); [all...] |
/frameworks/native/cmds/dumpstate/ |
utils.cpp | 605 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer))); local 606 if (bytes_read == -1) { 610 if (bytes_read == 0) { [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.c | 1032 gint bytes_read; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_hdmi.cpp | 579 ssize_t bytes_read = 0; local 582 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 586 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 588 return (bytes_read > 0); [all...] |