/device/google/cuttlefish/common/libs/fs/ |
D | shared_buf.cc | 33 ssize_t WriteAll(SharedFD fd, const char* buf, size_t size) { in WriteAll() function 91 ssize_t WriteAll(SharedFD fd, std::string_view buf) { in WriteAll() function 92 return WriteAll(fd, buf.data(), buf.size()); in WriteAll() 95 ssize_t WriteAll(SharedFD fd, const std::vector<char>& buf) { in WriteAll() function 96 return WriteAll(fd, buf.data(), buf.size()); in WriteAll()
|
D | shared_buf.h | 109 ssize_t WriteAll(SharedFD fd, std::string_view buf); 125 ssize_t WriteAll(SharedFD fd, const std::vector<char>& buf); 141 ssize_t WriteAll(SharedFD fd, const char* buf, size_t size); 159 return WriteAll(fd, (const char*) binary_data, sizeof(*binary_data)); in WriteAllBinary()
|
D | shared_fd_stream.cpp | 80 if (WriteAll(shared_fd_, &z, 1) != 1) { in overflow() 90 WriteAll(shared_fd_, src, static_cast<std::size_t>(count))); in xsputn()
|
/device/google/cuttlefish/host/commands/assemble_cvd/disk/ |
D | generate_persistent_bootconfig.cpp | 70 ssize_t bytesWritten = WriteAll(bootconfig_fd, bootconfig); in GeneratePersistentBootconfig() 71 CF_EXPECT(WriteAll(bootconfig_fd, bootconfig) == bootconfig.size(), in GeneratePersistentBootconfig()
|
/device/google/cuttlefish/host/commands/tcp_connector/ |
D | main.cpp | 105 while (cuttlefish::WriteAll(sock, buf, read) == -1) { in main() 128 auto wrote = cuttlefish::WriteAll(fifo_out, buf, read); in main()
|
/device/google/cuttlefish/common/libs/confui/ |
D | packet.h | 122 auto nwrite = WriteAll(d, reinterpret_cast<const char*>(&payload_header), in WritePayload() 127 nwrite = WriteAll(d, reinterpret_cast<const char*>(data_to_send.data()), in WritePayload()
|
/device/google/cuttlefish/host/commands/casimir_control_server/ |
D | casimir_controller.cpp | 112 ssize_t written = WriteAll(sock_, reinterpret_cast<char*>(&header_bytes_le), in Write() 118 written = WriteAll(sock_, reinterpret_cast<char*>(raw_bytes.data()), in Write()
|
/device/google/cuttlefish/host/libs/image_aggregator/ |
D | image_aggregator.cc | 419 if (WriteAll(out, begin_str) != begin_str.size()) { in WriteBeginning() 431 if (WriteAll(out, padding_str) != padding_str.size()) { in WriteEnd() 492 if (WriteAll(output, padding_str) != padding_str.size()) { in AggregateImage()
|
/device/google/cuttlefish/common/libs/utils/ |
D | tee_logging.cpp | 252 WriteAll(destination.target, output_string); in operator ()() 254 WriteAll(destination.target, StripColorCodes(output_string)); in operator ()()
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | boot_state_machine.cc | 246 CHECK(cuttlefish::WriteAll(restore_adbd_pipe, "2") == 1) in ResultSetup() 275 CHECK(cuttlefish::WriteAll(restore_complete_pipe_write, "1") == 1) in ResultSetup()
|
/device/google/cuttlefish/host/commands/start/ |
D | main.cc | 152 int written = cuttlefish::WriteAll(out, output_string); in WriteFiles() 478 if (cuttlefish::WriteAll(runner_stdin_in, assembler_output) < 0) { in main()
|
/device/google/cuttlefish/host/libs/config/ |
D | esp.cpp | 419 if (WriteAll(config_file, dumped) != dumped.size()) { in Build() 496 if (WriteAll(config_file, dumped) != dumped.size()) { in Build()
|
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/ |
D | gnss_grpc_proxy.cpp | 157 ssize_t bytes_written = cuttlefish::WriteAll( in sendToSerial() 178 cuttlefish::WriteAll(gnss_in_, cached_gnss_raw + END_OF_MSG_MARK); in sendGnssRawToSerial()
|
/device/google/cuttlefish/host/commands/cvd_send_sms/ |
D | sms_sender.cc | 52 if (WriteAll(modem_simulator_client_fd_, at_command) != at_command.size()) { in Send()
|
/device/google/cuttlefish/host/commands/run_cvd/launch/ |
D | webrtc_recorder.cpp | 55 CF_EXPECTF(WriteAll(host_socket_, message) == message.size(), in SendCommandAndVerifyResponse()
|
/device/google/cuttlefish/host/commands/cvd_send_id_disclosure/ |
D | main.cc | 52 long written = WriteAll(fd, command); in SendDisclosure()
|
/device/google/cuttlefish/host/commands/cvd_update_security_algorithm/ |
D | main.cc | 54 long written = WriteAll(fd, command); in UpdateSecurityAlgorithm()
|
/device/google/cuttlefish/host/commands/logcat_receiver/ |
D | main.cpp | 75 auto written = cuttlefish::WriteAll(logcat_file, buff, read); in main()
|
/device/google/cuttlefish/common/libs/transport/ |
D | channel_sharedfd.cpp | 73 auto written = WriteAll(output_, message_bytes, write_size); in SendMessage()
|
/device/google/cuttlefish/host/commands/kernel_log_monitor/ |
D | utils.cc | 64 retval = cuttlefish::WriteAll(fd, message_string); in WriteEvent()
|
/device/google/cuttlefish/common/libs/security/ |
D | keymaster_channel_sharedfd.cpp | 57 auto written = WriteAll(output_, to_send_bytes, write_size); in SendMessage()
|
D | confui_sign.cpp | 50 auto n_written_payload = WriteAll(output, buf, payload.size()); in Send()
|
/device/google/cuttlefish/host/commands/mkenvimage_slim/ |
D | mkenvimage_slim.cc | 76 WriteAll(output_fd, (char*)env_buffer.data(), FLAGS_env_size)) { in MkenvimageSlimMain()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | main.cpp | 150 WriteAll(conn, "OK"); // Ignore the return value. Exit anyway. in ModemSimulatorMain()
|
/device/google/cuttlefish/host/libs/command_util/ |
D | util.cc | 175 ssize_t n = WriteAll(monitor_socket, serialized_data.data(), in RunLauncherAction()
|