Home
last modified time | relevance | path

Searched refs:_Env (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__env.hpp186 template <class _Env>
202 template <class _Env>
401 template <class _Env>
411 template <class _Env>
592 _Env __env_;
618 return __t<__fwd<__cvref_id<_Env>>>{static_cast<_Env&&>(__env)}; in operator ()()
636 _Env __env_;
671 return static_cast<_Env>(static_cast<_Env&&>(__env)); in operator ()()
711 auto operator()(_Env&& __env, empty_env = {}) const noexcept -> _Env in operator ()()
749 template <class _Env>
[all …]
H A D__senders.hpp53 template <class _Sender, class _Env>
55 transform_sender_result_t<__late_domain_of_t<_Sender, _Env>, _Sender, _Env>;
57 template <class _Sender, class... _Env>
60 __declval<_Env>()...));
62 template <class _Sender, class... _Env>
68 template <class _Sender, class... _Env>
71 template <class _Sender, class... _Env>
75 template <class _Sender, class... _Env>
81 (sizeof...(_Env) == 0) &&
395 sender_in<_Sender, _Env> //
[all …]
H A D__write_env.hpp36 template <sender _Sender, class _Env>
37 auto operator()(_Sender&& __sndr, _Env __env) const in operator ()()
39 return __make_sexpr<__write_env_t>(static_cast<_Env&&>(__env), in operator ()()
43 template <class _Env>
45 auto operator()(_Env __env) const -> __binder_back<__write_env_t, _Env> in operator ()()
47 return {{static_cast<_Env&&>(__env)}, {}, {}}; in operator ()()
50 template <class _Env>
52 static auto __transform_env_fn(_Env&& __env) noexcept in __transform_env_fn()
59 template <sender_expr_for<__write_env_t> _Self, class _Env>
75 []<class _Self, class... _Env>(_Self&&, _Env&&...) noexcept
[all …]
H A D__domain.hpp64 template <class _Sender, class... _Env>
76 template <class _Sender, class _Env>
107 template <class _Sender, class _Env>
153 template <class _Sender, class _Env>
190 template <class _Sender, class _Env>
201 return static_cast<_Env>(static_cast<_Env&&>(__env)); in transform_env()
209 template <class _Env, class _Tag>
212 _Env>;
214 template <class _Env, class _Tag>
223 template <class _Env>
[all …]
H A D__start_detached.hpp37 using _Env = stdexec::__t<_EnvId>; typedef
44 _Env __env_;
58 auto get_env() const noexcept -> const _Env& in get_env()
66 template <class _Env = empty_env>
80 template <class _Env, sender_in<__as_root_env_t<_Env>> _Sender>
84 void operator()(_Sender&& __sndr, _Env&& __env) const in operator ()()
88 __as_root_env(static_cast<_Env&&>(__env))); in operator ()()
99 template <class _Sender, class _Env = __root_env>
100 requires sender_to<_Sender, __detached_receiver_t<_Env>>
101 void apply_sender(_Sender&& __sndr, _Env&& __env = {}) const in apply_sender()
[all …]
H A D__transform_sender.hpp39 template <class _Sender, class _Env>
42 template <sender_expr _Sender, class _Env>
55 template <class _Domain, class _Sender, class _Env>
59 _Env&& __env) const noexcept in operator ()()
121 class... _Env>
127 const _Env&...>) in operator ()()
185 template <class _Domain, class _Sender, class... _Env>
194 template <class _Sender, class _Env>
199 _Sender, _Env>; in __is_nothrow_transform_sender()
219 __declval<const _Env&>())); in __is_nothrow_transform_sender()
[all …]
H A D__transform_completion_signatures.hpp38 template <class _Sender, class... _Env>
46 template <class _Sender, class... _Env>
47 requires sender_in<_Sender, _Env...>
52 template <class _Sender, class... _Env>
53 requires sender_in<_Sender, _Env...>
434 template <class _Sender, class... _Env>
436 sender_in<_Sender, _Env...> && __sends<set_stopped_t, _Sender, _Env...>;
438 template <class _Sender, class... _Env>
443 template <class _Sender, class... _Env>
445 sender_in<_Sender, _Env...> && //
[all …]
H A D__schedulers.hpp100 template <class _Env>
101 requires tag_invocable<get_scheduler_t, const _Env&>
103 -> tag_invoke_result_t<get_scheduler_t, const _Env&> in operator ()()
105 static_assert(nothrow_tag_invocable<get_scheduler_t, const _Env&>); in operator ()()
110 template <class _Env>
111 requires tag_invocable<get_delegatee_scheduler_t, const _Env&>
123 template <__has_completion_scheduler_for<_Tag> _Env>
125 const _Env& __env) const noexcept in operator ()()
133 const _Env&>>); in operator ()()
141 template <class _Env, class _Scheduler>
[all …]
H A D__debug.hpp38 template <class _Env>
40 auto operator()(const _Env&) const noexcept
44 template <class _Env>
47 template <class _Env>
117 struct __debug_receiver<_CvrefSenderId, _Env,
126 auto get_env() const noexcept -> __debug_env_t<_Env> in get_env()
164 __t(__debug_receiver<_CvrefSenderId, _Env, in __t()
235 void __debug_sender(_Sender&& __sndr, const _Env& = {}) in __debug_sender() argument
237 if constexpr (!__is_debug_env<_Env>)
255 template <class _Env = empty_env, class _Sender>
[all …]
H A D__when_all.hpp67 template <class _Env>
74 template <class _Env>
79 template <class _Sender, class _Env>
81 sender_in<_Sender, _Env> && __mvalid<__value_types_of_t, _Sender, _Env,
109 template <class... _Env>
173 template <class _Env, __max1_sender<__env_t<_Env>>... _Senders>
255 template <class _Env>
269 template <class _Env>
315 []<class _Self, class... _Env>(_Self&&, _Env&&...) noexcept {
500 using _Env = __0; typedef
[all …]
H A D__let.hpp147 template <class _Scheduler, class _Env>
179 template <class _Sender, class... _Env>
181 sender_in<_Sender, _Env...> || (sender<_Sender> && (sizeof...(_Env) == 0));
200 __result_env_t<_Sched, _Env>...>;
216 __result_env_t<_Scheduler, _Env>...>;
256 _Sched, _Env...>>;
316 template <class _LetTag, class _Env>
317 auto __mk_transform_env_fn(_Env&& __env) noexcept in __mk_transform_env_fn()
345 template <class _LetTag, class _Env>
346 auto __mk_transform_sender_fn(_Env&&) noexcept in __mk_transform_sender_fn() argument
[all …]
H A D__into_variant.hpp42 template <class _Sender, class _Env>
43 requires sender_in<_Sender, _Env>
44 using __into_variant_result_t = value_types_of_t<_Sender, _Env>;
46 template <class _Sender, class... _Env>
48 __value_types_t<__completion_signatures_of_t<_Sender, _Env...>>;
55 template <class _Sender, class... _Env>
58 __completion_signatures_of_t<_Sender, _Env...>,
59 __meval<__variant_completions, __variant_t<_Sender, _Env...>>,
116 []<class _Self, class... _Env>(_Self&&, _Env&&...) noexcept //
117 -> __completions<__child_of<_Self>, _Env...> {
H A D__continue_on.hpp44 template <class _Env>
45 using __scheduler_t = __result_of<get_completion_scheduler<set_value_t>, _Env>;
59 using _Env = __t<__environ<__id<__decay_t<_Scheduler>>>>; in operator ()() typedef
62 _Env{{static_cast<_Scheduler&&>(__sched)}}, in operator ()()
75 using _Env = __0; typedef
82 get_completion_scheduler_t<set_value_t>(_Env)),
84 get_completion_scheduler_t<set_value_t>(_Env))>;
86 template <class _Env>
87 static auto __transform_sender_fn(const _Env&) in __transform_sender_fn()
97 template <class _Sender, class _Env>
[all …]
H A D__on.hpp60 template <class _Sender, class _Env>
142 template <class _Env>
144 static auto __transform_env_fn(_Env&& __env) noexcept in __transform_env_fn()
155 return static_cast<_Env>(static_cast<_Env&&>(__env)); in __transform_env_fn()
160 template <class _Env>
162 static auto __transform_sender_fn(const _Env& __env) noexcept in __transform_sender_fn()
173 if constexpr (__is_root_env<_Env>) in __transform_sender_fn()
220 template <class _Sender, class _Env>
228 template <class _Sender, class _Env>
230 static auto transform_sender(_Sender&& __sndr, const _Env& __env) in transform_sender()
[all …]
H A D__split.hpp46 template <sender _Sender, class _Env = empty_env>
47 requires sender_in<_Sender, _Env> && __decay_copyable<env_of_t<_Sender>>
49 _Env&& __env = {}) const -> __well_formed_sender auto in operator ()()
53 __domain, __make_sexpr<split_t>(static_cast<_Env&&>(__env),
71 template <class _CvrefSender, class _Env>
73 __t<__meval<__receiver, __cvref_id<_CvrefSender>, __id<_Env>>>;
84 [&]<class _Env, class _Child>(__ignore, _Env&& __env, in transform_sender()
88 __make_intrusive<__shared_state<_Child, __decay_t<_Env>>, in transform_sender()
90 static_cast<_Env&&>(__env)); in transform_sender()
H A D__ensure_started.hpp46 template <sender _Sender, class _Env = empty_env>
47 requires sender_in<_Sender, _Env> && __decay_copyable<env_of_t<_Sender>>
48 [[nodiscard]] auto operator()(_Sender&& __sndr, _Env&& __env = {}) const in operator ()()
60 __make_sexpr<ensure_started_t>(static_cast<_Env&&>(__env),
79 template <class _CvrefSender, class _Env>
81 __t<__meval<__receiver, __cvref_id<_CvrefSender>, __id<_Env>>>;
92 [&]<class _Env, class _Child>(__ignore, _Env&& __env, in transform_sender()
96 __make_intrusive<__shared_state<_Child, __decay_t<_Env>>, in transform_sender()
98 static_cast<_Env&&>(__env)); in transform_sender()
H A D__read_env.hpp47 template <class _Tag, class _Env>
51 _WITH_QUERY_<_Tag>, _WITH_ENVIRONMENT_<_Env>>;
53 template <class _Tag, class _Env>
54 requires __callable<_Tag, _Env>
56 __if_c<__nothrow_callable<_Tag, _Env>,
57 completion_signatures<set_value_t(__call_result_t<_Tag, _Env>)>,
58 completion_signatures<set_value_t(__call_result_t<_Tag, _Env>),
88 template <class _Tag, class _Env>
91 _Tag, _Env>;
94 []<class _Self, class _Env>(const _Self&, _Env&&) noexcept
[all …]
H A D__receiver_ref.hpp55 template <class _Sigs, class _Env>
58 template <class _Env, class... _Sigs>
59 struct __receiver_vtable_for<completion_signatures<_Sigs...>, _Env> :
62 _Env (*__do_get_env)(const void* __op_state) noexcept;
65 static auto __s_get_env(const void* __ptr) noexcept -> _Env in __s_get_env()
81 auto __get_env(const void* __op_state) const noexcept -> _Env in __get_env()
87 template <class _OpState, class _GetEnv, class _GetReceiver, class _Env,
89 inline constexpr __receiver_vtable_for<_Sigs, _Env> __receiver_vtable_for_v{
92 template <class _Sigs, class _Env = empty_env>
103 _GetReceiver, _Env, _Sigs>},
[all …]
H A D__shared.hpp87 template <class _CvrefSender, class _Env>
187 using _Env = stdexec::__t<_EnvId>; typedef
221 __shared_state<_CvrefSender, _Env>* __sh_state_;
231 template <class _CvrefSender, class _Env>
252 __env_t<_Env> __env_;
419 template <class _Cvref, class _CvrefSender, class _Env>
424 _CvrefSender, __env_t<_Env>,
471 template <class _CvrefSender, class _Env>
474 ->__box<_CvrefSender, _Env, true>;
476 template <class _CvrefSender, class _Env>
[all …]
H A D__schedule_from.hpp56 template <class _CvrefSender, class _Env>
59 __completion_signatures_of_t<_CvrefSender, _Env>, __tuple_t,
72 template <class _CvrefSender, class... _Env>
75 __completion_signatures_of_t<_CvrefSender, _Env...>,
78 template <class _Scheduler, class _CvrefSender, class... _Env>
82 __completion_signatures_of_t<_CvrefSender, _Env...>,
87 _Env...>,
200 auto __env = _Env{{static_cast<_Scheduler&&>(__sched)}}; in operator ()()
208 using _Env = __0; typedef
228 []<class _Sender, class... _Env>(_Sender&&, _Env&&...) noexcept
[all …]
H A D__start_on.hpp74 template <class _Env>
76 static auto __transform_env_fn(_Env&& __env) noexcept in __transform_env_fn()
79 return __detail::__mkenv_sched(static_cast<_Env&&>(__env), __sched); in __transform_env_fn()
83 template <class _Sender, class _Env>
84 static auto transform_env(const _Sender& __sndr, _Env&& __env) noexcept in transform_env()
87 __transform_env_fn(static_cast<_Env&&>(__env))); in transform_env()
90 template <class _Sender, class _Env>
91 static auto transform_sender(_Sender&& __sndr, const _Env&) in transform_sender()
H A D__transfer_just.hpp53 template <class _Env>
54 auto __make_transform_fn(const _Env&) in __make_transform_fn() argument
63 template <class _Env>
64 auto __transform_sender_fn(const _Env& __env) in __transform_sender_fn()
101 template <class _Sender, class _Env>
102 static auto transform_sender(_Sender&& __sndr, const _Env& __env) in transform_sender()
113 using _Env = __t<__schfr::__environ<__id<_Scheduler>>>; in __make_env_fn() typedef
114 return _Env{__sched}; in __make_env_fn()
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Denv.hpp41 template <class _Env, class _Tag>
53 stdexec::__nothrow_move_constructible _Env>
55 -> stdexec::__env::__join_t<_Env, _Base> in operator ()()
61 template <stdexec::__nothrow_move_constructible _Env>
62 auto operator()(_Env&& __env) const noexcept -> _Env in operator ()()
64 return static_cast<_Env&&>(__env); in operator ()()
132 template <class _Env>
135 template <class _Env>
138 template <class _Env>
154 template <class _Env>
[all …]
H A Dsequence_senders.hpp51 sender_in<_Sender, _Env> //
166 template <class _Sender, class _Env>
168 transform_sender_result_t<__late_domain_of_t<_Sender, _Env>, _Sender, _Env>;
170 template <class _Sender, class _Env>
172 tag_invocable<get_item_types_t, __tfx_sender<_Sender, _Env>, _Env>;
173 template <class _Sender, class _Env>
177 template <class _Sender, class _Env>
214 __tfx_sender<_Sender, _Env>, _Env>; in __impl()
238 template <class _Sender, class... _Env>
258 sequence_sender<_Sender, _Env...>;
[all …]
H A Dasync_scope.hpp333 template <class _Sender, class _Env>
517 template <class _Sender, class _Env>
520 _Sender, __env_t<_Env>,
602 __env_t<_Env> __env_;
697 __t<__future_rcvr<__future_completions_t<_Sender, _Env>, __id<_Env>>>;
701 __future_state_base<__future_completions_t<_Sender, _Env>, _Env>
706 __future_state_base<_Completions, _Env>(static_cast<_Env&&>(__env), in __future_state()
811 template <class _Env>
818 __spawn_env_t<_Env> __env_;
856 template <class _Env>
[all …]

12