Searched refs:bev_p (Results 1 – 5 of 5) sorted by relevance
/external/libevent/ |
D | bufferevent_pair.c | 58 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_p->bev.bev.be_ops == &bufferevent_ops_pair); 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 …]
|
D | bufferevent_sock.c | 102 struct bufferevent_private *bev_p = in bufferevent_socket_get_conn_address_() local 105 return (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_get_conn_address_() 108 bufferevent_socket_set_conn_address_fd(struct bufferevent_private *bev_p, int fd) in bufferevent_socket_set_conn_address_fd() argument 110 socklen_t len = sizeof(bev_p->conn_address); in bufferevent_socket_set_conn_address_fd() 112 struct sockaddr *addr = (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_set_conn_address_fd() 117 bufferevent_socket_set_conn_address(struct bufferevent_private *bev_p, in bufferevent_socket_set_conn_address() argument 120 EVUTIL_ASSERT(addrlen <= sizeof(bev_p->conn_address)); in bufferevent_socket_set_conn_address() 121 memcpy(&bev_p->conn_address, addr, addrlen); in bufferevent_socket_set_conn_address() 466 struct bufferevent_private *bev_p = in bufferevent_connect_getaddrinfo_cb() local 474 bev_p->dns_request = NULL; in bufferevent_connect_getaddrinfo_cb() [all …]
|
D | bufferevent.c | 874 struct bufferevent_private *bev_p = in bufferevent_get_options_() local 879 options = bev_p->options; in bufferevent_get_options_() 951 struct bufferevent_private *bev_p = in bufferevent_generic_adj_timeouts_() local 954 if ((enabled & EV_READ) && !bev_p->read_suspended && in bufferevent_generic_adj_timeouts_() 960 if ((enabled & EV_WRITE) && !bev_p->write_suspended && in bufferevent_generic_adj_timeouts_()
|
D | bufferevent_openssl.c | 1343 struct bufferevent_private *bev_p = NULL; in bufferevent_openssl_new_impl() local 1352 bev_p = &bev_ssl->bev; in bufferevent_openssl_new_impl() 1354 if (bufferevent_init_common_(bev_p, base, in bufferevent_openssl_new_impl() 1365 bev_ssl->outbuf_cb = evbuffer_add_cb(bev_p->bev.output, in bufferevent_openssl_new_impl()
|
D | bufferevent_async.c | 374 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct() local 385 (bev_p->options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_destruct()
|