Searched refs:BEV_OPT_CLOSE_ON_FREE (Results 1 – 18 of 18) sorted by relevance
/external/libevent/sample/ |
D | le-proxy.c | 165 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()
|
D | https-client.c | 395 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()
|
D | hello-world.c | 95 bev = bufferevent_socket_new(base, fd, BEV_OPT_CLOSE_ON_FREE); in listener_cb()
|
/external/libevent/test/ |
D | regress_ssl.c | 432 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()
|
D | test-fdleak.c | 110 BEV_OPT_CLOSE_ON_FREE); in listener_accept_cb() 208 BEV_OPT_CLOSE_ON_FREE); in start_client()
|
D | regress_bufferevent.c | 562 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()
|
D | regress_zlib.c | 308 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()
|
D | test-ratelim.c | 178 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()
|
D | bench_httpclient.c | 165 b = bufferevent_socket_new(base, sock, BEV_OPT_CLOSE_ON_FREE); in launch_request()
|
D | regress_dns.c | 1236 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()
|
D | regress_http.c | 127 BEV_OPT_CLOSE_ON_FREE); in https_bev()
|
/external/libevent/ |
D | bufferevent_async.c | 385 (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()
|
D | bufferevent_filter.c | 234 if (bevf->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_filter_unlink()
|
D | bufferevent_openssl.c | 1201 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()
|
D | bufferevent_sock.c | 614 if ((bufev_p->options & BEV_OPT_CLOSE_ON_FREE) && fd >= 0) in be_socket_destruct()
|
D | http.c | 1243 if (!(bufferevent_get_options_(evcon->bufev) & BEV_OPT_CLOSE_ON_FREE)) { in evhttp_connection_free()
|
D | ChangeLog | 469 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/ |
D | bufferevent.h | 160 BEV_OPT_CLOSE_ON_FREE = (1<<0), enumerator
|