Home
last modified time | relevance | path

Searched refs:evutil_socket_t (Results 1 – 25 of 53) sorted by relevance

123

/external/libevent/
Devmap-internal.h62 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);
86 void evmap_signal_active(struct event_base *base, evutil_socket_t signum, int ncalls);
88 void *evmap_io_get_fdinfo(struct event_io_map *ctx, evutil_socket_t fd);
Diocp-internal.h115 struct evbuffer *evbuffer_overlapped_new(evutil_socket_t fd);
118 evutil_socket_t _evbuffer_overlapped_get_fd(struct evbuffer *buf);
120 void _evbuffer_overlapped_set_fd(struct evbuffer *buf, evutil_socket_t fd);
163 int event_iocp_port_associate(struct event_iocp_port *port, evutil_socket_t fd,
189 evutil_socket_t fd, int options);
194 int bufferevent_async_connect(struct bufferevent *bev, evutil_socket_t fd,
Dchangelist-internal.h55 evutil_socket_t fd;
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,
Dlistener.c70 evutil_socket_t (*getfd)(struct evconnlistener *);
93 evutil_socket_t fd;
109 evutil_socket_t fd); /* XXXX export this? */
114 static evutil_socket_t event_listener_getfd(struct evconnlistener *);
151 static void listener_read_cb(evutil_socket_t, short, void *);
156 evutil_socket_t fd) in evconnlistener_new()
206 evutil_socket_t fd; in evconnlistener_new_bind()
320 evutil_socket_t
323 evutil_socket_t fd; in evconnlistener_get_fd()
330 static evutil_socket_t
[all …]
Dsignal.c90 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 *);
111 static evutil_socket_t evsig_base_fd = -1;
130 evsig_cb(evutil_socket_t fd, short what, void *arg) in evsig_cb()
276 evsig_add(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) in evsig_add()
353 evsig_del(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) in evsig_del()
Devsignal-internal.h30 #ifndef evutil_socket_t
43 evutil_socket_t ev_signal_pair[2];
Dbufferevent_sock.c85 static void be_socket_setfd(struct bufferevent *, evutil_socket_t);
123 bufferevent_readcb(evutil_socket_t fd, short event, void *arg) in bufferevent_readcb()
202 bufferevent_writecb(evutil_socket_t fd, short event, void *arg) in bufferevent_writecb()
317 bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, in bufferevent_socket_new()
359 evutil_socket_t fd; in bufferevent_socket_connect()
535 bufferevent_new(evutil_socket_t fd, in bufferevent_new()
586 evutil_socket_t fd; in be_socket_destruct()
621 be_socket_setfd(struct bufferevent *bufev, evutil_socket_t fd) in be_socket_setfd()
Devmap.c79 evutil_socket_t fd;
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()
466 evmap_signal_active(struct event_base *base, evutil_socket_t sig, int ncalls) in evmap_signal_active()
480 evmap_io_get_fdinfo(struct event_io_map *map, evutil_socket_t fd) in evmap_io_get_fdinfo()
617 evutil_socket_t fd, in event_changelist_get_or_construct()
647 event_changelist_add(struct event_base *base, evutil_socket_t fd, short old, short events, in event_changelist_add()
678 event_changelist_del(struct event_base *base, evutil_socket_t fd, short old, short events, in event_changelist_del()
734 evutil_socket_t i;
Dlog-internal.h44 void event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) EV_CHECK_FMT(3,4) EV_NORE…
45 void event_sock_warn(evutil_socket_t sock, const char *fmt, ...) EV_CHECK_FMT(2,3);
Devent-internal.h77 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);
288 evutil_socket_t th_notify_fd[2];
Dbufferevent_async.c373 evutil_socket_t fd; in be_async_destruct()
399 evutil_socket_t fd; in bev_async_set_wsa_error()
418 evutil_socket_t sock; in connect_complete()
528 evutil_socket_t fd, int options) in bufferevent_async_new()
608 bufferevent_async_connect(struct bufferevent *bev, evutil_socket_t fd, in bufferevent_async_connect()
676 evutil_socket_t fd = _evbuffer_overlapped_get_fd(bev->input); in be_async_ctrl()
677 if (fd != (evutil_socket_t)INVALID_SOCKET && in be_async_ctrl()
Dwin32select.c80 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);
119 do_fd_set(struct win32op *op, struct idx_info *ent, evutil_socket_t s, int read) in do_fd_set()
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()
Dbuffer_iocp.c55 evutil_socket_t fd;
151 evbuffer_overlapped_new(evutil_socket_t fd) in evbuffer_overlapped_new()
309 evutil_socket_t
317 _evbuffer_overlapped_set_fd(struct evbuffer *buf, evutil_socket_t fd) in _evbuffer_overlapped_set_fd()
Dutil-internal.h172 int evutil_socket_connect(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen);
174 int evutil_socket_finished_connecting(evutil_socket_t fd);
176 int evutil_ersatz_socketpair(int, int , int, evutil_socket_t[]);
Devent.c1157 common_timeout_callback(evutil_socket_t fd, short what, void *arg) in common_timeout_callback()
1260 void (*evcb_callback)(evutil_socket_t, short, void *); in event_persist_closure()
1263 evutil_socket_t evcb_fd; in event_persist_closure()
1481 event_loopexit_cb(evutil_socket_t fd, short what, void *arg) in event_loopexit_cb()
1662 void (*cb)(evutil_socket_t, short, void *);
1669 event_once_cb(evutil_socket_t fd, short events, void *arg) in event_once_cb()
1680 event_once(evutil_socket_t fd, short events, in event_once()
1681 void (*callback)(evutil_socket_t, short, void *), in event_once() argument
1689 event_base_once(struct event_base *base, evutil_socket_t fd, short events, in event_base_once()
1690 void (*callback)(evutil_socket_t, short, void *), in event_base_once() argument
[all …]
Depoll.c79 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,
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()
/external/libevent/include/event2/
Devent.h790 typedef void (*event_callback_fn)(evutil_socket_t, short, void *);
840 struct event *event_new(struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
881 int event_assign(struct event *, struct event_base *, evutil_socket_t, short, event_callback_fn, vo…
913 int event_base_once(struct event_base *, evutil_socket_t, short, event_callback_fn, void *, const s…
1011 evutil_socket_t event_get_fd(const struct event *ev);
1041 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
Devent_compat.h140 int event_once(evutil_socket_t , short,
141 void (*)(evutil_socket_t, short, void *), void *, const struct timeval *);
174 void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, short, void *), vo…
Dutil.h272 #define evutil_socket_t intptr_t macro
274 #define evutil_socket_t int
288 int evutil_socketpair(int d, int type, int protocol, evutil_socket_t sv[2]);
294 int evutil_make_socket_nonblocking(evutil_socket_t sock);
307 int evutil_make_listen_socket_reuseable(evutil_socket_t sock);
315 int evutil_make_socket_closeonexec(evutil_socket_t sock);
323 int evutil_closesocket(evutil_socket_t sock);
334 int evutil_socket_geterror(evutil_socket_t sock);
Dlistener.h48 typedef void (*evconnlistener_cb)(struct evconnlistener *, evutil_socket_t, struct sockaddr *, int …
92 evutil_socket_t fd);
128 evutil_socket_t evconnlistener_get_fd(struct evconnlistener *lev);
Devent_struct.h95 evutil_socket_t ev_fd;
123 void (*ev_callback)(evutil_socket_t, short, void *arg);
Dbufferevent.h184 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options…
310 int bufferevent_setfd(struct bufferevent *bufev, evutil_socket_t fd);
316 evutil_socket_t bufferevent_getfd(struct bufferevent *bufev);
Dbuffer.h518 int evbuffer_write(struct evbuffer *buffer, evutil_socket_t fd);
532 int evbuffer_write_atmost(struct evbuffer *buffer, evutil_socket_t fd,
544 int evbuffer_read(struct evbuffer *buffer, evutil_socket_t fd, int howmuch);
/external/tlsdate/src/events/
Droute_up.c22 void action_stdin_wakeup (evutil_socket_t fd, short what, void *arg) in action_stdin_wakeup()
39 void action_netlink_ready (evutil_socket_t fd, short what, void *arg) in action_netlink_ready()
Dtlsdate_status.c49 action_tlsdate_timeout (evutil_socket_t fd, short what, void *arg) in action_tlsdate_timeout()
59 action_tlsdate_status (evutil_socket_t fd, short what, void *arg) in action_tlsdate_status()

123