Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/external/lldb/test/pexpect-2.4/examples/
Dhive.py159 hostname = hcd['hostname']
168 username = raw_input('%s username: ' % hostname)
174 password = getpass.getpass('%s password: ' % hostname)
175 host_names.append(hostname)
176 hive_connect_info[hostname] = (hostname, username, password, port)
178 for hostname in host_names:
179 print 'connecting to', hostname
181 fout = file("log_"+hostname, "w")
182 hive[hostname] = pxssh.pxssh()
183 hive[hostname].login(*hive_connect_info[hostname])
[all …]
/external/nist-sip/java/gov/nist/core/
DHost.java74 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/
DHttpHost.java56 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/chromium_org/net/quic/crypto/
Dproof_test.cc59 const string& hostname, in RunVerification() argument
74 hostname, server_config, certs, proof, verify_context.get(), in RunVerification()
117 const string hostname = "test.example.com"; in TEST() local
122 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */, in TEST()
124 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */, in TEST()
132 verifier.get(), hostname, server_config, *certs, signature, true); in TEST()
143 verifier.get(), hostname, server_config, *certs, corrupt_signature, in TEST()
237 const string hostname = "test.example.com"; in TEST() local
257 verifier.get(), hostname, server_config, certs, signature, true); in TEST()
261 verifier.get(), hostname, server_config.substr(1, string::npos), in TEST()
[all …]
/external/dhcpcd/dhcpcd-hooks/
D30-hostname1 # 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/
Durl_request_failed_job.cc36 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()
Durl_request_prepackaged_interceptor.cc47 Delegate(const std::string& scheme, const std::string& hostname) in Delegate() argument
48 : scheme_(scheme), hostname_(hostname), hit_count_(0) {} in Delegate()
59 const std::string& hostname) { in Unregister() argument
61 hostname); in Unregister()
139 const std::string& hostname) in URLRequestPrepackagedInterceptor() argument
141 hostname_(hostname), in URLRequestPrepackagedInterceptor()
142 delegate_(new Delegate(scheme, hostname)) { in URLRequestPrepackagedInterceptor()
/external/chromium_org/net/cert/
Dmock_cert_verifier.cc18 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/webrtc/base/
Dsocketaddress_unittest.cc40 EXPECT_EQ("", addr.hostname()); in TEST()
48 EXPECT_EQ("", addr.hostname()); in TEST()
57 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST()
68 EXPECT_EQ(kTestV6AddrString, addr2.hostname()); in TEST()
78 EXPECT_EQ("255.255.255.255", addr.hostname()); in TEST()
87 EXPECT_EQ("a.b.com", addr.hostname()); in TEST()
97 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST()
108 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST()
119 EXPECT_EQ("", addr.hostname()); in TEST()
130 EXPECT_EQ("1.2.3.4", addr.hostname()); in TEST()
[all …]
Dsocketaddress.cc45 SocketAddress::SocketAddress(const std::string& hostname, int port) { in SocketAddress() argument
46 SetIP(hostname); in SocketAddress()
103 void SocketAddress::SetIP(const std::string& hostname) { in SetIP() argument
104 hostname_ = hostname; in SetIP()
105 literal_ = IPFromString(hostname, &ip_); in SetIP()
321 bool SocketAddress::StringToIP(const std::string& hostname, uint32* ip) { in StringToIP() argument
323 if (rtc::inet_pton(AF_INET, hostname.c_str(), &addr) == 0) in StringToIP()
329 bool SocketAddress::StringToIP(const std::string& hostname, IPAddress* ip) { in StringToIP() argument
331 if (rtc::inet_pton(AF_INET, hostname.c_str(), &addr4) > 0) { in StringToIP()
339 if (rtc::inet_pton(AF_INET6, hostname.c_str(), &addr6) > 0) { in StringToIP()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocketaddress_unittest.cc57 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 …]
Dsocketaddress.cc62 SocketAddress::SocketAddress(const std::string& hostname, int port) { in SocketAddress() argument
63 SetIP(hostname); in SocketAddress()
120 void SocketAddress::SetIP(const std::string& hostname) { in SetIP() argument
121 hostname_ = hostname; in SetIP()
122 literal_ = IPFromString(hostname, &ip_); in SetIP()
338 bool SocketAddress::StringToIP(const std::string& hostname, uint32* ip) { in StringToIP() argument
340 if (talk_base::inet_pton(AF_INET, hostname.c_str(), &addr) == 0) in StringToIP()
346 bool SocketAddress::StringToIP(const std::string& hostname, IPAddress* ip) { in StringToIP() argument
348 if (talk_base::inet_pton(AF_INET, hostname.c_str(), &addr4) > 0) { in StringToIP()
356 if (talk_base::inet_pton(AF_INET6, hostname.c_str(), &addr6) > 0) { in StringToIP()
[all …]
/external/chromium_org/chrome/browser/net/
Dpredictor_browsertest.cc46 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()
Dchrome_fraudulent_certificate_reporter_unittest.cc84 virtual void SendReport(const std::string& hostname, in SendReport() argument
89 hostname, sni_available)); in SendReport()
109 virtual void SendReport(const std::string& hostname, in SendReport() argument
114 hostname, sni_available)); in SendReport()
148 const std::string& hostname, in SendReport() argument
151 DCHECK(!hostname.empty()); in SendReport()
153 ChromeFraudulentCertificateReporter::SendReport(hostname, ssl_info, in SendReport()
/external/chromium_org/net/dns/
Dhost_resolver_impl_unittest.cc57 ResolveKey(const std::string& hostname, AddressFamily address_family) in ResolveKey()
58 : hostname(hostname), address_family(address_family) {} in ResolveKey()
61 (address_family == other.address_family && hostname < other.hostname); in operator <()
63 std::string hostname; member
104 void AddRule(const std::string& hostname, AddressFamily family, in AddRule() argument
107 rules_[ResolveKey(hostname, family)] = result; in AddRule()
110 void AddRule(const std::string& hostname, AddressFamily family, in AddRule() argument
115 AddRule(hostname, family, result); in AddRule()
118 void AddRuleForAllFamilies(const std::string& hostname, in AddRuleForAllFamilies() argument
123 AddRule(hostname, ADDRESS_FAMILY_UNSPECIFIED, result); in AddRuleForAllFamilies()
[all …]
Dhost_cache.h42 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/url_request/
Durl_request_filter.cc47 const std::string& hostname, URLRequest::ProtocolFactory* factory) { in AddHostnameHandler() argument
49 scheme, hostname, in AddHostnameHandler()
56 const std::string& hostname, in AddHostnameInterceptor() argument
58 DCHECK_EQ(0u, hostname_interceptor_map_.count(make_pair(scheme, hostname))); in AddHostnameInterceptor()
59 hostname_interceptor_map_[make_pair(scheme, hostname)] = in AddHostnameInterceptor()
76 const std::string& hostname) { in RemoveHostnameHandler() argument
78 hostname_interceptor_map_.find(make_pair(scheme, hostname)); in RemoveHostnameHandler()
137 const std::string hostname = request->url().host(); in MaybeInterceptRequest() local
141 hostname_interceptor_map_.find(make_pair(scheme, hostname)); in MaybeInterceptRequest()
/external/conscrypt/src/test/java/org/conscrypt/
DTrustManagerImplTest.java183 private TrustManagerImpl trustManager(X509Certificate ca, String hostname, X509Certificate pin) in trustManager() argument
186 CertPinManager cm = certManager(hostname, pin); in trustManager()
194 X509Certificate caKeyStore, X509Certificate caUserStore, String hostname, in trustManagerUserInstalled() argument
197 CertPinManager cm = certManager(hostname, pin); in trustManagerUserInstalled()
216 private CertPinManager certManager(String hostname, X509Certificate pin) throws Exception { in certManager() argument
219 pinString = hostname + "=true|" + getFingerprint(pin); in certManager()
235 private void assertValidPinned(X509Certificate[] chain, X509TrustManager tm, String hostname, in assertValidPinned() argument
237 assertValidPinned(chain, tm, hostname, fullChain, false); in assertValidPinned()
240 private void assertValidPinned(X509Certificate[] chain, X509TrustManager tm, String hostname, in assertValidPinned() argument
246 new MySSLSession(hostname)); in assertValidPinned()
[all …]
/external/conscrypt/src/platform/java/org/conscrypt/
DCertPinManager.java69 public boolean isChainValid(String hostname, List<X509Certificate> chain) in isChainValid() argument
72 final PinListEntry entry = lookup(hostname); in isChainValid()
134 private synchronized PinListEntry lookup(String hostname) throws PinManagerException { in lookup() argument
141 String cn = hostnameCache.get(hostname); in lookup()
148 cn = getMatchingCN(hostname); in lookup()
150 hostnameCache.put(hostname, cn); in lookup()
163 private String getMatchingCN(String hostname) { in getMatchingCN() argument
171 if (isHostnameMatchedBy(hostname, cn)) { in getMatchingCN()
/external/chromium_org/webkit/common/database/
Ddatabase_identifier.cc93 std::string hostname(identifier.data() + first_underscore + 1, in Parse() local
95 GURL url(scheme + "://" + hostname + "/"); in Parse()
98 hostname = ""; in Parse()
101 if (!url.is_valid() || url.scheme() != scheme || url.host() != hostname) in Parse()
104 return DatabaseIdentifier(scheme, hostname, port, false /* unique */, false); in Parse()
114 const std::string& hostname, in DatabaseIdentifier() argument
119 hostname_(StringToLowerASCII(hostname)), in DatabaseIdentifier()
/external/chromium_org/content/common/
Dp2p_socket_type.h42 P2PHostAndIPEndPoint(const std::string& hostname, in P2PHostAndIPEndPoint()
44 : hostname(hostname), ip_address(ip_address) { in P2PHostAndIPEndPoint()
47 std::string hostname; member
/external/dnsmasq/src/
Dhelper.c113 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 …]
Dlease.c158 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 …]
/external/libpcap/Win32/Src/
Dgetaddrinfo.c301 getaddrinfo(hostname, servname, hints, res) in getaddrinfo() argument
302 const char *hostname, *servname; in getaddrinfo()
339 if (hostname == NULL && servname == NULL)
426 if (hostname == NULL)
427 error = explore_null(pai, hostname, servname, &cur->ai_next);
429 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
448 if (hostname == NULL)
486 error = explore_fqdn(pai, hostname, servname,
520 explore_fqdn(pai, hostname, servname, res) in explore_fqdn() argument
522 const char *hostname;
[all …]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWebSocketServer.java14 public NanoWebSocketServer(String hostname, int port) { in NanoWebSocketServer() argument
15 super(hostname, port); in NanoWebSocketServer()
24 public NanoWebSocketServer(String hostname, int port, IWebSocketFactory webSocketFactory) { in NanoWebSocketServer() argument
25 super(hostname, port); in NanoWebSocketServer()

12345678910>>...19