/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __execute.hpp | 39 template <class _Fun> 43 _Fun __fun_; 61 template <scheduler _Scheduler, class _Fun> 62 requires __callable<_Fun&> && move_constructible<_Fun> 63 void operator()(_Scheduler&& __sched, _Fun __fun) const noexcept(false) in operator ()() 66 if constexpr (tag_invocable<execute_t, _Scheduler, _Fun>) in operator ()() 69 static_cast<_Fun&&>(__fun)); in operator ()() 76 static_cast<_Fun&&>(__fun)); in operator ()() 80 template <sender_of<set_value_t()> _Sender, class _Fun> 81 requires __callable<_Fun&> && move_constructible<_Fun> [all …]
|
H A D | __upon_stopped.hpp | 40 template <class _Fun, class _CvrefSender, class... _Env> 44 __with_error_invoke_t<__on_not_callable, set_stopped_t, _Fun, 47 __set_value_invoke_t<_Fun>>; 52 template <sender _Sender, __movable_value _Fun> 53 requires __callable<_Fun> 54 auto operator()(_Sender&& __sndr, _Fun __fun) const -> __well_formed_sender in operator ()() 60 __make_sexpr<upon_stopped_t>(static_cast<_Fun&&>(__fun), in operator ()() 64 template <__movable_value _Fun> 65 requires __callable<_Fun> 67 auto operator()(_Fun __fun) const -> __binder_back<upon_stopped_t, _Fun> in operator ()() [all …]
|
H A D | __bulk.hpp | 44 template <class _Shape, class _Fun> 49 _Fun __fun_; 53 template <class _Shape, class _Fun> 54 __data(_Shape, _Fun) -> __data<_Shape, _Fun>; 59 template <class _Catch, class _Fun, class _Shape, class _CvrefSender, 67 _Fun, _Shape>>, 71 template <class _Fun, class _Shape, class _CvrefSender, class... _Env> 75 __with_error_invoke_t<__on_not_callable, _Fun, _Shape, _CvrefSender, 80 template <sender _Sender, integral _Shape, __movable_value _Fun> 82 auto operator()(_Sender&& __sndr, _Shape __shape, _Fun __fun) const in operator ()() [all …]
|
H A D | __sender_adaptor_closure.hpp | 99 template <class _Fun, class... _As> 102 sender_adaptor_closure<__binder_back<_Fun, _As...>> 105 _Fun __fun_{}; 119 noexcept(__nothrow_callable<_Fun, _Sender, _As...>) in operator ()() 120 -> __call_result_t<_Fun, _Sender, _As...> in operator ()() 122 return static_cast<_Fun&&>(__self_.__fun_)( in operator ()() 135 noexcept(__nothrow_callable<const _Fun&, _Sender, const _As&...>) in operator ()() 136 -> __call_result_t<const _Fun&, _Sender, const _As&...> in operator ()() 144 requires __callable<_Fun, _Sender, _As...> 147 noexcept(__nothrow_callable<_Fun, _Sender, _As...>) in operator ()() [all …]
|
H A D | __then.hpp | 40 template <class _Fun, class _CvrefSender, class... _Env> 44 __with_error_invoke_t<__on_not_callable, set_value_t, _Fun, 47 _Fun>::template __f>; 52 template <sender _Sender, __movable_value _Fun> 53 auto operator()(_Sender&& __sndr, _Fun __fun) const -> __well_formed_sender in operator ()() 58 __domain, __make_sexpr<then_t>(static_cast<_Fun&&>(__fun), in operator ()() 62 template <__movable_value _Fun> 64 auto operator()(_Fun __fun) const -> __binder_back<then_t, _Fun> in operator ()() 66 return {{static_cast<_Fun&&>(__fun)}, {}, {}}; in operator ()() 70 using _Fun = __0; typedef [all …]
|
H A D | __upon_error.hpp | 40 template <class _Fun, class _CvrefSender, class... _Env> 44 __with_error_invoke_t<__on_not_callable, set_error_t, _Fun, 48 _Fun>::template __f>; 53 template <sender _Sender, __movable_value _Fun> 54 auto operator()(_Sender&& __sndr, _Fun __fun) const -> __well_formed_sender in operator ()() 60 __make_sexpr<upon_error_t>(static_cast<_Fun&&>(__fun), in operator ()() 64 template <__movable_value _Fun> 66 auto operator()(_Fun __fun) const -> __binder_back<upon_error_t, _Fun> in operator ()() 68 return {{static_cast<_Fun&&>(__fun)}, {}, {}}; in operator ()() 72 using _Fun = __0; typedef [all …]
|
H A D | __let.hpp | 191 template <class _Set, class _Fun, class _Sched, class... _Env> 199 _Fun, __decay_t<_Args>&...>, 246 template <class _SetTag, class _Fun, class _Sched, class... _Env> 252 __nothrow_callable<_Fun, _Args...>>, 254 __mcall<__result_sender_fn<_SetTag, _Fun, _Sched, _Env...>, 262 __mcall<__result_sender_fn<_SetTag, _Fun, _Sched, _Env...>, 273 template <class _LetTag, class _Fun, class _CvrefSender, class... _Env> 277 __transform_signal_fn<__t<_LetTag>, _Fun, 310 template <class _Set, class _Child, class _Fun, class _Env, class _Sched> 313 __result_sender_fn<_Set, _Fun, _Sched, _Env>, [all …]
|
H A D | __receivers.hpp | 202 template <bool _CanThrow = false, class _Receiver, class _Fun, class... _As> 203 void __set_value_invoke(_Receiver&& __rcvr, _Fun&& __fun, in __set_value_invoke() 206 if constexpr (_CanThrow || __nothrow_invocable<_Fun, _As...>) in __set_value_invoke() 208 if constexpr (same_as<void, __invoke_result_t<_Fun, _As...>>) in __set_value_invoke() 210 __invoke(static_cast<_Fun&&>(__fun), static_cast<_As&&>(__as)...); in __set_value_invoke() 216 __invoke(static_cast<_Fun&&>(__fun), in __set_value_invoke() 225 static_cast<_Fun&&>(__fun), in __set_value_invoke()
|
H A D | __concepts.hpp | 43 template <class _Fun, class... _As> 45 requires(_Fun&& __fun, _As&&... __as) { // 46 static_cast<_Fun&&>(__fun)(static_cast<_As&&>(__as)...); // 48 template <class _Fun, class... _As> 50 __callable<_Fun, _As...> && // 51 requires(_Fun&& __fun, _As&&... __as) { 52 { static_cast<_Fun&&>(__fun)(static_cast<_As&&>(__as)...) } noexcept;
|
H A D | __diagnostics.hpp | 79 template <class _Fun> 107 template <class _Fun, class... _Args> 110 _NOT_CALLABLE_<_Context>, _WITH_FUNCTION_<_Fun>,
|
H A D | __transform_completion_signatures.hpp | 459 template <class _Fun, class... _Args> 460 requires __invocable<_Fun, _Args...> 461 using __nothrow_invocable_t = __mbool<__nothrow_invocable<_Fun, _Args...>>; 463 template <class _Catch, class _Tag, class _Fun, class _Sender, class... _Env> 468 _Fun>::template __f, 472 template <class _Fun, class... _Args> 473 requires __invocable<_Fun, _Args...> 476 __invoke_result_t<_Fun, _Args...>>>;
|
H A D | __tag_invoke.hpp | 26 template <class _Fun, class... _As> 28 requires(_Fun&& __f, _As&&... __as) { 29 std::invoke(static_cast<_Fun&&>(__f), static_cast<_As&&>(__as)...);
|
H A D | __env.hpp | 691 template <__nothrow_move_constructible _Fun> 697 _Fun __fun_; 700 requires __callable<const _Fun&, _Tag> 701 auto query(_Tag) const noexcept(__nothrow_callable<const _Fun&, _Tag>) in query() 702 -> __call_result_t<const _Fun&, _Tag> in query() 710 template <class _Fun> 711 __from(_Fun) -> __from<_Fun>;
|
H A D | __meta.hpp | 637 template <template <class...> class _Fun> 645 template <class _Fun> 1002 template <class _Fun, class... _As> 1003 using __call_result_ = decltype(__declval<_Fun>()(__declval<_As>()...)); 1004 template <class _Fun, class... _As> 1005 using __call_result_t = __t<__mdefer<__q<__call_result_>, _Fun, _As...>>; 1007 template <class _Fun, class... _As> 1008 using __call_result_t = decltype(__declval<_Fun>()(__declval<_As>()...)); 1013 template <const auto& _Fun, class... _As> 1014 using __result_of = __call_result_t<decltype(_Fun), _As...>; [all …]
|
H A D | __basic_sender.hpp | 499 static_cast<_Captures&&>(__captures2)]<class _Cvref, class _Fun>( in __captures() 500 _Cvref, _Fun&& __fun) mutable // in __captures() 502 __nothrow_callable<_Fun, _Tag, __minvoke<_Cvref, _Captures>...>) // in __captures() 503 -> __call_result_t<_Fun, _Tag, __minvoke<_Cvref, _Captures>...> in __captures() 504 requires __callable<_Fun, _Tag, __minvoke<_Cvref, _Captures>...> in __captures() 508 return static_cast<_Fun&&>(__fun)( in __captures()
|
H A D | __connect_awaitable.hpp | 177 template <class _Fun, class... _Ts> 178 static auto __co_call(_Fun __fun, _Ts&&... __as) noexcept in __co_call()
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/ |
H A D | functional.hpp | 79 template <class _Fun, class... _Args> 81 constexpr auto operator()(_Fun&& __fun, _Args&&... __args) const noexcept( in operator ()() 82 noexcept((static_cast<_Fun&&>(__fun))(static_cast<_Args&&>(__args)...))) in operator ()() 83 -> decltype((static_cast<_Fun&&>(__fun))( in operator ()() 86 return static_cast<_Fun&&>(__fun)(static_cast<_Args&&>(__args)...); in operator ()() 213 template <class _Fun> 215 constexpr auto operator()(_Fun&& __fun) const in operator ()() 216 noexcept(noexcept((static_cast<_Fun&&>(__fun))())) in operator ()() 217 -> decltype((static_cast<_Fun&&>(__fun))()) in operator ()() 219 return static_cast<_Fun&&>(__fun)(); in operator ()() [all …]
|
H A D | stop_token.hpp | 165 template <class _Fun> 166 using callback_type = inplace_stop_callback<_Fun>; 221 template <class _Fun> 226 requires constructible_from<_Fun, _Fun2> 229 noexcept(__nothrow_constructible_from<_Fun, _Fun2>) : in inplace_stop_callback() 251 _Fun __fun_; 445 template <class _Fun> 448 inplace_stop_callback<_Fun>;
|