Home
last modified time | relevance | path

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

/libevent-2.1.12/
H A Devent.c805 evcb->evcb_cb_union.evcb_cbfinalize(evcb, evcb->evcb_arg); in event_base_cancel_single_callback_()
820 for (evcb = TAILQ_FIRST(&base->activequeues[i]); evcb; ) { in event_base_free_queues_()
823 evcb = next; in event_base_free_queues_()
1638 struct event_callback *evcb; in event_process_active_single_queue() local
1643 for (evcb = TAILQ_FIRST(activeq); evcb; evcb = TAILQ_FIRST(activeq)) { in event_process_active_single_queue()
1663 evcb, evcb->evcb_closure, evcb->evcb_cb_union.evcb_callback)); in event_process_active_single_queue()
1697 evcb_selfcb(evcb, evcb->evcb_arg); in event_process_active_single_queue()
1720 evcb_cbfinalize(evcb, evcb->evcb_arg); in event_process_active_single_queue()
3241 evcb, EVLIST_ACTIVE); in event_queue_remove_active()
3446 evcb->evcb_flags = (evcb->evcb_flags & ~EVLIST_ACTIVE_LATER) | EVLIST_ACTIVE; in event_queue_make_later_events_active()
[all …]
H A Devent-internal.h432 struct event_callback *evcb);
434 …e_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct …
436 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb,…
437 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb,…
444 struct event_callback *evcb);
446 struct event_callback *evcb, int even_if_finalizing);
H A Dbufferevent.c64 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_);
747 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_() argument
/libevent-2.1.12/test/
H A 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 …]