| /libev/ |
| H A D | ev.h | 707 #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(event… 708 #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),… 710 #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signu… 711 #define ev_child_init(ev,cb,pid,trace) do { ev_init ((ev), (cb)); ev_child_set ((ev),(pid),(t… 713 #define ev_idle_init(ev,cb) do { ev_init ((ev), (cb)); ev_idle_set ((ev)); } while… 714 #define ev_prepare_init(ev,cb) do { ev_init ((ev), (cb)); ev_prepare_set ((ev)); } wh… 715 #define ev_check_init(ev,cb) do { ev_init ((ev), (cb)); ev_check_set ((ev)); } whil… 716 #define ev_embed_init(ev,cb,other) do { ev_init ((ev), (cb)); ev_embed_set ((ev),(other))… 717 #define ev_fork_init(ev,cb) do { ev_init ((ev), (cb)); ev_fork_set ((ev)); } while… 718 #define ev_cleanup_init(ev,cb) do { ev_init ((ev), (cb)); ev_cleanup_set ((ev)); } wh… [all …]
|
| H A D | ev++.h | 269 ev_once (EV_AX_ fd, events, timeout, cb, arg); in throw() 308 template<void (*cb)(int)> 311 once (fd, events, timeout, simpler_func_thunk<cb>); in once() 314 template<void (*cb)(int)> 317 (*cb) in simpler_func_thunk() 322 template<void (*cb)()> 328 template<void (*cb)()> 331 (*cb) in simplest_func_thunk() 445 ev_set_cb (static_cast<ev_watcher *>(this), cb); in set_() 557 ev_set_allocator (cb); in set_allocator() [all …]
|
| H A D | event.h | 113 #define evtimer_set(ev,cb,data) event_set (ev, -1, 0, cb, data) argument 119 #define timeout_set(ev,cb,data) evtimer_set (ev, cb, data) argument 125 #define signal_set(ev,sig,cb,data) event_set (ev, sig, EV_SIGNAL | EV_PERSIST, cb, data) argument 146 void event_set_log_callback(event_log_cb cb); 148 void event_set (struct event *ev, int fd, short events, void (*cb)(int, short, void *), void *arg); 149 int event_once (int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv… 166 int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *),…
|
| H A D | event.c | 143 void event_set_log_callback (event_log_cb cb) in event_set_log_callback() argument 206 void event_set (struct event *ev, int fd, short events, void (*cb)(int, short, void *), void *arg) in event_set() 219 ev->ev_callback = cb; in event_set() 225 int event_once (int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv) in event_once() 227 return event_base_once (ev_x_cur, fd, events, cb, arg, tv); in event_once() 389 void (*cb)(int, short, void *); member 398 once->cb (once->fd, (short)revents, once->arg); in ev_x_once_cb() 402 int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *),… in event_base_once() 411 once->cb = cb; in event_base_once()
|
| H A D | ev.c | 1682 syserr_cb = cb; in ev_set_syserr_cb() 1729 alloc = cb; in ev_set_allocator() 4916 void (*cb)(int revents, void *arg); member 4923 void (*cb)(int revents, void *arg) = once->cb; in once_cb() local 4930 cb (revents, arg); in once_cb() 4960 once->cb = cb; in ev_once() 5008 cb (EV_A_ EV_IO, wl); in ev_walk() 5044 cb (EV_A_ EV_FORK, forks [i]); in ev_walk() 5050 cb (EV_A_ EV_ASYNC, asyncs [i]); in ev_walk() 5074 cb (EV_A_ EV_SIGNAL, wl); in ev_walk() [all …]
|
| H A D | config.guess | 1080 if test -f /usr/options/cb.name; then 1081 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
| H A D | ev.pod | 254 =item ev_set_allocator (void *(*cb)(void *ptr, long size) throw ()) 290 =item ev_set_syserr_cb (void (*cb)(const char *msg) throw ()) 3538 The callback has the type C<void (*cb)(int revents, void *arg)> and is 3875 #define EV_CB_DECLARE(type) struct my_coro *cb; 3876 #define EV_CB_INVOKE(watcher) switch_to ((watcher)->cb) 3907 #define EV_CB_DECLARE(type) struct my_coro *cb; 3908 #define EV_CB_INVOKE(watcher) switch_to ((watcher)->cb) 4302 static void cb (EV_P_ ev_timer *w, int revents) 4900 =item ev_set_cb (ev, cb)
|