Home
last modified time | relevance | path

Searched refs:event_callback (Results 1 – 20 of 20) sorted by relevance

/external/libevent/
Devent-internal.h197 TAILQ_HEAD(evcallback_list, event_callback);
315 struct event_callback *current_event;
424 int event_callback_activate_(struct event_base *, struct event_callback *);
425 int event_callback_activate_nolock_(struct event_base *, struct event_callback *);
427 struct event_callback *evcb);
429 …(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_cal…
430 …(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_cal…
431 …many_(struct event_base *base, int n_cbs, struct event_callback **evcb, void (*cb)(struct event_ca…
437 struct event_callback *evcb);
439 struct event_callback *evcb, int even_if_finalizing);
[all …]
Ddefer-internal.h38 struct event_callback;
39 typedef void (*deferred_cb_fn)(struct event_callback *, void *);
49 void event_deferred_cb_init_(struct event_callback *, ev_uint8_t, deferred_cb_fn, void *);
53 void event_deferred_cb_set_priority_(struct event_callback *, ev_uint8_t);
57 void event_deferred_cb_cancel_(struct event_base *, struct event_callback *);
63 int event_deferred_cb_schedule_(struct event_base *, struct event_callback *);
Devent.c134 static void event_queue_insert_active(struct event_base *, struct event_callback *);
135 static void event_queue_insert_active_later(struct event_base *, struct event_callback *);
138 static void event_queue_remove_active(struct event_base *, struct event_callback *);
139 static void event_queue_remove_active_later(struct event_base *, struct event_callback *);
452 event_callback_to_event(struct event_callback *evcb) in event_callback_to_event()
458 static inline struct event_callback *
734 struct event_callback *evcb, in event_base_cancel_single_callback_()
777 struct event_callback *evcb, *next; in event_base_free_queues_()
786 struct event_callback *evcb; in event_base_free_queues_()
1595 struct event_callback *evcb; in event_process_active_single_queue()
[all …]
Devbuffer-internal.h148 struct event_callback deferred;
344 struct event_callback **cbs,
Dbufferevent.c64 static void bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_);
134 bufferevent_run_deferred_callbacks_locked(struct event_callback *cb, void *arg) in bufferevent_run_deferred_callbacks_locked()
167 bufferevent_run_deferred_callbacks_unlocked(struct event_callback *cb, void *arg) in bufferevent_run_deferred_callbacks_unlocked()
690 struct event_callback *cbs[MAX_CBS]; in bufferevent_decref_and_unlock_()
726 bufferevent_finalize_cb_(struct event_callback *evcb, void *arg_) in bufferevent_finalize_cb_()
Dhttp-internal.h103 struct event_callback read_more_deferred_cb;
Dlistener.c455 struct event_callback deferred;
465 static void accepted_socket_invoke_user_cb(struct event_callback *cb, void *arg);
597 accepted_socket_invoke_user_cb(struct event_callback *dcb, void *arg) in accepted_socket_invoke_user_cb()
Dbufferevent-internal.h197 struct event_callback deferred;
Dbuffer.c145 static void evbuffer_deferred_callback(struct event_callback *cb, void *arg);
533 evbuffer_deferred_callback(struct event_callback *cb, void *arg) in evbuffer_deferred_callback()
3431 evbuffer_get_callbacks_(struct evbuffer *buffer, struct event_callback **cbs, in evbuffer_get_callbacks_()
Devdns.c774 struct event_callback deferred;
785 reply_run_callback(struct event_callback *d, void *user_pointer) in reply_run_callback()
DChangeLog1058 o Refactor the callback part of an event into its own event_callback
1063 o Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
1064 o Replace more deferred_cb names with event_callback (a4079aa)
Dwhatsnew-2.1.txt737 internal light-weight event_callback supertype, and both support
Dhttp.c1170 evhttp_deferred_read_cb(struct event_callback *cb, void *data) in evhttp_deferred_read_cb()
/external/libevent/include/event2/
Devent_struct.h107 struct event_callback { struct
108 TAILQ_ENTRY(event_callback) evcb_active_next;
115 void (*evcb_selfcb)(struct event_callback *, void *); argument
117 void (*evcb_cbfinalize)(struct event_callback *, void *);
124 struct event_callback ev_evcallback; argument
/external/oj-libjdwp/src/share/back/
DeventHandler.c544 event_callback(JNIEnv *env, EventInfo *evinfo) in event_callback() function
772 event_callback(env, &info); in cbSingleStep()
794 event_callback(env, &info); in cbBreakpoint()
821 event_callback(env, &info); in cbFramePop()
849 event_callback(env, &info); in cbException()
867 event_callback(env, &info); in cbThreadStart()
885 event_callback(env, &info); in cbThreadEnd()
912 event_callback(env, &info); in cbClassPrepare()
948 event_callback(env, &info); in cbClassLoad()
975 event_callback(env, &info); in cbFieldAccess()
[all …]
/external/libcxx/src/
Dios.cpp229 ios_base::register_callback(event_callback fn, int index) in register_callback()
234 size_t newcap = __ios_new_cap<event_callback>(req_size, __event_cap_); in register_callback()
235event_callback* fns = static_cast<event_callback*>(realloc(__fn_, newcap * sizeof(event_callback))… in register_callback()
305 unique_ptr<event_callback, void (*)(void*)> new_callbacks(0, free); in copyfmt()
311 size_t newesize = sizeof(event_callback) * rhs.__event_size_; in copyfmt()
312 new_callbacks.reset(static_cast<event_callback*>(malloc(newesize))); in copyfmt()
/external/libevent/test/
Dregress_finalize.c50 simple_callback(struct event_callback *evcb, void *arg) in simple_callback()
64 callback_finalize_callback_1(struct event_callback *evcb, void *arg) in callback_finalize_callback_1()
80 struct event_callback evcb; in test_fin_cb_invoked()
308 struct event_callback evcb1, evcb2;
311 struct event_callback *array[4];
Dregress_thread.c402 struct event_callback cbs[CB_COUNT];
413 deferred_callback(struct event_callback *cb, void *arg) in deferred_callback()
/external/libcxx/include/
Dios98 typedef void (*event_callback)(event, ios_base&, int index);
99 void register_callback(event_callback fn, int index);
309 typedef void (*event_callback)(event, ios_base&, int __index);
310 void register_callback(event_callback __fn, int __index);
369 event_callback* __fn_;
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.h82 webrtc::AudioDeviceObserver* event_callback) override;