HomeSort by relevance Sort by last modified time
    Searched refs:ev_read (Results 1 - 5 of 5) sorted by null

  /external/libevent/include/event2/
bufferevent_struct.h 80 struct event ev_read; member in struct:bufferevent
107 /** Events that are currently enabled: currently EV_READ and EV_WRITE
  /external/libevent/
bufferevent_sock.c 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);
    [all...]
bufferevent_openssl.c 373 * ev_read and ev_write) start reading. Take the read-blocked-on-write flag
385 r = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read);
394 * ev_read and ev_write) start writing. Take the write-blocked-on-read flag
406 r = _bufferevent_add_event(&bev->ev_read,
422 event_del(&bev->ev_read);
465 if (bev->enabled & EV_READ)
477 if (!(bev->enabled & EV_READ))
733 if (! (bev->bev.bev.enabled & EV_READ)) {
832 !(bev_ssl->bev.bev.enabled & EV_READ)) {
833 event_del(&bev_ssl->bev.bev.ev_read);
    [all...]
bufferevent-internal.h 229 /** Enables one or more of EV_READ|EV_WRITE on a bufferevent. Does
235 /** Disables one or more of EV_READ|EV_WRITE on a bufferevent. Does
302 @param event any combination of EV_READ | EV_WRITE.
339 * anything else with ev_read and ev_write, to handle timeouts.
341 /** Internal use: Set up the ev_read and ev_write callbacks so that
345 /** Internal use: Delete the ev_read and ev_write callbacks if they're pending.
351 * that enabled EV_READ or EV_WRITE, or that disables EV_READ or EV_WRITE. */
359 event_add(&(bev)->ev_read, &(bev)->timeout_read); \
369 event_del(&(bev)->ev_read)
    [all...]
bufferevent.c 72 bufev->be_ops->disable(bufev, EV_READ);
84 if (!bufev_private->read_suspended && (bufev->enabled & EV_READ))
85 bufev->be_ops->enable(bufev, EV_READ);
416 impl_events &= ~EV_READ;
529 if (events & EV_READ) {
641 event_debug_unassign(&bufev->ev_read);
796 bufferevent_disable(bev, EV_READ);
813 evtimer_assign(&bev->ev_read, bev->ev_base,
823 r1 = event_del(&bev->ev_read);
837 if ((enabled & EV_READ) && !bev_p->read_suspended &
    [all...]

Completed in 199 milliseconds