Searched defs:hostname (Results 51 - 75 of 190) sorted by relevance

12345678

/external/chromium_org/net/quic/crypto/
H A Dcrypto_utils.cc50 // TODO(rtenneti): Support RFC2396 hostname.
53 // would consider valid. By far the most common hostname character NOT
63 string CryptoUtils::NormalizeHostname(const char* hostname) { argument
65 string host(CanonicalizeHost(hostname, &host_info));
H A Dproof_test.cc59 const string& hostname,
74 hostname, server_config, certs, proof, verify_context.get(),
117 const string hostname = "test.example.com"; local
122 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */,
124 ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */,
132 verifier.get(), hostname, server_config, *certs, signature, true);
143 verifier.get(), hostname, server_config, *certs, corrupt_signature,
237 const string hostname = "test.example.com"; local
257 verifier.get(), hostname, server_config, certs, signature, true);
261 verifier.get(), hostname, server_confi
58 RunVerification(ProofVerifier* verifier, const string& hostname, const string& server_config, const vector<string>& certs, const string& proof, bool expected_ok) argument
319 const string hostname = "test.example.com"; local
[all...]
H A Dchannel_id_chromium.cc69 QuicAsyncStatus GetChannelIDKey(const std::string& hostname,
94 // |hostname| specifies the hostname for which we need a channel ID.
115 const std::string& hostname,
128 hostname_ = hostname;
232 const std::string& hostname,
236 QuicAsyncStatus status = job->GetChannelIDKey(hostname, channel_id_key,
114 GetChannelIDKey( const std::string& hostname, scoped_ptr<ChannelIDKey>* channel_id_key, ChannelIDSourceCallback* callback) argument
231 GetChannelIDKey( const std::string& hostname, scoped_ptr<ChannelIDKey>* channel_id_key, ChannelIDSourceCallback* callback) argument
H A Dproof_verifier_chromium.cc54 QuicAsyncStatus VerifyProof(const std::string& hostname,
86 // |hostname| specifies the hostname for which |certs| is a valid chain.
116 const string& hostname,
169 hostname_ = hostname;
353 const std::string& hostname,
371 QuicAsyncStatus status = job->VerifyProof(hostname, server_config, certs,
115 VerifyProof( const string& hostname, const string& server_config, const vector<string>& certs, const string& signature, std::string* error_details, scoped_ptr<ProofVerifyDetails>* verify_details, ProofVerifierCallback* callback) argument
352 VerifyProof( const std::string& hostname, const std::string& server_config, const std::vector<std::string>& certs, const std::string& signature, const ProofVerifyContext* verify_context, std::string* error_details, scoped_ptr<ProofVerifyDetails>* verify_details, ProofVerifierCallback* callback) argument
/external/chromium_org/net/socket/
H A Dsocks5_client_socket_unittest.cc39 const std::string& hostname,
89 const std::string& hostname,
109 HostResolver::RequestInfo(HostPortPair(hostname, port))));
186 const std::string hostname = "my-host-name"; local
195 request.push_back(hostname.size());
196 request.append(hostname);
211 hostname, 80, NULL);
236 // the transport socket first) because the hostname is too long.
243 const std::string hostname = "www.google.com"; local
269 hostname, 8
84 BuildMockSocket( MockRead reads[], size_t reads_count, MockWrite writes[], size_t writes_count, const std::string& hostname, int port, NetLog* net_log) argument
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dsslauth.c288 const char * hostname = NULL; local
322 * Now check the name field in the cert against the desired hostname.
325 hostname = ss->url;
326 if (hostname && hostname[0])
327 rv = CERT_VerifyCertName(ss->sec.peerCert, hostname);
/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/sync/util/
H A Dnigori.cc67 bool Nigori::InitByDerivation(const std::string& hostname, argument
71 salt_password << username << hostname; local
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DLocation.cpp87 String Location::hostname() const function in class:blink::Location
91 return DOMURLUtilsReadOnly::hostname(url());
171 void Location::setHostname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& hostname) argument
176 url.setHost(hostname);
/external/chromium_org/third_party/boringssl/src/tool/
H A Dclient.cc46 "The hostname and port of the server to connect to, e.g. foo.com:443",
58 std::string hostname, port; local
61 hostname = hostname_and_port;
64 hostname = hostname_and_port.substr(0, colon_offset);
73 int ret = getaddrinfo(hostname.c_str(), port.c_str(), &hint, &result);
/external/chromium_org/third_party/webrtc/base/
H A Dsslsocketfactory.h44 void UseSSL(const char* hostname) { hostname_ = hostname; } argument
/external/conscrypt/src/compat/java/org/conscrypt/
H A DPlatform.java279 * Returns true if the supplied hostname is an literal IP address.
281 public static boolean isLiteralIpAddress(String hostname) { argument
284 return (Boolean) m_isNumeric.invoke(null, hostname);
288 return AddressUtils.isLiteralIpAddress(hostname);
/external/conscrypt/src/platform/java/org/conscrypt/
H A DPlatform.java150 * Returns true if the supplied hostname is an literal IP address.
152 public static boolean isLiteralIpAddress(String hostname) { argument
153 return InetAddress.isNumeric(hostname);
/external/kernel-headers/original/uapi/linux/
H A Dnfs4_mount.h45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
/external/mdnsresponder/mDNSShared/
H A DPlatformCommon.c106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled) argument
112 if (hostname) hostname->c[0] = 0;
119 if (hostname && GetConfigOption(buf, "hostname", f) && !MakeDomainNameFromDNSNameString(hostname, buf)) goto badf;
135 // for now we assume keyname = service reg domain and we use same key for service and hostname registration
/external/nist-sip/java/gov/nist/core/
H A DHost.java43 * Stores hostname.
74 protected String hostname; field in class:Host
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) {
125 buffer.append('[').append(hostname).append(']');
127 buffer.append(hostname);
145 return otherHost.hostname.equals(hostname);
153 return hostname;
160 return hostname;
170 if (hostname
[all...]
/external/smack/src/org/jivesoftware/smack/sasl/
H A DSASLMechanism.java63 protected String hostname; field in class:SASLMechanism
76 * @param host the hostname where the user account resides.
88 this.hostname = host;
101 * @param host the hostname where the user account resides.
181 rcb.setText(hostname);
/external/chromium_org/chrome/browser/history/
H A Dscored_history_match_unittest.cc336 const float hostname = GetTopicalityScoreOfTermAgainstURLAndTitle( local
344 EXPECT_EQ(hostname_no_slash, hostname);
395 // Verify hostname and domain name > path > arg.
/external/chromium_org/chrome/browser/policy/cloud/
H A Dtest_request_interceptor.cc151 const std::string& hostname,
154 "http", hostname, interceptor.Pass());
161 Delegate(const std::string& hostname,
184 const std::string& hostname,
186 : hostname_(hostname), io_task_runner_(io_task_runner) {}
223 TestRequestInterceptor::TestRequestInterceptor(const std::string& hostname, argument
225 : hostname_(hostname),
150 RegisterHttpInterceptor( const std::string& hostname, scoped_ptr<net::URLRequestInterceptor> interceptor) argument
183 Delegate( const std::string& hostname, scoped_refptr<base::SequencedTaskRunner> io_task_runner) argument
/external/chromium_org/chrome/browser/ui/webui/net_internals/
H A Dnet_internals_ui_browsertest.cc48 // Called on IO thread. Adds an entry to the cache for the specified hostname.
51 const std::string& hostname,
60 net::HostCache::Key key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0);
67 int rv = net::ParseAddressList(ip_literal, hostname, &address_list);
74 cache->Set(net::HostCache::Key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0),
102 // hostname by posting a task to the IO thread. Takes the host name,
189 std::string hostname; local
193 ASSERT_TRUE(list_value->GetString(0, &hostname));
203 hostname,
50 AddCacheEntryOnIOThread(net::URLRequestContextGetter* context_getter, const std::string& hostname, const std::string& ip_literal, int net_error, int expire_days_from_now) argument
/external/chromium_org/components/component_updater/test/
H A Durl_request_post_interceptor.cc143 const std::string& hostname,
145 : scheme_(scheme), hostname_(hostname), io_task_runner_(io_task_runner) {}
240 const std::string& hostname,
243 hostname_(hostname),
246 hostname,
142 Delegate(const std::string& scheme, const std::string& hostname, const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) argument
238 URLRequestPostInterceptorFactory( const std::string& scheme, const std::string& hostname, const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) argument
/external/chromium_org/native_client_sdk/src/examples/api/socket/
H A Dsocket.cc170 std::string hostname = host; local
173 hostname = host.substr(0, pos);
180 resolver_.Resolve(hostname.c_str(), port, hint, callback);
/external/chromium_org/net/cert/
H A Dx509_util_mac.cc58 OSStatus CreateSSLServerPolicy(const std::string& hostname, argument
63 if (!hostname.empty()) {
64 tp_ssl_options.ServerName = hostname.data();
65 tp_ssl_options.ServerNameLen = hostname.size();
/external/chromium_org/net/dns/
H A Ddns_test_util.cc41 const std::string& hostname,
45 hostname_(hostname),
50 // Find the relevant rule which matches |qtype| and prefix of |hostname|.
54 (hostname.size() >= prefix.size()) &&
55 (hostname.compare(0, prefix.size(), prefix) == 0)) {
172 const std::string& hostname,
177 new MockTransaction(rules_, hostname, qtype, callback);
40 MockTransaction(const MockDnsClientRuleList& rules, const std::string& hostname, uint16 qtype, const DnsTransactionFactory::CallbackType& callback) argument
/external/chromium_org/net/http/
H A Dtransport_security_persister.cc143 const std::string& hostname = state.hostname(); local
178 toplevel.Set(HashedDomainToExternalString(hostname), serialized);

Completed in 3653 milliseconds

12345678