/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 …]
|
/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/openssh/ |
D | auth-rhosts.c | 55 check_rhosts_file(const char *filename, const char *hostname, in check_rhosts_file() argument 149 if (!innetgr(host + 1, hostname, NULL, NULL) && in check_rhosts_file() 152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) in check_rhosts_file() 189 const char *hostname, *ipaddr; in auth_rhosts() local 191 hostname = get_canonical_hostname(options.use_dns); in auth_rhosts() 193 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts() 197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, in auth_rhosts2_raw() argument 206 client_user, hostname, ipaddr); in auth_rhosts2_raw() 234 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw() 237 hostname, ipaddr); in auth_rhosts2_raw() [all …]
|
D | dns.c | 145 is_numeric_hostname(const char *hostname) in is_numeric_hostname() argument 153 if (hostname == NULL) { in is_numeric_hostname() 162 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) { in is_numeric_hostname() 175 verify_host_key_dns(const char *hostname, struct sockaddr *address, in verify_host_key_dns() argument 198 if (is_numeric_hostname(hostname)) { in verify_host_key_dns() 204 result = getrrsetbyname(hostname, DNS_RDATACLASS_IN, in verify_host_key_dns() 284 export_dns_rr(const char *hostname, Key *key, FILE *f, int generic) in export_dns_rr() argument 298 fprintf(f, "%s IN TYPE%d \\# %d %02x %02x ", hostname, in export_dns_rr() 302 fprintf(f, "%s IN SSHFP %d %d ", hostname, in export_dns_rr()
|
D | sshlogin.c | 78 strlcpy(buf, li.hostname, bufsize); in get_last_login_time() 90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; in store_lastlog_message() local 103 last_login_time = get_last_login_time(uid, user, hostname, in store_lastlog_message() 104 sizeof(hostname)); in store_lastlog_message() 109 if (strcmp(hostname, "") == 0) in store_lastlog_message() 114 time_string, hostname); in store_lastlog_message()
|
/external/chromium_org/net/quic/crypto/ |
D | proof_test.cc | 36 const string hostname = "test.example.com"; in TEST() 42 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */, in TEST() 44 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */, in TEST() 53 rv = verifier->VerifyProof(hostname, server_config, *certs, signature, in TEST() 68 rv = verifier->VerifyProof(hostname, server_config.substr(1, string::npos), in TEST() 76 rv = verifier->VerifyProof(hostname, server_config, *certs, in TEST() 126 const std::string& hostname, in RunVerification() argument 139 hostname, server_config, certs, proof, &error_details, &details, in RunVerification() 252 const string hostname = "test.example.com"; in TEST() local 273 verifier.get(), hostname, server_config, certs, signature, true); in TEST() [all …]
|
/external/dhcpcd/dhcpcd-hooks/ |
D | 30-hostname | 1 # Set the hostname from DHCP data if required 5 local hostname="" 9 *) hostname="$(hostname)";; 11 case "$hostname" in 25 hostname "$new_host_name" 27 hostname "$new_fqdn_name"
|
/external/chromium_org/content/test/net/ |
D | url_request_failed_job.cc | 36 const std::string& hostname, in GetMockUrl() argument 40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); in GetMockUrl() 65 const std::string& hostname) { in AddUrlHandlerForHostname() argument 68 filter->AddHostnameHandler("http", hostname, URLRequestFailedJob::Factory); in AddUrlHandlerForHostname() 69 filter->AddHostnameHandler("https", hostname, URLRequestFailedJob::Factory); in AddUrlHandlerForHostname() 84 int net_error, const std::string& hostname) { in GetMockHttpUrlForHostname() argument 85 return GetMockUrl("http", hostname, net_error); in GetMockHttpUrlForHostname() 90 int net_error, const std::string& hostname) { in GetMockHttpsUrlForHostname() argument 91 return GetMockUrl("https", hostname, net_error); in GetMockHttpsUrlForHostname()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | socketaddress.cc | 64 SocketAddress::SocketAddress(const std::string& hostname, int port) { in SocketAddress() argument 65 SetIP(hostname); in SocketAddress() 104 void SocketAddress::SetIP(const std::string& hostname) { in SetIP() argument 105 hostname_ = hostname; in SetIP() 106 ip_ = StringToIP(hostname); in SetIP() 316 bool SocketAddress::StringToIP(const std::string& hostname, uint32* ip) { in StringToIP() argument 318 if (inet_aton(hostname.c_str(), &addr) == 0) in StringToIP() 324 uint32 SocketAddress::StringToIP(const std::string& hostname) { in StringToIP() argument 326 StringToIP(hostname, &ip); in StringToIP() 331 char hostname[256]; in GetHostname() local [all …]
|
/external/chromium/net/base/ |
D | host_cache.h | 42 Key(const std::string& hostname, AddressFamily address_family, in Key() 44 : hostname(hostname), in Key() 54 other.hostname == hostname); 65 return hostname < other.hostname; 68 std::string hostname; member
|
D | cert_verifier.h | 102 const std::string& hostname, 133 hostname == other.hostname); 146 return hostname < other.hostname; 150 std::string hostname; member 155 const std::string& hostname, 196 const std::string& hostname,
|
D | host_resolver_impl_unittest.cc | 48 const std::string& hostname, in CreateResolverRequest() argument 50 HostResolver::RequestInfo info(HostPortPair(hostname, 80)); in CreateResolverRequest() 57 const std::string& hostname, in CreateResolverRequestForAddressFamily() argument 60 HostResolver::RequestInfo info(HostPortPair(hostname, 80)); in CreateResolverRequestForAddressFamily() 72 CaptureEntry(const std::string& hostname, AddressFamily address_family) in CaptureEntry() 73 : hostname(hostname), address_family(address_family) {} in CaptureEntry() 74 std::string hostname; member 88 virtual int Resolve(const std::string& hostname, in Resolve() argument 96 capture_list_.push_back(CaptureEntry(hostname, address_family)); in Resolve() 98 return ResolveUsingPrevious(hostname, address_family, in Resolve() [all …]
|
/external/chromium_org/net/cert/ |
D | mock_cert_verifier.cc | 18 const std::string& hostname, in Rule() 22 hostname(hostname), in Rule() 30 std::string hostname; member 40 const std::string& hostname, in Verify() argument 52 if (!MatchPattern(hostname, it->hostname)) in Verify()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | socketaddress_unittest.cc | 57 EXPECT_EQ("", addr.hostname()); in TEST() 65 EXPECT_EQ("", addr.hostname()); in TEST() 74 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST() 85 EXPECT_EQ(kTestV6AddrString, addr2.hostname()); in TEST() 95 EXPECT_EQ("255.255.255.255", addr.hostname()); in TEST() 104 EXPECT_EQ("a.b.com", addr.hostname()); in TEST() 114 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST() 125 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST() 136 EXPECT_EQ("", addr.hostname()); in TEST() 147 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST() [all …]
|
/external/chromium_org/chrome/browser/net/ |
D | predictor_browsertest.cc | 46 bool HasHostBeenRequested(const std::string& hostname) { in HasHostBeenRequested() argument 50 hostname) != requested_hostnames_.end(); in HasHostBeenRequested() 53 void WaitUntilHostHasBeenRequested(const std::string& hostname) { in WaitUntilHostHasBeenRequested() argument 56 if (HasHostBeenRequested(hostname)) in WaitUntilHostHasBeenRequested() 58 waiting_for_hostname_ = hostname; in WaitUntilHostHasBeenRequested() 66 void AddToHistory(const std::string& hostname) { in AddToHistory() argument 68 requested_hostnames_.push_back(hostname); in AddToHistory() 69 if (is_waiting_for_hostname_ && waiting_for_hostname_ == hostname) { in AddToHistory() 150 void WaitUntilHostHasBeenRequested(const std::string& hostname) { in WaitUntilHostHasBeenRequested() argument 151 host_resolution_request_recorder_->WaitUntilHostHasBeenRequested(hostname); in WaitUntilHostHasBeenRequested()
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
D | KnownHosts.java | 159 public static String createHashedHostname(String hostname) in createHashedHostname() argument 167 byte[] hash = hmacSha1Hash(salt, hostname); in createHashedHostname() 175 private static byte[] hmacSha1Hash(byte[] salt, String hostname) in hmacSha1Hash() argument 186 hmac.update(StringEncoder.GetBytes(hostname)); in hmacSha1Hash() 195 private boolean checkHashed(String entry, String hostname) in checkHashed() argument 232 byte[] dig = hmacSha1Hash(salt, hostname); in checkHashed() 271 private List<Object> getAllKeys(String hostname) in getAllKeys() argument 279 if (hostnameMatches(ke.patterns, hostname) == false) in getAllKeys() 303 public String[] getPreferredServerHostkeyAlgorithmOrder(String hostname) in getPreferredServerHostkeyAlgorithmOrder() argument 305 String[] algos = recommendHostkeyAlgorithms(hostname); in getPreferredServerHostkeyAlgorithmOrder() [all …]
|
/external/chromium_org/net/dns/ |
D | host_resolver_impl_unittest.cc | 55 ResolveKey(const std::string& hostname, AddressFamily address_family) in ResolveKey() 56 : hostname(hostname), address_family(address_family) {} in ResolveKey() 59 (address_family == other.address_family && hostname < other.hostname); in operator <() 61 std::string hostname; member 102 void AddRule(const std::string& hostname, AddressFamily family, in AddRule() argument 105 rules_[ResolveKey(hostname, family)] = result; in AddRule() 108 void AddRule(const std::string& hostname, AddressFamily family, in AddRule() argument 113 AddRule(hostname, family, result); in AddRule() 116 void AddRuleForAllFamilies(const std::string& hostname, in AddRuleForAllFamilies() argument 121 AddRule(hostname, ADDRESS_FAMILY_UNSPECIFIED, result); in AddRuleForAllFamilies() [all …]
|
D | host_cache.h | 42 Key(const std::string& hostname, AddressFamily address_family, in NON_EXPORTED_BASE() 44 : hostname(hostname), in NON_EXPORTED_BASE() 56 return hostname < other.hostname; in NON_EXPORTED_BASE() 59 std::string hostname; in NON_EXPORTED_BASE() member
|
/external/chromium_org/net/quic/test_tools/ |
D | crypto_test_utils_nss.cc | 34 virtual bool Sign(const string& hostname, in Sign() argument 38 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); in Sign() 87 virtual string GetKeyForHostname(const string& hostname) OVERRIDE { in GetKeyForHostname() argument 88 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); in GetKeyForHostname() 98 crypto::ECPrivateKey* HostnameToKey(const string& hostname) { in HostnameToKey() argument 99 HostnameToKeyMap::const_iterator it = hostname_to_key_.find(hostname); in HostnameToKey() 108 hostname_to_key_[hostname] = keypair; in HostnameToKey()
|
/external/chromium_org/webkit/common/database/ |
D | database_identifier.cc | 86 std::string hostname(identifier.data() + first_underscore + 1, in Parse() local 88 GURL url(scheme + "://" + hostname + "/"); in Parse() 91 hostname = ""; in Parse() 94 if (!url.is_valid() || url.scheme() != scheme || url.host() != hostname) in Parse() 97 return DatabaseIdentifier(scheme, hostname, port, false /* unique */, false); in Parse() 107 const std::string& hostname, in DatabaseIdentifier() argument 112 hostname_(StringToLowerASCII(hostname)), in DatabaseIdentifier()
|
/external/chromium_org/net/url_request/ |
D | url_request_filter.cc | 57 const std::string& hostname, URLRequest::ProtocolFactory* factory) { in AddHostnameHandler() argument 59 scheme, hostname, in AddHostnameHandler() 66 const std::string& hostname, in AddHostnameProtocolHandler() argument 68 DCHECK_EQ(0u, hostname_handler_map_.count(make_pair(scheme, hostname))); in AddHostnameProtocolHandler() 69 hostname_handler_map_[make_pair(scheme, hostname)] = in AddHostnameProtocolHandler() 90 const std::string& hostname) { in RemoveHostnameHandler() argument 92 hostname_handler_map_.find(make_pair(scheme, hostname)); in RemoveHostnameHandler() 171 const std::string& hostname = request->url().host(); in FindRequestHandler() local 174 hostname_handler_map_.find(make_pair(scheme, hostname)); in FindRequestHandler()
|
/external/chromium/net/socket/ |
D | dns_cert_provenance_checker.cc | 67 bool HaveUploadedForHostname(const std::string& hostname) { in HaveUploadedForHostname() argument 68 return uploaded_hostnames_.count(hostname) > 0; in HaveUploadedForHostname() 71 void DidUpload(const std::string& hostname) { in DidUpload() argument 72 uploaded_hostnames_.insert(hostname); in DidUpload() 91 const std::string& hostname, in DnsCertProvenanceCheck() argument 95 : hostname_(hostname), in DnsCertProvenanceCheck() 228 const std::string& hostname, in DoAsyncLookup() argument 233 hostname, dnsrr_resolver, delegate, der_certs); in DoAsyncLookup() 239 const std::string& hostname, in BuildEncryptedReport() argument 252 p.WriteString(hostname); in BuildEncryptedReport() [all …]
|
D | dns_cert_provenance_checker.h | 26 const std::string& hostname, 37 const std::string& hostname, 46 const std::string& hostname, 56 const std::string& hostname,
|
/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 …]
|
/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 …]
|