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

  /external/libevent/include/event2/
bufferevent_struct.h 84 struct event ev_write; member in struct:bufferevent
107 /** Events that are currently enabled: currently EV_READ and EV_WRITE
  /external/libevent/
bufferevent_sock.c 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);
    [all...]
bufferevent_openssl.c 373 * ev_read and ev_write) start reading. Take the read-blocked-on-write flag
387 r = _bufferevent_add_event(&bev->ev_write,
394 * ev_read and ev_write) start writing. Take the write-blocked-on-read flag
404 r = _bufferevent_add_event(&bev->ev_write, &bev->timeout_write);
435 event_del(&bev->ev_write);
463 if (!(bev->enabled & EV_WRITE))
479 if (bev->enabled & EV_WRITE)
865 while ((bev_ssl->bev.bev.enabled & EV_WRITE) &&
881 event_del(&bev_ssl->bev.bev.ev_write);
883 !(bev_ssl->bev.bev.enabled & EV_WRITE)) {
    [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
296 first resets 'connecting' flag to force EV_WRITE down for sure.
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. */
366 event_add(&(bev)->ev_write, &(bev)->timeout_write);
    [all...]
bufferevent.c 96 bufev->be_ops->disable(bufev, EV_WRITE);
108 if (!bufev_private->write_suspended && (bufev->enabled & EV_WRITE))
109 bufev->be_ops->enable(bufev, EV_WRITE);
301 * Set to EV_WRITE so that using bufferevent_write is going to
305 bufev->enabled = EV_WRITE;
418 impl_events &= ~EV_WRITE;
524 if (events & EV_WRITE) {
642 event_debug_unassign(&bufev->ev_write);
805 bufferevent_disable(bev, EV_WRITE);
815 evtimer_assign(&bev->ev_write, bev->ev_base
    [all...]
bufferevent_async.c 193 if (!beva->ok || !(bev->enabled&EV_WRITE) ||
335 if (what & EV_WRITE)
343 if (what & EV_WRITE)
360 if (what & EV_WRITE) {
387 if (event_initialized(&bev->ev_write)) {
388 event_del(&bev->ev_write);

Completed in 120 milliseconds