Lines Matching refs:w

26    stdin_cb (EV_P_ ev_io *w, int revents)
31 ev_io_stop (EV_A_ w);
39 timeout_cb (EV_P_ ev_timer *w, int revents)
1099 static void my_cb (struct ev_loop *loop, ev_io *w, int revents)
1101 ev_io_stop (w);
1264 ev_io w;
1265 ev_init (&w, my_cb);
1266 ev_io_set (&w, STDIN_FILENO, EV_READ);
1289 ev_io_init (&w, my_cb, STDIN_FILENO, EV_READ);
1299 ev_io_start (EV_DEFAULT_UC, &w);
1528 io_cb (EV_P_ ev_io *w, int revents)
1532 ev_io_stop (EV_A_ w);
1541 idle_cb (EV_P_ ev_idle *w, int revents)
1766 stdin_readable_cb (struct ev_loop *loop, ev_io *w, int revents)
1768 ev_io_stop (loop, w);
1769 .. read from stdin here (or from w->fd) and handle any I/O errors
1887 callback (EV_P_ ev_timer *w, int revents)
1903 ev_timer_set (w, after, 0.);
1904 ev_timer_start (EV_A_ w);
2160 That is, after an C<ev_timer_set (w, 5, 7)>, C<ev_timer_remaining> returns
2179 one_minute_cb (struct ev_loop *loop, ev_timer *w, int revents)
2181 .. one minute over, w is actually stopped right here
2192 timeout_cb (struct ev_loop *loop, ev_timer *w, int revents)
2309 *w, ev_tstamp now)>, e.g.:
2312 my_rescheduler (ev_periodic *w, ev_tstamp now)
2362 =item ev_tstamp (*reschedule_cb)(ev_periodic *w, ev_tstamp now) [read-write]
2377 clock_cb (struct ev_loop *loop, ev_periodic *w, int revents)
2391 my_scheduler_cb (ev_periodic *w, ev_tstamp now)
2500 sigint_cb (struct ev_loop *loop, ev_signal *w, int revents)
2595 child_cb (EV_P_ ev_child *w, int revents)
2597 ev_child_stop (EV_A_ w);
2598 printf ("process %d exited with status %x\n", w->rpid, w->rstatus);
2724 a roughly one-second-delay C<ev_timer> (e.g. C<ev_timer_set (w, 0., 1.02);
2725 ev_timer_again (loop, w)>).
2792 passwd_cb (struct ev_loop *loop, ev_stat *w, int revents)
2795 if (w->attr.st_nlink)
2797 printf ("passwd current size %ld\n", (long)w->attr.st_size);
2798 printf ("passwd current atime %ld\n", (long)w->attr.st_mtime);
2799 printf ("passwd current mtime %ld\n", (long)w->attr.st_mtime);
2822 timer_cb (EV_P_ ev_timer *w, int revents)
2824 ev_timer_stop (EV_A_ w);
2830 stat_cb (EV_P_ ev_stat *w, int revents)
2895 idle_cb (struct ev_loop *loop, ev_idle *w, int revents)
2898 ev_idle_stop (loop, w);
2901 free (w);
3018 io_cb (struct ev_loop *loop, ev_io *w, int revents)
3024 adns_prepare_cb (struct ev_loop *loop, ev_prepare *w, int revents)
3049 adns_check_cb (struct ev_loop *loop, ev_check *w, int revents)
3077 timer_cb (EV_P_ ev_timer *w, int revents)
3079 adns_state ads = (adns_state)w->data;
3086 io_cb (EV_P_ ev_io *w, int revents)
3088 adns_state ads = (adns_state)w->data;
3091 if (revents & EV_READ ) adns_processreadable (ads, w->fd, &tv_now);
3092 if (revents & EV_WRITE) adns_processwriteable (ads, w->fd, &tv_now);
3411 mysig_cb (EV_P_ ev_async *w, int revents)
3452 mysig_cb (EV_P_ ev_async *w, int revents)
3594 struct my_io w;
3595 ev_io_init (&w.io, my_cb, fd, EV_READ);
3602 struct my_io *w = (struct my_io *)w_;
3631 t1_cb (EV_P_ ev_timer *w, int revents)
3634 (((char *)w) - offsetof (struct my_biggy, t1));
3638 t2_cb (EV_P_ ev_timer *w, int revents)
3641 (((char *)w) - offsetof (struct my_biggy, t2));
3771 async_cb (EV_P_ ev_async *w, int revents)
3888 wait_for_event (ev_watcher *w)
3890 ev_set_cb (w, current_coro);
4062 =item w->set<class, &class::method> (object *)
4079 void io_cb (ev::io &w, int revents) { }
4086 =item w->set (object *)
4094 The C<operator ()> method prototype must be C<void operator ()(watcher &w,
4103 void operator() (ev::io &w, int revents)
4111 ev::io w;
4112 w.set (&f);
4114 =item w->set<function> (void *data = 0)
4120 The prototype of the C<function> must be C<void (*)(ev::TYPE &w, int)>.
4126 static void io_cb (ev::io &w, int revents) { }
4129 =item w->set (loop)
4134 =item w->set ([arguments])
4145 =item w->start ()
4150 =item w->start ([arguments])
4156 =item w->stop ()
4160 =item w->again () (C<ev::timer>, C<ev::periodic> only)
4165 =item w->sweep () (C<ev::embed> only)
4169 =item w->update () (C<ev::stat> only)
4182 ev::io io ; void io_cb (ev::io &w, int revents);
4183 ev::io io2 ; void io2_cb (ev::io &w, int revents);
4184 ev::idle idle; void idle_cb (ev::idle &w, int revents);
4302 static void cb (EV_P_ ev_timer *w, int revents)
4333 check_cb (EV_P_ ev_timer *w, int revents)
4335 ev_check_stop (EV_A_ w);