Lines Matching refs:buffers
115 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
141 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
143 for (const auto& buffer : buffers) { in Send()
148 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
173 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
196 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
197 while (!buffers.empty()) { in Send()
199 socket_send_buffers_function_(sock_, buffers.data(), buffers.size())); in Send()
206 auto iter = buffers.begin(); in Send()
221 if (iter == buffers.end()) { in Send()
224 buffers.erase(buffers.begin(), iter); in Send()