Home
last modified time | relevance | path

Searched refs:bufferevent_socket_new (Results 1 – 15 of 15) sorted by relevance

/external/libevent/test/
Dregress_bufferevent.c565 bev1 = bufferevent_socket_new(NULL, pair[0], 0); in test_bufferevent_filters_impl()
566 bev2 = bufferevent_socket_new(NULL, pair[1], 0); in test_bufferevent_filters_impl()
648 bev = bufferevent_socket_new(base, fd, bufferevent_connect_test_flags); in listen_cb()
775 bev1 = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_connect()
776 bev2 = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_connect()
831 bev = bufferevent_socket_new(data->base, -1, flags); in test_bufferevent_connect_fail_eventcb()
903 bev = bufferevent_socket_new(data->base, -1, in test_bufferevent_connect_fail()
999 bev1 = bufferevent_socket_new(data->base, data->pair[0], 0); in test_bufferevent_timeouts()
1000 bev2 = bufferevent_socket_new(data->base, data->pair[1], 0); in test_bufferevent_timeouts()
1183 bev = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_trigger()
[all …]
Dtest-fdleak.c112 struct bufferevent *bev = bufferevent_socket_new(base, sock, in listener_accept_cb()
210 struct bufferevent *bev = bufferevent_socket_new(base, -1, in start_client()
Dregress_zlib.c296 bev1 = bufferevent_socket_new(NULL, pair[0], 0); in test_bufferevent_zlib()
297 bev2 = bufferevent_socket_new(NULL, pair[1], 0); in test_bufferevent_zlib()
Dbench_httpclient.c165 b = bufferevent_socket_new(base, sock, BEV_OPT_CLOSE_ON_FREE); in launch_request()
Dregress_http.c470 bev = bufferevent_socket_new(base, fd, flags); in create_bev()
476 bufferevent_socket_new(base, fd, flags); in create_bev()
706 bev = bufferevent_socket_new(data->base, fd, 0); in http_bad_request_test()
738 bev = bufferevent_socket_new(data->base, fd, 0); in http_bad_request_test()
824 bev = bufferevent_socket_new(data->base, fd, 0); in http_delete_test()
907 bev = bufferevent_socket_new(data->base, fd, 0); in http_on_complete_test()
971 bev1 = bufferevent_socket_new(data->base, fd1, 0); in http_allowed_methods_test()
989 bev2 = bufferevent_socket_new(data->base, fd2, 0); in http_allowed_methods_test()
1007 bev3 = bufferevent_socket_new(data->base, fd3, 0); in http_allowed_methods_test()
1793 bev = bufferevent_socket_new(data->base, fd, 0); in http_virtual_host_test()
[all …]
Dtest-ratelim.c197 bev = bufferevent_socket_new(base, newsock, flags); in echo_listenercb()
432 bevs[i] = bufferevent_socket_new(base, -1, in test_ratelimiting()
Dregress_ssl.c494 bev_ll[0] = bufferevent_socket_new(data->base, data->pair[0], in regress_bufferevent_openssl()
496 bev_ll[1] = bufferevent_socket_new(data->base, data->pair[1], in regress_bufferevent_openssl()
947 bev = bufferevent_socket_new(data->base, -1, client.flags); in regress_bufferevent_openssl_wm()
Dregress_dns.c1313 be[i] = bufferevent_socket_new(data->base, -1, BEV_OPT_CLOSE_ON_FREE); in test_bufferevent_connect_hostname()
/external/libevent/sample/
Dle-proxy.c165 b_in = bufferevent_socket_new(base, fd, in accept_cb()
169 b_out = bufferevent_socket_new(base, -1, in accept_cb()
Dhello-world.c94 bev = bufferevent_socket_new(base, fd, BEV_OPT_CLOSE_ON_FREE); in listener_cb()
Dhttps-client.c433 bev = bufferevent_socket_new(base, -1, BEV_OPT_CLOSE_ON_FREE); in main()
/external/libevent/
Dbufferevent_sock.c344 bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, in bufferevent_socket_new() function
558 if (!(bufev = bufferevent_socket_new(NULL, fd, 0))) in bufferevent_new()
Dwhatsnew-2.0.txt460 5.2. bufferevent_socket_new() replaces bufferevent_new()
463 bufferevent_new() is now deprecated. Use bufferevent_socket_new()
Dhttp.c2406 if (!(bev = bufferevent_socket_new(base, -1, 0))) { in evhttp_connection_base_bufferevent_new()
/external/libevent/include/event2/
Dbufferevent.h190 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options…