Home
last modified time | relevance | path

Searched refs:__promise (Results 1 – 9 of 9) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dat_coroutine_exit.hpp141 requires(_Promise& __promise, __continuation_handle<> __c) {
143 { __promise.set_continuation(__c) };
149 struct __promise;
152 using promise_type = __promise;
154 explicit __task(__coro::coroutine_handle<__promise> __coro) noexcept : in __task()
192 await_suspend(__coro::coroutine_handle<__promise> __h) noexcept in await_suspend()
195 __promise& __p = __h.promise(); in await_suspend()
207 const __promise& __promise_;
215 struct __promise : with_awaitable_senders<__promise> struct in exec::__at_coro_exit::__task
247 __coro::coroutine_handle<__promise>::from_promise(*this)); in get_return_object()
[all …]
H A Dtask.hpp348 struct __promise;
353 using promise_type = __promise;
384 typename _Context::template promise_context_t<__promise>;
386 struct __promise : __promise_base<_Ty>, with_awaitable_senders<__promise> struct in exec::__task::basic_task
388 using __t = __promise; argument
389 using __id = __promise; argument
394 __coro::coroutine_handle<__promise>::from_promise(*this)); in get_return_object()
465 return with_awaitable_senders<__promise>::await_transform( in await_transform()
481 __coro::coroutine_handle<__promise> __coro_;
533 awaiter_context_t<__promise, _ParentPromise>,
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__awaitable.hpp85 _Promise* __promise) -> decltype(auto) in __get_awaiter() argument
87 __promise->await_transform( in __get_awaiter()
92 __promise
98 return __promise
104 __co_await_constraint(__promise->await_transform(
107 operator co_await(__promise->await_transform(static_cast<_Awaitable&&>(__awaitable)));
112 __promise->await_transform(static_cast<_Awaitable&&>(__awaitable)));
116 return __promise->await_transform(
123 requires(_Awaitable&& __awaitable, _Promise*... __promise) {
126 __promise...)
H A D__connect_awaitable.hpp99 struct __promise;
106 using promise_type = stdexec::__t<__promise<_ReceiverId>>;
112 struct __promise struct
118 using __id = __promise;
165 using __promise_t = __t<__promise<__id<_Receiver>>>;
H A D__as_awaitable.hpp210 requires(_Promise& __promise) {
212 __promise.unhandled_stopped()
262 auto operator()(_Tp&& __t, _Promise& __promise) const in operator ()()
270 return tag_invoke(*this, static_cast<_Tp&&>(__t), __promise); in operator ()()
280 __coro::coroutine_handle<_Promise>::from_promise(__promise); in operator ()()
H A D__with_awaitable_senders.hpp42 if constexpr (requires(_Promise& __promise) { in __continuation_handle()
43 __promise.unhandled_stopped(); in __continuation_handle()
H A D__senders_core.hpp44 || __awaitable<_Sender, __env::__promise<empty_env>>;
H A D__env.hpp412 struct __promise struct
421 requires tag_invocable<as_awaitable_t, _Ty, __promise&>
423 noexcept(nothrow_tag_invocable<as_awaitable_t, _Ty, __promise&>) in await_transform()
424 -> tag_invoke_result_t<as_awaitable_t, _Ty, __promise&> in await_transform()
H A D__senders.hpp138 __env::__promise<_Env>...>)) in __impl()
141 __await_result_t<_TfxSender, __env::__promise<_Env>...>; in __impl()