Lines Matching defs:loop
51 void timeoutcb(struct ev_loop *loop, ev_timer *w, int revents) {
126 void connect_timeoutcb(struct ev_loop *loop, ev_timer *w, int revents) {
150 void readcb(struct ev_loop *loop, ev_io *w, int revents) {
171 void writecb(struct ev_loop *loop, ev_io *w, int revents) {
192 void connectcb(struct ev_loop *loop, ev_io *w, int revents) {
200 writecb(loop, w, revents);
206 struct ev_loop *loop, Worker *worker)
207 : conn_(loop, -1, nullptr, worker->get_mcpool(),
447 ev_timer_again(conn_.loop, &conn_.wt);
834 void idle_readcb(struct ev_loop *loop, ev_io *w, int revents) {
847 void idle_timeoutcb(struct ev_loop *loop, ev_timer *w, int revents) {
884 ev_timer_stop(conn_.loop, &conn_.wt);
1311 ev_feed_event(conn_.loop, &conn_.rev, EV_READ);
1321 ev_timer_stop(conn_.loop, &conn_.wt);
1447 ev_feed_event(conn_.loop, &conn_.rev, EV_READ);
1457 ev_timer_stop(conn_.loop, &conn_.wt);
1562 ev_timer_again(conn_.loop, &conn_.wt);
1598 ev_feed_event(conn_.loop, &conn_.wev, EV_WRITE);