Searched refs:hostname (Results 51 - 75 of 396) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/net/
H A Dchrome_fraudulent_certificate_reporter_unittest.cc83 // Passes if invoked with a good SSLInfo and for a hostname that is a Google
85 virtual void SendReport(const std::string& hostname,
88 EXPECT_TRUE(net::TransportSecurityState::IsGooglePinnedProperty(hostname));
106 // Passes if invoked with a bad SSLInfo and for a hostname that is not a
108 virtual void SendReport(const std::string& hostname,
111 EXPECT_FALSE(net::TransportSecurityState::IsGooglePinnedProperty(hostname));
131 const std::string& hostname,
133 DCHECK(!hostname.empty());
135 ChromeFraudulentCertificateReporter::SendReport(hostname, ssl_info);
/external/chromium_org/net/url_request/
H A Dtest_url_request_interceptor.cc49 const std::string& hostname,
53 hostname_(hostname),
65 const std::string& hostname) {
67 hostname);
71 // hostname and scheme of |url| must match the corresponding parameters
142 const std::string& hostname,
146 hostname_(hostname),
149 hostname,
48 Delegate(const std::string& scheme, const std::string& hostname, const scoped_refptr<base::TaskRunner>& network_task_runner, const scoped_refptr<base::TaskRunner>& worker_task_runner) argument
64 Unregister(const std::string& scheme, const std::string& hostname) argument
140 TestURLRequestInterceptor( const std::string& scheme, const std::string& hostname, const scoped_refptr<base::TaskRunner>& network_task_runner, const scoped_refptr<base::TaskRunner>& worker_task_runner) argument
/external/chromium_org/storage/common/database/
H A Ddatabase_identifier.cc93 std::string hostname(identifier.data() + first_underscore + 1,
95 GURL url(scheme + "://" + hostname + "/");
98 hostname = "";
101 if (!url.is_valid() || url.scheme() != scheme || url.host() != hostname)
104 return DatabaseIdentifier(scheme, hostname, port, false /* unique */, false);
114 const std::string& hostname,
119 hostname_(base::StringToLowerASCII(hostname)),
113 DatabaseIdentifier(const std::string& scheme, const std::string& hostname, int port, bool is_unique, bool is_file) argument
/external/dnsmasq/src/
H A Dhelper.c113 char *p, *action_str, *hostname = NULL; local
255 hostname = (char *)buf;
256 hostname[data.hostname_len - 1] = 0;
257 if (!legal_hostname(hostname))
258 hostname = NULL;
259 else if ((dot = strchr(hostname, '.')))
266 if (data.action == ACTION_OLD_HOSTNAME && hostname)
268 my_setenv("DNSMASQ_OLD_HOSTNAME", hostname, &err);
269 hostname = NULL;
282 action_str, daemon->dhcp_buff, inet_ntoa(data.addr), hostname, (cha
298 queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now) argument
[all...]
/external/conscrypt/src/test/java/org/conscrypt/
H A DTrustManagerImplTest.java153 // 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) argument
186 CertPinManager cm = certManager(hostname, pin);
194 X509Certificate caKeyStore, X509Certificate caUserStore, String hostname,
193 trustManagerUserInstalled( X509Certificate caKeyStore, X509Certificate caUserStore, String hostname, X509Certificate pin) argument
216 certManager(String hostname, X509Certificate pin) argument
235 assertValidPinned(X509Certificate[] chain, X509TrustManager tm, String hostname, X509Certificate[] fullChain) argument
240 assertValidPinned(X509Certificate[] chain, X509TrustManager tm, String hostname, X509Certificate[] fullChain, boolean expectUserInstalled) argument
272 assertInvalidPinned(X509Certificate[] chain, X509TrustManager tm, String hostname) argument
284 private final String hostname; field in class:TrustManagerImplTest.MySSLSession
286 MySSLSession(String hostname) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dcrypto_module_password_dialog_view.cc25 const std::string& hostname,
28 Init(hostname, slot_name, reason);
80 void CryptoModulePasswordDialogView::Init(const std::string& hostname, argument
85 const base::string16& hostname16 = base::UTF8ToUTF16(hostname);
157 const std::string& hostname,
161 new CryptoModulePasswordDialogView(slot_name, reason, hostname, callback);
22 CryptoModulePasswordDialogView( const std::string& slot_name, CryptoModulePasswordReason reason, const std::string& hostname, const CryptoModulePasswordCallback& callback) argument
153 ShowCryptoModulePasswordDialog( const std::string& slot_name, bool retry, CryptoModulePasswordReason reason, const std::string& hostname, gfx::NativeWindow parent, const CryptoModulePasswordCallback& callback) argument
/external/lldb/test/pexpect-2.4/examples/
H A Dtopip.py16 -s : hostname of the remote server to login to.
126 hostname = options['-s']
130 hostname = 'localhost'
132 if hostname != 'localhost' and hostname != '127.0.0.1':
182 p.login(hostname, username, password)
240 send_alert(str(s), 'ALERT on %s' % hostname, alert_addr_from, alert_addr_to)
/external/nist-sip/java/gov/nist/core/
H A DHostNameParser.java175 String hostname;
179 hostname = ipv6Reference();
187 hostname
192 //IPv4 address or hostname
196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr());
199 if (hostname.length() == 0)
204 return new Host(hostname);
307 " Illegal character in hostname:" + lexer.lookAhead(0),
/external/chromium_org/third_party/webrtc/base/
H A Dsocketaddress.cc45 SocketAddress::SocketAddress(const std::string& hostname, int port) { argument
46 SetIP(hostname);
103 void SocketAddress::SetIP(const std::string& hostname) { argument
104 hostname_ = hostname;
105 literal_ = IPFromString(hostname, &ip_);
140 // If the hostname was a literal IP string, it may need to have square
152 // If the hostname was a literal IP string, it may need to have square
316 bool SocketAddress::StringToIP(const std::string& hostname, uint32* ip) { argument
318 if (rtc::inet_pton(AF_INET, hostname.c_str(), &addr) == 0)
324 bool SocketAddress::StringToIP(const std::string& hostname, IPAddres argument
343 StringToIP(const std::string& hostname) argument
[all...]
H A Dsslsocketfactory.h44 void UseSSL(const char* hostname) { hostname_ = hostname; } argument
/external/chromium_org/chrome/browser/chromeos/net/
H A Dcert_verify_proc_chromeos.h37 const std::string& hostname,
/external/chromium_org/net/cert/
H A Dcert_verifier.h75 // Verifies the given certificate against the given hostname as an SSL server.
105 const std::string& hostname,
H A Dcert_verify_proc.h32 // Verifies the certificate against the given hostname as an SSL server
58 const std::string& hostname,
80 const std::string& hostname,
H A Dsingle_request_cert_verifier.cc29 const std::string& hostname,
43 cert, hostname, flags, crl_set, verify_result,
28 Verify(X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, CertVerifyResult* verify_result, const CompletionCallback& callback, const BoundNetLog& net_log) argument
H A Dcert_verify_proc_android.cc31 const std::string& hostname,
37 android::VerifyX509CertChain(cert_bytes, "RSA", hostname,
159 const std::string& hostname,
164 if (!cert->VerifyNameMatch(hostname,
172 if (!VerifyFromAndroidTrustManager(cert_bytes, hostname, verify_result)) {
30 VerifyFromAndroidTrustManager(const std::vector<std::string>& cert_bytes, const std::string& hostname, CertVerifyResult* verify_result) argument
157 VerifyInternal( X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, const CertificateList& additional_trust_anchors, CertVerifyResult* verify_result) argument
/external/chromium_org/third_party/boringssl/src/crypto/bio/
H A Dbio_test.c35 char hostname[80], buf[5]; local
61 snprintf(hostname, sizeof(hostname), "%s:%d", "127.0.0.1",
63 bio = BIO_new_connect(hostname);
/external/chromium_org/tools/findit/common/
H A Dhttp_client_local.py39 def _DNSNameMatch(dn, hostname, max_wildcards=1):
63 return dn.lower() == hostname.lower()
72 elif leftmost.startswith('xn--') or hostname.startswith('xn--'):
87 return pat.match(hostname)
90 def _MatchHostname(cert, hostname):
92 SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 and RFC 6125
93 rules are followed, but IP addresses are not accepted for *hostname*.
106 if _DNSNameMatch(value, hostname):
117 if _DNSNameMatch(value, hostname):
121 raise CertificateError('hostname
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dnfs4_mount.h45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
/external/smack/src/org/xbill/DNS/
H A DSimpleResolver.java46 SimpleResolver(String hostname) throws UnknownHostException { argument
47 if (hostname == null) {
48 hostname = ResolverConfig.getCurrentConfig().server();
49 if (hostname == null)
50 hostname = defaultResolver;
53 if (hostname.equals("0"))
56 addr = InetAddress.getByName(hostname);
83 setDefaultResolver(String hostname) { argument
84 defaultResolver = hostname;
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
H A Dconfig.py23 given.hostname == allowed.hostname and
/external/chromium_org/remoting/client/plugin/
H A Dpepper_address_resolver.cc23 DCHECK(!address.hostname().empty());
31 address.hostname().c_str(), address.port(), hint, callback);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DURLUtils.idl41 attribute ScalarValueString hostname;
H A DURLUtilsReadOnly.idl39 readonly attribute ScalarValueString hostname;
/external/chromium_org/tools/real_world_impact/
H A Dreal_world_impact.py155 hostname = entry.strip().split(',')[1]
156 if not '/' in hostname: # Skip Alexa 1,000,000 entries that have paths.
157 url = "http://%s/" % hostname
185 host_dir = os.path.join(output_dir, "data", url_parts.hostname)
214 download_path = os.path.join(host_dir, url_parts.hostname, "index.html")
232 host_dir = os.path.join(output_dir, "data", url_parts.hostname)
233 download_path = os.path.join(host_dir, url_parts.hostname, "index.html")
257 host_dir = os.path.join(output_dir, "data", url_parts.hostname)
258 html_path = os.path.join(host_dir, url_parts.hostname, "index.html")
261 nojs_path = os.path.join(host_dir, url_parts.hostname, "inde
[all...]
/external/chromium_org/net/quic/test_tools/
H A Dcrypto_test_utils_openssl.cc107 const string& hostname,
110 channel_id_key->reset(new TestChannelIDKey(HostnameToKey(hostname)));
115 static EVP_PKEY* HostnameToKey(const string& hostname) { argument
116 // In order to generate a deterministic key for a given hostname the
117 // hostname is hashed with SHA-256 and the resulting digest is treated as a
124 SHA256_Update(&sha256, hostname.data(), hostname.size());

Completed in 1995 milliseconds

1234567891011>>