Lines Matching full:asio

16 #include "asio/buffer.hpp"
17 #include "asio/completion_condition.hpp"
18 #include "asio/detail/array_fwd.hpp"
19 #include "asio/detail/base_from_completion_cond.hpp"
20 #include "asio/detail/bind_handler.hpp"
21 #include "asio/detail/consuming_buffers.hpp"
22 #include "asio/detail/dependent_type.hpp"
23 #include "asio/detail/handler_alloc_helpers.hpp"
24 #include "asio/detail/handler_cont_helpers.hpp"
25 #include "asio/detail/handler_invoke_helpers.hpp"
26 #include "asio/detail/handler_type_requirements.hpp"
27 #include "asio/detail/throw_error.hpp"
28 #include "asio/error.hpp"
30 #include "asio/detail/push_options.hpp"
32 namespace asio { namespace
37 CompletionCondition completion_condition, asio::error_code& ec) in read()
39 ec = asio::error_code(); in read()
40 asio::detail::consuming_buffers< in read()
59 asio::error_code ec; in read()
61 asio::detail::throw_error(ec, "read"); in read()
67 asio::error_code& ec) in read()
77 asio::error_code ec; in read()
79 asio::detail::throw_error(ec, "read"); in read()
124 void operator()(const asio::error_code& ec, in operator ()()
150 asio::detail::consuming_buffers<
159 class read_op<AsyncReadStream, asio::mutable_buffers_1,
165 const asio::mutable_buffers_1& buffers, in read_op()
197 void operator()(const asio::error_code& ec, in operator ()()
208 asio::buffer(buffer_ + total_transferred_, n), in operator ()()
214 || total_transferred_ == asio::buffer_size(buffer_)) in operator ()()
224 asio::mutable_buffer buffer_;
269 void operator()(const asio::error_code& ec, in operator ()()
272 typename asio::detail::dependent_type<Elem, in operator ()()
273 boost::array<asio::mutable_buffer, 2> >::type bufs = {{ in operator ()()
274 asio::mutable_buffer(buffers_[0]), in operator ()()
275 asio::mutable_buffer(buffers_[1]) }}; in operator ()()
276 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()()
277 std::size_t buffer_size1 = asio::buffer_size(bufs[1]); in operator ()()
285 bufs[0] = asio::buffer(bufs[0] + total_transferred_, n); in operator ()()
286 bufs[1] = asio::buffer( in operator ()()
289 n - asio::buffer_size(bufs[0])); in operator ()()
351 void operator()(const asio::error_code& ec, in operator ()()
354 typename asio::detail::dependent_type<Elem, in operator ()()
355 std::array<asio::mutable_buffer, 2> >::type bufs = {{ in operator ()()
356 asio::mutable_buffer(buffers_[0]), in operator ()()
357 asio::mutable_buffer(buffers_[1]) }}; in operator ()()
358 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()()
359 std::size_t buffer_size1 = asio::buffer_size(bufs[1]); in operator ()()
367 bufs[0] = asio::buffer(bufs[0] + total_transferred_, n); in operator ()()
368 bufs[1] = asio::buffer( in operator ()()
371 n - asio::buffer_size(bufs[0])); in operator ()()
451 void (asio::error_code, std::size_t)) in ASIO_INITFN_RESULT_TYPE()
461 ReadHandler, void (asio::error_code, std::size_t)> init( in ASIO_INITFN_RESULT_TYPE()
466 ReadHandler, void (asio::error_code, std::size_t))>( in ASIO_INITFN_RESULT_TYPE()
468 asio::error_code(), 0, 1); in ASIO_INITFN_RESULT_TYPE()
476 void (asio::error_code, std::size_t)) in ASIO_INITFN_RESULT_TYPE()
485 ReadHandler, void (asio::error_code, std::size_t)> init( in ASIO_INITFN_RESULT_TYPE()
490 ReadHandler, void (asio::error_code, std::size_t))>( in ASIO_INITFN_RESULT_TYPE()
492 asio::error_code(), 0, 1); in ASIO_INITFN_RESULT_TYPE()
498 } // namespace asio
500 #include "asio/detail/pop_options.hpp"