Home
last modified time | relevance | path

Searched refs:io_service (Results 1 – 25 of 28) sorted by relevance

12

/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dio_service.hpp23 inline Service& use_service(io_service& ios) in use_service()
26 (void)static_cast<io_service::service*>(static_cast<Service*>(0)); in use_service()
27 (void)static_cast<const io_service::id*>(&Service::id); in use_service()
34 io_service& ios) in use_service()
40 inline void add_service(io_service& ios, Service* svc) in add_service()
43 (void)static_cast<io_service::service*>(static_cast<Service*>(0)); in add_service()
44 (void)static_cast<const io_service::id*>(&Service::id); in add_service()
50 inline bool has_service(io_service& ios) in has_service()
53 (void)static_cast<io_service::service*>(static_cast<Service*>(0)); in has_service()
54 (void)static_cast<const io_service::id*>(&Service::id); in has_service()
[all …]
Dio_service.ipp2 // impl/io_service.ipp
16 #include "asio/io_service.hpp"
28 io_service::io_service()
36 io_service::io_service(std::size_t concurrency_hint)
43 io_service::~io_service()
48 std::size_t io_service::run()
56 std::size_t io_service::run(asio::error_code& ec)
61 std::size_t io_service::run_one()
69 std::size_t io_service::run_one(asio::error_code& ec)
74 std::size_t io_service::poll()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dio_service.hpp32 class io_service;
33 template <typename Service> Service& use_service(io_service& ios);
34 template <typename Service> void add_service(io_service& ios, Service* svc);
35 template <typename Service> bool has_service(io_service& ios);
173 class io_service class
190 ASIO_DECL io_service();
199 ASIO_DECL explicit io_service(std::size_t concurrency_hint);
233 ASIO_DECL ~io_service();
479 detail::wrapped_handler<io_service&, Handler>
535 ASIO_DECL void notify_fork(asio::io_service::fork_event event);
[all …]
Dbasic_io_object.hpp68 asio::io_service& get_io_service() in get_io_service()
79 explicit basic_io_object(asio::io_service& io_service) in basic_io_object() argument
80 : service(asio::use_service<IoObjectService>(io_service)) in basic_io_object()
144 asio::io_service& get_io_service() in get_io_service()
150 explicit basic_io_object(asio::io_service& io_service) in basic_io_object() argument
151 : service_(&asio::use_service<IoObjectService>(io_service)) in basic_io_object()
Dbasic_stream_socket.hpp68 explicit basic_stream_socket(asio::io_service& io_service) in basic_stream_socket() argument
69 : basic_socket<Protocol, StreamSocketService>(io_service) in basic_stream_socket()
85 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket() argument
87 : basic_socket<Protocol, StreamSocketService>(io_service, protocol) in basic_stream_socket()
106 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket() argument
108 : basic_socket<Protocol, StreamSocketService>(io_service, endpoint) in basic_stream_socket()
126 basic_stream_socket(asio::io_service& io_service, in basic_stream_socket() argument
129 io_service, protocol, native_socket) in basic_stream_socket()
Dbasic_socket_acceptor.hpp79 explicit basic_socket_acceptor(asio::io_service& io_service) in basic_socket_acceptor() argument
80 : basic_io_object<SocketAcceptorService>(io_service) in basic_socket_acceptor()
96 basic_socket_acceptor(asio::io_service& io_service, in basic_socket_acceptor() argument
98 : basic_io_object<SocketAcceptorService>(io_service) in basic_socket_acceptor()
132 basic_socket_acceptor(asio::io_service& io_service, in basic_socket_acceptor() argument
134 : basic_io_object<SocketAcceptorService>(io_service) in basic_socket_acceptor()
168 basic_socket_acceptor(asio::io_service& io_service, in basic_socket_acceptor() argument
170 : basic_io_object<SocketAcceptorService>(io_service) in basic_socket_acceptor()
Dbasic_socket.hpp66 explicit basic_socket(asio::io_service& io_service) in basic_socket() argument
67 : basic_io_object<SocketService>(io_service) in basic_socket()
82 basic_socket(asio::io_service& io_service, in basic_socket() argument
84 : basic_io_object<SocketService>(io_service) in basic_socket()
106 basic_socket(asio::io_service& io_service, in basic_socket() argument
108 : basic_io_object<SocketService>(io_service) in basic_socket()
131 basic_socket(asio::io_service& io_service, in basic_socket() argument
133 : basic_io_object<SocketService>(io_service) in basic_socket()
Dsocket_acceptor_service.hpp55 explicit socket_acceptor_service(asio::io_service& io_service) in socket_acceptor_service() argument
57 socket_acceptor_service<Protocol> >(io_service), in socket_acceptor_service()
58 service_impl_(io_service) in socket_acceptor_service()
Dstream_socket_service.hpp56 explicit stream_socket_service(asio::io_service& io_service) in stream_socket_service() argument
58 stream_socket_service<Protocol> >(io_service), in stream_socket_service()
59 service_impl_(io_service) in stream_socket_service()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dservice_registry.hpp35 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,
79 const asio::io_service::service::key& key1,
80 const asio::io_service::service::key& key2);
83 typedef asio::io_service::service*
84 (*factory_type)(asio::io_service&);
88 static asio::io_service::service* create(
[all …]
Dresolver_service_base.hpp39 ASIO_DECL resolver_service_base(asio::io_service& io_service);
49 asio::io_service::fork_event fork_ev);
103 asio::detail::scoped_ptr<asio::io_service> work_io_service_;
109 asio::detail::scoped_ptr<asio::io_service::work> work_;
Dselect_reactor.hpp52 ASIO_DECL select_reactor(asio::io_service& io_service);
62 asio::io_service::fork_event fork_ev);
Dresolver_service.hpp48 resolver_service(asio::io_service& io_service) in resolver_service() argument
49 : resolver_service_base(io_service) in resolver_service()
Dtask_io_service.hpp43 ASIO_DECL task_io_service(asio::io_service& io_service,
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dservice_registry.ipp30 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;
54 asio::io_service::service* service = first_service_;
67 if (fork_ev == asio::io_service::fork_prepare)
75 void service_registry::init_key(asio::io_service::service::key& key,
76 const asio::io_service::id& id)
83 const asio::io_service::service::key& key1,
84 const asio::io_service::service::key& key2)
[all …]
Dresolver_service_base.ipp26 work_io_service_runner(asio::io_service& io_service)
27 : 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),
39 work_(new asio::io_service::work(*work_io_service_)),
65 asio::io_service::fork_event fork_ev)
69 if (fork_ev == asio::io_service::fork_prepare)
Dservice_registry.hpp22 asio::io_service& o, Service*, Arg arg) in service_registry()
26 asio::io_service::service::key key; in service_registry()
41 asio::io_service::service::key key; in use_service()
50 asio::io_service::service::key key; in add_service()
58 asio::io_service::service::key key; in has_service()
65 void service_registry::init_key(asio::io_service::service::key& key, in init_key()
74 asio::io_service::service* service_registry::create( in create()
75 asio::io_service& owner) in create()
Dselect_reactor.ipp30 select_reactor::select_reactor(asio::io_service& io_service)
31 : asio::detail::service_base<select_reactor>(io_service),
32 io_service_(use_service<io_service_impl>(io_service)),
61 void select_reactor::fork_service(asio::io_service::fork_event fork_ev)
63 if (fork_ev == asio::io_service::fork_child)
Dreactive_socket_service_base.ipp26 asio::io_service& io_service)
27 : reactor_(use_service<reactor>(io_service))
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dresolver_service.hpp59 explicit resolver_service(asio::io_service& io_service) in resolver_service() argument
61 resolver_service<InternetProtocol> >(io_service), in resolver_service()
62 service_impl_(io_service) in resolver_service()
138 void fork_service(asio::io_service::fork_event event) in fork_service()
Dbasic_resolver.hpp63 explicit basic_resolver(asio::io_service& io_service) in basic_resolver() argument
64 : basic_io_object<ResolverService>(io_service) in basic_resolver()
/external/parameter-framework/upstream/remote-process/
Dmain.cpp91 asio::io_service io_service; in main() local
92 tcp::resolver resolver(io_service); in main()
94 tcp::socket connectionSocket(io_service); in main()
/external/parameter-framework/upstream/asio/stub/
Dasio.hpp59 struct io_service : dummy_base struct
62 io_service(Args &&...) in io_service() function
/external/curl/docs/examples/
Dasiohiper.cpp58 boost::asio::io_service io_service; variable
59 boost::asio::deadline_timer timer(io_service);
377 new boost::asio::ip::tcp::socket(io_service); in opensocket()
479 io_service.run(); in main()
/external/parameter-framework/upstream/remote-processor/
DRemoteProcessorServer.h60 asio::io_service _io_service;

12