Lines Matching refs:ev_read
137 * event==EV_TIMEOUT|EV_READ, we can safely ignore the
194 bufferevent_disable(bufev, EV_READ);
236 event_del(&bufev->ev_read);
339 event_assign(&bufev->ev_read, bufev->ev_base, fd,
340 EV_READ|EV_PERSIST, bufferevent_readcb, bufev);
553 if (event & EV_READ) {
554 if (be_socket_add(&bufev->ev_read,&bufev->timeout_read) == -1)
569 if (event & EV_READ) {
570 if (event_del(&bufev->ev_read) == -1)
589 fd = event_get_fd(&bufev->ev_read);
591 event_del(&bufev->ev_read);
602 if (event_pending(&bufev->ev_read, EV_READ, NULL))
603 if (be_socket_add(&bufev->ev_read, &bufev->timeout_read) < 0)
626 event_del(&bufev->ev_read);
629 event_assign(&bufev->ev_read, bufev->ev_base, fd,
630 EV_READ
650 if (event_priority_set(&bufev->ev_read, priority) == -1)
673 res = event_base_set(base, &bufev->ev_read);
692 data->fd = event_get_fd(&bev->ev_read);