| /system/core/libbacktrace/ |
| backtrace_test.cpp | 994 size_t bytes_read = backtrace->Read(read_addr, data, 2 * pagesize); local 995 ASSERT_EQ(pagesize, bytes_read); 1000 bytes_read = backtrace->Read(read_addr + i, data, 2 * sizeof(word_t)); 1001 ASSERT_EQ(2 * sizeof(word_t), bytes_read); 1011 bytes_read = backtrace->Read(read_addr + i, data, j); 1012 ASSERT_EQ(j, bytes_read); 1091 size_t bytes_read = backtrace->Read(reinterpret_cast<uintptr_t>(&g_ready), local 1094 ASSERT_EQ(sizeof(uintptr_t), bytes_read); local 1100 ASSERT_EQ(sizeof(uintptr_t), bytes_read); local [all...] |
| /external/dbus/dbus/ |
| dbus-sysdeps-win.c | 189 int bytes_read; local 208 bytes_read = recv (fd, data, count, 0); 210 if (bytes_read == SOCKET_ERROR) 214 bytes_read = -1; 217 _dbus_verbose ("recv: = %d\n", bytes_read); 219 if (bytes_read < 0) 233 _dbus_string_set_length (buffer, start + bytes_read); 236 if (bytes_read > 0) 237 _dbus_verbose_bytes_of_string (buffer, start, bytes_read); 240 return bytes_read; 1684 int bytes_read = 0; local [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/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 | 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/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/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 | 875 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); local 876 if (bytes_read < 0) { 883 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)); 885 if (bytes_read == 0) break; // done parsing the xml file [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/msm8909/mm-audio/aenc-aac/qdsp6/test/ |
| omx_aac_enc_test.c | 987 size_t bytes_read=0; local 993 bytes_read = fread(pBufHdr->pBuffer, 1, pBufHdr->nAllocLen , inputBufferFile); 995 pBufHdr->nFilledLen = (OMX_U32)bytes_read; 996 if(bytes_read == 0) [all...] |
| /ndk/sources/third_party/googletest/googletest/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...] |
| /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 | 390 ssize_t bytes_read; local 391 while ((bytes_read = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { 392 ssize_t bytes_to_send = bytes_read; 395 bytes_written = TEMP_FAILURE_RETRY(write(fd, buffer + bytes_read - bytes_to_send, 408 ALOGE("Failed to write all data to fd: read %zd, sent %zd", bytes_read, bytes_to_send);
|
| /device/google/contexthub/util/nanotool/ |
| contexthub.cpp | 152 size_t bytes_read = fread(firmware_data.data(), sizeof(uint8_t), local 156 if (bytes_read != static_cast<size_t>(file_size)) { 158 bytes_read, file_size);
|
| /device/huawei/angler/dataservices/rmnetctl/src/ |
| librmnetctl.c | 108 ssize_t bytes_read = -1; local 171 bytes_read = recvfrom(hndl->netlink_fd, 177 if (bytes_read < 0) {
|
| /device/lge/bullhead/dataservices/rmnetctl/src/ |
| librmnetctl.c | 109 ssize_t bytes_read = -1; local 172 bytes_read = recvfrom(hndl->netlink_fd, 178 if (bytes_read < 0) {
|
| /device/moto/shamu/dataservices/rmnetctl/src/ |
| librmnetctl.c | 97 int bytes_read = -1, return_code = RMNETCTL_API_ERR_HNDL_INVALID; local 156 bytes_read = recvfrom(hndl->netlink_fd, 162 if (bytes_read < 0) {
|
| /external/webrtc/webrtc/call/ |
| rtc_event_log.cc | 503 int bytes_read = 0; 509 while ((bytes_read = dump_file->Read(tmp_buffer, sizeof(tmp_buffer))) > 0) { 510 dump_buffer.append(tmp_buffer, bytes_read);
|
| /system/bt/hci/src/ |
| hci_layer.c | 595 size_t bytes_read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->bytes_remaining); local 596 incoming->index += bytes_read; 597 incoming->bytes_remaining -= bytes_read;
|
| /system/update_engine/payload_generator/ |
| payload_signer.cc | 289 size_t bytes_read = payload_metadata.size(); local 292 payload_file->ReadAllBlocking(payload_metadata.data() + bytes_read, 293 payload_metadata.size() - bytes_read,
|
| /external/libbrillo/brillo/streams/ |
| stream.cc | 235 size_t bytes_read, 238 success_callback.Run(bytes_read, eos);
|
| /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/curl/lib/ |
| smb.c | 290 ssize_t bytes_read; local 296 result = Curl_read(conn, FIRSTSOCKET, buf + smbc->got, len, &bytes_read); 300 if(!bytes_read) 303 smbc->got += bytes_read;
|
| /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...] |