Home
last modified time | relevance | path

Searched refs:BEV_OPT_CLOSE_ON_FREE (Results 1 – 18 of 18) sorted by relevance

/external/libevent/sample/
Dle-proxy.c165 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in accept_cb()
169 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in accept_cb()
174 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in accept_cb()
192 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in accept_cb()
Dhttps-client.c395 bev = bufferevent_socket_new(base, -1, BEV_OPT_CLOSE_ON_FREE); in main()
400 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in main()
Dhello-world.c95 bev = bufferevent_socket_new(base, fd, BEV_OPT_CLOSE_ON_FREE); in listener_cb()
/external/libevent/test/
Dregress_ssl.c432 flags |= BEV_OPT_CLOSE_ON_FREE; in regress_bufferevent_openssl()
439 BEV_OPT_CLOSE_ON_FREE); in regress_bufferevent_openssl()
441 BEV_OPT_CLOSE_ON_FREE); in regress_bufferevent_openssl()
460 flags |= BEV_OPT_CLOSE_ON_FREE; in regress_bufferevent_openssl()
537 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in acceptcb()
703 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS); in regress_bufferevent_openssl_connect()
Dtest-fdleak.c110 BEV_OPT_CLOSE_ON_FREE); in listener_accept_cb()
208 BEV_OPT_CLOSE_ON_FREE); in start_client()
Dregress_bufferevent.c562 BEV_OPT_CLOSE_ON_FREE, NULL, in test_bufferevent_filters_impl()
566 NULL, BEV_OPT_CLOSE_ON_FREE, NULL, NULL); in test_bufferevent_filters_impl()
723 int be_flags=BEV_OPT_CLOSE_ON_FREE; in test_bufferevent_connect()
794 int flags = BEV_OPT_CLOSE_ON_FREE | (long)data->setup_data; in test_bufferevent_connect_fail_eventcb()
876 BEV_OPT_CLOSE_ON_FREE | BEV_OPT_DEFER_CALLBACKS); in test_bufferevent_connect_fail()
976 BEV_OPT_CLOSE_ON_FREE, NULL, NULL); in test_bufferevent_timeouts()
978 BEV_OPT_CLOSE_ON_FREE, NULL, NULL); in test_bufferevent_timeouts()
1125 int be_flags=BEV_OPT_CLOSE_ON_FREE; in test_bufferevent_trigger()
1286 int options = BEV_OPT_CLOSE_ON_FREE | BEV_OPT_DEFER_CALLBACKS; in test_bufferevent_filter_data_stuck()
Dregress_zlib.c308 BEV_OPT_CLOSE_ON_FREE, zlib_deflate_free, z_output); in test_bufferevent_zlib()
310 NULL, BEV_OPT_CLOSE_ON_FREE, zlib_inflate_free, z_input); in test_bufferevent_zlib()
Dtest-ratelim.c178 int flags = BEV_OPT_CLOSE_ON_FREE|BEV_OPT_THREADSAFE; in echo_listenercb()
348 BEV_OPT_CLOSE_ON_FREE|BEV_OPT_THREADSAFE); in test_ratelimiting()
Dbench_httpclient.c165 b = bufferevent_socket_new(base, sock, BEV_OPT_CLOSE_ON_FREE); in launch_request()
Dregress_dns.c1236 be1 = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
1237 be2 = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
1238 be3 = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
1239 be4 = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
1240 be5 = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
Dregress_http.c127 BEV_OPT_CLOSE_ON_FREE); in https_bev()
/external/libevent/
Dbufferevent_async.c385 (bev_p->options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_destruct()
673 (bev_a->bev.options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_ctrl()
Dbufferevent_filter.c234 if (bevf->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_filter_unlink()
Dbufferevent_openssl.c1201 if (bev_ssl->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_openssl_unlink()
1229 if (bev_ssl->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_openssl_destruct()
Dbufferevent_sock.c614 if ((bufev_p->options & BEV_OPT_CLOSE_ON_FREE) && fd >= 0) in be_socket_destruct()
Dhttp.c1243 if (!(bufferevent_get_options_(evcon->bufev) & BEV_OPT_CLOSE_ON_FREE)) { in evhttp_connection_free()
DChangeLog469 o Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
681 BEV_OPT_CLOSE_ON_FREE. (31db8a0 Maxime Henrion)
/external/libevent/include/event2/
Dbufferevent.h160 BEV_OPT_CLOSE_ON_FREE = (1<<0), enumerator