/external/libevent/ |
evmap-internal.h | 34 * event_base. 37 struct event_base; 53 event_base's list of events on a given file descriptor, and tell the 58 @param base the event_base to operate on. 62 int evmap_io_add(struct event_base *base, evutil_socket_t fd, struct event *ev); 64 event_base's list of events on a given file descriptor, and tell the 67 @param base the event_base to operate on. 71 int evmap_io_del(struct event_base *base, evutil_socket_t fd, struct event *ev); 72 /** Active the set of events waiting on an event_base for a given fd. 74 @param base the event_base to operate on [all...] |
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);
|
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,
|
event-internal.h | 59 /** Structure to define the backend of a given event_base. */ 63 /** Function to set up an event_base to use this backend. It should 66 * stored by event_init into the event_base.evbase field. On failure, 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 *); 86 /** Function to clean up and free our data from the event_base. */ 87 void (*dealloc)(struct event_base *); 145 /* The event_base that this timeout list is part of * 170 struct event_base { struct [all...] |
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,
|
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) 165 devpoll_dispatch(struct event_base *base, struct timeval *tv) 225 devpoll_add(struct event_base *base, int fd, short old, short events, void *p) 251 devpoll_del(struct event_base *base, int fd, short old, short events, void *p) 292 devpoll_dealloc(struct event_base *base [all...] |
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) 262 evport_dispatch(struct event_base *base, struct timeval *tv) 375 evport_add(struct event_base *base, int fd, short old, short events, void *p) 409 evport_del(struct event_base *base, int fd, short old, short events, void *p) 462 evport_dealloc(struct event_base *base [all...] |
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) 119 poll_dispatch(struct event_base *base, struct timeval *tv) 211 poll_add(struct event_base *base, int fd, short old, short events, void *_idx) 272 poll_del(struct event_base *base, int fd, short old, short events, void *_idx) 321 poll_dealloc(struct event_base *base [all...] |
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) 129 select_dispatch(struct event_base *base, struct timeval *tv) 241 select_add(struct event_base *base, int fd, short old, short events, void *p) 288 select_del(struct event_base *base, int fd, short old, short events, void *p) 328 select_dealloc(struct event_base *base [all...] |
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) 174 epoll_apply_one_change(struct event_base *base, 333 epoll_apply_changes(struct event_base *base) 352 epoll_nochangelist_add(struct event_base *base, evutil_socket_t fd, 370 epoll_nochangelist_del(struct event_base *base, evutil_socket_t fd [all...] |
http-internal.h | 59 struct event_base; 105 struct event_base *base; 169 struct event_base *base;
|
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...] |
defer-internal.h | 41 * an event_base's event_loop, rather than running immediately. */ 45 /** True iff this deferred_cb is pending in an event_base. */ 79 Cancel a deferred_cb if it is currently scheduled in an event_base. 83 Activate a deferred_cb if it is not currently scheduled in an event_base. 97 struct deferred_cb_queue *event_base_get_deferred_cb_queue(struct event_base *);
|
signal.c | 75 add an event for a signal to event_base A, then add an event for a signal 76 (any signal!) to event_base B, event_base B will get informed about the 77 signal, but event_base A won't. 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) 136 struct event_base *base; 169 evsig_init(struct event_base *base [all...] |
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, 177 win32_init(struct event_base *_base) 214 win32_add(struct event_base *base, evutil_socket_t fd, 239 win32_del(struct event_base *base, evutil_socket_t fd, short old, short events, 274 win32_dispatch(struct event_base *base, struct timeval *tv [all...] |
/external/libevent/include/event2/ |
event.h | 77 Next, you need to create an event_base structure, using event_base_new() 78 or event_base_new_with_config(). The event_base is responsible for 81 Every event is associated with a single event_base. 98 Currently, only one thread can be dispatching a given event_base at a 100 either have a single event_base whose events add work to a work queue, 101 or you can create multiple event_base objects. 203 * The event_base lies at the center of Libevent; every application will 213 struct event_base struct 230 * pending with event_add(). As your event_base runs, it will run the 279 * Configuration for an event_base [all...] |
listener.h | 90 struct evconnlistener *evconnlistener_new(struct event_base *base, 108 struct evconnlistener *evconnlistener_new_bind(struct event_base *base, 124 /** Return an evconnlistener's associated event_base. */ 125 struct event_base *evconnlistener_get_base(struct evconnlistener *lev);
|
bufferevent_ssl.h | 59 @param base An event_base to use to detect reading and writing. It 68 bufferevent_openssl_filter_new(struct event_base *base, 77 @param base An event_base to use to detect reading and writing 85 bufferevent_openssl_socket_new(struct event_base *base,
|
thread.h | 38 _must_ be set up before an event_base is created if you want the base to 224 struct event_base; 230 int evthread_make_base_notifiable(struct event_base *base);
|
http_compat.h | 80 struct event_base *base);
|
bufferevent.h | 116 struct event_base; 184 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options); 248 Assign a bufferevent to a specific event_base. 252 @param base an event_base returned by event_init() 258 int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev); 261 Return the event_base used by a bufferevent 263 struct event_base *bufferevent_get_base(struct bufferevent *bev); 591 int bufferevent_pair_new(struct event_base *base, int options, 662 @param base An event_base to run any necessary timeouts for the group. 664 this event_base [all...] |
bufferevent_struct.h | 72 struct event_base *ev_base;
|
/system/core/debuggerd/tombstoned/ |
intercept_manager.h | 48 event_base* base; 52 InterceptManager(event_base* _Nonnull base, int intercept_socket);
|
/system/extras/simpleperf/ |
IOEventLoop.h | 28 struct event_base; 81 event_base* ebase_;
|
/external/libchrome/base/message_loop/ |
message_pump_libevent.h | 15 struct event_base; 143 event_base* event_base_;
|