Home
last modified time | relevance | path

Searched refs:bhvr (Results 1 – 25 of 27) sorted by relevance

12

/dports/devel/caf/actor-framework-0.18.5/libcaf_core/caf/mixin/
H A Dbehavior_changer.hpp35 void become(behavior_type bhvr) { in become() argument
36 dptr()->do_become(std::move(bhvr.unbox()), true); in become()
39 void become(const keep_behavior_t&, behavior_type bhvr) { in become() argument
40 dptr()->do_become(std::move(bhvr.unbox()), false); in become()
47 behavior_type bhvr{std::forward<T0>(x0), std::forward<T1>(x1), in become() local
49 dptr()->do_become(std::move(bhvr.unbox()), true); in become()
54 behavior_type bhvr{std::forward<T0>(x0), std::forward<T1>(x1), in become() local
56 dptr()->do_become(std::move(bhvr.unbox()), false); in become()
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/caf/
H A Dtyped_event_based_actor.hpp60 auto bhvr = make_behavior(); in initialize() local
61 CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:" in initialize()
63 if (bhvr) { in initialize()
66 this->do_become(std::move(bhvr.unbox()), true); in initialize()
73 auto bhvr = this->initial_behavior_fac_(this); in make_behavior() local
75 if (bhvr) in make_behavior()
76 this->do_become(std::move(bhvr), true); in make_behavior()
H A Dactor_factory.hpp34 fun_decorator(F f, T*, behavior* bhvr) : f_(std::move(f)), bhvr_(bhvr) { in fun_decorator() argument
40 auto bhvr = f_(xs...); in operator ()() local
41 *bhvr_ = std::move(bhvr.unbox()); in operator ()()
56 fun_decorator(F f, T* ptr, behavior* bhvr) in fun_decorator() argument
57 : f_(std::move(f)), ptr_(ptr), bhvr_(bhvr) { in fun_decorator()
63 auto bhvr = f_(ptr_, xs...); in operator ()() local
64 *bhvr_ = std::move(bhvr.unbox()); in operator ()()
H A Dtyped_actor_view.hpp253 void add_awaited_response_handler(message_id response_id, behavior bhvr) { in add_awaited_response_handler() argument
254 return self_->add_awaited_response_handler(response_id, std::move(bhvr)); in add_awaited_response_handler()
257 void add_multiplexed_response_handler(message_id response_id, behavior bhvr) { in add_multiplexed_response_handler() argument
259 std::move(bhvr)); in add_multiplexed_response_handler()
H A Dblocking_actor.hpp203 detail::blocking_behavior& bhvr; member
366 behavior bhvr{apply_moved_args(make_behavior_impl, get_indices(tk), tup)}; in varargs_tup_receive() local
370 auto fun = apply_moved_args_prefixed(factory, tail_indices{}, tup, &bhvr); in varargs_tup_receive()
387 detail::blocking_behavior& bhvr);
H A Dscheduled_actor.hpp417 void add_awaited_response_handler(message_id response_id, behavior bhvr);
420 void add_multiplexed_response_handler(message_id response_id, behavior bhvr);
456 void do_become(behavior bhvr, bool discard_old);
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/src/
H A Dblocking_actor.cpp231 if (bhvr.nested(visitor, x.content())) in operator ()()
234 auto sres = bhvr.fallback(self->current_element_->payload); in operator ()()
244 bhvr.nested(tmp.content()); in operator ()()
291 mailbox_visitor f{this, done, rcc, mid, bhvr}; in receive_impl()
302 auto rel_tout = bhvr.timeout(); in receive_impl()
310 bhvr.handle_timeout(); in receive_impl()
344 auto& bhvr = std::get<0>(tup); in varargs_tup_receive() local
345 if (bhvr.timeout() == infinite) { in varargs_tup_receive()
346 auto fun = make_blocking_behavior(&bhvr); in varargs_tup_receive()
349 auto tmp = after(bhvr.timeout()) >> [&] { bhvr.handle_timeout(); }; in varargs_tup_receive()
[all …]
H A Devent_based_actor.cpp25 auto bhvr = make_behavior(); in initialize() local
26 CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:" in initialize()
28 if (bhvr) { in initialize()
31 become(std::move(bhvr)); in initialize()
H A Dscheduled_actor.cpp593 if (bhvr.timeout() != infinite) in add_awaited_response_handler()
594 request_response_timeout(bhvr.timeout(), response_id); in add_awaited_response_handler()
600 if (bhvr.timeout() != infinite) in add_multiplexed_response_handler()
601 request_response_timeout(bhvr.timeout(), response_id); in add_multiplexed_response_handler()
725 auto bhvr = std::move(mrh->second); in consume() local
727 if (!invoke(this, bhvr, x)) { in consume()
731 bhvr(msg); in consume()
748 auto& bhvr = bhvr_stack_.back(); in consume() local
749 if (bhvr(visitor, x.content())) in consume()
879 if (bhvr) in do_become()
[all …]
/dports/devel/caf/actor-framework-0.18.5/libcaf_io/src/io/
H A Dbroker.cpp23 auto bhvr = make_behavior(); in initialize() local
24 CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:" in initialize()
26 if (bhvr) { in initialize()
29 become(std::move(bhvr)); in initialize()
/dports/devel/caf/actor-framework-0.18.5/libcaf_io/caf/io/
H A Dtyped_broker.hpp89 auto bhvr = make_behavior(); in initialize() local
90 CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:" in initialize()
92 if (bhvr) { in initialize()
95 this->do_become(std::move(bhvr.unbox()), true); in initialize()
161 auto bhvr = this->initial_behavior_fac_(this); in make_behavior() local
163 if (bhvr) in make_behavior()
164 this->do_become(std::move(bhvr), true); in make_behavior()
/dports/lang/racket/racket-8.3/share/pkgs/frtime/
H A Dfrp-snip.rkt42 (define (make-snip bhvr)
45 [(behavior? bhvr) (value-now bhvr)]
46 [(event? bhvr) (signal-value bhvr)]
47 [else bhvr])])
56 (init-field bhvr [ignore-copy-count 1])
58 [current (make-snip bhvr)]
59 [loc-bhvr (proc->signal (lambda () (update)) bhvr)])
71 (set! current (make-snip bhvr))
90 bhvr
101 (define loc-bhvr (proc->signal (lambda () (update)) bhvr))
[all …]
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/caf/policy/
H A Dsingle_response.hpp39 behavior bhvr{std::forward<F>(f), std::forward<OnError>(g)}; in await() local
40 self->add_awaited_response_handler(mid_, std::move(bhvr)); in await()
45 behavior bhvr{std::forward<F>(f), std::forward<OnError>(g)}; in then() local
46 self->add_multiplexed_response_handler(mid_, std::move(bhvr)); in then()
H A Dselect_any.hpp65 auto bhvr = make_behavior(std::forward<F>(f), std::forward<OnError>(g)); in await() local
67 self->add_awaited_response_handler(id, bhvr); in await()
73 auto bhvr = make_behavior(std::forward<F>(f), std::forward<OnError>(g)); in then() local
75 self->add_multiplexed_response_handler(id, bhvr); in then()
H A Dselect_all.hpp128 auto bhvr = make_behavior(std::forward<F>(f), std::forward<OnError>(g)); in await() local
130 self->add_awaited_response_handler(id, bhvr); in await()
136 auto bhvr = make_behavior(std::forward<F>(f), std::forward<OnError>(g)); in then() local
138 self->add_multiplexed_response_handler(id, bhvr); in then()
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/test/
H A Dtyped_behavior.cpp22 auto bhvr = make_typed_behavior([](const std::string&) {}, in CAF_TEST() local
25 static_assert(std::is_same<handle::behavior_type, decltype(bhvr)>::value); in CAF_TEST()
H A Dblocking_actor.cpp44 behavior bhvr{ in CAF_TEST() local
50 self->receive(bhvr); in CAF_TEST()
H A Dbehavior.cpp42 optional<int32_t> res_of(behavior& bhvr, message& msg) { in res_of()
43 auto res = bhvr(msg); in res_of()
/dports/games/avp/avp-20170505/src/avp/
H A Dbh_debri.c82 DISPLAYBLOCK *MakeDebris(AVP_BEHAVIOUR_TYPE bhvr, VECTORCH *positionPtr) in MakeDebris() argument
98 switch (bhvr) in MakeDebris()
113 bhvr = I_BehaviourAlienFragment; in MakeDebris()
117 bhvr = I_BehaviourFragment; in MakeDebris()
138 bhvr = I_BehaviourFragment; in MakeDebris()
175 sbPtr->I_SBtype = bhvr; in MakeDebris()
177 switch (bhvr) in MakeDebris()
868 AVP_BEHAVIOUR_TYPE bhvr; in MakeHierarchicalDebris() local
926 bhvr = I_BehaviourHierarchicalFragment; in MakeHierarchicalDebris()
953 sbPtr->I_SBtype = bhvr; in MakeHierarchicalDebris()
H A Dbh_debri.h35 extern DISPLAYBLOCK *MakeDebris(AVP_BEHAVIOUR_TYPE bhvr, VECTORCH *positionPtr);
H A Dbh_types.h492 extern DISPLAYBLOCK *MakeObject(AVP_BEHAVIOUR_TYPE bhvr, VECTORCH *positionPtr);
H A Dbh_types.c2672 DISPLAYBLOCK *MakeObject(AVP_BEHAVIOUR_TYPE bhvr, VECTORCH *positionPtr) in MakeObject() argument
2696 switch (bhvr) in MakeObject()
2807 sptr->I_SBtype = bhvr; in MakeObject()
2809 switch (bhvr) in MakeObject()
H A Dbh_weap.c4191 AVP_BEHAVIOUR_TYPE bhvr; local
4206 bhvr = I_BehaviourMolotov;
4237 sbPtr->I_SBtype = bhvr;
/dports/lang/racket/racket-8.3/share/pkgs/frtime/core/
H A Dfrp.rkt482 (define (super-lift fun bhvr)
483 (if (behavior? bhvr)
503 (set-box! current (pfun (value-now/no-copy bhvr)))
510 bhvr)]
513 current custodian-signal undefined bhvr custodian-signal)])
516 (fun bhvr)))
/dports/math/R-cran-VGAM/VGAM/man/
H A DHuggins89.t1.Rd138 %Hlist <-list("(Intercept)" = cbind(bhvr.effect = c(rep(0, len = tau),

12