Lines Matching refs:EV_WRITE
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)) {
885 event_del(&bev_ssl->bev.bev.ev_write);
972 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL);
974 event_del(&bev->ev_write);
978 event_assign(&bev->ev_write, bev->ev_base, fd,
979 EV_WRITE|EV_PERSIST, be_openssl_writeeventcb, bev_ssl);
983 r2 = _bufferevent_add_event(&bev->ev_write, &bev->timeout_write);
1076 event_del(&bev->ev_write);
1080 event_assign(&bev->ev_write, bev->ev_base, fd,
1081 EV_WRITE|EV_PERSIST, be_openssl_handshakeeventcb, bev_ssl);
1084 r2 = _bufferevent_add_event(&bev->ev_write, &bev->timeout_write);
1117 r = _bufferevent_add_event(&bev_ssl->bev.bev.ev_write,
1137 if (events & EV_WRITE)
1143 if (events & EV_WRITE)
1148 if (events & EV_WRITE)
1163 if (events & EV_WRITE)
1169 if (events & EV_WRITE)
1184 event_del(&bev->ev_write);
1227 if (event_pending(&bev->ev_write, EV_WRITE, NULL))
1228 r2 = _bufferevent_add_event(&bev->ev_write, &bev->timeout_write);
1356 bufferevent_enable(underlying, EV_READ|EV_WRITE);
1361 bev_ssl->bev.bev.enabled = EV_READ|EV_WRITE;
1366 if (event_add(&bev_ssl->bev.bev.ev_write, NULL) < 0)