Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 7 of 7) sorted by relevance

/libev/
H A Devent.c166 ev_x_cb (struct event *ev, int revents) in ev_x_cb() argument
170 ev->ev_res = revents; in ev_x_cb()
179 if (revents & EV_ERROR) in ev_x_cb_sig()
182 ev_x_cb (ev, revents); in ev_x_cb_sig()
193 ev_x_cb (ev, revents); in ev_x_cb_io()
203 ev_x_cb (ev, revents); in ev_x_cb_to()
305 short revents = 0; in event_pending() local
312 revents |= EV_SIGNAL; in event_pending()
323 revents |= EV_TIMEOUT; in event_pending()
334 return events & revents; in event_pending()
[all …]
H A Dev++.h287 static void method_thunk (int revents, void *arg) in method_thunk()
290 (revents); in method_thunk()
301 static void method_noargs_thunk (int revents, void *arg) in method_noargs_thunk()
315 static void simpler_func_thunk (int revents, void *arg) in simpler_func_thunk()
318 (revents); in simpler_func_thunk()
329 static void simplest_func_thunk (int revents, void *arg) in simplest_func_thunk()
335 void feed_fd_event (int fd, int revents) throw () in feed_fd_event()
337 ev_feed_fd_event (EV_AX_ fd, revents); in feed_fd_event()
459 (*static_cast<watcher *>(w), revents); in function_thunk()
480 (*static_cast<watcher *>(w), revents); in method_thunk()
[all …]
H A Dev.c2012 feed_reverse_done (EV_P_ int revents) in feed_reverse_done() argument
2038 int ev = w->events & revents; in fd_event_nocheck()
2048 fd_event (EV_P_ int fd, int revents) in fd_event() argument
2477 pipecb (EV_P_ ev_io *iow, int revents) in pipecb() argument
2481 if (revents & EV_READ) in pipecb()
2596 sigfdcb (EV_P_ ev_io *iow, int revents) in sigfdcb() argument
3257 ev_invoke (EV_P_ void *w, int revents) in ev_invoke() argument
3259 EV_CB_INVOKE ((W)w, revents); in ev_invoke()
4332 infy_cb (EV_P_ ev_io *w, int revents) in infy_cb() argument
4916 void (*cb)(int revents, void *arg);
[all …]
H A Dev.h249 # define EV_CB_DECLARE(type) void (*cb)(EV_P_ struct type *w, int revents);
252 # define EV_CB_INVOKE(watcher,revents) (watcher)->cb (EV_A_ (watcher), (revents))
256 #define EV_CB(type,name) void name (EV_P_ struct ev_ ## type *w, int revents)
654 EV_API_DECL void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void…
747 EV_API_DECL void ev_feed_event (EV_P_ void *w, int revents) EV_THROW;
748 EV_API_DECL void ev_feed_fd_event (EV_P_ int fd, int revents) EV_THROW;
753 EV_API_DECL void ev_invoke (EV_P_ void *w, int revents);
H A Dev_poll.c112 if (expect_false (p->revents)) /* this expect is debatable */ in poll_poll()
116 if (expect_false (p->revents & POLLNVAL)) in poll_poll()
122 (p->revents & (POLLOUT | POLLERR | POLLHUP) ? EV_WRITE : 0) in poll_poll()
123 | (p->revents & (POLLIN | POLLERR | POLLHUP) ? EV_READ : 0) in poll_poll()
H A Dev.pod26 stdin_cb (EV_P_ ev_io *w, int revents)
39 timeout_cb (EV_P_ ev_timer *w, int revents)
1260 int revents)>.
1528 io_cb (EV_P_ ev_io *w, int revents)
3042 fds [i].revents = 0;
3059 if (revents & EV_READ ) fd->revents |= fd->events & POLLIN;
3060 if (revents & EV_WRITE) fd->revents |= fd->events & POLLOUT;
3549 if (revents & EV_READ)
3551 else if (revents & EV_TIMER)
4095 int revents)>.
[all …]
H A DChanges293 - new EV_CUSTOM revents flag for use by applications.
456 not clearing revents field in ev_poll (Brandon Black)