/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/av/media/libstagefright/xmlparser/ |
MediaCodecsXmlParser.cpp | 192 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); local 193 if (bytes_read < 0) { 199 XML_Status status = ::XML_ParseBuffer(parser, bytes_read, bytes_read == 0); 206 if (bytes_read == 0) { [all...] |
/prebuilts/ndk/r16/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/bt/stack/a2dp/ |
a2dp_sbc_encoder.cc | 536 uint32_t bytes_read = 0; local 562 bytes_read += num_bytes; 590 bytes_read)) 599 static bool a2dp_sbc_read_feeding(uint32_t* bytes_read) { 650 *bytes_read = nb_byte_read; [all...] |
/system/core/adb/ |
adb.cpp | 599 DWORD bytes_read = 0; local 600 if (!ReadFile(read_pipe.get(), buf, sizeof(buf), &bytes_read, NULL)) { 616 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get()); 617 if (bytes_written != bytes_read) { 619 bytes_read, output_name); [all...] |
/art/patchoat/ |
patchoat_test.cc | 200 ssize_t bytes_read = 0; local 202 while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { 203 *error_msg += std::string(buffer, bytes_read);
|
/bootable/recovery/applypatch/ |
applypatch.cpp | 73 size_t bytes_read = ota_fread(data.data(), 1, data.size(), f.get()); local 74 if (bytes_read != data.size()) { 75 printf("short read of \"%s\" (%zu bytes of %zu)\n", filename, bytes_read, data.size());
|
/device/google/contexthub/util/nanotool/ |
contexthub.cpp | 156 size_t bytes_read = fread(firmware_data.data(), sizeof(uint8_t), local 160 if (bytes_read != static_cast<size_t>(file_size)) { 162 bytes_read, file_size);
|
/device/google/marlin/dataservices/rmnetctl/src/ |
librmnetctl.c | 111 ssize_t bytes_read = -1; local 174 bytes_read = recvfrom(hndl->netlink_fd, 180 if (bytes_read < 0) {
|
/external/libchrome/base/process/ |
launch_posix.cc | 630 ssize_t bytes_read = local 632 if (bytes_read <= 0) 634 output->append(buffer, bytes_read);
|
/external/pdfium/core/fxge/ |
cfx_fontmapper.cpp | 307 uint32_t bytes_read = local 309 return bytes_read == size ? GetNameFromTT(buffer_ptr, bytes_read, 6)
|
/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/core/libbacktrace/ |
backtrace_test.cpp | 1043 size_t bytes_read = backtrace->Read(read_addr, data, 2 * pagesize); local 1142 size_t bytes_read = backtrace->Read(reinterpret_cast<uint64_t>(&g_ready), local 1144 ASSERT_EQ(sizeof(g_ready), bytes_read); local 1149 ASSERT_EQ(sizeof(g_addr), bytes_read); local 1723 size_t bytes_read = backtrace->Read(reinterpret_cast<uint64_t>(const_cast<int*>(&value)), local 1725 ASSERT_EQ(sizeof(read_value), bytes_read); local [all...] |
/system/update_engine/payload_generator/ |
payload_signer.cc | 291 size_t bytes_read = payload_metadata.size(); local 294 payload_file->ReadAllBlocking(payload_metadata.data() + bytes_read, 295 payload_metadata.size() - bytes_read,
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
tensor_bundle.cc | 111 size_t bytes_read = 0; local 113 buffered_file->ReadNBytes(string_length, &(*buffer)[0], &bytes_read)); 114 *actual_crc32c = crc32c::Extend(*actual_crc32c, buffer->data(), bytes_read); 142 size_t bytes_read = 0; local 144 buffered_file->ReadNBytes(string_length, &buffer[0], &bytes_read)); 145 *actual_crc32c = crc32c::Extend(*actual_crc32c, buffer.data(), bytes_read); [all...] |
/external/libbrillo/brillo/streams/ |
stream.cc | 235 size_t bytes_read, 238 success_callback.Run(bytes_read, eos);
|
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/inc/ |
Ala.h | 46 int bytes_read; member in struct:Ala_ImageInfo 67 int bytes_read; member in struct:Ala_ImageInfo
|
/hardware/qcom/audio/hal/audio_extn/ |
sndmonitor.c | 154 ssize_t bytes_read; local 174 while ((bytes_read = getline(&line, &len, fp) != -1)) {
|
/external/curl/lib/ |
smb.c | 291 ssize_t bytes_read; local 297 result = Curl_read(conn, FIRSTSOCKET, buf + smbc->got, len, &bytes_read); 301 if(!bytes_read) 304 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...] |
/frameworks/native/cmds/atrace/ |
atrace.cpp | 929 ssize_t bytes_read = read(traceFD, trace_data, 4096); local 930 if (bytes_read > 0) { 931 write(STDOUT_FILENO, trace_data, bytes_read); 936 bytes_read, errno, strerror(errno)); [all...] |
/hardware/nxp/secure_element/ls_client/inc/ |
LsLib.h | 44 int bytes_read; member in struct:Lsc_ImageInfo
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
hw_hdmi.cpp | 591 ssize_t bytes_read = 0; local 594 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 598 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 600 return (bytes_read > 0); [all...] |