/third_party/boost/boost/asio/ |
D | awaitable.hpp | 51 class awaitable class 61 constexpr awaitable() noexcept in awaitable() function in boost::asio::awaitable 67 awaitable(awaitable&& other) noexcept in awaitable() function in boost::asio::awaitable 73 ~awaitable() in ~awaitable() 104 return awaitable(static_cast<awaitable&&>(*this)).frame_->get(); in await_resume() 114 awaitable(const awaitable&) = delete; 115 awaitable& operator=(const awaitable&) = delete; 118 explicit awaitable(detail::awaitable_frame<T, Executor>* a) in awaitable() function in boost::asio::awaitable
|
D | co_spawn.hpp | 37 struct awaitable_signature<awaitable<T, Executor>> 43 struct awaitable_signature<awaitable<void, Executor>> 106 co_spawn(const Executor& ex, awaitable<T, AwaitableExecutor> a, 162 co_spawn(const Executor& ex, awaitable<void, AwaitableExecutor> a, 227 co_spawn(ExecutionContext& ctx, awaitable<T, AwaitableExecutor> a, 286 co_spawn(ExecutionContext& ctx, awaitable<void, AwaitableExecutor> a,
|
/third_party/boost/libs/asio/include/boost/asio/ |
D | awaitable.hpp | 51 class awaitable class 61 constexpr awaitable() noexcept in awaitable() function in boost::asio::awaitable 67 awaitable(awaitable&& other) noexcept in awaitable() function in boost::asio::awaitable 73 ~awaitable() in ~awaitable() 104 return awaitable(static_cast<awaitable&&>(*this)).frame_->get(); in await_resume() 114 awaitable(const awaitable&) = delete; 115 awaitable& operator=(const awaitable&) = delete; 118 explicit awaitable(detail::awaitable_frame<T, Executor>* a) in awaitable() function in boost::asio::awaitable
|
D | co_spawn.hpp | 37 struct awaitable_signature<awaitable<T, Executor>> 43 struct awaitable_signature<awaitable<void, Executor>> 106 co_spawn(const Executor& ex, awaitable<T, AwaitableExecutor> a, 162 co_spawn(const Executor& ex, awaitable<void, AwaitableExecutor> a, 227 co_spawn(ExecutionContext& ctx, awaitable<T, AwaitableExecutor> a, 286 co_spawn(ExecutionContext& ctx, awaitable<void, AwaitableExecutor> a,
|
/third_party/python/Objects/ |
D | iterobject.c | 320 PyObject *awaitable = _PyCoro_GetAwaitableIter(obj->wrapped); in anextawaitable_getiter() local 321 if (awaitable == NULL) { in anextawaitable_getiter() 324 if (Py_TYPE(awaitable)->tp_iternext == NULL) { in anextawaitable_getiter() 328 assert(PyCoro_CheckExact(awaitable)); in anextawaitable_getiter() 329 unaryfunc getter = Py_TYPE(awaitable)->tp_as_async->am_await; in anextawaitable_getiter() 330 PyObject *new_awaitable = getter(awaitable); in anextawaitable_getiter() 332 Py_DECREF(awaitable); in anextawaitable_getiter() 335 Py_SETREF(awaitable, new_awaitable); in anextawaitable_getiter() 336 if (!PyIter_Check(awaitable)) { in anextawaitable_getiter() 339 Py_DECREF(awaitable); in anextawaitable_getiter() [all …]
|
/third_party/boost/boost/asio/impl/ |
D | awaitable.hpp | 151 auto await_transform(awaitable<T, Executor> a) const in await_transform() 282 awaitable<T, Executor> get_return_object() noexcept in get_return_object() 285 return awaitable<T, Executor>(this); in get_return_object() 318 awaitable<void, Executor> get_return_object() in get_return_object() 321 return awaitable<void, Executor>(this); in get_return_object() 342 awaitable_thread(awaitable<void, Executor> p, const Executor& ex) in awaitable_thread() 367 awaitable<void, Executor>(std::move(a)); in ~awaitable_thread() 394 awaitable<void, Executor> a(std::move(bottom_of_stack_)); in pump() 399 awaitable<void, Executor> bottom_of_stack_; 414 struct coroutine_traits<boost::asio::awaitable<T, Executor>, Args...> [all …]
|
D | co_spawn.hpp | 80 awaitable<void, Executor> co_spawn_entry_point( in co_spawn_entry_point() 81 awaitable<T, Executor>*, Executor ex, F f, Handler handler) in co_spawn_entry_point() 117 awaitable<void, Executor> co_spawn_entry_point( in co_spawn_entry_point() 118 awaitable<void, Executor>*, Executor ex, F f, Handler handler) in co_spawn_entry_point() 148 explicit awaitable_as_function(awaitable<T, Executor>&& a) in awaitable_as_function() 153 awaitable<T, Executor> operator()() in operator ()() 159 awaitable<T, Executor> awaitable_; 201 awaitable<T, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() 218 awaitable<void, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() 236 awaitable<T, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() [all …]
|
/third_party/boost/libs/asio/include/boost/asio/impl/ |
D | awaitable.hpp | 151 auto await_transform(awaitable<T, Executor> a) const in await_transform() 282 awaitable<T, Executor> get_return_object() noexcept in get_return_object() 285 return awaitable<T, Executor>(this); in get_return_object() 318 awaitable<void, Executor> get_return_object() in get_return_object() 321 return awaitable<void, Executor>(this); in get_return_object() 342 awaitable_thread(awaitable<void, Executor> p, const Executor& ex) in awaitable_thread() 367 awaitable<void, Executor>(std::move(a)); in ~awaitable_thread() 394 awaitable<void, Executor> a(std::move(bottom_of_stack_)); in pump() 399 awaitable<void, Executor> bottom_of_stack_; 414 struct coroutine_traits<boost::asio::awaitable<T, Executor>, Args...> [all …]
|
D | co_spawn.hpp | 80 awaitable<void, Executor> co_spawn_entry_point( in co_spawn_entry_point() 81 awaitable<T, Executor>*, Executor ex, F f, Handler handler) in co_spawn_entry_point() 117 awaitable<void, Executor> co_spawn_entry_point( in co_spawn_entry_point() 118 awaitable<void, Executor>*, Executor ex, F f, Handler handler) in co_spawn_entry_point() 148 explicit awaitable_as_function(awaitable<T, Executor>&& a) in awaitable_as_function() 153 awaitable<T, Executor> operator()() in operator ()() 159 awaitable<T, Executor> awaitable_; 201 awaitable<T, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() 218 awaitable<void, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() 236 awaitable<T, AwaitableExecutor> a, CompletionToken&& token, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() [all …]
|
/third_party/boost/libs/asio/doc/overview/ |
D | coroutines_ts.qbk | 11 boost_asio.reference.awaitable `awaitable`] class template, the [link 21 boost::asio::awaitable<void> echo(tcp::socket socket) 44 The second argument is an [link boost_asio.reference.awaitable `awaitable<R>`], 47 be a function object that returns the [link boost_asio.reference.awaitable 48 `awaitable<R>`].) The template parameter `R` is the type of return value 61 `awaitable` that may be used with the `co_await` keyword: 86 [link boost_asio.reference.awaitable awaitable],
|
/third_party/boost/libs/asio/example/cpp17/coroutines_ts/ |
D | refactored_echo_server.cpp | 20 using boost::asio::awaitable; 26 awaitable<void> echo_once(tcp::socket& socket) in echo_once() 33 awaitable<void> echo(tcp::socket socket) in echo() 52 awaitable<void> listener() in listener()
|
D | range_based_for.cpp | 20 using boost::asio::awaitable; 40 awaitable<void> operator++() in operator ++() 63 awaitable<connection_iter> begin() in begin() 76 awaitable<void> listener(tcp::acceptor acceptor) in listener()
|
D | echo_server_with_default.cpp | 20 using boost::asio::awaitable; 28 awaitable<void> echo(tcp_socket socket) in echo() 45 awaitable<void> listener() in listener()
|
D | echo_server.cpp | 20 using boost::asio::awaitable; 31 awaitable<void> echo(tcp::socket socket) in echo() 48 awaitable<void> listener() in listener()
|
D | echo_server_with_as_single_default.cpp | 22 using boost::asio::awaitable; 31 awaitable<void> echo(tcp_socket socket) in echo() 43 awaitable<void> listener() in listener()
|
D | chat_server.cpp | 32 using boost::asio::awaitable; 117 awaitable<void> reader() in reader() 136 awaitable<void> writer() in writer() 176 awaitable<void> listener(tcp::acceptor acceptor) in listener()
|
/third_party/boost/doc/html/boost_asio/example/cpp17/coroutines_ts/ |
D | refactored_echo_server.cpp | 20 using boost::asio::awaitable; 26 awaitable<void> echo_once(tcp::socket& socket) in echo_once() 33 awaitable<void> echo(tcp::socket socket) in echo() 52 awaitable<void> listener() in listener()
|
D | range_based_for.cpp | 20 using boost::asio::awaitable; 40 awaitable<void> operator++() in operator ++() 63 awaitable<connection_iter> begin() in begin() 76 awaitable<void> listener(tcp::acceptor acceptor) in listener()
|
D | echo_server_with_default.cpp | 20 using boost::asio::awaitable; 28 awaitable<void> echo(tcp_socket socket) in echo() 45 awaitable<void> listener() in listener()
|
D | echo_server.cpp | 20 using boost::asio::awaitable; 31 awaitable<void> echo(tcp::socket socket) in echo() 48 awaitable<void> listener() in listener()
|
D | chat_server.cpp | 32 using boost::asio::awaitable; 117 awaitable<void> reader() in reader() 136 awaitable<void> writer() in writer() 176 awaitable<void> listener(tcp::acceptor acceptor) in listener()
|
/third_party/python/Lib/test/ |
D | test_asyncgen.py | 19 def awaitable(*, throw=False): function 179 await awaitable() 182 await awaitable() 184 await awaitable() 191 await awaitable() 193 await awaitable() 220 await awaitable() 222 await awaitable(throw=True) 230 await awaitable() 304 await awaitable() [all …]
|
/third_party/boost/libs/beast/test/beast/http/ |
D | write.cpp | 1012 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1016 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1020 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1024 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1028 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1032 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1036 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1040 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1044 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 1048 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles()
|
D | read.cpp | 547 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 551 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 555 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 559 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 563 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 567 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 571 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles() 575 net::awaitable<std::size_t>, decltype( in testAwaitableCompiles()
|
/third_party/boost/libs/outcome/doc/src/content/tutorial/essential/coroutines/ |
D | _index.md | 24 // awaitable resumes execution of dependent code 34 They **only** behave differently if `T`, the type being returned by the awaitable,
|