Home
last modified time | relevance | path

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

/netbsd/external/bsd/libevent/dist/
H A Devent.c809 evcb->evcb_cb_union.evcb_cbfinalize(evcb, evcb->evcb_arg); in event_base_cancel_single_callback_()
824 for (evcb = TAILQ_FIRST(&base->activequeues[i]); evcb; ) { in event_base_free_queues_()
827 evcb = next; in event_base_free_queues_()
1642 struct event_callback *evcb; in event_process_active_single_queue() local
1647 for (evcb = TAILQ_FIRST(activeq); evcb; evcb = TAILQ_FIRST(activeq)) { in event_process_active_single_queue()
1667 evcb, evcb->evcb_closure, evcb->evcb_cb_union.evcb_callback)); in event_process_active_single_queue()
1701 evcb_selfcb(evcb, evcb->evcb_arg); in event_process_active_single_queue()
1724 evcb_cbfinalize(evcb, evcb->evcb_arg); in event_process_active_single_queue()
3245 evcb, EVLIST_ACTIVE); in event_queue_remove_active()
3450 evcb->evcb_flags = (evcb->evcb_flags & ~EVLIST_ACTIVE_LATER) | EVLIST_ACTIVE; in event_queue_make_later_events_active()
[all …]
H A Devent-internal.h434 struct event_callback *evcb);
436 …e_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct …
438 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb,…
439 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb,…
446 struct event_callback *evcb);
448 struct event_callback *evcb, int even_if_finalizing);
H A Dbufferevent.c68 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_);
751 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_() argument
/netbsd/external/bsd/ntp/dist/sntp/libevent/
H A Devent.c745 evcb->evcb_cb_union.evcb_cbfinalize(evcb, evcb->evcb_arg); in event_base_cancel_single_callback_()
816 for (evcb = TAILQ_FIRST(&base->activequeues[i]); evcb; ) { in event_base_free_()
819 evcb = next; in event_base_free_()
1550 struct event_callback *evcb; in event_process_active_single_queue() local
1555 for (evcb = TAILQ_FIRST(activeq); evcb; evcb = TAILQ_FIRST(activeq)) { in event_process_active_single_queue()
1575 evcb, evcb->evcb_closure, evcb->evcb_cb_union.evcb_callback)); in event_process_active_single_queue()
1607 evcb_selfcb(evcb, evcb->evcb_arg); in event_process_active_single_queue()
1630 evcb_cbfinalize(evcb, evcb->evcb_arg); in event_process_active_single_queue()
3142 evcb, EVLIST_ACTIVE); in event_queue_remove_active()
3347 evcb->evcb_flags = (evcb->evcb_flags & ~EVLIST_ACTIVE_LATER) | EVLIST_ACTIVE; in event_queue_make_later_events_active()
[all …]
H A Devent-internal.h431 struct event_callback *evcb);
433 …e_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct …
434 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb,…
435 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb,…
441 struct event_callback *evcb);
443 struct event_callback *evcb, int even_if_finalizing);
H A Dbufferevent.c67 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_);
729 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_() argument
/netbsd/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_finalize.c52 simple_callback(struct event_callback *evcb, void *arg) in simple_callback() argument
56 (void)evcb; in simple_callback()
66 callback_finalize_callback_1(struct event_callback *evcb, void *arg) in callback_finalize_callback_1() argument
70 (void)evcb; in callback_finalize_callback_1()
82 struct event_callback evcb; in test_fin_cb_invoked() local
88 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
92 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); in test_fin_cb_invoked()
105 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
108 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
120 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
[all …]
/netbsd/external/bsd/libevent/dist/test/
H A Dregress_finalize.c53 simple_callback(struct event_callback *evcb, void *arg) in simple_callback() argument
57 (void)evcb; in simple_callback()
67 callback_finalize_callback_1(struct event_callback *evcb, void *arg) in callback_finalize_callback_1() argument
71 (void)evcb; in callback_finalize_callback_1()
83 struct event_callback evcb; in test_fin_cb_invoked() local
89 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
93 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); in test_fin_cb_invoked()
106 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
109 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
121 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
[all …]