Home
last modified time | relevance | path

Searched +full:asio +full:- +full:1 (Results 1 – 25 of 49) sorted by relevance

12

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dhandler_type_requirements.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
22 # define ASIO_ENABLE_HANDLER_TYPE_REQUIREMENTS 1
33 # define ASIO_ENABLE_HANDLER_TYPE_REQUIREMENTS_ASSERT 1
38 # define ASIO_ENABLE_HANDLER_TYPE_REQUIREMENTS_ASSERT 1
43 # include "asio/handler_type.hpp"
56 namespace asio { namespace
65 -> decltype(
75 -> decltype(
85 -> decltype(
[all …]
Dbuffer_sequence_adapter.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
16 #include "asio/buffer.hpp"
17 #include "asio/detail/array_fwd.hpp"
18 #include "asio/detail/socket_types.hpp"
20 #include "asio/detail/push_options.hpp"
22 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()
[all …]
Dselect_reactor.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
20 #include "asio/detail/fd_set_adapter.hpp"
21 #include "asio/detail/limits.hpp"
22 #include "asio/detail/mutex.hpp"
23 #include "asio/detail/op_queue.hpp"
24 #include "asio/detail/reactor_op.hpp"
25 #include "asio/detail/reactor_op_queue.hpp"
26 #include "asio/detail/select_interrupter.hpp"
27 #include "asio/detail/socket_types.hpp"
[all …]
Dsocket_ops.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
17 #include "asio/error_code.hpp"
18 #include "asio/detail/shared_ptr.hpp"
19 #include "asio/detail/socket_types.hpp"
20 #include "asio/detail/weak_ptr.hpp"
22 #include "asio/detail/push_options.hpp"
24 namespace asio { namespace
31 // The user wants a non-blocking socket.
32 user_set_non_blocking = 1,
[all …]
Dtask_io_service.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
18 #include "asio/error_code.hpp"
19 #include "asio/io_service.hpp"
20 #include "asio/detail/atomic_count.hpp"
21 #include "asio/detail/call_stack.hpp"
22 #include "asio/detail/event.hpp"
23 #include "asio/detail/mutex.hpp"
24 #include "asio/detail/op_queue.hpp"
25 #include "asio/detail/reactor_fwd.hpp"
[all …]
Dfenced_block.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
18 # include "asio/detail/null_fenced_block.hpp"
20 # include "asio/detail/macos_fenced_block.hpp"
22 # include "asio/detail/solaris_fenced_block.hpp"
24 # include "asio/detail/gcc_arm_fenced_block.hpp"
26 # include "asio/detail/gcc_hppa_fenced_block.hpp"
28 # include "asio/detail/gcc_x86_fenced_block.hpp"
29 #elif defined(__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)) && !def…
30 # include "asio/detail/gcc_sync_fenced_block.hpp"
[all …]
Dposix_event.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
20 #include "asio/detail/assert.hpp"
21 #include "asio/detail/noncopyable.hpp"
23 #include "asio/detail/push_options.hpp"
25 namespace asio { namespace
45 this->signal_all(lock); in signal()
54 state_ |= 1; in signal_all()
63 state_ |= 1; in unlock_and_signal_one()
64 bool have_waiters = (state_ > 1); in unlock_and_signal_one()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #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 {
44 // HP-UX doesn't declare these functions extern "C", so they are declared again
59 asio::error_code& ec)
61 ec = asio::error_code(errno,
[all …]
Dpipe_select_interrupter.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
22 #include "asio/detail/pipe_select_interrupter.hpp"
23 #include "asio/detail/socket_types.hpp"
24 #include "asio/detail/throw_error.hpp"
25 #include "asio/error.hpp"
27 #include "asio/detail/push_options.hpp"
29 namespace asio {
44 write_descriptor_ = pipe_fds[1];
54 asio::error_code ec(errno,
[all …]
Dtask_io_service.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
18 #include "asio/detail/event.hpp"
19 #include "asio/detail/limits.hpp"
20 #include "asio/detail/reactor.hpp"
21 #include "asio/detail/task_io_service.hpp"
22 #include "asio/detail/task_io_service_thread_info.hpp"
24 #include "asio/detail/push_options.hpp"
26 namespace asio {
33 if (this_thread_->private_outstanding_work > 0)
[all …]
Dselect_reactor.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
19 #include "asio/detail/bind_handler.hpp"
20 #include "asio/detail/fd_set_adapter.hpp"
21 #include "asio/detail/select_reactor.hpp"
22 #include "asio/detail/signal_blocker.hpp"
23 #include "asio/detail/socket_ops.hpp"
25 #include "asio/detail/push_options.hpp"
27 namespace asio {
30 select_reactor::select_reactor(asio::io_service& io_service)
[all …]
Dservice_registry.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #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 {
28 // services are destroyed since the destructors of user-defined handler
30 asio::io_service::service* service = first_service_;
33 service->shutdown_service();
34 service = service->next_;
[all …]
Dhandler_tracking.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
21 #include "asio/detail/handler_tracking.hpp"
24 # include "asio/detail/chrono_time_traits.hpp"
25 # include "asio/wait_traits.hpp"
29 #include "asio/detail/push_options.hpp"
31 namespace asio {
42 asio::wait_traits<std::chrono::system_clock> > traits_helper;
59 static tracking_state state = { ASIO_STATIC_MUTEX_INIT, 1, 0 };
67 state->mutex_.init();
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dwrite.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/buffer.hpp"
16 #include "asio/completion_condition.hpp"
17 #include "asio/detail/array_fwd.hpp"
18 #include "asio/detail/base_from_completion_cond.hpp"
19 #include "asio/detail/bind_handler.hpp"
20 #include "asio/detail/consuming_buffers.hpp"
21 #include "asio/detail/dependent_type.hpp"
22 #include "asio/detail/handler_alloc_helpers.hpp"
23 #include "asio/detail/handler_cont_helpers.hpp"
[all …]
Dread.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
16 #include "asio/buffer.hpp"
17 #include "asio/completion_condition.hpp"
18 #include "asio/detail/array_fwd.hpp"
19 #include "asio/detail/base_from_completion_cond.hpp"
20 #include "asio/detail/bind_handler.hpp"
21 #include "asio/detail/consuming_buffers.hpp"
22 #include "asio/detail/dependent_type.hpp"
23 #include "asio/detail/handler_alloc_helpers.hpp"
24 #include "asio/detail/handler_cont_helpers.hpp"
[all …]
Dconnect.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/bind_handler.hpp"
16 #include "asio/detail/consuming_buffers.hpp"
17 #include "asio/detail/handler_alloc_helpers.hpp"
18 #include "asio/detail/handler_cont_helpers.hpp"
19 #include "asio/detail/handler_invoke_helpers.hpp"
20 #include "asio/detail/handler_type_requirements.hpp"
21 #include "asio/detail/throw_error.hpp"
22 #include "asio/error.hpp"
24 #include "asio/detail/push_options.hpp"
[all …]
/external/parameter-framework/support/android/asio/
Dasio_shrinker.sh8 # 1. Redistributions of source code must retain the above copyright notice, this
32 cd -
34 set -eo pipefail
38 # Prior to running this script you should git-rm the previous content of the
39 # directory pointed to by the "asio" symbolic link, extract the version you
40 # want to integrate and finally, make the "asio" symbolic link point to the
44 # Then, run this script by passing it a list of lunch targets. ASIO will be
54 echo "\tsupport/android/asio/asio_shrinker.sh <lunch target> [more lunch targets]"
55 exit 1
60 echo "Asio shrinker error: $1"
[all …]
Dasio.hpp8 * 1. Redistributions of source code must retain the above copyright notice, this
33 * This file contains all ASIO inclusions needed by the Parameter Framework on
34 * Android. This avoids pulling all of ASIO and is part of the "ASIO shrinker
35 * for AOSP". If the Parameter Framework ever uses more of ASIO, then this list
36 * may need to be extended and the shrinker re-run.
39 #include "asio/buffer.hpp"
40 #include "asio/connect.hpp"
41 #include "asio/error.hpp"
42 #include "asio/error_code.hpp"
43 #include "asio/io_service.hpp"
[all …]
/external/parameter-framework/upstream/asio/
DCMakeLists.txt7 # 1. Redistributions of source code must retain the above copyright notice, this
29 add_library(asio INTERFACE) target
32 # Find ASIO (the standalone version, not Boost) If asio isn't installed in
35 find_path(ASIO_DIR NAMES asio.hpp)
36 # Hide this variable from CMake GUIs and `cmake -L`
40 " ASIO header (asio.hpp) could not be found.
41 ASIO is used for networking. On Linux, you should install it using your
45 # Ubuntu 14.04 packages asio 1.10.1 and clang 3.4.1.
46 # In this environment, asio stand alone (set ASIO_STANDALONE)
49 target_include_directories(asio SYSTEM INTERFACE "${ASIO_DIR}")
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress_v6.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.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/error.hpp"
23 #include "asio/ip/address_v6.hpp"
25 #include "asio/detail/push_options.hpp"
27 namespace asio {
46 asio::detail::throw_exception(ex);
[all …]
Daddress_v4.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #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 {
32 if (bytes[0] > 0xFF || bytes[1] > 0xFF
[all …]
/external/parameter-framework/upstream/remote-processor/
DMessage.cpp2 * Copyright (c) 2011-2015, Intel Corporation
8 * 1. Redistributions of source code must retain the above copyright notice, this
33 #include <asio.hpp>
105 std::vector<char> string(uiSize + 1); in readString()
110 // NULL-terminate string in readString()
126 return getMessageDataSize() - _uiIndex; in getRemainingDataSize()
132 asio::ip::tcp::socket &asioSocket = socket.get(); in serialize()
135 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()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Derror.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #include "asio/detail/config.hpp"
16 #include "asio/error_code.hpp"
17 #include "asio/system_error.hpp"
27 #include "asio/detail/push_options.hpp"
29 namespace asio { namespace
123 /// Socket operation on non-socket.
145 /// The socket is marked non-blocking and the requested operation would block.
154 /// Host not found (non-authoritative).
160 /// A non-recoverable error occurred.
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
15 #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);
[all …]
/external/curl/docs/examples/
Dasiohiper.cpp8 * Copyright (C) 2012 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
24 * demonstrate the use of multi socket interface with boost::asio
28 * This program is in c++ and uses boost::asio instead of libevent/libev.
29 * Requires boost::asio, boost::bind and boost::system
49 #include <boost/asio.hpp>
55 /* boost::asio related objects
58 boost::asio::io_service io_service;
59 boost::asio::deadline_timer timer(io_service);
60 std::map<curl_socket_t, boost::asio::ip::tcp::socket *> socket_map;
155 fprintf(MSG_OUT, "\nREMAINING: %d", g->still_running); in check_multi_info()
[all …]

12