Home
last modified time | relevance | path

Searched refs:ev_write (Results 1 – 7 of 7) sorted by relevance

/external/libevent/
Dbufferevent_sock.c138 !event_pending(&bufev->ev_write, EV_WRITE, NULL) && in bufferevent_socket_outbuf_cb()
142 if (bufferevent_add_event_(&bufev->ev_write, &bufev->timeout_write) == -1) { in bufferevent_socket_outbuf_cb()
262 event_del(&bufev->ev_write); in bufferevent_writecb()
271 event_del(&bufev->ev_write); in bufferevent_writecb()
282 event_del(&bufev->ev_write); in bufferevent_writecb()
316 event_del(&bufev->ev_write); in bufferevent_writecb()
331 event_del(&bufev->ev_write); in bufferevent_writecb()
368 event_assign(&bufev->ev_write, bufev->ev_base, fd, in bufferevent_socket_new()
423 event_assign(&bev->ev_write, bev->ev_base, fd, in bufferevent_socket_connect()
574 bufferevent_add_event_(&bufev->ev_write, &bufev->timeout_write) == -1) in be_socket_enable()
[all …]
Dbufferevent_openssl.c394 r = bufferevent_add_event_(&bev->ev_write, in start_reading()
414 r = bufferevent_add_event_(&bev->ev_write, &bev->timeout_write); in start_writing()
446 event_del(&bev->ev_write); in stop_writing()
894 event_del(&bev_ssl->bev.bev.ev_write); in consider_writing()
898 event_del(&bev_ssl->bev.bev.ev_write); in consider_writing()
996 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL); in set_open_callbacks()
999 event_del(&bev->ev_write); in set_open_callbacks()
1005 event_assign(&bev->ev_write, bev->ev_base, fd, in set_open_callbacks()
1012 r2 = bufferevent_add_event_(&bev->ev_write, &bev->timeout_write); in set_open_callbacks()
1104 event_del(&bev->ev_write); in set_handshake_callbacks()
[all …]
Dbufferevent.c726 cbs[1] = &bufev->ev_write.ev_evcallback; in bufferevent_decref_and_unlock_()
965 event_assign(&bev->ev_write, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
984 r2 = event_add(&bev->ev_write, &bev->timeout_write); in bufferevent_generic_adj_timeouts_()
986 r2 = event_del(&bev->ev_write); in bufferevent_generic_adj_timeouts_()
1004 if (event_pending(&bev->ev_write, EV_WRITE, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
1006 if (bufferevent_add_event_(&bev->ev_write, &bev->timeout_write) < 0) in bufferevent_generic_adj_existing_timeouts_()
1009 event_remove_timer(&bev->ev_write); in bufferevent_generic_adj_existing_timeouts_()
Dbufferevent-internal.h468 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
473 event_del(&(bev)->ev_write)
/external/libevent/include/event2/
Dbufferevent_struct.h84 struct event ev_write; member
/external/libevent/test/
Dregress_ssl.c305 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
Dregress_bufferevent.c467 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()