Lines Matching refs:EV_WRITE
201 bufferevent_add(&bufev->ev_write, bufev->timeout_write);
215 bufferevent_add(&bufev->ev_write, bufev->timeout_write);
254 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev);
259 * Set to EV_WRITE so that using bufferevent_write is going to
263 bufev->enabled = EV_WRITE;
283 event_del(&bufev->ev_write);
286 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev);
289 event_base_set(bufev->ev_base, &bufev->ev_write);
300 if (event_priority_set(&bufev->ev_write, priority) == -1)
312 event_del(&bufev->ev_write);
336 if (size > 0 && (bufev->enabled & EV_WRITE))
337 bufferevent_add(&bufev->ev_write, bufev->timeout_write);
378 if (event & EV_WRITE) {
379 if (bufferevent_add(&bufev->ev_write, bufev->timeout_write) == -1)
394 if (event & EV_WRITE) {
395 if (event_del(&bufev->ev_write) == -1)
415 if (event_pending(&bufev->ev_write, EV_WRITE, NULL))
416 bufferevent_add(&bufev->ev_write, timeout_write);
432 if (events & EV_WRITE) {
453 res = event_base_set(base, &bufev->ev_write);