/external/libevent/include/event2/ |
D | event.h | 213 struct event_base struct 337 struct event_base *event_base_new(void); 349 int event_reinit(struct event_base *base); 364 int event_base_dispatch(struct event_base *); 372 const char *event_base_get_method(const struct event_base *); 494 int event_base_get_features(const struct event_base *base); 551 struct event_base *event_base_new_with_config(const struct event_config *); 561 void event_base_free(struct event_base *); 627 int event_base_set(struct event_base *, struct event *); 660 int event_base_loop(struct event_base *, int); [all …]
|
D | bufferevent.h | 116 struct event_base; 184 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options… 258 int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev); 263 struct event_base *bufferevent_get_base(struct bufferevent *bev); 591 int bufferevent_pair_new(struct event_base *base, int options, 675 struct event_base *base,
|
D | listener.h | 90 struct evconnlistener *evconnlistener_new(struct event_base *base, 108 struct evconnlistener *evconnlistener_new_bind(struct event_base *base, 125 struct event_base *evconnlistener_get_base(struct evconnlistener *lev);
|
D | dns.h | 202 struct event_base; 216 struct evdns_base * evdns_base_new(struct event_base *event_base, int initialize_nameservers); 575 struct evdns_server_port *evdns_add_server_port_with_base(struct event_base *base, evutil_socket_t …
|
D | bufferevent_ssl.h | 68 bufferevent_openssl_filter_new(struct event_base *base, 85 bufferevent_openssl_socket_new(struct event_base *base,
|
D | thread.h | 224 struct event_base; 230 int evthread_make_base_notifiable(struct event_base *base);
|
D | http.h | 39 struct event_base; 80 struct evhttp *evhttp_new(struct event_base *base); 428 struct event_base *base, struct evdns_base *dnsbase, 458 struct event_base *evhttp_connection_get_base(struct evhttp_connection *req);
|
D | event_struct.h | 86 struct event_base; 97 struct event_base *ev_base;
|
/external/libevent/ |
D | evmap-internal.h | 37 struct event_base; 62 int evmap_io_add(struct event_base *base, evutil_socket_t fd, struct event *ev); 71 int evmap_io_del(struct event_base *base, evutil_socket_t fd, struct event *ev); 78 void evmap_io_active(struct event_base *base, evutil_socket_t fd, short events); 84 int evmap_signal_add(struct event_base *base, int signum, struct event *ev); 85 int evmap_signal_del(struct event_base *base, int signum, struct event *ev); 86 void evmap_signal_active(struct event_base *base, evutil_socket_t signum, int ncalls); 90 void evmap_check_integrity(struct event_base *base);
|
D | event-internal.h | 68 void *(*init)(struct event_base *); 77 int (*add)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo); 79 int (*del)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo); 85 int (*dispatch)(struct event_base *, struct timeval *); 87 void (*dealloc)(struct event_base *); 146 struct event_base *base; 170 struct event_base { struct 293 int (*th_notify_fn)(struct event_base *base); argument 344 int _evsig_set_handler(struct event_base *base, int evsignal, 346 int _evsig_restore_handler(struct event_base *base, int evsignal); [all …]
|
D | event.c | 121 struct event_base *event_global_current_base_ = NULL; 133 static void event_queue_insert(struct event_base *, struct event *, int); 134 static void event_queue_remove(struct event_base *, struct event *, int); 135 static int event_haveevents(struct event_base *); 137 static int event_process_active(struct event_base *); 139 static int timeout_next(struct event_base *, struct timeval **); 140 static void timeout_process(struct event_base *); 141 static void timeout_correct(struct event_base *, struct timeval *); 143 static inline void event_signal_closure(struct event_base *, struct event *ev); 144 static inline void event_persist_closure(struct event_base *, struct event *ev); [all …]
|
D | devpoll.c | 61 static void *devpoll_init(struct event_base *); 62 static int devpoll_add(struct event_base *, int fd, short old, short events, void *); 63 static int devpoll_del(struct event_base *, int fd, short old, short events, void *); 64 static int devpoll_dispatch(struct event_base *, struct timeval *); 65 static void devpoll_dealloc(struct event_base *); 118 devpoll_init(struct event_base *base) in devpoll_init() 165 devpoll_dispatch(struct event_base *base, struct timeval *tv) in devpoll_dispatch() 225 devpoll_add(struct event_base *base, int fd, short old, short events, void *p) in devpoll_add() 251 devpoll_del(struct event_base *base, int fd, short old, short events, void *p) in devpoll_del() 292 devpoll_dealloc(struct event_base *base) in devpoll_dealloc()
|
D | select.c | 79 static void *select_init(struct event_base *); 80 static int select_add(struct event_base *, int, short old, short events, void*); 81 static int select_del(struct event_base *, int, short old, short events, void*); 82 static int select_dispatch(struct event_base *, struct timeval *); 83 static void select_dealloc(struct event_base *); 101 select_init(struct event_base *base) in select_init() 129 select_dispatch(struct event_base *base, struct timeval *tv) in select_dispatch() 241 select_add(struct event_base *base, int fd, short old, short events, void *p) in select_add() 288 select_del(struct event_base *base, int fd, short old, short events, void *p) in select_del() 328 select_dealloc(struct event_base *base) in select_dealloc()
|
D | epoll.c | 62 static void *epoll_init(struct event_base *); 63 static int epoll_dispatch(struct event_base *, struct timeval *); 64 static void epoll_dealloc(struct event_base *); 79 static int epoll_nochangelist_add(struct event_base *base, evutil_socket_t fd, 81 static int epoll_nochangelist_del(struct event_base *base, evutil_socket_t fd, 108 epoll_init(struct event_base *base) in epoll_init() 174 epoll_apply_one_change(struct event_base *base, in epoll_apply_one_change() 333 epoll_apply_changes(struct event_base *base) in epoll_apply_changes() 352 epoll_nochangelist_add(struct event_base *base, evutil_socket_t fd, in epoll_nochangelist_add() 370 epoll_nochangelist_del(struct event_base *base, evutil_socket_t fd, in epoll_nochangelist_del() [all …]
|
D | poll.c | 65 static void *poll_init(struct event_base *); 66 static int poll_add(struct event_base *, int, short old, short events, void *_idx); 67 static int poll_del(struct event_base *, int, short old, short events, void *_idx); 68 static int poll_dispatch(struct event_base *, struct timeval *); 69 static void poll_dealloc(struct event_base *); 84 poll_init(struct event_base *base) in poll_init() 119 poll_dispatch(struct event_base *base, struct timeval *tv) in poll_dispatch() 211 poll_add(struct event_base *base, int fd, short old, short events, void *_idx) in poll_add() 272 poll_del(struct event_base *base, int fd, short old, short events, void *_idx) in poll_del() 321 poll_dealloc(struct event_base *base) in poll_dealloc()
|
D | signal.c | 90 static int evsig_add(struct event_base *, evutil_socket_t, short, short, void *); 91 static int evsig_del(struct event_base *, evutil_socket_t, short, short, void *); 108 static struct event_base *evsig_base = NULL; 119 evsig_set_base(struct event_base *base) in evsig_set_base() 136 struct event_base *base; in evsig_cb() 169 evsig_init(struct event_base *base) in evsig_init() 210 _evsig_set_handler(struct event_base *base, in _evsig_set_handler() 276 evsig_add(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) in evsig_add() 322 _evsig_restore_handler(struct event_base *base, int evsignal) in _evsig_restore_handler() 353 evsig_del(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) in evsig_del() [all …]
|
D | evport.c | 116 static void* evport_init(struct event_base *); 117 static int evport_add(struct event_base *, int fd, short old, short events, void *); 118 static int evport_del(struct event_base *, int fd, short old, short events, void *); 119 static int evport_dispatch(struct event_base *, struct timeval *); 120 static void evport_dealloc(struct event_base *); 139 evport_init(struct event_base *base) in evport_init() 262 evport_dispatch(struct event_base *base, struct timeval *tv) in evport_dispatch() 375 evport_add(struct event_base *base, int fd, short old, short events, void *p) in evport_add() 409 evport_del(struct event_base *base, int fd, short old, short events, void *p) in evport_del() 462 evport_dealloc(struct event_base *base) in evport_dealloc()
|
D | win32select.c | 79 static void *win32_init(struct event_base *); 80 static int win32_add(struct event_base *, evutil_socket_t, short old, short events, void *_idx); 81 static int win32_del(struct event_base *, evutil_socket_t, short old, short events, void *_idx); 82 static int win32_dispatch(struct event_base *base, struct timeval *); 83 static void win32_dealloc(struct event_base *); 144 do_fd_clear(struct event_base *base, in do_fd_clear() 177 win32_init(struct event_base *_base) in win32_init() 214 win32_add(struct event_base *base, evutil_socket_t fd, in win32_add() 239 win32_del(struct event_base *base, evutil_socket_t fd, short old, short events, in win32_del() 274 win32_dispatch(struct event_base *base, struct timeval *tv) in win32_dispatch() [all …]
|
D | kqueue.c | 81 static void *kq_init(struct event_base *); 82 static int kq_sig_add(struct event_base *, int, short, short, void *); 83 static int kq_sig_del(struct event_base *, int, short, short, void *); 84 static int kq_dispatch(struct event_base *, struct timeval *); 85 static void kq_dealloc(struct event_base *); 112 kq_init(struct event_base *base) in kq_init() 256 kq_dispatch(struct event_base *base, struct timeval *tv) in kq_dispatch() 412 kq_dealloc(struct event_base *base) in kq_dealloc() 421 kq_sig_add(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_add() 450 kq_sig_del(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_del()
|
D | iocp-internal.h | 179 struct event_base; 181 struct event_iocp_port *event_base_get_iocp(struct event_base *base); 184 int event_base_start_iocp(struct event_base *base, int n_cpus); 185 void event_base_stop_iocp(struct event_base *base); 188 struct bufferevent *bufferevent_async_new(struct event_base *base,
|
D | listener.c | 71 struct event_base *(*getbase)(struct evconnlistener *); 94 struct event_base *event_base; member 107 evconnlistener_new_async(struct event_base *base, 115 static struct event_base *event_listener_getbase(struct evconnlistener *); 154 evconnlistener_new(struct event_base *base, in evconnlistener_new() 201 evconnlistener_new_bind(struct event_base *base, evconnlistener_cb cb, in evconnlistener_new_bind() 338 struct event_base * 341 struct event_base *base; in evconnlistener_get_base() 348 static struct event_base * 471 event_base_add_virtual(lev->event_base); in iocp_listener_event_add() [all …]
|
D | evsignal-internal.h | 59 int evsig_init(struct event_base *); 60 void evsig_dealloc(struct event_base *); 62 void evsig_set_base(struct event_base *base);
|
D | changelist-internal.h | 90 struct event_base *base); 95 int event_changelist_add(struct event_base *base, evutil_socket_t fd, short old, short events, 98 int event_changelist_del(struct event_base *base, evutil_socket_t fd, short old, short events,
|
D | evmap.c | 263 evmap_io_add(struct event_base *base, evutil_socket_t fd, struct event *ev) in evmap_io_add() 336 evmap_io_del(struct event_base *base, evutil_socket_t fd, struct event *ev) in evmap_io_del() 390 evmap_io_active(struct event_base *base, evutil_socket_t fd, short events) in evmap_io_active() 418 evmap_signal_add(struct event_base *base, int sig, struct event *ev) in evmap_signal_add() 444 evmap_signal_del(struct event_base *base, int sig, struct event *ev) in evmap_signal_del() 466 evmap_signal_active(struct event_base *base, evutil_socket_t sig, int ncalls) in evmap_signal_active() 508 event_change_get_fdinfo(struct event_base *base, in event_change_get_fdinfo() 527 event_changelist_check(struct event_base *base) in event_changelist_check() 561 struct event_base *base) in event_changelist_remove_all() 647 event_changelist_add(struct event_base *base, evutil_socket_t fd, short old, short events, in event_changelist_add() [all …]
|
D | http-internal.h | 59 struct event_base; 105 struct event_base *base; 169 struct event_base *base;
|