Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_bufferevent.c552 bev1 = bufferevent_socket_new(NULL, pair[0], 0); in test_bufferevent_filters_impl()
553 bev2 = bufferevent_socket_new(NULL, pair[1], 0); in test_bufferevent_filters_impl()
635 bev = bufferevent_socket_new(base, fd, bufferevent_connect_test_flags); in listen_cb()
762 bev1 = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_connect()
763 bev2 = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_connect()
805 bev = bufferevent_socket_new(data->base, -1, flags); in test_bufferevent_connect_fail_eventcb()
875 bev = bufferevent_socket_new(data->base, -1, in test_bufferevent_connect_fail()
966 bev1 = bufferevent_socket_new(data->base, data->pair[0], 0); in test_bufferevent_timeouts()
967 bev2 = bufferevent_socket_new(data->base, data->pair[1], 0); in test_bufferevent_timeouts()
1156 bev = bufferevent_socket_new(data->base, -1, be_flags); in test_bufferevent_trigger()
[all …]
Dtest-fdleak.c109 struct bufferevent *bev = bufferevent_socket_new(base, sock, in listener_accept_cb()
207 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()
Dregress_http.c434 bev = bufferevent_socket_new(base, fd, flags); in create_bev()
440 bufferevent_socket_new(base, fd, flags); in create_bev()
661 bev = bufferevent_socket_new(data->base, fd, 0); in http_bad_request_test()
692 bev = bufferevent_socket_new(data->base, fd, 0); in http_bad_request_test()
778 bev = bufferevent_socket_new(data->base, fd, 0); in http_delete_test()
861 bev = bufferevent_socket_new(data->base, fd, 0); in http_on_complete_test()
925 bev1 = bufferevent_socket_new(data->base, fd1, 0); in http_allowed_methods_test()
943 bev2 = bufferevent_socket_new(data->base, fd2, 0); in http_allowed_methods_test()
961 bev3 = bufferevent_socket_new(data->base, fd3, 0); in http_allowed_methods_test()
1749 bev = bufferevent_socket_new(data->base, fd, 0); in http_virtual_host_test()
[all …]
Dtest-ratelim.c181 bev = bufferevent_socket_new(base, newsock, flags); in echo_listenercb()
347 bevs[i] = bufferevent_socket_new(base, -1, in test_ratelimiting()
Dbench_httpclient.c165 b = bufferevent_socket_new(base, sock, BEV_OPT_CLOSE_ON_FREE); in launch_request()
Dregress_ssl.c438 bev_ll[0] = bufferevent_socket_new(data->base, data->pair[0], in regress_bufferevent_openssl()
440 bev_ll[1] = bufferevent_socket_new(data->base, data->pair[1], in regress_bufferevent_openssl()
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()
/external/libevent/sample/
Dle-proxy.c164 b_in = bufferevent_socket_new(base, fd, in accept_cb()
168 b_out = bufferevent_socket_new(base, -1, in accept_cb()
Dhello-world.c95 bev = bufferevent_socket_new(base, fd, BEV_OPT_CLOSE_ON_FREE); in listener_cb()
Dhttps-client.c395 bev = bufferevent_socket_new(base, -1, BEV_OPT_CLOSE_ON_FREE); in main()
/external/libevent/
Dbufferevent_sock.c343 bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, in bufferevent_socket_new() function
566 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.c2365 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…