Searched refs:be_ops (Results 1 - 16 of 16) sorted by relevance
/freebsd-13-stable/contrib/libevent/include/event2/ |
H A D | bufferevent_struct.h | 75 const struct bufferevent_ops *be_ops; member in struct:bufferevent
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | bufferevent_struct.h | 75 const struct bufferevent_ops *be_ops; member in struct:bufferevent
|
/freebsd-13-stable/contrib/libevent/ |
H A D | bufferevent.c | 73 bufev->be_ops->disable(bufev, EV_READ); 86 bufev->be_ops->enable(bufev, EV_READ); 97 bufev->be_ops->disable(bufev, EV_WRITE); 110 bufev->be_ops->enable(bufev, EV_WRITE); 317 bufev->be_ops = ops; 475 if (impl_events && bufev->be_ops->enable(bufev, impl_events) < 0) 500 if (bufev->be_ops->adj_timeouts) 501 r = bufev->be_ops->adj_timeouts(bufev); 543 if (bufev->be_ops->disable(bufev, event) < 0) 558 if (bufev->be_ops [all...] |
H A D | bufferevent-internal.h | 305 #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)
|
H A D | bufferevent_filter.c | 121 if (bev->be_ops != &bufferevent_ops_filter) 125 EVUTIL_ASSERT(bev_f->bev.bev.be_ops == &bufferevent_ops_filter); 611 bevf->underlying->be_ops && 612 bevf->underlying->be_ops->ctrl) { 613 return (bevf->underlying->be_ops->ctrl)(bevf->underlying, op, data);
|
H A D | bufferevent_pair.c | 59 if (bev->be_ops != &bufferevent_ops_pair) 62 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair);
|
H A D | bufferevent_sock.c | 610 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); 635 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); 665 if (bufev->be_ops != &bufferevent_ops_socket) 688 if (bufev->be_ops != &bufferevent_ops_socket)
|
H A D | bufferevent_openssl.c | 357 if (bev->be_ops != &bufferevent_ops_openssl) 361 EVUTIL_ASSERT(bev_o->bev.bev.be_ops == &bufferevent_ops_openssl);
|
H A D | bufferevent_async.c | 107 if (bev->be_ops != &bufferevent_ops_async)
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/ |
H A D | bufferevent.c | 74 bufev->be_ops->disable(bufev, EV_READ); 87 bufev->be_ops->enable(bufev, EV_READ); 98 bufev->be_ops->disable(bufev, EV_WRITE); 111 bufev->be_ops->enable(bufev, EV_WRITE); 318 bufev->be_ops = ops; 476 if (impl_events && bufev->be_ops->enable(bufev, impl_events) < 0) 501 if (bufev->be_ops->adj_timeouts) 502 r = bufev->be_ops->adj_timeouts(bufev); 544 if (bufev->be_ops->disable(bufev, event) < 0) 559 if (bufev->be_ops [all...] |
H A D | bufferevent-internal.h | 280 #define BEV_IS_SOCKET(bevp) ((bevp)->be_ops == &bufferevent_ops_socket) 281 #define BEV_IS_FILTER(bevp) ((bevp)->be_ops == &bufferevent_ops_filter) 282 #define BEV_IS_PAIR(bevp) ((bevp)->be_ops == &bufferevent_ops_pair) 286 #define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async)
|
H A D | bufferevent_pair.c | 59 if (bev->be_ops != &bufferevent_ops_pair) 62 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair);
|
H A D | bufferevent_sock.c | 587 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); 630 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); 655 if (bufev->be_ops != &bufferevent_ops_socket) 678 if (bufev->be_ops != &bufferevent_ops_socket)
|
H A D | bufferevent_filter.c | 116 if (bev->be_ops != &bufferevent_ops_filter) 120 EVUTIL_ASSERT(bev_f->bev.bev.be_ops == &bufferevent_ops_filter);
|
H A D | bufferevent_async.c | 107 if (bev->be_ops != &bufferevent_ops_async)
|
H A D | bufferevent_openssl.c | 359 if (bev->be_ops != &bufferevent_ops_openssl) 363 EVUTIL_ASSERT(bev_o->bev.bev.be_ops == &bufferevent_ops_openssl);
|
Completed in 195 milliseconds