/external/nist-sip/java/gov/nist/core/ |
D | Host.java | 74 protected String hostname; field in Host 124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { in encode() 125 buffer.append('[').append(hostname).append(']'); in encode() 127 buffer.append(hostname); in encode() 145 return otherHost.hostname.equals(hostname); in equals() 153 return hostname; in getHostname() 160 return hostname; in getAddress() 170 if (hostname == null) in getIpAddress() 175 inetAddress = InetAddress.getByName(hostname); in getIpAddress() 181 rawIpAddress = hostname; in getIpAddress() [all …]
|
D | HostNameParser.java | 175 String hostname; in host() local 179 hostname = ipv6Reference(); in host() 187 hostname in host() 196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); in host() 199 if (hostname.length() == 0) in host() 204 return new Host(hostname); in host()
|
/external/apache-http/src/org/apache/http/ |
D | HttpHost.java | 56 protected final String hostname; field in HttpHost 80 public HttpHost(final String hostname, int port, final String scheme) { in HttpHost() argument 82 if (hostname == null) { in HttpHost() 85 this.hostname = hostname; in HttpHost() 86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); in HttpHost() 102 public HttpHost(final String hostname, int port) { in HttpHost() argument 103 this(hostname, port, null); in HttpHost() 111 public HttpHost(final String hostname) { in HttpHost() argument 112 this(hostname, -1, null); in HttpHost() 121 this(httphost.hostname, httphost.port, httphost.schemeName); in HttpHost() [all …]
|
/external/bluetooth/glib/tests/ |
D | uri-test.c | 40 char *hostname; member 186 to_uri_tests[i].hostname, in run_to_uri_tests() 233 gchar *hostname; in run_from_uri_tests() local 240 &hostname, in run_from_uri_tests() 291 if (hostname != NULL) in run_from_uri_tests() 294 i, hostname); in run_from_uri_tests() 298 else if (hostname == NULL || in run_from_uri_tests() 299 strcmp (hostname, from_uri_tests[i].expected_hostname) != 0) in run_from_uri_tests() 302 i, from_uri_tests[i].expected_hostname, (hostname) ? hostname : "NULL"); in run_from_uri_tests() 355 gchar *uri, *hostname, *res; in run_roundtrip_tests() local [all …]
|
/external/chromium/net/base/ |
D | host_cache.h | 40 Key(const std::string& hostname, AddressFamily address_family) in Key() 41 : hostname(hostname), address_family(address_family) {} in Key() 44 return other.hostname == hostname && 50 return hostname < other.hostname; 54 std::string hostname; member
|
D | host_resolver_impl_unittest.cc | 49 const std::string& hostname, in CreateResolverRequest() argument 51 HostResolver::RequestInfo info(hostname, 80); in CreateResolverRequest() 109 const std::string& hostname, in ResolveRequest() argument 112 : info_(hostname, port), resolver_(resolver), delegate_(delegate), in ResolveRequest() 135 const std::string& hostname() const { in hostname() function in net::__anonce4c68210111::ResolveRequest 136 return info_.hostname(); in hostname() 387 if (resolve->hostname() == "a") { in OnCompleted() 389 } else if (resolve->hostname() == "b") { in OnCompleted() 392 FAIL() << "Unexpected hostname: " << resolve->hostname(); in OnCompleted() 458 EXPECT_EQ("a", resolve->hostname()); in OnCompleted() [all …]
|
D | cert_verifier.cc | 24 const std::string& hostname, in Request() argument 29 hostname_(hostname), in Request() 128 const std::string& hostname, in Verify() argument 137 int rv = cert->Verify(hostname, flags, &result); in Verify() 142 request_ = new Request(this, cert, hostname, flags, verify_result, callback); in Verify()
|
/external/webkit/WebCore/platform/network/qt/ |
D | DnsPrefetchHelper.h | 38 void lookup(QString hostname) in lookup() argument 40 if (hostname.isEmpty()) in lookup() 45 QTime* entryTime = lookupCache.object(hostname); in lookup() 48 lookupCache.remove(hostname); in lookup() 53 lookupCache.insert(hostname, tmpTime); in lookup() 55 QHostInfo::lookupHost(hostname, this, SLOT(lookedUp(QHostInfo))); in lookup()
|
/external/chromium/net/socket/ |
D | client_socket_factory.cc | 24 const std::string& hostname, in DefaultSSLClientSocketFactory() argument 27 return new SSLClientSocketWin(transport_socket, hostname, ssl_config); in DefaultSSLClientSocketFactory() 29 return new SSLClientSocketNSS(transport_socket, hostname, ssl_config); in DefaultSSLClientSocketFactory() 31 return new SSLClientSocketMac(transport_socket, hostname, ssl_config); in DefaultSSLClientSocketFactory() 50 const std::string& hostname, in CreateSSLClientSocket() argument 52 return g_ssl_factory(transport_socket, hostname, ssl_config); in CreateSSLClientSocket()
|
D | socks5_client_socket_unittest.cc | 36 const std::string& hostname, 71 const std::string& hostname, in BuildMockSocket() argument 84 HostResolver::RequestInfo(hostname, port)); in BuildMockSocket() 157 const std::string hostname = "my-host-name"; in TEST_F() local 166 request.push_back(hostname.size()); in TEST_F() 167 request.append(hostname); in TEST_F() 180 user_sock_.reset(BuildMockSocket(data_reads, data_writes, hostname, 80)); in TEST_F() 211 const std::string hostname = "www.google.com"; in TEST_F() local 235 user_sock_.reset(BuildMockSocket(data_reads, data_writes, hostname, 80)); in TEST_F() 257 user_sock_.reset(BuildMockSocket(data_reads, data_writes, hostname, 80)); in TEST_F() [all …]
|
D | socks_client_socket_unittest.cc | 34 const std::string& hostname, int port); 62 const std::string& hostname, in BuildMockSocket() argument 76 HostResolver::RequestInfo(hostname, port), in BuildMockSocket() 291 const char hostname[] = "unresolved.ipv4.address"; in TEST_F() local 293 host_resolver_->rules()->AddSimulatedFailure(hostname); in TEST_F() 297 request.append(hostname, arraysize(hostname)); in TEST_F() 305 hostname, 80)); in TEST_F() 321 const char hostname[] = "an.ipv6.address"; in TEST_F() local 323 host_resolver_->rules()->AddIPv6Rule(hostname, "2001:db8:8714:3a90::12"); in TEST_F() 327 request.append(hostname, arraysize(hostname)); in TEST_F() [all …]
|
/external/tcpdump/missing/ |
D | getaddrinfo.c | 289 getaddrinfo(hostname, servname, hints, res) in getaddrinfo() argument 290 const char *hostname, *servname; in getaddrinfo() 327 if (hostname == NULL && servname == NULL) 414 if (hostname == NULL) 415 error = explore_null(pai, hostname, servname, &cur->ai_next); 417 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next); 436 if (hostname == NULL) 474 error = explore_fqdn(pai, hostname, servname, 508 explore_fqdn(pai, hostname, servname, res) in explore_fqdn() argument 510 const char *hostname; [all …]
|
/external/dnsmasq/src/ |
D | helper.c | 113 char *p, *action_str, *hostname = NULL; in create_helper() local 255 hostname = (char *)buf; in create_helper() 256 hostname[data.hostname_len - 1] = 0; in create_helper() 257 if (!legal_hostname(hostname)) in create_helper() 258 hostname = NULL; in create_helper() 259 else if ((dot = strchr(hostname, '.'))) in create_helper() 266 if (data.action == ACTION_OLD_HOSTNAME && hostname) in create_helper() 268 my_setenv("DNSMASQ_OLD_HOSTNAME", hostname, &err); in create_helper() 269 hostname = NULL; in create_helper() 282 action_str, daemon->dhcp_buff, inet_ntoa(data.addr), hostname, (char*)NULL); in create_helper() [all …]
|
D | lease.c | 158 lease_set_hostname(lease, config->hostname, 1); in lease_update_from_configs() 203 ourprintf(&err, "%s ", lease->hostname ? lease->hostname : "*"); in lease_update_file() 256 if (!(daemon->options & OPT_DHCP_FQDN) && lease->hostname) in lease_update_dns() 257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires); in lease_update_dns() 274 if (lease->hostname) in lease_prune() 428 free(lease->hostname); in kill_name() 431 lease->old_hostname = lease->hostname; in kill_name() 433 lease->hostname = lease->fqdn = NULL; in kill_name() 441 if (lease->hostname && name && hostname_isequal(lease->hostname, name)) in lease_set_hostname() 447 if (!name && !lease->hostname) in lease_set_hostname() [all …]
|
D | dhcp.c | 666 int hw_type, char *hostname) in find_config() argument 695 if (hostname && context) in find_config() 698 hostname_isequal(config->hostname, hostname) && in find_config() 747 free(config->hostname); in dhcp_read_ethers() 809 if ((config->flags & CONFIG_NAME) && hostname_isequal(config->hostname, host)) in dhcp_read_ethers() 848 config->hostname = host; in dhcp_read_ethers() 906 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname))) in check_dhcp_hosts() 933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs() 936 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) in dhcp_update_configs() 940 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs() [all …]
|
/external/bluetooth/glib/glib/ |
D | gconvert.c | 1552 g_escape_file_uri (const gchar *hostname, in g_escape_file_uri() argument 1576 if (hostname && *hostname != '\0') in g_escape_file_uri() 1578 escaped_hostname = g_escape_uri_string (hostname, UNSAFE_HOST); in g_escape_file_uri() 1691 hostname_validate (const char *hostname) in hostname_validate() argument 1696 p = hostname; in hostname_validate() 1742 gchar **hostname, in g_filename_from_uri() argument 1755 if (hostname) in g_filename_from_uri() 1756 *hostname = NULL; in g_filename_from_uri() 1805 if (hostname) in g_filename_from_uri() 1806 *hostname = unescaped_hostname; in g_filename_from_uri() [all …]
|
/external/dropbear/ |
D | loginrec.c | 236 const char *hostname, const char *line) in login_alloc_entry() argument 241 (void)login_init_entry(newli, pid, username, hostname, line); in login_alloc_entry() 264 const char *hostname, const char *line) in login_init_entry() argument 285 if (hostname) in login_init_entry() 286 strlcpy(li->hostname, hostname, sizeof(li->hostname)); in login_init_entry() 541 strncpy(ut->ut_host, li->hostname, MIN_SIZEOF(ut->ut_host, li->hostname)); in construct_utmp() 621 strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); in construct_utmpx() 643 utx->ut_syslen = MIN(strlen(li->hostname), sizeof(utx->ut_host)); in construct_utmpx() 1042 strlcpy(li->hostname, ut.ut_host, in wtmp_get_entry() 1043 MIN_SIZEOF(li->hostname, ut.ut_host)); in wtmp_get_entry() [all …]
|
D | fake-rfc2553.c | 150 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument 175 if (hostname && inet_aton(hostname, &in) != 0) in getaddrinfo() 183 if (!hostname) { in getaddrinfo() 190 if (inet_aton(hostname, &in)) { in getaddrinfo() 201 hp = gethostbyname(hostname); in getaddrinfo()
|
D | dropbearkey.c | 304 char hostname[100]; local 330 gethostname(hostname, sizeof(hostname)); 331 hostname[sizeof(hostname)-1] = '\0'; 334 typestring, base64key, username, hostname, fp);
|
/external/dhcpcd/dhcpcd-hooks/ |
D | 30-hostname | 1 # Set the hostname from DHCP data if required 5 case "$(hostname)" in 19 hostname "${new_host_name}" 21 hostname "${new_fqdn_name}"
|
/external/webkit/WebCore/platform/network/cf/ |
D | DNSCFNet.cpp | 124 void DNSResolveQueue::resolve(const String& hostname) in resolve() argument 128 RetainPtr<CFStringRef> hostnameCF(AdoptCF, hostname.createCFString()); in resolve() 147 void prefetchDNS(const String& hostname) in prefetchDNS() argument 150 if (hostname.isEmpty()) in prefetchDNS() 152 DNSResolveQueue::shared().add(hostname); in prefetchDNS()
|
/external/chromium/net/url_request/ |
D | url_request_filter.cc | 28 const std::string& hostname, URLRequest::ProtocolFactory* factory) { in AddHostnameHandler() argument 29 hostname_handler_map_[make_pair(scheme, hostname)] = factory; in AddHostnameHandler() 49 const std::string& hostname) { in RemoveHostnameHandler() argument 51 hostname_handler_map_.find(make_pair(scheme, hostname)); in RemoveHostnameHandler() 116 const std::string& hostname = request->url().host(); in FindRequestHandler() local 119 hostname_handler_map_.find(make_pair(scheme, hostname)); in FindRequestHandler()
|
/external/dnsmasq/contrib/port-forward/ |
D | dnsmasq-portforward | 23 hostname=${4} 34 hostname=${DNSMASQ_OLD_HOSTNAME} 42 if [ ${hostname} ]; then 43 ports=$(sed -n -e "/^${hostname}\ .*/ s/^.* //p" ${PORTSFILE})
|
/external/chromium/googleurl/src/ |
D | url_parse.cc | 141 Component* hostname, in ParseServerInfo() argument 145 hostname->reset(); in ParseServerInfo() 173 *hostname = MakeRange(serverinfo.begin, colon); in ParseServerInfo() 174 if (hostname->len == 0) in ParseServerInfo() 175 hostname->reset(); in ParseServerInfo() 179 *hostname = serverinfo; in ParseServerInfo() 193 Component* hostname, in DoParseAuthority() argument 199 hostname->reset(); in DoParseAuthority() 215 hostname, port_num); in DoParseAuthority() 220 ParseServerInfo(spec, auth, hostname, port_num); in DoParseAuthority() [all …]
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
D | dynamic-dnsmasq.pl | 142 my ($user, $pass, $hostname) = @_; 144 $X->put($user, join("\t", ($pass, $hostname))); 150 my ($user, $pass, $hostname) = @_; 161 my $hostname = shift; 165 if ( defined $h{$user} and ($spass eq $pass) and ($shost eq $hostname) ) {
|