Home
last modified time | relevance | path

Searched refs:WriteAll (Results 1 – 25 of 36) sorted by relevance

12

/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc33 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()
Dshared_buf.h109 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()
Dshared_fd_stream.cpp80 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/
Dgenerate_persistent_bootconfig.cpp70 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/
Dmain.cpp105 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/
Dpacket.h122 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/
Dcasimir_controller.cpp112 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/
Dimage_aggregator.cc419 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/
Dtee_logging.cpp252 WriteAll(destination.target, output_string); in operator ()()
254 WriteAll(destination.target, StripColorCodes(output_string)); in operator ()()
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc246 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/
Dmain.cc152 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/
Desp.cpp419 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/
Dgnss_grpc_proxy.cpp157 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/
Dsms_sender.cc52 if (WriteAll(modem_simulator_client_fd_, at_command) != at_command.size()) { in Send()
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dwebrtc_recorder.cpp55 CF_EXPECTF(WriteAll(host_socket_, message) == message.size(), in SendCommandAndVerifyResponse()
/device/google/cuttlefish/host/commands/cvd_send_id_disclosure/
Dmain.cc52 long written = WriteAll(fd, command); in SendDisclosure()
/device/google/cuttlefish/host/commands/cvd_update_security_algorithm/
Dmain.cc54 long written = WriteAll(fd, command); in UpdateSecurityAlgorithm()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp75 auto written = cuttlefish::WriteAll(logcat_file, buff, read); in main()
/device/google/cuttlefish/common/libs/transport/
Dchannel_sharedfd.cpp73 auto written = WriteAll(output_, message_bytes, write_size); in SendMessage()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dutils.cc64 retval = cuttlefish::WriteAll(fd, message_string); in WriteEvent()
/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel_sharedfd.cpp57 auto written = WriteAll(output_, to_send_bytes, write_size); in SendMessage()
Dconfui_sign.cpp50 auto n_written_payload = WriteAll(output, buf, payload.size()); in Send()
/device/google/cuttlefish/host/commands/mkenvimage_slim/
Dmkenvimage_slim.cc76 WriteAll(output_fd, (char*)env_buffer.data(), FLAGS_env_size)) { in MkenvimageSlimMain()
/device/google/cuttlefish/host/commands/modem_simulator/
Dmain.cpp150 WriteAll(conn, "OK"); // Ignore the return value. Exit anyway. in ModemSimulatorMain()
/device/google/cuttlefish/host/libs/command_util/
Dutil.cc175 ssize_t n = WriteAll(monitor_socket, serialized_data.data(), in RunLauncherAction()

12