Home
last modified time | relevance | path

Searched refs:ReadExact (Results 1 – 17 of 17) sorted by relevance

/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc50 ssize_t ReadExact(SharedFD fd, char* buf, size_t size) { in ReadExact() function
83 ssize_t ReadExact(SharedFD fd, std::string* buf) { in ReadExact() function
84 return ReadExact(fd, buf->data(), buf->size()); in ReadExact()
87 ssize_t ReadExact(SharedFD fd, std::vector<char>* buf) { in ReadExact() function
88 return ReadExact(fd, buf->data(), buf->size()); in ReadExact()
Dshared_buf.h50 ssize_t ReadExact(SharedFD fd, std::string* buf);
65 ssize_t ReadExact(SharedFD fd, std::vector<char>* buf);
80 ssize_t ReadExact(SharedFD fd, char* buf, size_t size);
92 return ReadExact(fd, (char*) binary_data, sizeof(*binary_data)); in ReadExactBinary()
Dshared_fd_stream.cpp45 ssize_t bytes_read = ReadExact(shared_fd_, in underflow()
Dshared_fd.cpp761 if (ReadExact(client, &actual_res) != expected_res.length()) { in VsockClient()
/device/google/cuttlefish/host/commands/casimir_control_server/
Dcasimir_controller.cpp127 Result<std::shared_ptr<std::vector<uint8_t>>> CasimirController::ReadExact( in ReadExact() function in cuttlefish::CasimirController
169 auto res = CF_EXPECT(ReadExact(sizeof(uint16_t), timeout), in ReadRfPacket()
177 return CF_EXPECT(ReadExact(packet_size, timeout), in ReadRfPacket()
Dcasimir_controller.h56 Result<std::shared_ptr<std::vector<uint8_t>>> ReadExact(
/device/google/cuttlefish/common/libs/utils/
Dvsock_connection.cpp102 return ReadExact(fd_, &data) == data.size(); in Read()
111 if (ReadExact(fd_, &result) != size) { in Read()
Dproc_file_utils.cpp108 nread = ReadExact(fd, buf.data(), buf_size); in ReadAll()
/device/google/cuttlefish/host/example_custom_actions/
Dmain.cpp57 if (cuttlefish::ReadExact(webrtc_socket, buf, MESSAGE_SIZE) != in main()
/device/google/cuttlefish/common/libs/transport/
Dchannel_sharedfd.cpp50 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dutils.cc33 bytes_read = cuttlefish::ReadExact(fd, &buf); in ReadEvent()
/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel_sharedfd.cpp79 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage()
Dconfui_sign.cpp82 n_read = ReadExact(input, buf_data, payload_size); in Receive()
/device/google/cuttlefish/common/libs/confui/
Dpacket.cpp51 nread = ReadExact(s, buf.get(), p.payload_length_); in ReadRawData()
/device/google/cuttlefish/host/commands/modem_simulator/
Dmain.cpp138 auto read = ReadExact(conn, &buf); in ModemSimulatorMain()
/device/google/cuttlefish/host/libs/command_util/
Dutil.cc114 ReadExact(monitor_socket, serialized_data.data(), serialized_data.size()); in ReadLauncherActionFromFd()
/device/google/cuttlefish/host/frontend/webrtc/
Dmain.cpp347 while ((read_ret = cuttlefish::ReadExact(control_socket, &message)) > 0) { in main()