Home
last modified time | relevance | path

Searched refs:socket_ops (Results 1 – 22 of 22) sorted by relevance

/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dreactive_socket_service_base.ipp82 (impl.state_ & socket_ops::possible_dup) == 0);
85 socket_ops::close(impl.socket_, impl.state_, true, ignored_ec);
98 (impl.state_ & socket_ops::possible_dup) == 0);
101 socket_ops::close(impl.socket_, impl.state_, false, ec);
110 // WSAEWOULDBLOCK, but this case is handled inside socket_ops::close().
143 socket_holder sock(socket_ops::socket(af, type, protocol, ec));
157 case SOCK_STREAM: impl.state_ = socket_ops::stream_oriented; break;
158 case SOCK_DGRAM: impl.state_ = socket_ops::datagram_oriented; break;
187 case SOCK_STREAM: impl.state_ = socket_ops::stream_oriented; break;
188 case SOCK_DGRAM: impl.state_ = socket_ops::datagram_oriented; break;
[all …]
Dsocket_ops.ipp2 // detail/impl/socket_ops.ipp
24 #include "asio/detail/socket_ops.hpp"
39 namespace socket_ops {
115 socket_type new_socket = socket_ops::accept(s, addr, addrlen, ec);
147 if (socket_ops::poll_read(s, 0, ec) < 0)
160 new_socket = socket_ops::accept(s, addr, addrlen, ec);
239 socket_ops::setsockopt(s, state, SOL_SOCKET,
383 socket_ops::connect(s, addr, addrlen, ec);
392 if (socket_ops::poll_connect(s, ec) < 0)
398 if (socket_ops::getsockopt(s, 0, SOL_SOCKET, SO_ERROR,
[all …]
Dresolver_service_base.ipp86 impl.reset(static_cast<void*>(0), socket_ops::noop_deleter());
102 impl.reset(static_cast<void*>(0), socket_ops::noop_deleter());
Dselect_reactor.ipp23 #include "asio/detail/socket_ops.hpp"
170 int retval = socket_ops::select(static_cast<int>(max_fd + 1),
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dreactive_socket_service_base.hpp52 socket_ops::state_type state_;
104 return socket_ops::sockatmark(impl.socket_, ec); in at_mark()
111 return socket_ops::available(impl.socket_, ec); in available()
118 socket_ops::listen(impl.socket_, backlog, ec); in listen()
127 socket_ops::ioctl(impl.socket_, impl.state_, command.name(), in io_control()
135 return (impl.state_ & socket_ops::user_set_non_blocking) != 0; in non_blocking()
142 socket_ops::set_user_non_blocking(impl.socket_, impl.state_, mode, ec); in non_blocking()
149 return (impl.state_ & socket_ops::internal_non_blocking) != 0; in native_non_blocking()
156 socket_ops::set_internal_non_blocking(impl.socket_, impl.state_, mode, ec); in native_non_blocking()
164 socket_ops::shutdown(impl.socket_, what, ec); in shutdown()
[all …]
Dsocket_holder.hpp47 socket_ops::state_type state = 0; in ~socket_holder()
48 socket_ops::close(socket_, state, true, ec); in ~socket_holder()
64 socket_ops::state_type state = 0; in reset()
65 socket_ops::close(socket_, state, true, ec); in reset()
Dreactive_socket_recv_op.hpp33 socket_ops::state_type state, const MutableBufferSequence& buffers, in reactive_socket_recv_op_base()
51 return socket_ops::non_blocking_recv(o->socket_, in do_perform()
53 (o->state_ & socket_ops::stream_oriented) != 0, in do_perform()
59 socket_ops::state_type state_;
72 socket_ops::state_type state, const MutableBufferSequence& buffers, in reactive_socket_recv_op()
Dreactive_socket_service.hpp139 socket_ops::bind(impl.socket_, endpoint.data(), endpoint.size(), ec); in bind()
148 socket_ops::setsockopt(impl.socket_, impl.state_, in set_option()
160 socket_ops::getsockopt(impl.socket_, impl.state_, in get_option()
174 if (socket_ops::getsockname(impl.socket_, endpoint.data(), &addr_len, ec)) in local_endpoint()
186 if (socket_ops::getpeername(impl.socket_, in remote_endpoint()
203 return socket_ops::sync_sendto(impl.socket_, impl.state_, in send_to()
214 socket_ops::poll_write(impl.socket_, impl.state_, ec); in send_to()
278 std::size_t bytes_recvd = socket_ops::sync_recvfrom( in receive_from()
294 socket_ops::poll_read(impl.socket_, impl.state_, ec); in receive_from()
375 socket_holder new_socket(socket_ops::sync_accept(impl.socket_, in accept()
[all …]
Dresolve_op.hpp42 resolve_op(socket_ops::weak_cancel_token_type cancel_token, in resolve_op()
56 socket_ops::freeaddrinfo(addrinfo_); in ~resolve_op()
73 socket_ops::background_getaddrinfo(o->cancel_token_, in do_complete()
115 socket_ops::weak_cancel_token_type cancel_token_;
Dreactive_socket_accept_op.hpp34 socket_ops::state_type state, Socket& peer, const Protocol& protocol, in reactive_socket_accept_op_base()
52 bool result = socket_ops::non_blocking_accept(o->socket_, in do_perform()
71 socket_ops::state_type state_;
85 socket_ops::state_type state, Socket& peer, const Protocol& protocol, in reactive_socket_accept_op()
Dresolve_endpoint_op.hpp41 resolve_endpoint_op(socket_ops::weak_cancel_token_type cancel_token, in resolve_endpoint_op()
67 socket_ops::background_getnameinfo(o->cancel_token_, o->endpoint_.data(), in do_complete()
105 socket_ops::weak_cancel_token_type cancel_token_;
Dresolver_service.hpp36 typedef socket_ops::shared_cancel_token_type implementation_type;
59 socket_ops::getaddrinfo(query.host_name().c_str(), in resolve()
91 socket_ops::sync_getnameinfo(endpoint.data(), endpoint.size(), in resolve()
Dresolver_service_base.hpp36 typedef socket_ops::shared_cancel_token_type implementation_type;
77 socket_ops::freeaddrinfo(ai_); in ~auto_addrinfo()
Dreactive_socket_connect_op.hpp42 return socket_ops::non_blocking_connect(o->socket_, o->ec_); in do_perform()
Dreactive_socket_send_op.hpp50 return socket_ops::non_blocking_send(o->socket_, in do_perform()
Dreactive_socket_sendto_op.hpp51 return socket_ops::non_blocking_sendto(o->socket_, in do_perform()
Dreactive_socket_recvmsg_op.hpp52 return socket_ops::non_blocking_recvmsg(o->socket_, in do_perform()
Dreactive_socket_recvfrom_op.hpp53 bool result = socket_ops::non_blocking_recvfrom(o->socket_, in do_perform()
Dsocket_ops.hpp26 namespace socket_ops { namespace
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp17 #include "asio/detail/socket_ops.hpp"
44 asio::detail::socket_ops::host_to_network_short(port_num);
51 asio::detail::socket_ops::host_to_network_short(port_num);
74 asio::detail::socket_ops::host_to_network_short(port_num);
76 asio::detail::socket_ops::host_to_network_long(
84 asio::detail::socket_ops::host_to_network_short(port_num);
108 return asio::detail::socket_ops::network_to_host_short(
113 return asio::detail::socket_ops::network_to_host_short(
123 = asio::detail::socket_ops::host_to_network_short(port_num);
128 = asio::detail::socket_ops::host_to_network_short(port_num);
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress_v4.ipp19 #include "asio/detail/socket_ops.hpp"
54 addr_.s_addr = asio::detail::socket_ops::host_to_network_long(
68 return asio::detail::socket_ops::network_to_host_long(addr_.s_addr);
83 asio::detail::socket_ops::inet_ntop(
103 if (asio::detail::socket_ops::inet_pton(
Daddress_v6.ipp19 #include "asio/detail/socket_ops.hpp"
101 asio::detail::socket_ops::inet_ntop(
121 if (asio::detail::socket_ops::inet_pton(