Home
last modified time | relevance | path

Searched refs:actor (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/boost/boost/spirit/home/karma/
Dphoenix_attributes.hpp28 struct actor;
40 struct is_container<phoenix::actor<Eval> const>
41 : is_container<typename boost::result_of<phoenix::actor<Eval>()>::type>
45 struct container_iterator<phoenix::actor<Eval> const>
47 typedef phoenix::actor<Eval> const& type;
51 struct begin_container<phoenix::actor<Eval> const>
53 typedef phoenix::actor<Eval> const& type;
54 static type call(phoenix::actor<Eval> const& f) in call()
61 struct end_container<phoenix::actor<Eval> const>
63 typedef phoenix::actor<Eval> const& type;
[all …]
/third_party/boost/boost/spirit/home/classic/phoenix/
Dprimitives.hpp64 actor<argument<0> > const arg1 = argument<0>();
65 actor<argument<1> > const arg2 = argument<1>();
66 actor<argument<2> > const arg3 = argument<2>();
69 actor<argument<3> > const arg4 = argument<3>();
70 actor<argument<4> > const arg5 = argument<4>();
71 actor<argument<5> > const arg6 = argument<5>();
74 actor<argument<6> > const arg7 = argument<6>();
75 actor<argument<7> > const arg8 = argument<7>();
76 actor<argument<8> > const arg9 = argument<8>();
79 actor<argument<9> > const arg10 = argument<9>();
[all …]
Doperators.hpp757 operator-(actor<BaseT> const& _0) in operator -()
784 operator+(actor<BaseT> const& _0) in operator +()
811 operator!(actor<BaseT> const& _0) in operator !()
838 operator~(actor<BaseT> const& _0) in operator ~()
865 operator&(actor<BaseT> const& _0) in operator &()
892 operator*(actor<BaseT> const& _0) in operator *()
919 operator++(actor<BaseT> const& _0) in operator ++()
946 operator--(actor<BaseT> const& _0) in operator --()
973 operator++(actor<BaseT> const& _0, int) in operator ++()
1000 operator--(actor<BaseT> const& _0, int) in operator --()
[all …]
Dclosures.hpp357 typedef actor<closure_member<0, self_t> > member1;
358 typedef actor<closure_member<1, self_t> > member2;
359 typedef actor<closure_member<2, self_t> > member3;
362 typedef actor<closure_member<3, self_t> > member4;
363 typedef actor<closure_member<4, self_t> > member5;
364 typedef actor<closure_member<5, self_t> > member6;
367 typedef actor<closure_member<6, self_t> > member7;
368 typedef actor<closure_member<7, self_t> > member8;
369 typedef actor<closure_member<8, self_t> > member9;
372 typedef actor<closure_member<9, self_t> > member10;
[all …]
/third_party/boost/boost/phoenix/core/
Dactor.hpp45 struct actor;
94 template apply<const ::boost::phoenix::actor<Expr> *, A...>::type&
103 struct actor : actor_impl<Expr, A...> {};
110 struct actor<Expr> struct
133 struct actor struct
146 BOOST_PROTO_BASIC_EXTENDS(expr_type, actor<Expr>, phoenix_domain)
153 typename result_of::actor<proto_base_expr>::type
156 typedef vector1<const actor<Expr> *> env_type; in operator ()()
162 typename result_of::actor<proto_base_expr>::type
165 typedef vector1<const actor<Expr> *> env_type; in operator ()()
[all …]
Dreference.hpp102 struct custom_terminal<boost::reference_wrapper<actor<Expr> > >
108 struct result<This(boost::reference_wrapper<actor<Expr> > const &, Context)>
109 : boost::result_of<evaluator(actor<Expr> &, Context)>
113 struct result<This(boost::reference_wrapper<actor<Expr> > &, Context)>
114 : boost::result_of<evaluator(actor<Expr> &, Context)>
118 typename boost::result_of<evaluator(actor<Expr> &, Context const &)>::type
119 operator()(boost::reference_wrapper<actor<Expr> > & r, Context const & ctx) const in operator ()()
126 struct custom_terminal<boost::reference_wrapper<actor<Expr> const> >
132 struct result<This(boost::reference_wrapper<actor<Expr> const> const &, Context)>
133 : boost::result_of<evaluator(actor<Expr> const&, Context)>
[all …]
/third_party/mindspore/mindspore/core/mindrt/src/actor/
Dactormgr.cc84 void ActorMgr::SetActorReady(const ActorReference &actor) const { in SetActorReady()
87 MINDRT_OOM_EXIT(actor); in SetActorReady()
88 ActorThreadPool *pool = actor->pool_ ? actor->pool_ : inner_pool_; in SetActorReady()
90 MS_LOG(ERROR) << "ThreadPool is nullptr, " << actor->pool_ << ", " << inner_pool_ in SetActorReady()
91 << ", actor: " << actor->GetAID().Name(); in SetActorReady()
94 pool->PushActorToQueue(actor.get()); in SetActorReady()
190 int ActorMgr::EnqueueMessage(const mindspore::ActorReference actor, std::unique_ptr<mindspore::Mess… in EnqueueMessage() argument
191 return actor->EnqueMessage(std::move(msg)); in EnqueueMessage()
197 auto actor = GetActor(to); in Send() local
198 if (actor != nullptr) { in Send()
[all …]
/third_party/boost/boost/phoenix/core/detail/cpp03/preprocessed/
Dactor_operator_10.hpp19actor<proto_base_expr, A0 &> {}; template <typename A0> typename result_of::actor<proto_base_expr,… in operator ()()
31actor<proto_base_expr, A0 & , A1 &> {}; template <typename A0 , typename A1> typename result_of::a… in operator ()()
45 : result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>
48 typename result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>::type
53 const actor<Expr> *, A0 & , A1 & , A2 & in operator ()()
61 typename result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>::type
66 const actor<Expr> *, A0 & , A1 & , A2 & in operator ()()
74 typename result_of::actor<proto_base_expr, A0 const& , A1 const& , A2 const&>::type
79 const actor<Expr> *, A0 const& , A1 const& , A2 const& in operator ()()
87 typename result_of::actor<proto_base_expr, A0 const& , A1 const& , A2 const&>::type
[all …]
Dactor_result_of_10.hpp11 struct actor;
19 vector1<const ::boost::phoenix::actor<Expr> *> &
34 struct actor<Expr, A0> struct
41 vector2<const ::boost::phoenix::actor<Expr> *, A0> &
56 struct actor<Expr, A0 , A1> struct
63 vector3<const ::boost::phoenix::actor<Expr> *, A0 , A1> &
78 struct actor<Expr, A0 , A1 , A2> struct
85 vector4<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2> &
100 struct actor<Expr, A0 , A1 , A2 , A3> struct
107 vector5<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2 , A3> &
[all …]
Dactor_result_of_20.hpp11 struct actor;
19 vector1<const ::boost::phoenix::actor<Expr> *> &
34 struct actor<Expr, A0> struct
41 vector2<const ::boost::phoenix::actor<Expr> *, A0> &
56 struct actor<Expr, A0 , A1> argument
63 vector3<const ::boost::phoenix::actor<Expr> *, A0 , A1> &
78 struct actor<Expr, A0 , A1 , A2> struct
85 vector4<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2> &
100 struct actor<Expr, A0 , A1 , A2 , A3> argument
107 vector5<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2 , A3> &
[all …]
Dactor_result_of_30.hpp11 struct actor;
19 vector1<const ::boost::phoenix::actor<Expr> *> &
34 struct actor<Expr, A0> struct
41 vector2<const ::boost::phoenix::actor<Expr> *, A0> &
56 struct actor<Expr, A0 , A1> argument
63 vector3<const ::boost::phoenix::actor<Expr> *, A0 , A1> &
78 struct actor<Expr, A0 , A1 , A2> argument
85 vector4<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2> &
100 struct actor<Expr, A0 , A1 , A2 , A3> struct
107 vector5<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2 , A3> &
[all …]
Dactor_result_of_40.hpp11 struct actor;
19 vector1<const ::boost::phoenix::actor<Expr> *> &
34 struct actor<Expr, A0> struct
41 vector2<const ::boost::phoenix::actor<Expr> *, A0> &
56 struct actor<Expr, A0 , A1> argument
63 vector3<const ::boost::phoenix::actor<Expr> *, A0 , A1> &
78 struct actor<Expr, A0 , A1 , A2> argument
85 vector4<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2> &
100 struct actor<Expr, A0 , A1 , A2 , A3> argument
107 vector5<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2 , A3> &
[all …]
Dactor_operator_20.hpp19actor<proto_base_expr, A0 &> {}; template <typename A0> typename result_of::actor<proto_base_expr,… in operator ()()
31actor<proto_base_expr, A0 & , A1 &> {}; template <typename A0 , typename A1> typename result_of::a… in operator ()()
45 : result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>
48 typename result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>::type
53 const actor<Expr> *, A0 & , A1 & , A2 & in operator ()()
61 typename result_of::actor<proto_base_expr, A0 & , A1 & , A2 &>::type
66 const actor<Expr> *, A0 & , A1 & , A2 & in operator ()()
74 typename result_of::actor<proto_base_expr, A0 const& , A1 const& , A2 const&>::type
79 const actor<Expr> *, A0 const& , A1 const& , A2 const& in operator ()()
87 typename result_of::actor<proto_base_expr, A0 const& , A1 const& , A2 const&>::type
[all …]
Dactor_result_of_50.hpp11 struct actor;
19 vector1<const ::boost::phoenix::actor<Expr> *> &
34 struct actor<Expr, A0> struct
41 vector2<const ::boost::phoenix::actor<Expr> *, A0> &
56 struct actor<Expr, A0 , A1> argument
63 vector3<const ::boost::phoenix::actor<Expr> *, A0 , A1> &
78 struct actor<Expr, A0 , A1 , A2> argument
85 vector4<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2> &
100 struct actor<Expr, A0 , A1 , A2 , A3> argument
107 vector5<const ::boost::phoenix::actor<Expr> *, A0 , A1 , A2 , A3> &
[all …]
/third_party/boost/boost/xpressive/detail/core/matcher/
Dend_matcher.hpp68 for(actionable const *actor = state.action_list_.next; 0 != actor; actor = actor->next) in match() local
70 actor->execute(state.action_args_); in match()
87 for(actionable const *actor = state.action_list_.next; 0 != actor; actor = actor->next) in match() local
89 actor->execute(state.action_args_); in match()
/third_party/boost/boost/phoenix/core/detail/cpp03/
Dactor_operator.hpp63 : result_of::actor<proto_base_expr, BOOST_PHOENIX_A_ref>
67 typename result_of::actor<proto_base_expr, BOOST_PHOENIX_A_ref>::type
72 const actor<Expr> *, BOOST_PHOENIX_A_ref in operator ()()
81 typename result_of::actor<proto_base_expr, BOOST_PHOENIX_A_ref>::type
86 const actor<Expr> *, BOOST_PHOENIX_A_ref in operator ()()
95 typename result_of::actor<proto_base_expr, BOOST_PHOENIX_A_const_ref>::type
100 const actor<Expr> *, BOOST_PHOENIX_A_const_ref in operator ()()
109 typename result_of::actor<proto_base_expr, BOOST_PHOENIX_A_const_ref>::type
114 const actor<Expr> *, BOOST_PHOENIX_A_const_ref in operator ()()
134 : result_of::actor<proto_base_expr, BOOST_PHOENIX_PERM_A(I)> \
[all …]
/third_party/mindspore/mindspore/core/mindrt/src/
Dmindrt.cc82 AID Spawn(const ActorReference actor, bool sharedThread) { in Spawn() argument
83 if (actor == nullptr) { in Spawn()
89 return actor->GetAID(); in Spawn()
91 return ActorMgr::GetActorMgrRef()->Spawn(actor, sharedThread); in Spawn()
95 void Await(const ActorReference &actor) { ActorMgr::GetActorMgrRef()->Wait(actor->GetAID()); } in Await() argument
97 void Await(const AID &actor) { ActorMgr::GetActorMgrRef()->Wait(actor); } in Await() argument
100 ActorReference GetActor(const AID &actor) { return ActorMgr::GetActorMgrRef()->GetActor(actor); } in GetActor() argument
102 void Terminate(const AID &actor) { ActorMgr::GetActorMgrRef()->Terminate(actor); } in Terminate() argument
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_scheduler.cc316 for (auto actor : actors) { in Schedule() local
317 (void)actor_manager->Spawn(actor); in Schedule()
398 OpActor<DeviceTensor> *actor = nullptr; in CacheGraphOutputToActor() local
400 actor = FetchActor(output_kernel->fullname_with_scope()); in CacheGraphOutputToActor()
403 actor = FetchActor(actor_name); in CacheGraphOutputToActor()
406 actor = FetchActor(graph_compiler_info.name_ + "_HostDSActor"); in CacheGraphOutputToActor()
407 const auto &host_ds_actor = dynamic_cast<HostQueueDataSourceActor *>(actor); in CacheGraphOutputToActor()
420 MS_EXCEPTION_IF_NULL(actor); in CacheGraphOutputToActor()
422 … << " with index: " << output_with_index.second << " to actor:" << actor->GetAID().Name() in CacheGraphOutputToActor()
427 … GraphOutputPair(dynamic_cast<AbstractActor *>(actor), actor_output_index)); in CacheGraphOutputToActor()
[all …]
/third_party/boost/boost/spirit/home/support/
Dcontext.hpp36 typedef phoenix::actor<attribute<n> > \
38 phoenix::actor<attribute<n> > const \
49 typedef phoenix::actor<attribute<n> > \
236 typedef phoenix::actor<attribute<0> > _val_type;
237 typedef phoenix::actor<attribute<0> > _r0_type;
238 typedef phoenix::actor<attribute<1> > _r1_type;
239 typedef phoenix::actor<attribute<2> > _r2_type;
254 typedef phoenix::actor<local_variable<0> > _a_type;
255 typedef phoenix::actor<local_variable<1> > _b_type;
256 typedef phoenix::actor<local_variable<2> > _c_type;
[all …]
/third_party/mindspore/mindspore/core/mindrt/include/async/
Dasync.h38 void Run(ActorBase *actor) override { (handler)(actor); } in Run() argument
99 std::function<void(ActorBase *)> handler = [method](ActorBase *actor) {
100 MINDRT_ASSERT(actor != nullptr);
101 T *t = static_cast<T *>(actor);
112 std::function<void(ActorBase *)> handler = [method, arg](ActorBase *actor) {
113 MINDRT_ASSERT(actor != nullptr);
114 T *t = static_cast<T *>(actor);
125 std::function<void(ActorBase *)> handler = [method, tuple](ActorBase *actor) {
126 MINDRT_ASSERT(actor != nullptr);
127 T *t = static_cast<T *>(actor);
[all …]
/third_party/boost/libs/phoenix/doc/inside/
Dactor.qbk10 [section:actor Actors in Detail]
21 actor can take. By default, `BOOST_PHOENIX_LIMIT` is set to 10.]
23 The `actor` template class models the `Actor` concept:
26 struct actor
31 typename result_of::actor<Expr>::type
35 typename result_of::actor<Expr, T0 &>::type
39 typename result_of::actor<Expr, T0 const &>::type
51 [`actor(arg0, arg1, ..., argN)`]
59 [`result_of::actor<Expr, Arg0, Arg1, ..., ArgN>::type`]
67 The actor class accepts the arguments and forwards the arguments to the default
[all …]
/third_party/boost/libs/phoenix/doc/modules/
Doperator.qbk29 an actor. This actor object is passed on to STL's `find_if` function. From
32 the element is passed on as an argument `arg1` to the actor (function
33 object). The actor checks if this is an odd value based on the expression
38 when invoked. Instead, an actor (see [link phoenix.actor Actor])
43 does nothing more than return an actor. A second function call will evaluate
53 /at least/ one of its operands is an actor object
54 (see [link phoenix.actor Actor]).
55 # Unary operators are lazily evaluated if their argument is an actor object.
56 # Operator `->*` is lazily evaluated if the left hand argument is an actor object.
57 # The result of a lazy operator is an actor object that can in turn allow the
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dfor_each_range.hpp44 static inline void apply(Range & range, Actor & actor) in apply()
46 actor.apply(range); in apply()
54 static inline void apply(Polygon & polygon, Actor & actor) in apply()
56 actor.apply(exterior_ring(polygon)); in apply()
66 static inline void apply(Box & box, Actor & actor) in apply()
68 actor.apply(box_view<typename boost::remove_const<Box>::type>(box)); in apply()
75 static inline void apply(Multi & multi, Actor & actor) in apply()
80 SinglePolicy::apply(*it, actor); in apply()
185 inline void for_each_range(Geometry const& geometry, Actor & actor) in for_each_range() argument
191 >::apply(geometry, actor); in for_each_range()
/third_party/boost/boost/phoenix/operator/
Dio.hpp39 , actor<Expr>
42 operator<<(actor<Expr> const& a0, detail::iomanip_type a1) in operator <<()
53 , actor<Expr>
56 operator<<(actor<Expr> const& a0, detail::omanip_type a1) in operator <<()
67 , actor<Expr>
70 operator>>(actor<Expr> const& a0, detail::iomanip_type a1) in operator >>()
81 , actor<Expr>
84 operator>>(actor<Expr> const& a0, detail::imanip_type a1) in operator >>()
/third_party/boost/boost/log/expressions/formatters/
Dif.hpp200 …BOOST_FORCEINLINE phoenix::actor< if_else_output_terminal< phoenix::actor< LeftExprT >, CondT, The…
201 …operator<< (phoenix::actor< LeftExprT > left_ref left, if_then_else_gen< CondT, ThenT, ElseT > rig…
203 …typedef if_else_output_terminal< phoenix::actor< LeftExprT >, CondT, ThenT, ElseT > terminal_type;\
204 …phoenix::actor< terminal_type > actor = {{ terminal_type(left, right.m_cond, right.m_then, right.m…
205 return actor;\
241 …BOOST_FORCEINLINE phoenix::actor< if_output_terminal< phoenix::actor< LeftExprT >, CondT, ThenT > …
242 …operator<< (phoenix::actor< LeftExprT > left_ref left, if_then_gen< CondT, ThenT > right_ref right…
244 typedef if_output_terminal< phoenix::actor< LeftExprT >, CondT, ThenT > terminal_type;\
245 …phoenix::actor< terminal_type > actor = {{ terminal_type(left, right.else_.m_cond, right.else_.m_t…
246 return actor;\

1234567