Searched refs:evcb (Results 1 – 4 of 4) sorted by relevance
/external/libevent/ |
D | event.c | 492 event_callback_to_event(struct event_callback *evcb) in event_callback_to_event() argument 494 EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_INIT)); in event_callback_to_event() 495 return EVUTIL_UPCAST(evcb, struct event, ev_evcallback); in event_callback_to_event() 776 struct event_callback *evcb, in event_base_cancel_single_callback_() argument 781 if (evcb->evcb_flags & EVLIST_INIT) { in event_base_cancel_single_callback_() 782 struct event *ev = event_callback_to_event(evcb); in event_base_cancel_single_callback_() 789 event_callback_cancel_nolock_(base, evcb, 1); in event_base_cancel_single_callback_() 794 if (run_finalizers && (evcb->evcb_flags & EVLIST_FINALIZING)) { in event_base_cancel_single_callback_() 795 switch (evcb->evcb_closure) { in event_base_cancel_single_callback_() 798 struct event *ev = event_callback_to_event(evcb); in event_base_cancel_single_callback_() [all …]
|
D | event-internal.h | 432 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);
|
D | bufferevent.c | 64 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
|
/external/libevent/test/ |
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 …]
|