Lines Matching refs:ec

89     asio::error_code ec;  in basic_socket()  local
90 this->get_service().open(this->get_implementation(), protocol, ec); in basic_socket()
91 asio::detail::throw_error(ec, "open"); in basic_socket()
113 asio::error_code ec; in basic_socket() local
115 this->get_service().open(this->get_implementation(), protocol, ec); in basic_socket()
116 asio::detail::throw_error(ec, "open"); in basic_socket()
117 this->get_service().bind(this->get_implementation(), endpoint, ec); in basic_socket()
118 asio::detail::throw_error(ec, "bind"); in basic_socket()
138 asio::error_code ec; in basic_socket() local
140 protocol, native_socket, ec); in basic_socket()
141 asio::detail::throw_error(ec, "assign"); in basic_socket()
268 asio::error_code ec; in open() local
269 this->get_service().open(this->get_implementation(), protocol, ec); in open()
270 asio::detail::throw_error(ec, "open"); in open()
293 asio::error_code& ec) in open() argument
295 return this->get_service().open(this->get_implementation(), protocol, ec); in open()
311 asio::error_code ec; in assign() local
313 protocol, native_socket, ec); in assign()
314 asio::detail::throw_error(ec, "assign"); in assign()
328 const native_handle_type& native_socket, asio::error_code& ec) in assign() argument
331 protocol, native_socket, ec); in assign()
354 asio::error_code ec; in close() local
355 this->get_service().close(this->get_implementation(), ec); in close()
356 asio::detail::throw_error(ec, "close"); in close()
383 asio::error_code close(asio::error_code& ec) in close() argument
385 return this->get_service().close(this->get_implementation(), ec); in close()
453 asio::error_code ec; in cancel() local
454 this->get_service().cancel(this->get_implementation(), ec); in cancel()
455 asio::detail::throw_error(ec, "cancel"); in cancel()
499 asio::error_code cancel(asio::error_code& ec) in cancel() argument
501 return this->get_service().cancel(this->get_implementation(), ec); in cancel()
516 asio::error_code ec; in at_mark() local
517 bool b = this->get_service().at_mark(this->get_implementation(), ec); in at_mark()
518 asio::detail::throw_error(ec, "at_mark"); in at_mark()
532 bool at_mark(asio::error_code& ec) const in at_mark()
534 return this->get_service().at_mark(this->get_implementation(), ec); in at_mark()
549 asio::error_code ec; in available() local
551 this->get_implementation(), ec); in available()
552 asio::detail::throw_error(ec, "available"); in available()
566 std::size_t available(asio::error_code& ec) const in available()
568 return this->get_service().available(this->get_implementation(), ec); in available()
591 asio::error_code ec; in bind() local
592 this->get_service().bind(this->get_implementation(), endpoint, ec); in bind()
593 asio::detail::throw_error(ec, "bind"); in bind()
620 asio::error_code& ec) in bind() argument
622 return this->get_service().bind(this->get_implementation(), endpoint, ec); in bind()
650 asio::error_code ec; in connect() local
654 peer_endpoint.protocol(), ec); in connect()
655 asio::detail::throw_error(ec, "connect"); in connect()
657 this->get_service().connect(this->get_implementation(), peer_endpoint, ec); in connect()
658 asio::detail::throw_error(ec, "connect"); in connect()
690 asio::error_code& ec) in connect() argument
695 peer_endpoint.protocol(), ec)) in connect()
697 return ec; in connect()
702 this->get_implementation(), peer_endpoint, ec); in connect()
758 asio::error_code ec; in ASIO_INITFN_RESULT_TYPE() local
760 if (this->get_service().open(this->get_implementation(), protocol, ec)) in ASIO_INITFN_RESULT_TYPE()
770 init.handler), ec)); in ASIO_INITFN_RESULT_TYPE()
817 asio::error_code ec; in set_option() local
818 this->get_service().set_option(this->get_implementation(), option, ec); in set_option()
819 asio::detail::throw_error(ec, "set_option"); in set_option()
863 asio::error_code& ec) in set_option() argument
866 this->get_implementation(), option, ec); in set_option()
907 asio::error_code ec; in get_option() local
908 this->get_service().get_option(this->get_implementation(), option, ec); in get_option()
909 asio::detail::throw_error(ec, "get_option"); in get_option()
954 asio::error_code& ec) const in get_option()
957 this->get_implementation(), option, ec); in get_option()
985 asio::error_code ec; in io_control() local
986 this->get_service().io_control(this->get_implementation(), command, ec); in io_control()
987 asio::detail::throw_error(ec, "io_control"); in io_control()
1019 asio::error_code& ec) in io_control() argument
1022 this->get_implementation(), command, ec); in io_control()
1056 asio::error_code ec; in non_blocking() local
1057 this->get_service().non_blocking(this->get_implementation(), mode, ec); in non_blocking()
1058 asio::detail::throw_error(ec, "non_blocking"); in non_blocking()
1075 bool mode, asio::error_code& ec) in non_blocking() argument
1078 this->get_implementation(), mode, ec); in non_blocking()
1257 asio::error_code ec; in native_non_blocking() local
1259 this->get_implementation(), mode, ec); in native_non_blocking()
1260 asio::detail::throw_error(ec, "native_non_blocking"); in native_non_blocking()
1349 bool mode, asio::error_code& ec) in native_non_blocking() argument
1352 this->get_implementation(), mode, ec); in native_non_blocking()
1372 asio::error_code ec; in local_endpoint() local
1374 this->get_implementation(), ec); in local_endpoint()
1375 asio::detail::throw_error(ec, "local_endpoint"); in local_endpoint()
1400 endpoint_type local_endpoint(asio::error_code& ec) const in local_endpoint()
1402 return this->get_service().local_endpoint(this->get_implementation(), ec); in local_endpoint()
1422 asio::error_code ec; in remote_endpoint() local
1424 this->get_implementation(), ec); in remote_endpoint()
1425 asio::detail::throw_error(ec, "remote_endpoint"); in remote_endpoint()
1450 endpoint_type remote_endpoint(asio::error_code& ec) const in remote_endpoint()
1452 return this->get_service().remote_endpoint(this->get_implementation(), ec); in remote_endpoint()
1474 asio::error_code ec; in shutdown() local
1475 this->get_service().shutdown(this->get_implementation(), what, ec); in shutdown()
1476 asio::detail::throw_error(ec, "shutdown"); in shutdown()
1502 asio::error_code& ec) in shutdown() argument
1504 return this->get_service().shutdown(this->get_implementation(), what, ec); in shutdown()