| /external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
| D | ActorLazyTest.kt | 15 val actor = actor<String>(start = CoroutineStart.LAZY) { in <lambda>() constant 18 actor as Job // type assertion in <lambda>() 19 assertFalse(actor.isActive) in <lambda>() 20 assertFalse(actor.isCompleted) in <lambda>() 21 assertFalse(actor.isClosedForSend) in <lambda>() 23 yield() // to actor code --> nothing happens (not started!) in <lambda>() 24 assertFalse(actor.isActive) in <lambda>() 25 assertFalse(actor.isCompleted) in <lambda>() 26 assertFalse(actor.isClosedForSend) in <lambda>() 28 // start actor explicitly in <lambda>() [all …]
|
| D | ActorTest.kt | 26 val actor = actor<String>(capacity = capacity) { in <lambda>() constant 29 actor as Job // type assertion in <lambda>() 30 assertTrue(actor.isActive) in <lambda>() 31 assertFalse(actor.isCompleted) in <lambda>() 32 assertFalse(actor.isClosedForSend) in <lambda>() 34 yield() // to actor code in <lambda>() 35 assertFalse(actor.isActive) in <lambda>() 36 assertTrue(actor.isCompleted) in <lambda>() 37 assertTrue(actor.isClosedForSend) in <lambda>() 44 val actor = actor<String>(capacity = capacity) { in <lambda>() constant [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/simulator/ |
| D | actor.h | 18 // Actor is the base class for all participants of the simulation which can 19 // schedule events to be triggered at the specified time. Every actor has a 22 // The Actor object is scheduled as follows: 23 // 1. Every Actor object appears at most once in the event queue, for one 25 // 2. Actor is scheduled by calling Schedule() method. 28 // 4. Before Act() is called, the Actor is removed from the event queue. Act() 30 class Actor { 32 Actor(Simulator* simulator, std::string name); 33 virtual ~Actor(); 35 // Trigger all the events the actor can potentially handle at this point. [all …]
|
| D | simulator.h | 14 #include "quiche/quic/test_tools/simulator/actor.h" 31 // Schedule the specified actor. This method will ensure that |actor| is 33 // before the Actor is called, Act() is called exactly once, at the earliest 34 // time requested, and the Actor has to reschedule itself manually for the 36 void Schedule(Actor* actor, QuicTime new_time); 38 // Remove the specified actor from the schedule. 39 void Unschedule(Actor* actor); 69 friend class Actor; 98 // Register an actor with the simulator. Invoked by Actor constructor. 99 void AddActor(Actor* actor); [all …]
|
| D | simulator.cc | 25 // Ensure that Actor under run_for_alarm_ is removed before Simulator data in ~Simulator() 41 void Simulator::AddActor(Actor* actor) { in AddActor() argument 43 scheduled_times_.insert(std::make_pair(actor, QuicTime::Infinite())); in AddActor() 44 auto emplace_names_result = actor_names_.insert(actor->name()); in AddActor() 51 void Simulator::RemoveActor(Actor* actor) { in RemoveActor() argument 52 auto scheduled_time_it = scheduled_times_.find(actor); in RemoveActor() 53 auto actor_names_it = actor_names_.find(actor->name()); in RemoveActor() 59 Unschedule(actor); in RemoveActor() 66 void Simulator::Schedule(Actor* actor, QuicTime new_time) { in Schedule() argument 67 auto scheduled_time_it = scheduled_times_.find(actor); in Schedule() [all …]
|
| /external/sdv/vsomeip/third_party/boost/phoenix/doc/inside/ |
| D | actor.qbk | 10 [section:actor Actors in Detail] 12 [heading Actor] 14 The main concept is the `Actor`. An `Actor` is a model of the __PFO__ concept 17 An `Actor` contains a valid Phoenix Expression, a call to one of the function 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 [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/ |
| D | phoenix_attributes.hpp | 28 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 …]
|
| /external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/core/detail/cpp03/preprocessed/ |
| D | actor_operator_10.hpp | 19 …actor<proto_base_expr, A0 &> {}; template <typename A0> typename result_of::actor<proto_base_expr,… in operator ()() 31 …actor<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 …]
|
| D | actor_result_of_20.hpp | 11 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 …]
|
| D | actor_result_of_30.hpp | 11 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> 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 …]
|
| D | actor_result_of_10.hpp | 11 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 …]
|
| D | expression_10.hpp | 10 template <typename> class Actor 20 struct expr : expr_ext<actor, Tag, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 , A9> {}; 28 template <template <typename> class Actor, typename Tag, typename A0> 29 struct expr_ext<Actor, Tag, A0> 30 : proto::transform<expr_ext<Actor, Tag, A0>, int> 39 typedef Actor<base_type> type; 46 actor<base_type> const e = in make() 69 template <template <typename> class Actor, typename Tag, typename A0 , typename A1> 70 struct expr_ext<Actor, Tag, A0 , A1> 71 : proto::transform<expr_ext<Actor, Tag, A0 , A1>, int> [all …]
|
| D | actor_result_of_40.hpp | 11 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> 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 …]
|
| D | actor_operator_20.hpp | 19 …actor<proto_base_expr, A0 &> {}; template <typename A0> typename result_of::actor<proto_base_expr,… in operator ()() 31 …actor<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 …]
|
| D | actor_result_of_50.hpp | 11 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> 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 …]
|
| /external/google-cloud-java/java-cloudsupport/proto-google-cloud-cloudsupport-v2/src/main/java/com/google/cloud/support/v2/ |
| D | Actor.java | 17 // source: google/cloud/support/v2/actor.proto 29 * Protobuf type {@code google.cloud.support.v2.Actor} 31 public final class Actor extends com.google.protobuf.GeneratedMessageV3 class 33 // @@protoc_insertion_point(message_implements:google.cloud.support.v2.Actor) 36 // Use Actor.newBuilder() to construct. 37 private Actor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Actor() method in Actor 41 private Actor() { in Actor() method in Actor 49 return new Actor(); in newInstance() 68 com.google.cloud.support.v2.Actor.class, in internalGetFieldAccessorTable() 69 com.google.cloud.support.v2.Actor.Builder.class); in internalGetFieldAccessorTable() [all …]
|
| /external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/core/ |
| D | actor.hpp | 45 struct actor; 83 // Bring in the result_of::actor<> 94 template apply<const ::boost::phoenix::actor<Expr> *, A...>::type& 103 struct actor : actor_impl<Expr, A...> {}; 110 struct actor<Expr> struct 113 // avoid calling result_of::actor when this is false 125 // actor 127 // The actor class. The main thing! In phoenix, everything is an actor 129 // function evaluation involves creating a hierarchy of actor objects. 133 struct actor struct [all …]
|
| /external/sdv/vsomeip/third_party/boost/asio/example/cpp11/executors/ |
| D | actor.cpp | 20 // A tiny actor framework 23 class actor; 26 typedef actor* actor_address; 48 template <class Actor, class Message> 53 mf_message_handler(void (Actor::* mf)(Message, actor_address), Actor* a) in mf_message_handler() 71 bool is_function(void (Actor::* mf)(Message, actor_address)) const in is_function() 77 void (Actor::* function_)(Message, actor_address); 78 Actor* actor_; 82 class actor class 85 virtual ~actor() in ~actor() [all …]
|
| /external/sdv/vsomeip/third_party/boost/asio/example/cpp14/executors/ |
| D | actor.cpp | 20 // A tiny actor framework 23 class actor; 26 typedef actor* actor_address; 48 template <class Actor, class Message> 53 mf_message_handler(void (Actor::* mf)(Message, actor_address), Actor* a) in mf_message_handler() 71 bool is_function(void (Actor::* mf)(Message, actor_address)) const in is_function() 77 void (Actor::* function_)(Message, actor_address); 78 Actor* actor_; 82 class actor class 85 virtual ~actor() in ~actor() [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/ |
| D | actor.hpp | 21 // example of actor is the append_actor described in the Spirit 29 // Actor instances are not created directly since they usually involve a 39 // Therefore, this kind of actor have been broken down into 42 // - a policy holder actor that stores the references and feeds the act 48 // <member>_ >> *<member> >> !value >> actor 66 // - ref is a reference to an object stored in a policy holder actor, 68 // policy holder actor, 95 #include <boost/spirit/home/classic/actor/ref_actor.hpp> 96 #include <boost/spirit/home/classic/actor/ref_value_actor.hpp> 97 #include <boost/spirit/home/classic/actor/ref_const_ref_actor.hpp> [all …]
|
| /external/sdv/vsomeip/third_party/boost/phoenix/doc/modules/ |
| D | operator.qbk | 29 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 …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/phoenix/ |
| D | primitives.hpp | 12 #include <boost/spirit/home/classic/phoenix/actor.hpp> 23 // An actor base class that extracts and returns the Nth argument 25 // member function (see actor.hpp). There are some predefined 28 // The argument actor is a place-holder for the actual arguments 33 // essentially lazy arguments. A lazy argument is a full actor in 34 // its own right and can be evaluated through the actor's operator(). 64 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>(); [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/lex/ |
| D | argument.hpp | 21 #include <boost/phoenix/core/actor.hpp> 31 // The state_getter is a Phoenix actor used to access the name of the 35 // This Phoenix actor is invoked whenever the placeholder '_state' is used 70 // The state_setter is a Phoenix actor used to change the name of the 74 // This Phoenix actor is invoked whenever the placeholder '_state' is used 82 template <typename Actor> 100 state_setter(Actor const& actor) in state_setter() 101 : actor_(actor) {} in state_setter() 103 Actor actor_; 108 // Phoenix actor used to access the value of the current token. [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/channels/ |
| D | Actor.kt | 14 * Scope for [actor][GlobalScope.actor] coroutine builder. 62 * A typical usage of the actor builder looks like this: 65 * val c = actor { 66 * // initialize actor's state 71 * // send messages to the actor 74 * // stop the actor when it is no longer needed 80 …* When the inbox channel of the actor is [closed][SendChannel.close] it sends a special "close tok… 81 …* The actor still processes all the messages that were already sent and then "`for (msg in channel… 82 * and the actor completes. 84 …* If the actor needs to be aborted without processing all the messages that were already sent to i… [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/qi/auxiliary/ |
| D | lazy.hpp | 31 struct actor; 40 struct use_terminal<qi::domain, phoenix::actor<Eval> > // enables phoenix actors 44 template <typename Terminal, typename Actor, int Arity> 234 struct make_primitive<phoenix::actor<Eval>, Modifiers> 236 typedef lazy_parser<phoenix::actor<Eval>, Modifiers> result_type; 237 result_type operator()(phoenix::actor<Eval> const& f in operator ()() 244 template <typename Terminal, typename Actor, int Arity, typename Modifiers> 245 struct make_primitive<lazy_terminal<Terminal, Actor, Arity>, Modifiers> 247 typedef lazy_parser<Actor, Modifiers> result_type; 249 lazy_terminal<Terminal, Actor, Arity> const& lt in operator ()() [all …]
|