Home | History | Annotate | Download | only in libevent

Lines Matching refs:ev_write

111 	    (bufev->enabled & EV_WRITE) &&
112 !event_pending(&bufev->ev_write, EV_WRITE, NULL) &&
116 if (be_socket_add(&bufev->ev_write, &bufev->timeout_write) == -1) {
216 * event==EV_TIMEOUT|EV_WRITE, we can safely ignore the
235 event_del(&bufev->ev_write);
243 event_del(&bufev->ev_write);
252 if (!(bufev->enabled & EV_WRITE) ||
254 event_del(&bufev->ev_write);
288 event_del(&bufev->ev_write);
304 event_del(&bufev->ev_write);
309 bufferevent_disable(bufev, EV_WRITE);
341 event_assign(&bufev->ev_write, bufev->ev_base, fd,
342 EV_WRITE|EV_PERSIST, bufferevent_writecb, bufev);
401 event_assign(&bev->ev_write, bev->ev_base, fd,
402 EV_WRITE|EV_PERSIST, bufferevent_writecb, bev);
407 if (! be_socket_enable(bev, EV_WRITE)) {
416 event_active(&bev->ev_write, EV_WRITE, 1);
422 event_active(&bev->ev_write, EV_WRITE, 1);
557 if (event & EV_WRITE) {
558 if (be_socket_add(&bufev->ev_write,&bufev->timeout_write) == -1)
574 if ((event & EV_WRITE) && ! bufev_p->connecting) {
575 if (event_del(&bufev->ev_write) == -1)
592 event_del(&bufev->ev_write);
605 if (event_pending(&bufev->ev_write, EV_WRITE, NULL)) {
606 if (be_socket_add(&bufev->ev_write, &bufev->timeout_write) < 0)
627 event_del(&bufev->ev_write);
631 event_assign(&bufev->ev_write, bufev->ev_base, fd,
632 EV_WRITE|EV_PERSIST, bufferevent_writecb, bufev);
652 if (event_priority_set(&bufev->ev_write, priority) == -1)
677 res = event_base_set(base, &bufev->ev_write);