/packages/services/BuiltInPrintService/jni/lib/ |
D | printer.c | 94 ssize_t bytes_written; in _send_data() local 100 bytes_written = write(print_job->psock, buffer, length); in _send_data() 101 if (bytes_written < 0) { in _send_data() 104 length -= bytes_written; in _send_data() 105 buffer += bytes_written; in _send_data() 124 bytes_written = write(print_job->psock, buffer, length); in _send_data() 125 if (bytes_written < 0) { in _send_data() 129 length -= bytes_written; in _send_data() 130 buffer += bytes_written; in _send_data()
|
D | lib_wprint.c | 270 ssize_t bytes_written; in _stream_dbg_job_data() local 273 bytes_written = write(jq->job_debug_fd, buff, nbytes); in _stream_dbg_job_data() 274 if (bytes_written < 0) { in _stream_dbg_job_data() 277 nbytes -= bytes_written; in _stream_dbg_job_data() 278 buff += bytes_written; in _stream_dbg_job_data() 294 ssize_t bytes_written; in _stream_dbg_page_data() local 297 bytes_written = write(jq->page_debug_fd, buff, nbytes); in _stream_dbg_page_data() 298 if (bytes_written < 0) { in _stream_dbg_page_data() 301 nbytes -= bytes_written; in _stream_dbg_page_data() 302 buff += bytes_written; in _stream_dbg_page_data()
|
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/ |
D | audio_sink_hal_client.cc | 239 size_t bytes_written; in SendData() local 251 bytes_written = halSourceInterface_->Write(data, size); in SendData() 252 if (bytes_written != size) { in SendData() 255 bytes_written, size); in SendData() 258 return bytes_written; in SendData()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | hfp_client_interface_aidl.cc | 192 void HfpDecodingTransport::LogBytesRead(size_t bytes_written) { in LogBytesRead() argument 193 transport_->LogBytesProcessed(bytes_written); in LogBytesRead() 246 void HfpEncodingTransport::LogBytesWritten(size_t bytes_written) { in LogBytesWritten() argument 247 transport_->LogBytesProcessed(bytes_written); in LogBytesWritten()
|
D | transport_instance.h | 131 virtual void LogBytesWritten(size_t bytes_written) = 0;
|
D | hfp_client_interface_aidl.h | 151 void LogBytesWritten(size_t bytes_written) override;
|
D | le_audio_software_aidl.h | 217 void LogBytesWritten(size_t bytes_written) override;
|
D | le_audio_software_aidl.cc | 530 void LeAudioSourceTransport::LogBytesWritten(size_t bytes_written) { in LogBytesWritten() argument 531 transport_->LogBytesProcessed(bytes_written); in LogBytesWritten()
|
/packages/modules/adb/ |
D | socket_test.cpp | 109 size_t bytes_written; member 117 arg->bytes_written = 0; in CreateCloser() 127 arg->bytes_written += data.size(); in CreateCloser() 197 std::vector<char> buf(arg.bytes_written); in TEST_F() 198 ASSERT_NE(0u, arg.bytes_written); in TEST_F()
|
D | sysdeps_win32.cpp | 505 DWORD bytes_written = 0; in adb_pwrite() local 506 if (!::WriteFile(adb_get_os_handle(fd), buf, len, &bytes_written, ¶ms)) { in adb_pwrite() 517 return static_cast<int>(bytes_written); in adb_pwrite() 733 DWORD bytes_written = 0; in _fh_socket_writev() local 734 int result = WSASend(f->fh_socket, wsabuf, iovcnt, &bytes_written, 0, nullptr, nullptr); in _fh_socket_writev() 746 CHECK_GE(static_cast<DWORD>(std::numeric_limits<int>::max()), bytes_written); in _fh_socket_writev() 747 return static_cast<int>(bytes_written); in _fh_socket_writev()
|
D | adb.cpp | 740 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get()); in _redirect_pipe_thread() local 741 if (bytes_written != bytes_read) { in _redirect_pipe_thread() 742 fprintf(stderr, "adb: error: only wrote %zu of %lu bytes to %s\n", bytes_written, in _redirect_pipe_thread()
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | socket.rs | 392 let mut bytes_written; in write_mgmt_packet() localVariable 394 bytes_written = libc::write( in write_mgmt_packet() 401 let retry = bytes_written == -1 in write_mgmt_packet() 409 bytes_written in write_mgmt_packet()
|
/packages/services/Car/cpp/bugreport/ |
D | main.cpp | 464 size_t bytes_written = 0; in main() local 473 bool is_success = doBugreport(progress_socket, &bytes_written, &zip_path); in main() 494 ALOGI("bugreport %s in %.02fs, %zu bytes written", result.c_str(), delta_sec, bytes_written); in main()
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | le_audio_software_host_transport.cc | 299 void LeAudioSourceTransport::LogBytesWritten(size_t bytes_written) { in LogBytesWritten() argument 300 transport_->LogBytesProcessed(bytes_written); in LogBytesWritten()
|
D | le_audio_software_host_transport.h | 152 void LogBytesWritten(size_t bytes_written);
|
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | le_audio_software_hidl.cc | 410 void LeAudioSourceTransport::LogBytesWritten(size_t bytes_written) { in LogBytesWritten() argument 411 transport_->LogBytesProcessed(bytes_written); in LogBytesWritten()
|
D | le_audio_software_hidl.h | 176 void LogBytesWritten(size_t bytes_written) override;
|
D | client_interface_hidl.h | 179 virtual void LogBytesWritten(size_t bytes_written) = 0;
|
D | client_interface_hidl_unittest.cc | 209 void LogBytesWritten(size_t bytes_written __unused) override{}; in LogBytesWritten()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | suspend.rs | 96 let bytes_written = btsock.write_mgmt_packet(command.into()); in notify_suspend_state() localVariable 97 if bytes_written <= 0 { in notify_suspend_state()
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_host_rootcanal.cc | 230 auto bytes_written = write(sock_fd_, (void*)packet_to_send.data(), packet_to_send.size()); in send_packet_ready() local 232 if (bytes_written == -1) { in send_packet_ready()
|
D | hci_hal_host.cc | 369 auto bytes_written = write(sock_fd_, (void*)packet_to_send.data(), packet_to_send.size()); in send_packet_ready() local 371 if (bytes_written == -1) { in send_packet_ready()
|