Home
last modified time | relevance | path

Searched refs:ev_base (Results 1 – 11 of 11) sorted by relevance

/external/libevent/
Dbufferevent_async.c169 event_base_del_virtual_(bev->ev_base); in bev_async_del_write()
180 event_base_del_virtual_(bev->ev_base); in bev_async_del_read()
191 event_base_add_virtual_(bev->ev_base); in bev_async_add_write()
202 event_base_add_virtual_(bev->ev_base); in bev_async_add_read()
455 event_base_del_virtual_(bev->ev_base); in connect_complete()
611 event_base_get_iocp_(bev->ev_base) && in bufferevent_async_can_connect_()
651 event_base_add_virtual_(bev->ev_base); in bufferevent_async_connect_()
658 event_base_del_virtual_(bev->ev_base); in bufferevent_async_connect_()
678 if (!(iocp = event_base_get_iocp_(bev->ev_base))) in be_async_ctrl()
Devent.c2033 EVBASE_ACQUIRE_LOCK(eonce->ev.ev_base, th_base_lock); in event_once_cb()
2035 EVBASE_RELEASE_LOCK(eonce->ev.ev_base, th_base_lock); in event_once_cb()
2124 ev->ev_base = base; in event_assign()
2172 ev->ev_base = base; in event_base_set()
2264 struct event_base *base = ev->ev_base; in event_finalize_impl_()
2362 if (pri < 0 || pri >= ev->ev_base->nactivequeues) in event_priority_set()
2379 if (EVUTIL_FAILURE_CHECK(ev->ev_base == NULL)) { in event_pending()
2384 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_pending()
2401 evutil_timeradd(&ev->ev_base->tv_clock_diff, &tmp, tv); in event_pending()
2404 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_pending()
[all …]
Dbufferevent_sock.c366 event_assign(&bufev->ev_read, bufev->ev_base, fd, in bufferevent_socket_new()
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()
632 event_assign(&bufev->ev_read, bufev->ev_base, fd, in be_socket_setfd()
634 event_assign(&bufev->ev_write, bufev->ev_base, fd, in be_socket_setfd()
679 bufev->ev_base = base; in bufferevent_base_set()
Dbufferevent.c234 (bevp)->bev.ev_base, \
327 bufev->ev_base = base; in bufferevent_init_common_()
438 return bufev->ev_base; in bufferevent_get_base()
447 return event_base_get_npriorities(bufev->ev_base) / 2; in bufferevent_get_priority()
737 event_callback_finalize_many_(bufev->ev_base, n_cbs, cbs, in bufferevent_decref_and_unlock_()
963 event_assign(&bev->ev_read, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
965 event_assign(&bev->ev_write, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
Dbufferevent_ratelim.c119 event_base_gettimeofday_cached(bev->bev.ev_base, &now); in bufferevent_update_buckets()
407 event_base_gettimeofday_cached(bev->bev.ev_base, &now); in bev_refill_callback_()
586 event_base_gettimeofday_cached(bev->ev_base, &now); in bufferevent_set_rate_limit()
611 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_set_rate_limit()
749 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_add_to_rate_limit_group()
Dbufferevent_openssl.c1002 event_assign(&bev->ev_read, bev->ev_base, fd, in set_open_callbacks()
1005 event_assign(&bev->ev_write, bev->ev_base, fd, in set_open_callbacks()
1107 event_assign(&bev->ev_read, bev->ev_base, fd, in set_handshake_callbacks()
1110 event_assign(&bev->ev_write, bev->ev_base, fd, in set_handshake_callbacks()
Dbufferevent_filter.c192 if (bufferevent_init_common_(&bufev_f->bev, underlying->ev_base, in bufferevent_filter_new()
DChangeLog-2.0581 o Detect events with no ev_base; warn instead of crashing (f1074b7)
/external/mesa3d/src/gallium/frontends/xvmc/tests/
Dtestlib.c61 int ev_base, err_base; in GetPort() local
64 if (!XvMCQueryExtension(display, &ev_base, &err_base)) in GetPort()
/external/libevent/include/event2/
Dbufferevent_struct.h72 struct event_base *ev_base; member
Devent_struct.h133 struct event_base *ev_base; member