Home
last modified time | relevance | path

Searched refs:asio (Results 1 – 25 of 164) sorted by relevance

1234567

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dhandler_type_requirements.hpp56 namespace asio { namespace
112asio::detail::zero_arg_handler_test( asio::detail::clvref< asio_true_handl…
114asio::error_code, std::size_t)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_…
117asio::error_code, std::size_t)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_…
119asio::error_code)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_ASSERT( …
121asio::error_code)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_ASSERT( …
123asio::error_code, iter_type)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_AS…
125asio::error_code, iter_type)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_AS…
127asio::error_code)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_ASSERT( …
129asio::error_code, int)) asio_true_handler_type; ASIO_HANDLER_TYPE_REQUIREMENTS_ASSERT( …
[all …]
Dbuffer_sequence_adapter.hpp22 namespace asio { namespace
45 const asio::mutable_buffer& buffer) in init_native_buffer()
47 init_iov_base(iov.iov_base, asio::buffer_cast<void*>(buffer)); in init_native_buffer()
48 iov.iov_len = asio::buffer_size(buffer); in init_native_buffer()
52 const asio::const_buffer& buffer) in init_native_buffer()
55 asio::buffer_cast<const void*>(buffer))); in init_native_buffer()
56 iov.iov_len = asio::buffer_size(buffer); in init_native_buffer()
75 total_buffer_size_ += asio::buffer_size(buffer); in buffer_sequence_adapter()
100 if (asio::buffer_size(Buffer(*iter)) > 0) in all_empty()
112 asio::buffer_cast<const void*>(buffer); in validate()
[all …]
Dsocket_ops.hpp24 namespace asio { namespace
64 std::size_t* addrlen, asio::error_code& ec);
68 std::size_t* addrlen, asio::error_code& ec);
73 asio::error_code& ec, socket_type& new_socket);
77 std::size_t addrlen, asio::error_code& ec);
80 bool destruction, asio::error_code& ec);
83 state_type& state, bool value, asio::error_code& ec);
86 state_type& state, bool value, asio::error_code& ec);
89 int what, asio::error_code& ec);
92 std::size_t addrlen, asio::error_code& ec);
[all …]
Dservice_registry.hpp23 namespace asio { namespace
35 service_registry(asio::io_service& o,
42 ASIO_DECL void notify_fork(asio::io_service::fork_event fork_ev);
67 asio::io_service::service::key& key,
68 const asio::io_service::id& id);
73 static void init_key(asio::io_service::service::key& key,
74 const asio::detail::service_id<Service>& /*id*/);
79 const asio::io_service::service::key& key1,
80 const asio::io_service::service::key& key2);
83 typedef asio::io_service::service*
[all …]
Dreactive_socket_service_base.hpp36 namespace asio { namespace
60 asio::io_service& io_service);
87 ASIO_DECL asio::error_code close(
88 base_implementation_type& impl, asio::error_code& ec);
97 ASIO_DECL asio::error_code cancel(
98 base_implementation_type& impl, asio::error_code& ec);
102 asio::error_code& ec) const in at_mark()
109 asio::error_code& ec) const in available()
115 asio::error_code listen(base_implementation_type& impl, in listen()
116 int backlog, asio::error_code& ec) in listen()
[all …]
Dresolver_service_base.hpp28 namespace asio { namespace
39 ASIO_DECL resolver_service_base(asio::io_service& io_service);
49 asio::io_service::fork_event fork_ev);
66 : private asio::detail::noncopyable
69 explicit auto_addrinfo(asio::detail::addrinfo_type* ai) in auto_addrinfo()
80 operator asio::detail::addrinfo_type*() in operator asio::detail::addrinfo_type*()
86 asio::detail::addrinfo_type* ai_;
100 asio::detail::mutex mutex_;
103 asio::detail::scoped_ptr<asio::io_service> work_io_service_;
109 asio::detail::scoped_ptr<asio::io_service::work> work_;
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dbasic_socket.hpp26 namespace asio { namespace
66 explicit basic_socket(asio::io_service& io_service) in basic_socket()
82 basic_socket(asio::io_service& io_service, in basic_socket()
86 asio::error_code ec; in basic_socket()
88 asio::detail::throw_error(ec, "open"); in basic_socket()
106 basic_socket(asio::io_service& io_service, in basic_socket()
110 asio::error_code ec; in basic_socket()
113 asio::detail::throw_error(ec, "open"); in basic_socket()
115 asio::detail::throw_error(ec, "bind"); in basic_socket()
131 basic_socket(asio::io_service& io_service, in basic_socket()
[all …]
Dbasic_socket_acceptor.hpp27 namespace asio { namespace
79 explicit basic_socket_acceptor(asio::io_service& io_service) in basic_socket_acceptor()
96 basic_socket_acceptor(asio::io_service& io_service, in basic_socket_acceptor()
100 asio::error_code ec; in basic_socket_acceptor()
102 asio::detail::throw_error(ec, "open"); in basic_socket_acceptor()
132 basic_socket_acceptor(asio::io_service& io_service, in basic_socket_acceptor()
136 asio::error_code ec; in basic_socket_acceptor()
139 asio::detail::throw_error(ec, "open"); in basic_socket_acceptor()
144 asio::detail::throw_error(ec, "set_option"); in basic_socket_acceptor()
147 asio::detail::throw_error(ec, "bind"); in basic_socket_acceptor()
[all …]
Dstream_socket_service.hpp26 namespace asio { namespace
31 : public asio::detail::service_base<stream_socket_service<Protocol> >
56 explicit stream_socket_service(asio::io_service& io_service) in stream_socket_service()
57 : asio::detail::service_base< in stream_socket_service()
104 asio::error_code open(implementation_type& impl, in open()
105 const protocol_type& protocol, asio::error_code& ec) in open()
110 ec = asio::error::invalid_argument; in open()
115 asio::error_code assign(implementation_type& impl, in assign()
117 asio::error_code& ec) in assign()
129 asio::error_code close(implementation_type& impl, in close()
[all …]
Dsocket_acceptor_service.hpp25 namespace asio { namespace
30 : public asio::detail::service_base<socket_acceptor_service<Protocol> >
55 explicit socket_acceptor_service(asio::io_service& io_service) in socket_acceptor_service()
56 : asio::detail::service_base< in socket_acceptor_service()
103 asio::error_code open(implementation_type& impl, in open()
104 const protocol_type& protocol, asio::error_code& ec) in open()
110 asio::error_code assign(implementation_type& impl, in assign()
112 asio::error_code& ec) in assign()
124 asio::error_code cancel(implementation_type& impl, in cancel()
125 asio::error_code& ec) in cancel()
[all …]
Derror.hpp29 namespace asio { namespace
192 inline const asio::error_category& get_system_category() in get_system_category()
194 return asio::system_category(); in get_system_category()
199 const asio::error_category& get_netdb_category();
202 const asio::error_category& get_addrinfo_category();
206 const asio::error_category& get_misc_category();
208 static const asio::error_category& system_category
209 = asio::error::get_system_category();
210 static const asio::error_category& netdb_category
211 = asio::error::get_netdb_category();
[all …]
Dio_service.hpp30 namespace asio { namespace
289 ASIO_DECL std::size_t run(asio::error_code& ec);
321 ASIO_DECL std::size_t run_one(asio::error_code& ec);
345 ASIO_DECL std::size_t poll(asio::error_code& ec);
369 ASIO_DECL std::size_t poll_one(asio::error_code& ec);
535 ASIO_DECL void notify_fork(asio::io_service::fork_event event);
589 asio::detail::service_registry* service_registry_;
614 explicit work(asio::io_service& io_service);
633 asio::io_service& get_io_service();
658 asio::io_service& get_io_service();
[all …]
Dsocket_base.hpp22 namespace asio { namespace
76 typedef asio::detail::socket_option::boolean<
106 typedef asio::detail::socket_option::boolean<
135 typedef asio::detail::socket_option::boolean<
165 typedef asio::detail::socket_option::boolean<
194 typedef asio::detail::socket_option::integer<
224 typedef asio::detail::socket_option::integer<
254 typedef asio::detail::socket_option::integer<
284 typedef asio::detail::socket_option::integer<
315 typedef asio::detail::socket_option::boolean<
[all …]
Dbasic_stream_socket.hpp26 namespace asio { namespace
68 explicit basic_stream_socket(asio::io_service& io_service) in basic_stream_socket()
85 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket()
106 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket()
126 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket()
236 asio::error_code ec; in send()
239 asio::detail::throw_error(ec, "send"); in send()
274 asio::error_code ec; in send()
277 asio::detail::throw_error(ec, "send"); in send()
301 socket_base::message_flags flags, asio::error_code& ec) in send()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dio_service.ipp15 #include "asio/detail/config.hpp"
16 #include "asio/io_service.hpp"
17 #include "asio/detail/limits.hpp"
18 #include "asio/detail/scoped_ptr.hpp"
19 #include "asio/detail/service_registry.hpp"
20 #include "asio/detail/throw_error.hpp"
22 # include "asio/detail/task_io_service.hpp"
24 #include "asio/detail/push_options.hpp"
26 namespace asio {
29 : service_registry_(new asio::detail::service_registry(
[all …]
Dwrite.hpp30 namespace asio { namespace
35 CompletionCondition completion_condition, asio::error_code& ec) in write()
37 ec = asio::error_code(); in write()
38 asio::detail::consuming_buffers< in write()
57 asio::error_code ec; in write()
59 asio::detail::throw_error(ec, "write"); in write()
65 asio::error_code& ec) in write()
75 asio::error_code ec; in write()
77 asio::detail::throw_error(ec, "write"); in write()
122 void operator()(const asio::error_code& ec, in operator ()()
[all …]
Dconnect.hpp26 namespace asio { namespace
33 Iterator operator()(const asio::error_code&, Iterator next) in operator ()()
43 asio::error_code ec; in connect()
45 asio::detail::throw_error(ec, "connect"); in connect()
51 Iterator begin, asio::error_code& ec) in connect()
60 asio::error_code ec; in connect()
62 asio::detail::throw_error(ec, "connect"); in connect()
68 Iterator begin, Iterator end, asio::error_code& ec) in connect()
78 asio::error_code ec; in connect()
80 asio::detail::throw_error(ec, "connect"); in connect()
[all …]
Dread.hpp32 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 ()()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp15 #include "asio/detail/config.hpp"
23 #include "asio/detail/assert.hpp"
24 #include "asio/detail/socket_ops.hpp"
25 #include "asio/error.hpp"
35 #include "asio/detail/push_options.hpp"
37 namespace asio {
59 asio::error_code& ec)
61 ec = asio::error_code(errno,
62 asio::error::get_system_category());
78 std::size_t* addrlen, asio::error_code& ec)
[all …]
Dservice_registry.ipp15 #include "asio/detail/config.hpp"
17 #include "asio/detail/service_registry.hpp"
18 #include "asio/detail/throw_exception.hpp"
20 #include "asio/detail/push_options.hpp"
22 namespace asio {
30 asio::io_service::service* service = first_service_;
40 asio::io_service::service* next_service = first_service_->next_;
46 void service_registry::notify_fork(asio::io_service::fork_event fork_ev)
51 std::vector<asio::io_service::service*> services;
53 asio::detail::mutex::scoped_lock lock(mutex_);
[all …]
Dresolver_service_base.ipp15 #include "asio/detail/config.hpp"
16 #include "asio/detail/resolver_service_base.hpp"
18 #include "asio/detail/push_options.hpp"
20 namespace asio {
26 work_io_service_runner(asio::io_service& io_service)
30 asio::io_service& io_service_;
34 asio::io_service& io_service)
35 : io_service_impl_(asio::use_service<io_service_impl>(io_service)),
36 work_io_service_(new asio::io_service),
37 work_io_service_impl_(asio::use_service<
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp15 #include "asio/detail/config.hpp"
17 #include "asio/detail/socket_ops.hpp"
18 #include "asio/detail/throw_error.hpp"
19 #include "asio/error.hpp"
20 #include "asio/ip/detail/endpoint.hpp"
22 #include "asio/detail/push_options.hpp"
24 namespace asio {
44 asio::detail::socket_ops::host_to_network_short(port_num);
51 asio::detail::socket_ops::host_to_network_short(port_num);
65 endpoint::endpoint(const asio::ip::address& addr,
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress.ipp15 #include "asio/detail/config.hpp"
17 #include "asio/detail/throw_error.hpp"
18 #include "asio/detail/throw_exception.hpp"
19 #include "asio/error.hpp"
20 #include "asio/ip/address.hpp"
21 #include "asio/system_error.hpp"
23 #include "asio/detail/push_options.hpp"
25 namespace asio {
35 address::address(const asio::ip::address_v4& ipv4_address)
42 address::address(const asio::ip::address_v6& ipv6_address)
[all …]
Daddress_v4.ipp15 #include "asio/detail/config.hpp"
18 #include "asio/error.hpp"
19 #include "asio/detail/socket_ops.hpp"
20 #include "asio/detail/throw_error.hpp"
21 #include "asio/detail/throw_exception.hpp"
22 #include "asio/ip/address_v4.hpp"
24 #include "asio/detail/push_options.hpp"
26 namespace asio {
36 asio::detail::throw_exception(ex);
50 asio::detail::throw_exception(ex);
[all …]
/external/parameter-framework/upstream/remote-processor/
DMessage.cpp135 asio::error_code ec; in serialize()
149 if (!asio::write(asioSocket, asio::buffer(&uiSyncWord, sizeof(uiSyncWord)), ec)) { in serialize()
151 if (ec == asio::error::eof) { in serialize()
160 if (!asio::write(asioSocket, asio::buffer(&uiSize, sizeof(uiSize)), ec)) { in serialize()
167 if (!asio::write(asioSocket, asio::buffer(&_ucMsgId, sizeof(_ucMsgId)), ec)) { in serialize()
174 if (!asio::write(asioSocket, asio::buffer(mData), ec)) { in serialize()
183 if (!asio::write(asioSocket, asio::buffer(&ucChecksum, sizeof(ucChecksum)), ec)) { in serialize()
192 asio::error_code ec; in serialize()
194 if (!asio::read(asioSocket, asio::buffer(&uiSyncWord, sizeof(uiSyncWord)), ec)) { in serialize()
196 if (ec == asio::error::eof) { in serialize()
[all …]

1234567