Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_sock.c135 !event_pending(&bufev->ev_write, EV_WRITE, NULL) && in bufferevent_socket_outbuf_cb()
139 if (bufferevent_add_event_(&bufev->ev_write, &bufev->timeout_write) == -1) { in bufferevent_socket_outbuf_cb()
261 event_del(&bufev->ev_write); in bufferevent_writecb()
270 event_del(&bufev->ev_write); in bufferevent_writecb()
281 event_del(&bufev->ev_write); in bufferevent_writecb()
315 event_del(&bufev->ev_write); in bufferevent_writecb()
330 event_del(&bufev->ev_write); in bufferevent_writecb()
367 event_assign(&bufev->ev_write, bufev->ev_base, fd, in bufferevent_socket_new()
426 event_assign(&bev->ev_write, bev->ev_base, fd, in bufferevent_socket_connect()
582 bufferevent_add_event_(&bufev->ev_write, &bufev->timeout_write) == -1) in be_socket_enable()
[all …]
Dbufferevent_openssl.c393 r = bufferevent_add_event_(&bev->ev_write, in start_reading()
413 r = bufferevent_add_event_(&bev->ev_write, &bev->timeout_write); in start_writing()
445 event_del(&bev->ev_write); in stop_writing()
890 event_del(&bev_ssl->bev.bev.ev_write); in consider_writing()
894 event_del(&bev_ssl->bev.bev.ev_write); in consider_writing()
992 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL); in set_open_callbacks()
995 event_del(&bev->ev_write); in set_open_callbacks()
1001 event_assign(&bev->ev_write, bev->ev_base, fd, in set_open_callbacks()
1008 r2 = bufferevent_add_event_(&bev->ev_write, &bev->timeout_write); in set_open_callbacks()
1100 event_del(&bev->ev_write); in set_handshake_callbacks()
[all …]
Dbufferevent.c705 cbs[1] = &bufev->ev_write.ev_evcallback; in bufferevent_decref_and_unlock_()
943 event_assign(&bev->ev_write, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
963 r2 = event_add(&bev->ev_write, &bev->timeout_write); in bufferevent_generic_adj_timeouts_()
965 r2 = event_del(&bev->ev_write); in bufferevent_generic_adj_timeouts_()
983 if (event_pending(&bev->ev_write, EV_WRITE, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
985 if (bufferevent_add_event_(&bev->ev_write, &bev->timeout_write) < 0) in bufferevent_generic_adj_existing_timeouts_()
988 event_remove_timer(&bev->ev_write); in bufferevent_generic_adj_existing_timeouts_()
Dbufferevent-internal.h436 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
441 event_del(&(bev)->ev_write)
/external/libevent/include/event2/
Dbufferevent_struct.h84 struct event ev_write; member
/external/libevent/test/
Dregress_ssl.c252 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
Dregress_bufferevent.c454 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()