/device/linaro/hikey/bluetooth/ |
D | hci_packetizer.cc | 53 size_t bytes_read = TEMP_FAILURE_RETRY( in OnDataReady() local 56 CHECK(bytes_read > 0); in OnDataReady() 57 bytes_read_ += bytes_read; in OnDataReady() 71 size_t bytes_read = TEMP_FAILURE_RETRY(read( in OnDataReady() local 75 CHECK(bytes_read > 0); in OnDataReady() 76 bytes_remaining_ -= bytes_read; in OnDataReady() 77 bytes_read_ += bytes_read; in OnDataReady()
|
D | h4_protocol.cc | 60 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, 1)); in OnDataReady() local 61 CHECK(bytes_read == 1); in OnDataReady()
|
D | bluetooth_hci.cc | 71 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, tmp_buffer, tty_bytes)); in initialize() local 72 CHECK(static_cast<int>(bytes_read) == tty_bytes); in initialize()
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/partition/ |
D | partition.c | 46 size_t bytes_read; in load_mbr_header() local 58 PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_header() 81 size_t bytes_read; in load_gpt_header() local 89 sizeof(gpt_header_t), &bytes_read); in load_gpt_header() 90 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { in load_gpt_header() 108 size_t bytes_read; in load_gpt_entry() local 113 &bytes_read); in load_gpt_entry() 114 if (sizeof(gpt_entry_t) != bytes_read) in load_gpt_entry()
|
/device/google/marlin/dumpstate/ |
D | DumpstateDevice.cpp | 92 … ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); in dumpModem() local 94 if (bytes_read == 0) { in dumpModem() 96 } else if (bytes_read < 0) { in dumpModem() 101 … ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); in dumpModem() 103 if (result != bytes_read) { in dumpModem() 104 … ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result); in dumpModem()
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/ |
D | io_fip.c | 125 size_t bytes_read; in fip_dev_init() local 147 &bytes_read); in fip_dev_init() 183 size_t bytes_read; in fip_file_open() local 222 &bytes_read); in fip_file_open() 275 size_t bytes_read; in fip_file_read() local 303 result = io_read(backend_handle, buffer, length, &bytes_read); in fip_file_read() 311 *length_read = bytes_read; in fip_file_read() 312 fp->file_pos += bytes_read; in fip_file_read()
|
/device/google/cuttlefish_common/host/frontend/adb_connector/ |
D | main.cpp | 64 auto bytes_read = evt_shared_fd->Read(&event, sizeof(event)); in WaitForAdbdToBeStarted() local 65 if (bytes_read != sizeof(event)) { in WaitForAdbdToBeStarted() 66 LOG(ERROR) << "Fail to read a complete event, read " << bytes_read in WaitForAdbdToBeStarted()
|
/device/google/wahoo/dumpstate/ |
D | DumpstateDevice.cpp | 190 … ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); in dumpModem() local 192 if (bytes_read == 0) { in dumpModem() 194 } else if (bytes_read < 0) { in dumpModem() 199 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); in dumpModem() 201 if (result != bytes_read) { in dumpModem() 202 … ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result); in dumpModem()
|
/device/google/bonito/dumpstate/ |
D | DumpstateDevice.cpp | 216 … ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); in dumpModem() local 218 if (bytes_read == 0) { in dumpModem() 220 } else if (bytes_read < 0) { in dumpModem() 225 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); in dumpModem() 227 if (result != bytes_read) { in dumpModem() 228 … ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result); in dumpModem()
|
/device/google/crosshatch/dumpstate/ |
D | DumpstateDevice.cpp | 206 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); in dumpModem() local 208 if (bytes_read == 0) { in dumpModem() 210 } else if (bytes_read < 0) { in dumpModem() 215 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); in dumpModem() 217 if (result != bytes_read) { in dumpModem() 218 ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result); in dumpModem()
|
/device/google/contexthub/util/nanotool/ |
D | calibrationfile.cpp | 52 ssize_t bytes_read = file_->read(file_data.data(), file_size); in Initialize() local 53 if (bytes_read != file_size) { in Initialize() 55 bytes_read, file_size); in Initialize()
|
D | contexthub.cpp | 157 size_t bytes_read = fread(firmware_data.data(), sizeof(uint8_t), in Flash() local 161 if (bytes_read != static_cast<size_t>(file_size)) { in Flash() 163 bytes_read, file_size); in Flash()
|
/device/linaro/bootloader/arm-trusted-firmware/common/ |
D | bl_common.c | 217 size_t bytes_read; in load_image() local 263 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image() 264 if ((io_result != 0) || (bytes_read < image_size)) { in load_image() 395 size_t bytes_read; in load_image() local 441 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image() 442 if ((io_result != 0) || (bytes_read < image_size)) { in load_image()
|
/device/google/cuttlefish_common/host/commands/launch/ |
D | process_monitor.cc | 94 auto bytes_read = entry->proc->control_socket()->Read(buffer, sizeof(buffer)); in RestartOnExitCb() local 95 if (bytes_read > 0) { in RestartOnExitCb() 97 << bytes_read in RestartOnExitCb()
|
D | main.cc | 88 auto bytes_read = boot_events_pipe->Read(&evt, sizeof(evt)); in OnBootEvtReceived() local 89 if (bytes_read != sizeof(evt)) { in OnBootEvtReceived() 90 LOG(ERROR) << "Fail to read a complete event, read " << bytes_read in OnBootEvtReceived() 233 auto bytes_read = read_end->Read(&exit_code, sizeof(exit_code)); in DaemonizeLauncher() local 234 if (bytes_read != sizeof(exit_code)) { in DaemonizeLauncher() 235 LOG(ERROR) << "Failed to read a complete exit code, read " << bytes_read in DaemonizeLauncher()
|
D | boot_image_unpacker.cc | 60 auto bytes_read = boot_img->Read(&header, sizeof(header)); in FromImage() local 61 if (bytes_read != sizeof(header)) { in FromImage()
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; in decoder_input_req_handler() local 632 bytes_read = 0; in decoder_input_req_handler() 644 bytes_read = bytes_to_read; in decoder_input_req_handler() 648 return bytes_read; in decoder_input_req_handler()
|
/device/google/marlin/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 111 ssize_t bytes_read = -1; in rmnetctl_transact() local 174 bytes_read = recvfrom(hndl->netlink_fd, in rmnetctl_transact() 180 if (bytes_read < 0) { in rmnetctl_transact()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | pyexpat.c | 975 int bytes_read; in xmlparse_ParseFile() local 982 bytes_read = readinst(buf, BUF_SIZE, readmethod); in xmlparse_ParseFile() 983 if (bytes_read < 0) { in xmlparse_ParseFile() 988 rv = XML_ParseBuffer(self->itself, bytes_read, bytes_read == 0); in xmlparse_ParseFile() 994 if (!rv || bytes_read == 0) in xmlparse_ParseFile()
|
D | zipimport.c | 840 Py_ssize_t bytes_read = 0; in get_data() local 885 bytes_read = fread(buf, 1, data_size, fp); in get_data() 887 if (err || bytes_read != data_size) { in get_data()
|
D | bz2module.c | 259 int bytes_read; in Util_GetLine() local 275 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); in Util_GetLine() 277 if (bytes_read == 0) break; in Util_GetLine() 287 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); in Util_GetLine() 289 if (bytes_read == 0) break; in Util_GetLine()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | pyexpat.c | 975 int bytes_read; in xmlparse_ParseFile() local 982 bytes_read = readinst(buf, BUF_SIZE, readmethod); in xmlparse_ParseFile() 983 if (bytes_read < 0) { in xmlparse_ParseFile() 988 rv = XML_ParseBuffer(self->itself, bytes_read, bytes_read == 0); in xmlparse_ParseFile() 994 if (!rv || bytes_read == 0) in xmlparse_ParseFile()
|
D | zipimport.c | 853 Py_ssize_t bytes_read = 0; in get_data() local 908 bytes_read = fread(buf, 1, data_size, fp); in get_data() 915 if (err || bytes_read != data_size) { in get_data()
|