Home
last modified time | relevance | path

Searched refs:ev_socklen_t (Results 1 – 17 of 17) sorted by relevance

/external/libevent/test/
Dregress_testutils.c81 ev_socklen_t socklen = sizeof(ss); in regress_get_socket_port()
227 struct sockaddr *sa, ev_socklen_t *socklen) in regress_get_listener_addr()
Dregress_listener.c80 ev_socklen_t slen1 = sizeof(ss1), slen2 = sizeof(ss2); in regress_pick_a_port()
209 ev_socklen_t slen = sizeof(ss); in regress_listener_close_accepted_fd()
242 ev_socklen_t slen = sizeof(ss); in regress_listener_immediate_close()
Dregress_testutils.h64 struct sockaddr *sa, ev_socklen_t *socklen);
Dregress_bufferevent.c661 ev_socklen_t slen = sizeof(*localhost); in fake_listener_create()
734 ev_socklen_t slen; in test_bufferevent_connect()
823 ev_socklen_t slen = sizeof(localhost); in test_bufferevent_connect_fail_eventcb()
896 ev_socklen_t slen = sizeof(localhost); in test_bufferevent_connect_fail()
1150 ev_socklen_t slen; in test_bufferevent_trigger()
Dtest-fdleak.c125 ev_socklen_t socklen = sizeof(ss); in start_loop()
Dregress_ssl.c737 ev_socklen_t slen; in regress_bufferevent_openssl_connect()
894 ev_socklen_t slen; in regress_bufferevent_openssl_wm()
Dtest-ratelim.c329 ev_socklen_t slen; in test_ratelimiting()
Dregress_dns.c381 ev_socklen_t slen; in dns_server()
2070 ev_socklen_t slen; in test_getaddrinfo_async_cancel_stress()
/external/libevent/include/event2/
Ddns.h378 const struct sockaddr *sa, ev_socklen_t len, unsigned flags);
745 struct sockaddr *sa, ev_socklen_t len);
Dutil.h290 #define ev_socklen_t int macro
292 #define ev_socklen_t EVENT__socklen_t
294 #define ev_socklen_t socklen_t
/external/libevent/
Dutil-internal.h309 ev_socklen_t *socklen, int port);
416 ev_socklen_t socklen, const struct evutil_addrinfo *hints);
506 ev_socklen_t *addrlen, int flags);
Devutil.c232 ev_socklen_t size; in evutil_ersatz_socketpair_()
373 (ev_socklen_t)sizeof(one)); in evutil_make_listen_socket_reuseable()
387 (ev_socklen_t)sizeof(one)); in evutil_make_listen_socket_reuseable_port()
399 (ev_socklen_t)sizeof(one)); in evutil_make_listen_socket_ipv6only()
413 (ev_socklen_t)sizeof(one)); in evutil_make_tcp_listen_socket_deferred()
583 ev_socklen_t elen = sizeof(e); in evutil_socket_finished_connecting_()
763 ev_socklen_t sin_out_len = sizeof(sin_out); in evutil_check_interfaces()
764 ev_socklen_t sin6_out_len = sizeof(sin6_out); in evutil_check_interfaces()
832 evutil_new_addrinfo_(struct sockaddr *sa, ev_socklen_t socklen, in evutil_new_addrinfo_()
2634 ev_socklen_t *addrlen, int flags) in evutil_accept4_()
Devdns.c221 ev_socklen_t addrlen;
286 ev_socklen_t addrlen; /* length of addr */
346 ev_socklen_t global_outgoing_addrlen;
1233 …8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, ev_socklen_t addrlen) in request_parse()
1388 ev_socklen_t addrlen = sizeof(ss); in nameserver_read()
1426 ev_socklen_t addrlen; in server_port_read()
1455 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in server_port_flush()
2018 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in evdns_server_request_respond()
2677 const struct sockaddr *sa, ev_socklen_t len, unsigned flags) in evdns_base_nameserver_sockaddr_add()
2689 struct sockaddr *sa, ev_socklen_t len) in evdns_base_get_nameserver_addr()
Dhttp.c182 static void name_from_addr(struct sockaddr *, ev_socklen_t, char **, char **);
198 static void evhttp_get_request(struct evhttp *, evutil_socket_t, struct sockaddr *, ev_socklen_t);
1576 ev_socklen_t errsz = sizeof(error); in evhttp_connection_cb()
4226 evutil_socket_t fd, struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request_connection()
4322 struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request()
4356 name_from_addr(struct sockaddr *sa, ev_socklen_t salen, in name_from_addr()
4415 r = bind(fd, ai->ai_addr, (ev_socklen_t)ai->ai_addrlen); in create_bind_socket_nonblock()
Dlistener.c404 ev_socklen_t socklen = sizeof(ss); in listener_read_cb()
DChangeLog-2.01029 o Expose an ev_socklen_t type for consistent use across platforms.
/external/libevent/sample/
Dhttp-server.c399 ev_socklen_t socklen = sizeof(ss); in display_listen_sock()