Home
last modified time | relevance | path

Searched refs:ev_uint16_t (Results 1 – 21 of 21) sorted by relevance

/external/libevent/include/event2/
Dhttp.h100 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);
Dutil.h155 #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)
Dhttp_compat.h61 struct evhttp *evhttp_start(const char *address, ev_uint16_t port);
71 const char *address, ev_uint16_t port);
Dhttp_struct.h86 ev_uint16_t remote_port;
Ddns.h555 void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void));
/external/libevent/test/
Dregress_rpc.c77 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 …]
Dregress_testutils.h42 ev_uint16_t *portnum,
55 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
Dregress_http.c90 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 …]
Dregress_testutils.c94 ev_uint16_t *portnum, in regress_get_dnsserver()
217 regress_dnsserver(struct event_base *base, ev_uint16_t *port, in regress_dnsserver()
Dregress_dns.c538 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()
Dbench_http.c93 ev_uint16_t port = 8080; in main()
Dregress_util.c694 ev_uint16_t u16; in test_evutil_integers()
/external/libevent/
Dhttp-internal.h65 ev_uint16_t bind_port; /* local port for binding the src */
68 ev_uint16_t port;
165 ev_uint16_t allowed_methods;
Devmap.c60 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_()
Dipv6-internal.h67 ev_uint16_t sin6_port;
Dhttp.c174 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 …]
Devutil.c1887 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()
Dbufferevent-internal.h77 typedef ev_uint16_t bufferevent_suspend_flags;
Devdns.c136 #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()
DChangeLog65 o use ev_uint16_t instead of unsigned short for port (e983712 Thomas Bernard)
/external/libevent/sample/
Dhttp-server.c336 ev_uint16_t port = 0; in main()