/external/curl/lib/ |
hostasyn.c | 65 * in the DNS cache. 67 * The storage operation locks and unlocks the DNS cache. 73 struct Curl_dns_entry *dns = NULL; local 85 dns = Curl_cache_addr(data, ai, 88 if(!dns) { 102 conn->async.dns = dns; 124 if(conn->async.dns) { 125 conn->dns_entry = conn->async.dns; 126 conn->async.dns = NULL [all...] |
socks.c | 154 /* DNS resolve only for SOCKS4, not SOCKS4a */ 156 struct Curl_dns_entry *dns; local 160 rc = Curl_resolv(conn, hostname, remote_port, &dns); 166 /* ignores the return code, but 'dns' remains NULL on failure */ 167 (void)Curl_resolver_wait_resolv(conn, &dns); 173 if(dns) 174 hp=dns->addr; 196 Curl_resolv_unlock(data, dns); /* not used anymore from now on */ 589 struct Curl_dns_entry *dns; local 591 int rc = Curl_resolv(conn, hostname, remote_port, &dns); [all...] |
hostip.c | 109 /* These two symbols are for the global DNS cache */ 116 * Curl_global_host_cache_init() initializes and sets up a global DNS cache. 117 * Global DNS cache is general badness. Do not use. This will be removed in 135 * Destroy and cleanup the global DNS cache 196 * the DNS caching. 220 * This function is set as a callback to be called for every entry in the DNS 238 * Prune the DNS cache. This assumes that a lock has already been taken. 254 * Library-wide function for pruning the DNS cache. This function takes and 261 if((data->set.dns_cache_timeout == -1) || !data->dns.hostcache) 272 hostcache_prune(data->dns.hostcache 294 struct Curl_dns_entry *dns = NULL; local 349 struct Curl_dns_entry *dns = NULL; local 382 struct Curl_dns_entry *dns; local 449 struct Curl_dns_entry *dns = NULL; local 738 struct Curl_dns_entry *dns = (struct Curl_dns_entry *) freethis; local 819 struct Curl_dns_entry *dns; local [all...] |
multi.c | 260 * (as that is what the DNS hash uses) but with 7000 connections that would 399 (data->dns.hostcachetype != HCACHE_GLOBAL)) { 400 /* global dns cache was requested but still isn't */ 404 data->dns.hostcache = global; 405 data->dns.hostcachetype = HCACHE_GLOBAL; 408 /* for multi interface connections, we share DNS cache automatically if the 410 else if(!data->dns.hostcache || 411 (data->dns.hostcachetype == HCACHE_NONE)) { 412 data->dns.hostcache = &multi->hostcache; 413 data->dns.hostcachetype = HCACHE_MULTI 1476 struct Curl_dns_entry *dns = NULL; local [all...] |
/prebuilts/jdk/jdk8/darwin-x86/jre/lib/ext/ |
dnsns.jar | |
/prebuilts/jdk/jdk8/linux-x86/jre/lib/ext/ |
dnsns.jar | |
/cts/tests/tests/selinux/selinuxTargetSdk2/src/android/selinuxtargetsdk2/cts/ |
SELinuxTargetSdk2Test.java | 61 * Verify that net.dns properties may not be read 67 String dns = getProperty(dnsProps[i]); local 68 assertEquals("DNS properties may not be readable by apps past " + 69 "targetSdkVersion 26", dns, "");
|
/external/libvncserver/webclients/novnc/include/chrome-app/ |
tcp-client.js | 23 var dns = chrome.experimental.dns; variable 60 dns.resolve(this.host, function(result) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
AddressTest.java | 29 private Dns dns = Dns.SYSTEM; field in class:AddressTest 37 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null, 39 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null, 46 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null, 48 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null,
|
/system/netd/tests/benchmarks/ |
dns_benchmark.cpp | 29 * The control case. Switches all kinds of DNS events reporting off and runs getaddrinfo() in a 36 * DNS Logging Lite? includes staple favourites such as event type (getaddrinfo/gethostbyname), 47 * DNS Logging, in full HD, includes extra non-metrics fields such as hostname, a truncated 53 * - real_time: the average time taken to make a single getaddrinfo lookup on a local DNS resolver 55 * block on DNS lookups and Binder connections. 85 DnsResponderClient dns; member in class:DnsFixture 92 dns.SetUp(); 96 dns.SetupMappings(num_hosts, domains, &mappings); 98 dns.SetupDNSServers(MAXNS, mappings, &mDns, &servers); 101 dns.SetResolversForNetwork(servers, domains, mDefaultParams_Binder) [all...] |
/external/jmdns/src/javax/jmdns/ |
JmmDNS.java | 16 * Java Multihomed Multicast DNS 86 JmmDNS dns = null; local 89 dns = delegate.newJmmDNS(); 91 return (dns != null ? dns : new JmmDNSImpl()); 95 * Return the instance of the Multihommed Multicast DNS. 148 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS. 162 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS. 178 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS. 194 * Get service information. If the information is not cached, the method will block until updated information is received on all DNS [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Address.java | 40 final Dns dns; field in class:Address 51 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, 61 if (dns == null) throw new IllegalArgumentException("dns == null"); 62 this.dns = dns; 115 public Dns getDns() { 116 return dns; [all...] |
OkHttpClient.java | 140 private Dns dns; field in class:OkHttpClient 171 this.dns = okHttpClient.dns; 308 * Sets the DNS service used to lookup IP addresses for hostnames. 310 * <p>If unset, the {@link Dns#SYSTEM system-wide default} DNS will be used. 312 public OkHttpClient setDns(Dns dns) { 313 this.dns = dns [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RouteSelectorTest.java | 72 private final FakeDns dns = new FakeDns(); field in class:RouteSelectorTest 86 dns.addresses(makeFakeAddresses(255, 1)); 87 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); 88 dns.assertRequests(uriHost); 103 dns.addresses(makeFakeAddresses(255, 1)); 107 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); 117 Address address = new Address(uriHost, uriPort, dns, socketFactory, null, null, null, 122 dns.addresses(makeFakeAddresses(255, 2)); 123 assertRoute(routeSelector.next(), address, proxyA, dns.address(0), proxyAPort); 124 assertRoute(routeSelector.next(), address, proxyA, dns.address(1), proxyAPort) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSRecord.java | 28 * DNS record 77 abstract boolean handleQuery(JmDNSImpl dns, long expirationTime); 84 abstract boolean handleResponse(JmDNSImpl dns); 89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException; 330 boolean handleQuery(JmDNSImpl dns, long expirationTime) { 331 if (dns.getLocalHost().conflictWithRecord(this)) { 332 DNSRecord.Address localAddress = dns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this.isUnique(), DNSConstants.DNS_TTL); 346 if (dns.isProbing() && comparison > 0) { 348 dns.getLocalHost().incrementHostName(); 349 dns.getCache().clear() [all...] |
/external/syslinux/gpxe/src/config/ |
config.c | 147 REQUIRE_OBJECT ( dns ); variable
|
/external/syslinux/gpxe/src/include/gpxe/ |
dns.h | 6 * DNS protocol 47 * DNS protocol structures 65 struct dns_header dns; member in struct:dns_query
|
/external/syslinux/gpxe/src/net/udp/ |
dns.c | 38 #include <gpxe/dns.h> 42 * DNS protocol 46 FEATURE ( FEATURE_PROTOCOL, "DNS", DHCP_EB_FEATURE_DNS, 1 ); 48 /** The DNS server */ 56 /** A DNS request */ 82 * Mark DNS request as complete 84 * @v dns DNS request 87 static void dns_done ( struct dns_request *dns, int rc ) { 90 stop_timer ( &dns->timer ) 312 struct dns_request *dns = local 332 struct dns_request *dns = local 452 struct dns_request *dns = local 481 struct dns_request *dns; local [all...] |
/external/syslinux/gpxe/src/arch/i386/include/gpxe/ |
ibft.h | 173 /** Primary and secondary DNS servers */ 174 struct ibft_ipaddr dns[2]; member in struct:ibft_nic
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
PKIXNameConstraintValidator.java | 268 temp += "DNS:\n"; 294 temp += "DNS:\n"; 315 private void checkPermittedDN(X500Name dns) 318 checkPermittedDN(permittedSubtreesDN, ASN1Sequence.getInstance(dns.toASN1Primitive())); 321 private void checkExcludedDN(X500Name dns) 324 checkExcludedDN(excludedSubtreesDN, ASN1Sequence.getInstance(dns)); 328 ASN1Sequence dns, 336 if (subtree.size() > dns.size()) 343 if (!subtree.getObjectAt(j).equals(dns.getObjectAt(j))) 352 private void checkPermittedDN(Set permitted, ASN1Sequence dns) 1302 String dns = extractNameAsString(((GeneralSubtree)it.next()) local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidator.java | 47 ASN1Sequence dns, 55 if (subtree.size() > dns.size()) 62 if (!subtree.getObjectAt(j).equals(dns.getObjectAt(j))) 71 public void checkPermittedDN(ASN1Sequence dns) 74 checkPermittedDN(permittedSubtreesDN, dns); 77 public void checkExcludedDN(ASN1Sequence dns) 80 checkExcludedDN(excludedSubtreesDN, dns); 83 private void checkPermittedDN(Set permitted, ASN1Sequence dns) 91 if (permitted.isEmpty() && dns.size() == 0) 101 if (withinDNSubtree(dns, subtree) 1039 String dns = extractNameAsString(((GeneralSubtree)it.next()) local [all...] |
/external/webrtc/webrtc/base/ |
win32socketserver.cc | 329 LOG_F(LS_INFO) << "async dns lookup (" << addr.hostname() << ")"; 330 DnsLookup * dns = new DnsLookup; local 337 dns->handle = WSAAsyncGetHostByName(sink_->handle(), WM_DNSNOTIFY, 338 addr.hostname().c_str(), dns->buffer, 339 sizeof(dns->buffer)); 341 if (!dns->handle) { 343 delete dns; 349 dns->port = addr.port(); 350 dns_ = dns;
|
/external/wpa_supplicant_8/src/tls/ |
x509v3.h | 41 char *dns; /* dNSName */ member in struct:x509_name
|
/frameworks/base/tests/net/java/android/net/ip/ |
IpManagerTest.java | 202 notProvisionedCase(links(), routes(), dns(), null), 203 notProvisionedCase(links(), routes(), dns(), empty), 206 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty), 211 routes(), dns(), empty), 214 routes("fe80::/64", "fd2c:4e57:8e3c::/64"), dns("fd00:1234:5678::1000"), empty), 218 dns("2001:db8:dead:beef:f00::02"), empty), 224 dns(), 270 for (InetAddress dns : lpDns) { 271 testcase.lp.addDnsServer(dns); 281 links("192.0.2.12/24"), prefixes("192.0.2.0/24"), dns("192.0.2.2")) 399 static Set<InetAddress> dns(String... addresses) { method in class:IpManagerTest [all...] |
/system/netd/tests/ |
netd_test.cpp | 139 // If DNS reporting is off: turn it on so we run through everything. 202 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) const { 203 auto queries = dns.queries(); 213 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, 215 auto queries = dns.queries(); 228 std::vector<std::unique_ptr<test::DNSResponder>> dns; local 232 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS, mappings, &dns, &servers)); 266 ASSERT_NO_FATAL_FAILURE(ShutdownDNSServers(&dns)); 280 test::DNSResponder dns(listen_addr, listen_srv, 250, ns_rcode::ns_r_servfail, 1.0); 281 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3") 326 std::vector<std::unique_ptr<test::DNSResponder>> dns; local 674 std::vector<std::unique_ptr<test::DNSResponder>> dns; local [all...] |