| /frameworks/native/cmds/dumpstate/ |
| dumpstate.cpp | 551 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer.data(), sizeof(buffer))); local 552 if (bytes_read == 0) { 554 } else if (bytes_read == -1) { 558 err = zip_writer->WriteBytes(buffer.data(), bytes_read); 1011 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd.get(), buffer.data(), buffer.size())); local [all...] |
| /system/bt/hci/test/ |
| hci_hal_h4_test.cpp | 118 size_t bytes_read; 119 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
|
| hci_hal_mct_test.cpp | 111 size_t bytes_read; 112 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
|
| /system/update_engine/payload_generator/ |
| ab_generator_unittest.cc | 156 ssize_t bytes_read; local 161 &bytes_read)); 162 ASSERT_EQ(bytes_read, static_cast<ssize_t>(first_op.data_length())); 189 &bytes_read)); 190 ASSERT_EQ(bytes_read, static_cast<ssize_t>(second_op.data_length())); 323 ssize_t bytes_read; local 328 &bytes_read)); 329 ASSERT_EQ(static_cast<ssize_t>(new_op.data_length()), bytes_read); local
|
| generate_delta_main.cc | 223 ssize_t bytes_read; local 224 CHECK(utils::PReadAll(fd, buf.data(), buf.size(), offset, &bytes_read)); 225 if (bytes_read == 0) 227 CHECK_EQ(performer.Write(buf.data(), bytes_read), bytes_read);
|
| /art/runtime/jit/ |
| offline_profiling_info.cc | 350 int bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, byte_count)); local 351 if (bytes_read == 0) { 354 } else if (bytes_read < 0) { 358 byte_count -= bytes_read; 359 buffer += bytes_read;
|
| /external/chromium-trace/catapult/third_party/gsutil/gslib/ |
| gcs_json_media.py | 513 bytes_read = 0 521 bytes_read += len(new_data) 526 long(bytes_read) != long(content_length)): 533 'bytes read.', bytes_read, content_length, request_uri) 534 response.msg['content-length'] = str(bytes_read)
|
| /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/google-breakpad/src/common/windows/ |
| omap.cc | 190 DWORD bytes_read = 0; local 192 if (FAILED(stream->Next(count, 0, &bytes_read, NULL, &count_read))) { 200 if (count * sizeof(OmapTable::value_type) != bytes_read) { 207 bytes_read = 0; 209 if (FAILED(stream->Next(count, bytes_expected, &bytes_read,
|
| /external/dbus/dbus/ |
| dbus-sysdeps-unix.c | 281 int bytes_read; 318 bytes_read = recvmsg(fd, &m, 0 324 if (bytes_read < 0) 376 _dbus_string_set_length (buffer, start + bytes_read); 379 if (bytes_read > 0) 380 _dbus_verbose_bytes_of_string (buffer, start, bytes_read); 383 return bytes_read; 585 int bytes_read; local 603 bytes_read = read (fd, data, count); 605 if (bytes_read < 0 1697 int bytes_read; local [all...] |
| /external/autotest/client/tests/kvm/deps/ |
| rss.cpp | 332 DWORD bytes_read; local 338 &bytes_read, NULL) || !bytes_read) { 345 Send(ci->socket, buffer, bytes_read); 577 int bytes_read = fread(ci->chunk_buffer, 1, ci->chunk_size, fp); local 578 if (!SendPacket(ci->socket, ci->chunk_buffer, bytes_read)) 580 if (bytes_read < ci->chunk_size) { [all...] |
| /system/core/adb/ |
| file_sync_client.cpp | 233 int bytes_read = adb_read(lfd, sbuf.data, max); local 234 if (bytes_read == -1) { 238 } else if (bytes_read == 0) { 242 sbuf.size = bytes_read; 243 WriteOrDie(lpath, rpath, &sbuf, sizeof(SyncRequest) + bytes_read); 245 total_bytes_ += bytes_read; 246 bytes_copied += bytes_read; [all...] |
| /external/google-breakpad/src/client/windows/crash_generation/ |
| minidump_generator.cc | 364 SIZE_T bytes_read = 0; local 369 &bytes_read)) { 378 if (bytes_read != sizeof(client_assert_info)) {
|
| /device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 632 bytes_read = 0; 644 bytes_read = bytes_to_read; 648 return bytes_read;
|
| /external/e2fsprogs/lib/ext2fs/ |
| ext2_io.h | 67 unsigned long long bytes_read; member in struct:struct_io_stats
|
| /external/libbrillo/brillo/streams/ |
| stream.h | 409 // situation in which it would block (bytes_read = 0 and eos = false), 426 size_t bytes_read,
|
| /external/libchrome/base/files/ |
| file_path_watcher_linux.cc | 237 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd, &buffer[0], local 240 if (bytes_read < 0) { 246 while (i < bytes_read) { 249 DCHECK(i + event_size <= static_cast<size_t>(bytes_read));
|
| /external/opencv3/3rdparty/include/ffmpeg_/libavformat/ |
| avio.h | 136 int64_t bytes_read; member in struct:AVIOContext
|
| /hardware/qcom/camera/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 632 bytes_read = 0; 644 bytes_read = bytes_to_read; 648 return bytes_read;
|
| /hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
| hw_hdmi.cpp | 496 ssize_t bytes_read = 0; local 499 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 503 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 505 return (bytes_read > 0);
|
| /external/google-benchmark/src/ |
| sysinfo.cc | 412 size_t bytes_read = fread(buff, 1, sizeof(buff), file); local 414 if (memprefix(buff, bytes_read, "performance") == nullptr) return true;
|
| /external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
| gtest-port.cc | [all...] |
| /hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/test/ |
| omx_evrc_enc_test.c | 997 size_t bytes_read=0; local [all...] |
| /hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/test/ |
| omx_qcelp13_enc_test.c | 1000 size_t bytes_read=0; local [all...] |
| /system/media/audio_route/ |
| audio_route.c | 841 int bytes_read; local 890 bytes_read = fread(buf, 1, BUF_SIZE, file); 891 if (bytes_read < 0) 894 if (XML_ParseBuffer(parser, bytes_read, 895 bytes_read == 0) == XML_STATUS_ERROR) { 900 if (bytes_read == 0)
|