Home
last modified time | relevance | path

Searched refs:ev_read (Results 1 – 6 of 6) sorted by relevance

/external/libevent/
Dbufferevent_sock.c262 event_del(&bufev->ev_read); in bufferevent_writecb()
365 event_assign(&bufev->ev_read, bufev->ev_base, fd, in bufferevent_socket_new()
579 bufferevent_add_event_(&bufev->ev_read, &bufev->timeout_read) == -1) in be_socket_enable()
593 if (event_del(&bufev->ev_read) == -1) in be_socket_disable()
612 fd = event_get_fd(&bufev->ev_read); in be_socket_destruct()
637 event_del(&bufev->ev_read); in be_socket_setfd()
643 event_assign(&bufev->ev_read, bufev->ev_base, fd, in be_socket_setfd()
668 if (event_priority_set(&bufev->ev_read, priority) == -1) in bufferevent_priority_set()
693 res = event_base_set(base, &bufev->ev_read); in bufferevent_base_set()
712 data->fd = event_get_fd(&bev->ev_read); in be_socket_ctrl()
Dbufferevent_openssl.c391 r = bufferevent_add_event_(&bev->ev_read, &bev->timeout_read); in start_reading()
415 r = bufferevent_add_event_(&bev->ev_read, in start_writing()
431 event_del(&bev->ev_read); in stop_reading()
845 event_del(&bev_ssl->bev.bev.ev_read); in consider_reading()
971 if (event_initialized(&bev->ev_read) && fd < 0) { in be_openssl_auto_fd()
972 fd = event_get_fd(&bev->ev_read); in be_openssl_auto_fd()
990 if (event_initialized(&bev->ev_read)) { in set_open_callbacks()
991 rpending = event_pending(&bev->ev_read, EV_READ, NULL); in set_open_callbacks()
994 event_del(&bev->ev_read); in set_open_callbacks()
998 event_assign(&bev->ev_read, bev->ev_base, fd, in set_open_callbacks()
[all …]
Dbufferevent.c422 if (event_initialized(&bufev->ev_read)) { in bufferevent_get_priority()
423 return event_get_priority(&bufev->ev_read); in bufferevent_get_priority()
704 cbs[0] = &bufev->ev_read.ev_evcallback; in bufferevent_decref_and_unlock_()
941 event_assign(&bev->ev_read, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
956 r1 = event_add(&bev->ev_read, &bev->timeout_read); in bufferevent_generic_adj_timeouts_()
958 r1 = event_del(&bev->ev_read); in bufferevent_generic_adj_timeouts_()
975 if (event_pending(&bev->ev_read, EV_READ, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
977 if (bufferevent_add_event_(&bev->ev_read, &bev->timeout_read) < 0) in bufferevent_generic_adj_existing_timeouts_()
980 event_remove_timer(&bev->ev_read); in bufferevent_generic_adj_existing_timeouts_()
Dbufferevent-internal.h429 event_add(&(bev)->ev_read, &(bev)->timeout_read); \
439 event_del(&(bev)->ev_read)
/external/libevent/include/event2/
Dbufferevent_struct.h80 struct event ev_read; member
/external/libevent/test/
Dregress_ssl.c251 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()