Home
last modified time | relevance | path

Searched refs:bev_p (Results 1 – 5 of 5) sorted by relevance

/external/libevent/
Dbufferevent_pair.c58 struct bufferevent_pair *bev_p; in upcast() local
61 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev); in upcast()
62 EVUTIL_ASSERT(BEV_IS_PAIR(&bev_p->bev.bev)); in upcast()
63 return bev_p; in upcast()
227 struct bufferevent_pair *bev_p = upcast(bufev); in be_pair_enable() local
228 struct bufferevent_pair *partner = bev_p->partner; in be_pair_enable()
240 be_pair_wants_to_talk(partner, bev_p)) { in be_pair_enable()
245 be_pair_wants_to_talk(bev_p, partner)) { in be_pair_enable()
267 struct bufferevent_pair *bev_p = upcast(bev); in be_pair_unlink() local
269 if (bev_p->partner) { in be_pair_unlink()
[all …]
Dbufferevent_sock.c102 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_conn_address_() local
103 return (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_get_conn_address_()
110 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_fd_() local
112 socklen_t len = sizeof(bev_p->conn_address); in bufferevent_socket_set_conn_address_fd_()
114 struct sockaddr *addr = (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_set_conn_address_fd_()
123 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_() local
124 EVUTIL_ASSERT(addrlen <= sizeof(bev_p->conn_address)); in bufferevent_socket_set_conn_address_()
125 memcpy(&bev_p->conn_address, addr, addrlen); in bufferevent_socket_set_conn_address_()
461 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_connect_getaddrinfo_cb() local
468 bev_p->dns_request = NULL; in bufferevent_connect_getaddrinfo_cb()
[all …]
Dbufferevent.c897 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_get_options_() local
901 options = bev_p->options; in bufferevent_get_options_()
973 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_generic_adj_timeouts_() local
975 if ((enabled & EV_READ) && !bev_p->read_suspended && in bufferevent_generic_adj_timeouts_()
981 if ((enabled & EV_WRITE) && !bev_p->write_suspended && in bufferevent_generic_adj_timeouts_()
Dbufferevent_openssl.c1351 struct bufferevent_private *bev_p = NULL; in bufferevent_openssl_new_impl() local
1361 bev_p = &bev_ssl->bev; in bufferevent_openssl_new_impl()
1363 if (bufferevent_init_common_(bev_p, base, in bufferevent_openssl_new_impl()
1374 bev_ssl->outbuf_cb = evbuffer_add_cb(bev_p->bev.output, in bufferevent_openssl_new_impl()
Dbufferevent_async.c396 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct() local
407 (bev_p->options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_destruct()