| /freebsd-12.1/contrib/ntp/sntp/libevent/ |
| H A D | event.c | 743 evcb->evcb_cb_union.evcb_cbfinalize(evcb, evcb->evcb_arg); in event_base_cancel_single_callback_() 814 for (evcb = TAILQ_FIRST(&base->activequeues[i]); evcb; ) { in event_base_free_() 817 evcb = next; in event_base_free_() 1548 struct event_callback *evcb; in event_process_active_single_queue() local 1553 for (evcb = TAILQ_FIRST(activeq); evcb; evcb = TAILQ_FIRST(activeq)) { in event_process_active_single_queue() 1573 evcb, evcb->evcb_closure, evcb->evcb_cb_union.evcb_callback)); in event_process_active_single_queue() 1605 evcb_selfcb(evcb, evcb->evcb_arg); in event_process_active_single_queue() 1628 evcb_cbfinalize(evcb, evcb->evcb_arg); in event_process_active_single_queue() 3140 evcb, EVLIST_ACTIVE); in event_queue_remove_active() 3345 evcb->evcb_flags = (evcb->evcb_flags & ~EVLIST_ACTIVE_LATER) | EVLIST_ACTIVE; in event_queue_make_later_events_active() [all …]
|
| H A D | event-internal.h | 429 struct event_callback *evcb); 431 …e_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct … 432 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb,… 433 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb,… 439 struct event_callback *evcb); 441 struct event_callback *evcb, int even_if_finalizing);
|
| H A D | bufferevent.c | 65 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_); 727 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_() argument
|
| /freebsd-12.1/contrib/libevent/ |
| H A D | event.c | 763 evcb->evcb_cb_union.evcb_cbfinalize(evcb, evcb->evcb_arg); in event_base_cancel_single_callback_() 778 for (evcb = TAILQ_FIRST(&base->activequeues[i]); evcb; ) { in event_base_free_queues_() 781 evcb = next; in event_base_free_queues_() 1595 struct event_callback *evcb; in event_process_active_single_queue() local 1600 for (evcb = TAILQ_FIRST(activeq); evcb; evcb = TAILQ_FIRST(activeq)) { in event_process_active_single_queue() 1620 evcb, evcb->evcb_closure, evcb->evcb_cb_union.evcb_callback)); in event_process_active_single_queue() 1652 evcb_selfcb(evcb, evcb->evcb_arg); in event_process_active_single_queue() 1675 evcb_cbfinalize(evcb, evcb->evcb_arg); in event_process_active_single_queue() 3190 evcb, EVLIST_ACTIVE); in event_queue_remove_active() 3395 evcb->evcb_flags = (evcb->evcb_flags & ~EVLIST_ACTIVE_LATER) | EVLIST_ACTIVE; in event_queue_make_later_events_active() [all …]
|
| H A D | event-internal.h | 427 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);
|
| H A D | bufferevent.c | 64 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
|
| /freebsd-12.1/contrib/libevent/test/ |
| H A D | regress_finalize.c | 50 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 …]
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_finalize.c | 50 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 …]
|