Home
last modified time | relevance | path

Searched refs:be_ops (Results 1 – 8 of 8) sorted by relevance

/external/libevent/
Dbufferevent.c73 bufev->be_ops->disable(bufev, EV_READ); in bufferevent_suspend_read_()
86 bufev->be_ops->enable(bufev, EV_READ); in bufferevent_unsuspend_read_()
97 bufev->be_ops->disable(bufev, EV_WRITE); in bufferevent_suspend_write_()
110 bufev->be_ops->enable(bufev, EV_WRITE); in bufferevent_unsuspend_write_()
317 bufev->be_ops = ops; in bufferevent_init_common_()
475 if (impl_events && bufev->be_ops->enable(bufev, impl_events) < 0) in bufferevent_enable()
500 if (bufev->be_ops->adj_timeouts) in bufferevent_set_timeouts()
501 r = bufev->be_ops->adj_timeouts(bufev); in bufferevent_set_timeouts()
543 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable_hard_()
558 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable()
[all …]
Dbufferevent-internal.h305 #define BEV_IS_SOCKET(bevp) ((bevp)->be_ops == &bufferevent_ops_socket)
306 #define BEV_IS_FILTER(bevp) ((bevp)->be_ops == &bufferevent_ops_filter)
307 #define BEV_IS_PAIR(bevp) ((bevp)->be_ops == &bufferevent_ops_pair)
311 #define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async)
Dbufferevent_filter.c121 if (bev->be_ops != &bufferevent_ops_filter) in upcast()
125 EVUTIL_ASSERT(bev_f->bev.bev.be_ops == &bufferevent_ops_filter); in upcast()
611 bevf->underlying->be_ops && in be_filter_ctrl()
612 bevf->underlying->be_ops->ctrl) { in be_filter_ctrl()
613 return (bevf->underlying->be_ops->ctrl)(bevf->underlying, op, data); in be_filter_ctrl()
Dbufferevent_sock.c610 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); in be_socket_destruct()
635 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); in be_socket_setfd()
665 if (bufev->be_ops != &bufferevent_ops_socket) in bufferevent_priority_set()
688 if (bufev->be_ops != &bufferevent_ops_socket) in bufferevent_base_set()
Dbufferevent_pair.c59 if (bev->be_ops != &bufferevent_ops_pair) in upcast()
62 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair); in upcast()
Dbufferevent_openssl.c357 if (bev->be_ops != &bufferevent_ops_openssl) in upcast()
361 EVUTIL_ASSERT(bev_o->bev.bev.be_ops == &bufferevent_ops_openssl); in upcast()
Dbufferevent_async.c107 if (bev->be_ops != &bufferevent_ops_async) in upcast()
/external/libevent/include/event2/
Dbufferevent_struct.h75 const struct bufferevent_ops *be_ops; member