Home
last modified time | relevance | path

Searched refs:write_msgs_ (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/chat/
Dchat_client.cpp95 bool write_in_progress = !write_msgs_.empty(); in do_write()
96 write_msgs_.push_back(msg); in do_write()
100 boost::asio::buffer(write_msgs_.front().data(), in do_write()
101 write_msgs_.front().length()), in do_write()
111 write_msgs_.pop_front(); in handle_write()
112 if (!write_msgs_.empty()) in handle_write()
115 boost::asio::buffer(write_msgs_.front().data(), in handle_write()
116 write_msgs_.front().length()), in handle_write()
136 chat_message_queue write_msgs_; member in chat_client
Dchat_server.cpp105 bool write_in_progress = !write_msgs_.empty(); in deliver()
106 write_msgs_.push_back(msg); in deliver()
110 boost::asio::buffer(write_msgs_.front().data(), in deliver()
111 write_msgs_.front().length()), in deliver()
152 write_msgs_.pop_front(); in handle_write()
153 if (!write_msgs_.empty()) in handle_write()
156 boost::asio::buffer(write_msgs_.front().data(), in handle_write()
157 write_msgs_.front().length()), in handle_write()
172 chat_message_queue write_msgs_; member in chat_session
/third_party/boost/libs/asio/example/cpp03/chat/
Dchat_client.cpp95 bool write_in_progress = !write_msgs_.empty(); in do_write()
96 write_msgs_.push_back(msg); in do_write()
100 boost::asio::buffer(write_msgs_.front().data(), in do_write()
101 write_msgs_.front().length()), in do_write()
111 write_msgs_.pop_front(); in handle_write()
112 if (!write_msgs_.empty()) in handle_write()
115 boost::asio::buffer(write_msgs_.front().data(), in handle_write()
116 write_msgs_.front().length()), in handle_write()
136 chat_message_queue write_msgs_; member in chat_client
Dchat_server.cpp105 bool write_in_progress = !write_msgs_.empty(); in deliver()
106 write_msgs_.push_back(msg); in deliver()
110 boost::asio::buffer(write_msgs_.front().data(), in deliver()
111 write_msgs_.front().length()), in deliver()
152 write_msgs_.pop_front(); in handle_write()
153 if (!write_msgs_.empty()) in handle_write()
156 boost::asio::buffer(write_msgs_.front().data(), in handle_write()
157 write_msgs_.front().length()), in handle_write()
172 chat_message_queue write_msgs_; member in chat_session
/third_party/boost/libs/asio/example/cpp11/chat/
Dchat_client.cpp38 bool write_in_progress = !write_msgs_.empty(); in write()
39 write_msgs_.push_back(msg); in write()
104 boost::asio::buffer(write_msgs_.front().data(), in do_write()
105 write_msgs_.front().length()), in do_write()
110 write_msgs_.pop_front(); in do_write()
111 if (!write_msgs_.empty()) in do_write()
127 chat_message_queue write_msgs_; member in chat_client
Dchat_server.cpp92 bool write_in_progress = !write_msgs_.empty(); in deliver()
93 write_msgs_.push_back(msg); in deliver()
142 boost::asio::buffer(write_msgs_.front().data(), in do_write()
143 write_msgs_.front().length()), in do_write()
148 write_msgs_.pop_front(); in do_write()
149 if (!write_msgs_.empty()) in do_write()
164 chat_message_queue write_msgs_; member in chat_session
/third_party/boost/doc/html/boost_asio/example/cpp11/chat/
Dchat_client.cpp38 bool write_in_progress = !write_msgs_.empty(); in write()
39 write_msgs_.push_back(msg); in write()
104 boost::asio::buffer(write_msgs_.front().data(), in do_write()
105 write_msgs_.front().length()), in do_write()
110 write_msgs_.pop_front(); in do_write()
111 if (!write_msgs_.empty()) in do_write()
127 chat_message_queue write_msgs_; member in chat_client
Dchat_server.cpp92 bool write_in_progress = !write_msgs_.empty(); in deliver()
93 write_msgs_.push_back(msg); in deliver()
142 boost::asio::buffer(write_msgs_.front().data(), in do_write()
143 write_msgs_.front().length()), in do_write()
148 write_msgs_.pop_front(); in do_write()
149 if (!write_msgs_.empty()) in do_write()
164 chat_message_queue write_msgs_; member in chat_session
/third_party/boost/doc/html/boost_asio/example/cpp17/coroutines_ts/
Dchat_server.cpp112 write_msgs_.push_back(msg); in deliver()
142 if (write_msgs_.empty()) in writer()
150 boost::asio::buffer(write_msgs_.front()), use_awaitable); in writer()
151 write_msgs_.pop_front(); in writer()
171 std::deque<std::string> write_msgs_; member in chat_session
/third_party/boost/libs/asio/example/cpp17/coroutines_ts/
Dchat_server.cpp112 write_msgs_.push_back(msg); in deliver()
142 if (write_msgs_.empty()) in writer()
150 boost::asio::buffer(write_msgs_.front()), use_awaitable); in writer()
151 write_msgs_.pop_front(); in writer()
171 std::deque<std::string> write_msgs_; member in chat_session