/external/libevent/include/event2/ |
D | http.h | 100 int evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port); 114 …socket *evhttp_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t port); 248 void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods); 523 …*base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address, ev_uint16_t port); 644 const char *address, ev_uint16_t port); 729 ev_uint16_t port); 763 char **address, ev_uint16_t *port);
|
D | util.h | 155 #define ev_uint16_t uint16_t macro 158 #define ev_uint16_t unsigned short 161 #define ev_uint16_t unsigned int 164 #define ev_uint16_t unsigned short 167 #define ev_uint16_t ... 248 #define EV_UINT16_MAX ((ev_uint16_t)0xffffUL)
|
D | http_compat.h | 61 struct evhttp *evhttp_start(const char *address, ev_uint16_t port); 71 const char *address, ev_uint16_t port);
|
D | http_struct.h | 86 ev_uint16_t remote_port;
|
D | dns.h | 555 void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void));
|
/external/libevent/test/ |
D | regress_rpc.c | 77 http_setup(ev_uint16_t *pport) in http_setup() 80 ev_uint16_t port; in http_setup() 138 rpc_setup(struct evhttp **phttp, ev_uint16_t *pport, struct evrpc_base **pbase) in rpc_setup() 140 ev_uint16_t port; in rpc_setup() 187 ev_uint16_t port; in rpc_basic_test() 256 ev_uint16_t port; in rpc_basic_message() 309 rpc_pool_with_connection(ev_uint16_t port) in rpc_pool_with_connection() 448 ev_uint16_t port; in rpc_basic_client() 534 ev_uint16_t port; in rpc_basic_queued_client() 634 ev_uint16_t port; in rpc_basic_client_with_pause() [all …]
|
D | regress_testutils.h | 42 ev_uint16_t *portnum, 55 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
|
D | regress_http.c | 90 http_bind(struct evhttp *myhttp, ev_uint16_t *pport, int mask) in http_bind() 111 *pport = (ev_uint16_t) port; in http_bind() 131 http_setup(ev_uint16_t *pport, struct event_base *base, int mask) in http_setup() 168 http_connect(const char *address, ev_uint16_t port) in http_connect() 462 ev_uint16_t port = 0, port2 = 0; in http_basic_test_impl() 646 ev_uint16_t port=0, port2=0; in http_bad_request_test() 767 ev_uint16_t port = 0; in http_delete_test() 851 ev_uint16_t port = 0; in http_on_complete_test() 912 ev_uint16_t port = 0; in http_allowed_methods_test() 1018 ev_uint16_t port = 0; in http_connection_test_() [all …]
|
D | regress_testutils.c | 94 ev_uint16_t *portnum, in regress_get_dnsserver() 217 regress_dnsserver(struct event_base *base, ev_uint16_t *port, in regress_dnsserver()
|
D | regress_dns.c | 538 ev_uint16_t portnum = 0; in dns_search_test_impl() 659 ev_uint16_t portnum = 0; in dns_search_cancel_test() 735 ev_uint16_t portnum = 0; in dns_retry_test_impl() 834 ev_uint16_t portnum1 = 0, portnum2=0; in dns_reissue_test_impl() 909 ev_uint16_t portnum = 0; in dns_inflight_test_impl() 973 ev_uint16_t portnum = 0; in dns_disable_when_inactive_no_ns_test() 1204 ev_uint16_t dns_port=0; in test_bufferevent_connect_hostname() 1359 ev_uint16_t dns_port = 0; in test_getaddrinfo_async() 2038 ev_uint16_t portnum = 0; in dns_client_fail_requests_test() 2083 ev_uint16_t portnum = 0; in dns_client_fail_requests_getaddrinfo_test()
|
D | bench_http.c | 93 ev_uint16_t port = 8080; in main()
|
D | regress_util.c | 694 ev_uint16_t u16; in test_evutil_integers()
|
/external/libevent/ |
D | http-internal.h | 65 ev_uint16_t bind_port; /* local port for binding the src */ 68 ev_uint16_t port; 165 ev_uint16_t allowed_methods;
|
D | evmap.c | 60 ev_uint16_t nread; 61 ev_uint16_t nwrite; 62 ev_uint16_t nclose; 336 ctx->nread = (ev_uint16_t) nread; in evmap_io_add_() 337 ctx->nwrite = (ev_uint16_t) nwrite; in evmap_io_add_() 338 ctx->nclose = (ev_uint16_t) nclose; in evmap_io_add_()
|
D | ipv6-internal.h | 67 ev_uint16_t sin6_port;
|
D | http.c | 174 static evutil_socket_t bind_socket(const char *, ev_uint16_t, int reuse); 1275 ev_uint16_t port) in evhttp_connection_set_local_port() 2332 evhttp_connection_new(const char *address, ev_uint16_t port) in evhttp_connection_new() 2339 const char *address, ev_uint16_t port) in evhttp_connection_base_bufferevent_new() 2415 const char *address, ev_uint16_t port) in evhttp_connection_base_new() 2510 char **address, ev_uint16_t *port) in evhttp_connection_get_peer() 3492 evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port) in evhttp_bind_socket() 3502 evhttp_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t port) in evhttp_bind_socket_with_handle() 3655 evhttp_start(const char *address, ev_uint16_t port) in evhttp_start() 3848 evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods) in evhttp_set_allowed_methods() [all …]
|
D | evutil.c | 1887 ev_uint16_t words[8]; in evutil_inet_ntop() 1890 (((ev_uint16_t)addr->s6_addr[2*i])<<8) + addr->s6_addr[2*i+1]; in evutil_inet_ntop() 1979 ev_uint16_t words[8]; in evutil_inet_pton() 2025 words[i++] = (ev_uint16_t)r; in evutil_inet_pton() 2054 sizeof(ev_uint16_t)*nToMove); in evutil_inet_pton() 2055 memset(&words[gapPos], 0, sizeof(ev_uint16_t)*gapLen); in evutil_inet_pton()
|
D | bufferevent-internal.h | 77 typedef ev_uint16_t bufferevent_suspend_flags;
|
D | evdns.c | 136 #define u16 ev_uint16_t 1307 evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void)) in evdns_set_transaction_id_fn() 2590 sockaddr_setport(struct sockaddr *sa, ev_uint16_t port) in sockaddr_setport() 2599 static ev_uint16_t 4241 ev_uint16_t port; 4589 const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, in evdns_getaddrinfo_fromhosts() 4695 data->port = (ev_uint16_t)port; in evdns_getaddrinfo()
|
D | ChangeLog | 65 o use ev_uint16_t instead of unsigned short for port (e983712 Thomas Bernard)
|
/external/libevent/sample/ |
D | http-server.c | 336 ev_uint16_t port = 0; in main()
|