Searched refs:dns_base (Results 1 – 10 of 10) sorted by relevance
/external/libevent/test/ |
D | regress_dns.c | 1438 struct evdns_base *dns_base; in test_getaddrinfo_async() local 1443 dns_base = evdns_base_new(data->base, 0); in test_getaddrinfo_async() 1444 tt_assert(dns_base); in test_getaddrinfo_async() 1447 evdns_base_load_hosts(dns_base, NULL); in test_getaddrinfo_async() 1449 tt_assert(! evdns_base_set_option(dns_base, "timeout", "0.3")); in test_getaddrinfo_async() 1450 tt_assert(! evdns_base_set_option(dns_base, "getaddrinfo-allow-skew", "0.2")); in test_getaddrinfo_async() 1460 r = evdns_getaddrinfo(dns_base, "1.2.3.4", "http", in test_getaddrinfo_async() 1477 r = evdns_getaddrinfo(dns_base, "www.google.com", "80", in test_getaddrinfo_async() 1488 r = evdns_getaddrinfo(dns_base, "f::f", "8008", in test_getaddrinfo_async() 1502 r = evdns_getaddrinfo(dns_base, "5.6.7.8", NULL, in test_getaddrinfo_async() [all …]
|
D | regress_http.c | 1193 struct evdns_base *dns_base = NULL; in http_connection_async_test() local 1201 dns_base = evdns_base_new(data->base, 0/* init name servers */); in http_connection_async_test() 1202 tt_assert(dns_base); in http_connection_async_test() 1207 evdns_base_nameserver_ip_add(dns_base, address); in http_connection_async_test() 1211 evcon = evhttp_connection_base_new(data->base, dns_base, "127.0.0.1", port); in http_connection_async_test() 1275 if (dns_base) in http_connection_async_test() 1276 evdns_base_free(dns_base, 0); in http_connection_async_test() 1459 struct evdns_base *dns_base = NULL; in http_cancel_test() local 1476 dns_base = evdns_base_new(data->base, 0/* init name servers */); in http_cancel_test() 1477 tt_assert(dns_base); in http_cancel_test() [all …]
|
/external/libevent/ |
D | http-internal.h | 103 struct evdns_base *dns_base; member
|
D | evdns.c | 4701 evdns_getaddrinfo(struct evdns_base *dns_base, in evdns_getaddrinfo() argument 4714 if (!dns_base) { in evdns_getaddrinfo() 4715 dns_base = current_base; in evdns_getaddrinfo() 4716 if (!dns_base) { in evdns_getaddrinfo() 4754 if (!evdns_getaddrinfo_fromhosts(dns_base, nodename, &hints, port, &res)) { in evdns_getaddrinfo() 4774 data->evdns_base = dns_base; in evdns_getaddrinfo() 4791 EVDNS_LOCK(dns_base); in evdns_getaddrinfo() 4797 data->ipv4_request.r = evdns_base_resolve_ipv4(dns_base, in evdns_getaddrinfo() 4808 data->ipv6_request.r = evdns_base_resolve_ipv6(dns_base, in evdns_getaddrinfo() 4816 evtimer_assign(&data->timeout, dns_base->event_base, in evdns_getaddrinfo() [all …]
|
D | util-internal.h | 427 struct evdns_base *dns_base,
|
D | evutil.c | 1614 struct evdns_base *dns_base, in evutil_getaddrinfo_async_() argument 1619 if (dns_base && evdns_getaddrinfo_impl) { in evutil_getaddrinfo_async_() 1621 dns_base, nodename, servname, hints_in, cb, arg); in evutil_getaddrinfo_async_()
|
D | http.c | 2432 evcon->dns_base = dnsbase; in evhttp_connection_base_bufferevent_new() 2623 evcon->dns_base, evcon->ai_family, address, evcon->port); in evhttp_connection_connect_()
|
D | ChangeLog-2.0 | 1003 o add a test for evhttp_connection_base_new with a dns_base (26714ca)
|
D | ChangeLog | 592 o test/regress_http: initialize "dns_base" to avoid reading trash (9f0bff3 Azat Khuzhin)
|
/external/libevent/include/event2/ |
D | dns.h | 720 struct evdns_base *dns_base,
|