Home | History | Annotate | Download | only in impl

Lines Matching refs:ec

37     CompletionCondition completion_condition, asio::error_code& ec)
39 ec = asio::error_code();
44 completion_condition(ec, total_transferred)));
47 std::size_t bytes_transferred = s.read_some(tmp, ec);
51 completion_condition(ec, total_transferred)));
59 asio::error_code ec;
60 std::size_t bytes_transferred = read(s, buffers, transfer_all(), ec);
61 asio::detail::throw_error(ec, "read");
67 asio::error_code& ec)
69 return read(s, buffers, transfer_all(), ec);
77 asio::error_code ec;
78 std::size_t bytes_transferred = read(s, buffers, completion_condition, ec);
79 asio::detail::throw_error(ec, "read");
124 void operator()(const asio::error_code& ec,
130 buffers_.prepare(this->check_for_completion(ec, total_transferred_));
138 buffers_.prepare(this->check_for_completion(ec, total_transferred_));
139 if ((!ec && bytes_transferred == 0)
144 handler_(ec, static_cast<const std::size_t&>(total_transferred_));
197 void operator()(const asio::error_code& ec,
204 n = this->check_for_completion(ec, total_transferred_);
212 if ((!ec && bytes_transferred == 0)
213 || (n = this->check_for_completion(ec, total_transferred_)) == 0
218 handler_(ec, static_cast<const std::size_t&>(total_transferred_));
269 void operator()(const asio::error_code& ec,
282 n = this->check_for_completion(ec, total_transferred_);
293 if ((!ec && bytes_transferred == 0)
294 || (n = this->check_for_completion(ec, total_transferred_)) == 0
299 handler_(ec, static_cast<const std::size_t&>(total_transferred_));
351 void operator()(const asio::error_code& ec,
364 n = this->check_for_completion(ec, total_transferred_);
375 if ((!ec && bytes_transferred == 0)
376 || (n = this->check_for_completion(ec, total_transferred_)) == 0
381 handler_(ec, static_cast<const std::size_t&>(total_transferred_));