/system/media/brillo/audio/audioservice/ |
audio_daemon.cpp | 150 int bytes_read = local 152 if (bytes_read != sizeof(event)) {
|
/system/nvram/hal/tests/ |
scoped_nvram_device.cc | 203 uint64_t bytes_read = 0; local 206 authorization_value.size(), StringToMutableBytePtr(data), &bytes_read); 210 data->resize(bytes_read);
|
/system/update_engine/payload_consumer/ |
postinstall_runner_action.cc | 221 size_t bytes_read; local 223 bytes_read = 0; 226 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof); 227 progress_buffer_.append(buf, bytes_read); 245 } while (bytes_read);
|
/system/update_engine/payload_generator/ |
full_update_generator.cc | 97 ssize_t bytes_read = -1; local 102 &bytes_read)); 103 TEST_AND_RETURN_FALSE(bytes_read == static_cast<ssize_t>(size_));
|
/test/vts/drivers/libdrivercomm/ |
VtsDriverCommUtil.cpp | 153 int bytes_read = 0; local 154 while (bytes_read < msg_len) { 155 int result = read(sockfd_, &msg[bytes_read], msg_len - bytes_read); 160 bytes_read += result;
|
/art/oatdump/ |
oatdump_test.h | 173 ssize_t bytes_read = local 175 if (bytes_read <= 0) { 178 line_len += bytes_read; 179 total += bytes_read;
|
/bionic/tests/ |
utils.h | 190 ssize_t bytes_read; local 191 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { 192 output.append(buf, bytes_read);
|
/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/wahoo/dumpstate/ |
DumpstateDevice.cpp | 121 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); local 123 if (bytes_read == 0) { 125 } else if (bytes_read < 0) { 130 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); 132 if (result != bytes_read) { 133 ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result);
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/ |
io_fip.c | 207 size_t bytes_read; local 229 &bytes_read); 266 size_t bytes_read; local 307 &bytes_read); 360 size_t bytes_read; local 388 result = io_read(backend_handle, buffer, length, &bytes_read); 396 *length_read = bytes_read; 397 fp->file_pos += bytes_read;
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 165 ssize_t bytes_read = recv(connfd, &command, sizeof(command), 0); local 167 if (bytes_read < 0) { 170 } else if (bytes_read == 0) { 174 } else if (bytes_read != sizeof(command)) { 176 bytes_read, sizeof(command)); 202 bytes_read = recv(connfd, &balloon_size, sizeof(balloon_size), 0); 204 if (bytes_read < 0) { 207 } else if (bytes_read == 0) {
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 131 uptr bytes_read = 0; local 132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); 133 EXPECT_EQ(len1, bytes_read); 137 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); 138 EXPECT_EQ(len2, bytes_read);
|
/external/e2fsprogs/lib/support/ |
quotaio.c | 192 unsigned int bytes_read = 0; local 201 err = ext2fs_file_read(e2_file, buf, size, &bytes_read); 207 return bytes_read;
|
/external/google-breakpad/src/tools/windows/dump_syms/ |
dump_syms_unittest.cc | 136 DWORD bytes_read = 0;
local 137 while (::ReadFile(child_stdout_read, buffer, sizeof(buffer), &bytes_read,
138 NULL) && bytes_read > 0) {
139 stdout_string->append(buffer, bytes_read);
159 size_t bytes_read = ::fread(buffer, 1, sizeof(buffer), f);
local 160 if (bytes_read == 0)
162 content->append(buffer, bytes_read);
|
/external/libchrome/base/files/ |
file_unittest.cc | 174 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local 175 EXPECT_EQ(0, bytes_read); 179 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); 180 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); 181 for (int i = 0; i < bytes_read; i++) 185 bytes_read = file.Read(0, data_read_1, 0); 186 EXPECT_EQ(0, bytes_read); 189 bytes_read = file.Read(0, data_read_1, kTestDataSize); 190 EXPECT_EQ(kTestDataSize, bytes_read); 191 for (int i = 0; i < bytes_read; i++ 262 int bytes_read = file.Read(0, data_read_1, local 298 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local [all...] |
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 340 size_t bytes_read = fread(buff, 1, sizeof(buff), file); local 342 if (memprefix(buff, bytes_read, "performance") == nullptr) return true;
|
/external/libese/libese-hw/nxp/pn80t/ |
common.c | 199 const uint32_t bytes_read = local 209 if (bytes_read >= 0x8 && rx_buf[0] == 0xe5 && rx_buf[1] == 0x12) { 211 while (tag_ptr < (rx_buf + bytes_read)) {
|
/external/ltp/testcases/kernel/io/stress_cd/ |
stress_cd.c | 145 int bytes_read = 0; local 159 while (bytes_read < num_bytes) { 165 bytes_read += n; 172 "%-#12lx\n", num, bytes_read, *cksum); 178 num, bytes_read, *cksum);
|
/external/pdfium/testing/ |
test_support.cpp | 95 size_t bytes_read = fread(buffer.get(), 1, file_length, file); local 97 if (bytes_read != file_length) { 101 *retlen = bytes_read;
|
/external/protobuf/conformance/ |
conformance_test_runner.cc | 206 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); local 208 if (bytes_read == 0) { 212 } else if (bytes_read < 0) { 219 len -= bytes_read; 220 ofs += bytes_read;
|
/external/vboot_reference/cgpt/ |
cgpt_find.c | 30 ssize_t bytes_read = read(fd, bufptr, count); local 32 if (bytes_read <= 0) 34 count -= bytes_read; 35 bufptr += bytes_read;
|
/external/webrtc/talk/media/devices/ |
filevideocapturer.cc | 286 size_t bytes_read; local 290 &bytes_read, 293 << ", bytes read = " << bytes_read << ", error = " << error; 295 if (CapturedFrame::kFrameHeaderSize != bytes_read) {
|
/system/core/trusty/storage/lib/ |
storage.c | 205 size_t bytes_read = 0; local 219 bytes_read += rc; 222 return bytes_read;
|
/system/extras/ioshark/ |
ioshark_bench.h | 63 u_int64_t bytes_read; member in struct:rw_bytes_s
|
/system/extras/tests/directiotest/ |
directiotest.c | 74 size_t bytes_read = 0; local 79 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); 87 bytes_read += ret; 88 } while (bytes_read < count); 90 return bytes_read;
|