Home
last modified time | relevance | path

Searched refs:evcb (Results 1 – 4 of 4) sorted by relevance

/external/libevent/
Devent.c452 event_callback_to_event(struct event_callback *evcb) in event_callback_to_event() argument
454 EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_INIT)); in event_callback_to_event()
455 return EVUTIL_UPCAST(evcb, struct event, ev_evcallback); in event_callback_to_event()
734 struct event_callback *evcb, in event_base_cancel_single_callback_() argument
739 if (evcb->evcb_flags & EVLIST_INIT) { in event_base_cancel_single_callback_()
740 struct event *ev = event_callback_to_event(evcb); in event_base_cancel_single_callback_()
747 event_callback_cancel_nolock_(base, evcb, 1); in event_base_cancel_single_callback_()
752 if (run_finalizers && (evcb->evcb_flags & EVLIST_FINALIZING)) { in event_base_cancel_single_callback_()
753 switch (evcb->evcb_closure) { in event_base_cancel_single_callback_()
756 struct event *ev = event_callback_to_event(evcb); in event_base_cancel_single_callback_()
[all …]
Devent-internal.h427 struct event_callback *evcb);
429 …e_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct …
430 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb,…
431 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb,…
437 struct event_callback *evcb);
439 struct event_callback *evcb, int even_if_finalizing);
Dbufferevent.c64 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_);
726 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_() argument
/external/libevent/test/
Dregress_finalize.c50 simple_callback(struct event_callback *evcb, void *arg) in simple_callback() argument
54 (void)evcb; in simple_callback()
64 callback_finalize_callback_1(struct event_callback *evcb, void *arg) in callback_finalize_callback_1() argument
68 (void)evcb; in callback_finalize_callback_1()
80 struct event_callback evcb; in test_fin_cb_invoked() local
86 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
90 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); in test_fin_cb_invoked()
103 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
106 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
118 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
[all …]