/third_party/boost/doc/html/boost_asio/example/cpp03/chat/ |
D | chat_client.cpp | 95 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
|
D | chat_server.cpp | 105 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/ |
D | chat_client.cpp | 95 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
|
D | chat_server.cpp | 105 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/ |
D | chat_client.cpp | 38 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
|
D | chat_server.cpp | 92 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/ |
D | chat_client.cpp | 38 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
|
D | chat_server.cpp | 92 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/ |
D | chat_server.cpp | 112 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/ |
D | chat_server.cpp | 112 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
|