Home
last modified time | relevance | path

Searched refs:evutil_closesocket (Results 1 – 23 of 23) sorted by relevance

/external/libevent/test/
Dbench_cascade.c129 evutil_closesocket(cp[0]); in run_once()
130 evutil_closesocket(cp[1]); in run_once()
Dregress_testutils.c115 evutil_closesocket(sock); in regress_get_dnsserver()
137 evutil_closesocket(dns_sock); in regress_clean_dnsserver()
Dbench_httpclient.c149 evutil_closesocket(sock); in launch_request()
156 evutil_closesocket(sock); in launch_request()
Dregress_zlib.c345 evutil_closesocket(pair[0]); in test_bufferevent_zlib()
347 evutil_closesocket(pair[1]); in test_bufferevent_zlib()
Dtest-weof.c73 evutil_closesocket(pair[0]); in write_cb()
Dregress_main.c332 evutil_closesocket(data->pair[0]); in basic_test_cleanup()
334 evutil_closesocket(data->pair[1]); in basic_test_cleanup()
Dregress_listener.c64 evutil_closesocket(fd); in acceptcb()
196 evutil_closesocket(fd); in acceptcb_free()
Dregress_http.c724 evutil_closesocket(fd); in http_bad_request_test()
764 evutil_closesocket(fd); in http_bad_request_test()
839 evutil_closesocket(fd); in http_delete_test()
847 evutil_closesocket(fd); in http_delete_test()
928 evutil_closesocket(fd); in http_on_complete_test()
1048 evutil_closesocket(fd1); in http_allowed_methods_test()
1050 evutil_closesocket(fd2); in http_allowed_methods_test()
1052 evutil_closesocket(fd3); in http_allowed_methods_test()
1811 evutil_closesocket(fd); in http_virtual_host_test()
2261 evutil_closesocket(fd); in http_failure_test()
[all …]
Dregress.c372 evutil_closesocket(*fds[0]); in simpleclose_close_fd_cb()
373 evutil_closesocket(*fds[1]); in simpleclose_close_fd_cb()
455 evutil_closesocket(pair1[0]); in test_simpleclose_rw()
457 evutil_closesocket(pair1[1]); in test_simpleclose_rw()
459 evutil_closesocket(pair2[0]); in test_simpleclose_rw()
461 evutil_closesocket(pair2[1]); in test_simpleclose_rw()
498 tt_assert(!evutil_closesocket(pair[1])); in test_simpleclose()
1024 evutil_closesocket(child_pair[0]); in test_fork()
1026 evutil_closesocket(child_pair[1]); in test_fork()
3138 evutil_closesocket(sock[i]); in test_many_events()
Dregress_bufferevent.c808 evutil_closesocket(*fdp); in close_socket_cb()
864 evutil_closesocket(fake_listener); in test_bufferevent_connect_fail_eventcb()
926 evutil_closesocket(fake_listener); in test_bufferevent_connect_fail()
Dregress_dns.c464 evutil_closesocket(sock); in dns_server()
2115 evutil_closesocket(fd); in test_getaddrinfo_async_cancel_stress()
Dregress_util.c702 evutil_closesocket(fd); in test_evutil_log()
Dregress_buffer.c1300 evutil_closesocket(pair[0]); in test_evbuffer_add_file()
1302 evutil_closesocket(pair[1]); in test_evbuffer_add_file()
/external/libevent/
Devutil.c294 evutil_closesocket(listener); in evutil_ersatz_socketpair_()
306 evutil_closesocket(listener); in evutil_ersatz_socketpair_()
308 evutil_closesocket(connector); in evutil_ersatz_socketpair_()
310 evutil_closesocket(acceptor); in evutil_ersatz_socketpair_()
454 evutil_closesocket(evutil_socket_t sock) in evutil_closesocket() function
569 evutil_closesocket(*fd_ptr); in evutil_socket_connect_()
805 evutil_closesocket(fd); in evutil_check_interfaces()
815 evutil_closesocket(fd); in evutil_check_interfaces()
2611 evutil_closesocket(r); in evutil_socket_()
2617 evutil_closesocket(r); in evutil_socket_()
[all …]
Dlistener.c265 evutil_closesocket(fd); in evconnlistener_new_bind()
288 evutil_closesocket(event_get_fd(&lev_e->listener)); in event_listener_destroy()
411 evutil_closesocket(new_fd); in listener_read_cb()
416 evutil_closesocket(new_fd); in listener_read_cb()
760 evutil_closesocket(lev_iocp->fd); in iocp_listener_disable_impl()
Dsignal.c439 evutil_closesocket(base->sig.ev_signal_pair[0]); in evsig_dealloc_()
443 evutil_closesocket(base->sig.ev_signal_pair[1]); in evsig_dealloc_()
Dbufferevent_sock.c450 evutil_closesocket(fd); in bufferevent_socket_connect()
Dbufferevent_async.c408 evutil_closesocket(fd); in be_async_destruct()
Dhttp.c1266 evutil_closesocket(evcon->fd); in evhttp_connection_free()
1359 evutil_closesocket(evcon->fd); in evhttp_connection_reset_()
3571 evutil_closesocket(fd); in evhttp_bind_socket_with_handle()
4330 evutil_closesocket(fd); in evhttp_get_request()
4424 evutil_closesocket(fd); in create_bind_socket_nonblock()
Devdns.c2142 evutil_closesocket(port->socket); in server_port_free()
2435 evutil_closesocket(server->socket); in evdns_base_clear_nameservers_and_suspend()
2591 evutil_closesocket(ns->socket); in evdns_nameserver_add_impl_()
4088 evutil_closesocket(server->socket); in evdns_nameserver_free()
Dbufferevent_openssl.c1240 evutil_closesocket(fd); in be_openssl_destruct()
DChangeLog920 o Use evutil_closesocket instead. (dbf2b51 Joakim Soderberg)
/external/libevent/include/event2/
Dutil.h455 int evutil_closesocket(evutil_socket_t sock);
456 #define EVUTIL_CLOSESOCKET(s) evutil_closesocket(s)