/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 69 * Returns true if {@code certificate} matches {@code hostName}. 71 private boolean verifyHostName(String hostName, X509Certificate certificate) { 72 hostName = hostName.toLowerCase(Locale.US); 76 if (verifyHostName(hostName, altName)) { 86 return verifyHostName(hostName, cn); 123 * Returns true if {@code hostName} matches the name or pattern {@code cn}. 125 * @param hostName lowercase host name. 129 public boolean verifyHostName(String hostName, String cn) { 130 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty()) [all...] |
/external/dnsmasq/contrib/dnslist/ |
dnslist.tt2 | 11 <th class="hostname">Hostname</th> 21 <td class="hostname">[% host.hostname %]</td>
|
dhcp.css | 46 tr.offline td.hostname 51 .hostname { width: 10em; }
|
/external/lldb/test/pexpect-2.4/examples/ |
hive.py | 156 # build up the list of connection information (hostname, username, password, port) 159 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 [all...] |
astat.py | 6 -s : hostname of the remote server to login to. 44 hostname = options['-s'] 46 hostname = raw_input('hostname: ') 60 p.login(hostname, username, password)
|
/external/chromium_org/content/test/net/ |
url_request_failed_job.cc | 36 const std::string& hostname, 40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); 65 const std::string& hostname) { 66 // Add |hostname| to net::URLRequestFilter for HTTP and HTTPS. 68 filter->AddHostnameHandler("http", hostname, URLRequestFailedJob::Factory); 69 filter->AddHostnameHandler("https", hostname, URLRequestFailedJob::Factory); 84 int net_error, const std::string& hostname) { 85 return GetMockUrl("http", hostname, net_error); 90 int net_error, const std::string& hostname) { 91 return GetMockUrl("https", hostname, net_error) [all...] |
url_request_prepackaged_interceptor.h | 25 // Registers an interceptor for urls using |scheme| and |hostname|. Urls 26 // passed to "SetResponse" are required to use |scheme| and |hostname|. 28 const std::string& hostname); 32 // hostname and scheme of |url| must match the corresponding parameters 57 // hostname is "localhost".
|
url_request_failed_job.h | 29 static void AddUrlHandlerForHostname(const std::string& hostname); 37 // URLRequestFailedJob must be added as a handler for |hostname| for 40 const std::string& hostname); 42 const std::string& hostname);
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 56 protected final String hostname; field in class:HttpHost 73 * @param hostname the hostname (IP or DNS name) 80 public HttpHost(final String hostname, int port, final String scheme) { 82 if (hostname == null) { 85 this.hostname = hostname; 86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 98 * @param hostname the hostname (IP or DNS name [all...] |
/external/chromium_org/third_party/webrtc/base/ |
socketaddress.h | 34 // literal IP string or a hostname to be resolved later. 35 SocketAddress(const std::string& hostname, int port); 50 // Determines if this is a nil address (empty hostname, any IP, null port) 59 // Changes the IP of this address to the given one, and clears the hostname 63 // Changes the IP of this address to the given one, and clears the hostname. 66 // Changes the hostname of this address to the given one. 68 void SetIP(const std::string& hostname); 70 // Sets the IP address while retaining the hostname. Useful for bypassing 75 // Sets the IP address while retaining the hostname. Useful for bypassing 82 // Returns the hostname 83 const std::string& hostname() const { return hostname_; } function in class:rtc::SocketAddress [all...] |
/external/chromium_org/net/dns/ |
host_cache.h | 25 // Stores the latest address list that was looked up for a hostname. 42 Key(const std::string& hostname, AddressFamily address_family, 44 : hostname(hostname), 50 // |hostname| under assumption that integer comparisons are faster than 56 return hostname < other.hostname; 59 std::string hostname; member in struct:net::HostCache::Key 115 // Map from hostname (presumably in lowercase canonicalized format) to
|
dns_transaction.h | 31 // Returns the original |hostname|. 49 // original |hostname| as a result of suffix search. 56 // Creates DnsTransaction for the given |hostname| and |qtype| (assuming 57 // QCLASS is IN). |hostname| should be in the dotted form. A dot at the end 59 // search. |hostname| should not be an IP literal. 64 const std::string& hostname,
|
/external/chromium_org/net/url_request/ |
url_request_filter.cc | 47 const std::string& hostname, URLRequest::ProtocolFactory* factory) { 49 scheme, hostname, 56 const std::string& hostname, 58 DCHECK_EQ(0u, hostname_interceptor_map_.count(make_pair(scheme, hostname))); 59 hostname_interceptor_map_[make_pair(scheme, hostname)] = 76 const std::string& hostname) { 78 hostname_interceptor_map_.find(make_pair(scheme, hostname)); 84 // this would leave no protocol factory for the remaining hostname and URL 105 // Check to see if this URL is masked by a hostname handler. 119 // this would leave no protocol factory for the remaining hostname and UR 137 const std::string hostname = request->url().host(); local [all...] |
fraudulent_certificate_reporter.h | 22 // associated with a connection to |hostname|. If |sni_available| is true, 25 virtual void SendReport(const std::string& hostname,
|
/external/conscrypt/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 153 // test without a hostname, expecting failure 155 // test without a hostname, expecting success 157 // test an unpinned hostname that should fail 159 // test an unpinned hostname that should succeed 161 // test a pinned hostname that should fail 163 // test a pinned hostname that should succeed 166 // test a pinned hostname that chains to user installed that should succeed 183 private TrustManagerImpl trustManager(X509Certificate ca, String hostname, X509Certificate pin) 186 CertPinManager cm = certManager(hostname, pin); 194 X509Certificate caKeyStore, X509Certificate caUserStore, String hostname, 284 private final String hostname; field in class:TrustManagerImplTest.MySSLSession [all...] |
/external/chromium_org/chrome/browser/net/ |
predictor_browsertest.cc | 46 bool HasHostBeenRequested(const std::string& hostname) { 50 hostname) != requested_hostnames_.end(); 53 void WaitUntilHostHasBeenRequested(const std::string& hostname) { 56 if (HasHostBeenRequested(hostname)) 58 waiting_for_hostname_ = hostname; 66 void AddToHistory(const std::string& hostname) { 68 requested_hostnames_.push_back(hostname); 69 if (is_waiting_for_hostname_ && waiting_for_hostname_ == hostname) { 76 // The hostname which WaitUntilHostHasBeenRequested is currently waiting for 80 // Whether WaitUntilHostHasBeenRequested is waiting for a hostname to b [all...] |
/external/chromium_org/net/cert/ |
cert_verify_proc_nss.h | 29 const std::string& hostname, 38 const std::string& hostname,
|
/external/chromium_org/remoting/webapp/ |
host_controller.js | 160 * @param {string} hostName 164 function onStarted(hostName, publicKey, result) { 166 remoting.hostList.onLocalHostStarted(hostName, newHostId, publicKey); 176 * @param {string} hostName 183 function startHostWithHash(hostName, publicKey, privateKey, 189 host_name: hostName, 198 onStarted.bind(null, hostName, publicKey), 203 * @param {string} hostName 210 hostName, publicKey, privateKey, email, refreshToken) { 214 null, hostName, publicKey, privateKey, email, refreshToken) [all...] |
/external/chromium_org/chrome/common/net/ |
test_server_locations.h | 10 // Hostname used for the NetworkStats test. Should point to a TCP/UDP server
|
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
example.js | 29 var hostname = document.getElementById('hostname').value; 33 common.naclModule.postMessage(msgTcpCreate + hostname); 35 common.naclModule.postMessage(msgUdpCreate + hostname);
|
/external/chromium_org/net/quic/crypto/ |
crypto_utils.h | 43 // (2) check that the hostname contains valid characters only; and 47 // Convert hostname to lowercase and remove the trailing '.'. 48 // Returns |hostname|. NormalizeHostname() doesn't support IP address 50 static std::string NormalizeHostname(const char* hostname);
|
proof_source_chromium.cc | 15 bool ProofSourceChromium::GetProof(const string& hostname,
|
/external/fio/examples/ |
netio_multicast.fio | 10 hostname=239.0.0.0
|
/system/extras/tests/bionic/libc/common/ |
test_gethostname.c | 36 char hostname[512]; local 39 ret = gethostname(hostname, sizeof(hostname)); 45 printf("gethostname() returned '%s'\n", hostname);
|
/external/chromium_org/chrome/browser/net/spdyproxy/ |
data_reduction_proxy_chrome_configurator.h | 30 // in net::ProxyBypassRules; that is, a hostname pattern, a hostname suffix 38 // as a hostname pattern. Subclasses may implement other semantics.
|