/external/dbus/tools/ |
dbus-launch.c | 565 int bytes_read; local 570 bytes_read = read (tty_fd, discard, sizeof (discard)); 573 bytes_read, errno); 575 if (bytes_read == 0) 577 else if (bytes_read < 0 && errno != EINTR)
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/ |
wiimote.cpp | 220 int bytes_read = 0; local 224 if (mHIDDevice.ReadFromDevice(mInputBuffer,mInputBufferSize,bytes_read) && (bytes_read > 0,timeout))
|
/external/v8/src/ |
d8-posix.cc | 293 ssize_t bytes_read; local 296 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 297 } while (bytes_read == -1 && errno == EINTR); 298 if (bytes_read != 0) { 325 int bytes_read; local 327 bytes_read = static_cast<int>( 329 if (bytes_read == -1) { 347 if (bytes_read + fullness > 0) { 348 int length = bytes_read == 0 ? 349 bytes_read + fullness [all...] |
/external/webrtc/webrtc/p2p/base/ |
pseudotcp.cc | 536 size_t bytes_read = 0; local 538 buffer.get() + HEADER_SIZE, len, offset, &bytes_read); 541 ASSERT(static_cast<uint32_t>(bytes_read) == len); [all...] |
/frameworks/av/media/libstagefright/ |
MediaCodecList.cpp | 350 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); local 351 if (bytes_read < 0) { 357 XML_Status status = ::XML_ParseBuffer(parser, bytes_read, bytes_read == 0); 364 if (bytes_read == 0) { [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
sndmonitor.c | 153 ssize_t bytes_read; local 173 while ((bytes_read = getline(&line, &len, fp) != -1)) {
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_hdmi.cpp | 495 ssize_t bytes_read = 0; local 498 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 502 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 504 return (bytes_read > 0);
|
/hardware/qcom/display/msmcobalt/sdm/libs/core/fb/ |
hw_hdmi.cpp | 470 ssize_t bytes_read = 0; local 473 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 477 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 479 return (bytes_read > 0);
|
/system/bt/btif/src/ |
btif_sock_l2cap.c | 698 UINT32 bytes_read = 0; local 712 bytes_read = p_buf->len; 729 bytes_read = count; 744 uid_set_add_rx(uid_set, app_uid, bytes_read); [all...] |
/system/bt/hci/src/ |
hci_layer.c | 598 size_t bytes_read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->bytes_remaining); local 599 incoming->index += bytes_read; 600 incoming->bytes_remaining -= bytes_read;
|
/system/core/adb/ |
adb.cpp | 569 DWORD bytes_read = 0; local 570 if (!ReadFile(read_pipe.get(), buf, sizeof(buf), &bytes_read, NULL)) { 586 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get()); 587 if (bytes_written != bytes_read) { 588 fprintf(stderr, "Only wrote %zu of %lu bytes to %s\n", bytes_written, bytes_read, [all...] |
/system/core/debuggerd/ |
debuggerd.cpp | 397 ssize_t bytes_read; local 398 while ((bytes_read = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { 399 ssize_t bytes_to_send = bytes_read; 402 bytes_written = TEMP_FAILURE_RETRY(write(fd, buffer + bytes_read - bytes_to_send, 415 ALOGE("Failed to write all data to fd: read %zd, sent %zd", bytes_read, bytes_to_send);
|
/system/core/libbacktrace/ |
BacktraceOffline.cpp | 192 size_t bytes_read = Read(ptr, reinterpret_cast<uint8_t*>(out_value), sizeof(word_t)); local 193 return bytes_read == sizeof(word_t);
|
/bionic/tests/ |
gtest_main.cpp | 720 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(child_proc.child_read_fd, buf, sizeof(buf) - 1)); local 721 if (bytes_read > 0) { 722 buf[bytes_read] = '\0'; 724 } else if (bytes_read == 0) { [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_win.cc | 333 uptr bytes_read; local 334 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || 335 bytes_read != sizeof(dos_header)) 351 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || 352 bytes_read != sizeof(buf)) 487 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, 491 // bytes_read can't be passed directly to ReadFile: 498 if (bytes_read) 499 *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/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/libchrome/base/files/ |
file_util_posix.cc | 392 ssize_t bytes_read = local 394 if (bytes_read <= 0) 396 total_read += bytes_read; 684 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, max_size)); 687 return bytes_read; 884 ssize_t bytes_read = infile.ReadAtCurrentPos(&buffer[0], buffer.size()); local 885 if (bytes_read < 0) { 889 if (bytes_read == 0) 895 &buffer[bytes_written_per_read], bytes_read - bytes_written_per_read); 901 } while (bytes_written_per_read < bytes_read); [all...] |
/external/libjpeg-turbo/ |
jdmarker.c | 105 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon15229 760 unsigned int bytes_read, data_length; local 789 marker->bytes_read = 0; 790 bytes_read = 0; 794 bytes_read = data_length = 0; 799 bytes_read = marker->bytes_read; 801 data = cur_marker->data + bytes_read; 804 while (bytes_read < data_length) { 806 marker->bytes_read = bytes_read [all...] |
/external/libmicrohttpd/src/microhttpd/ |
connection.c | 1660 int bytes_read; local [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/ltrace/sysdeps/linux-gnu/ |
trace.c | 1205 size_t offset = 0, bytes_read = 0; local 1211 return bytes_read; [all...] |
/external/mesa3d/src/gtest/src/ |
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...] |