Searched defs:hostname (Results 1 - 25 of 190) sorted by path

12345678

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java136 // create the HostnameVerifier to check hostname verification
176 // create the HostnameVerifier to check hostname verification
214 // create the HostnameVerifier to check hostname verification
259 // create the HostnameVerifier to check hostname verification
300 // create the HostnameVerifier to check hostname verification
1059 public boolean verify(String hostname, SSLSession session) { argument
1061 System.out.println("***> verification " + hostname + " "
/external/apache-http/src/org/apache/http/
H A DHttpHost.java61 protected final String hostname; field in class:HttpHost
78 * @param hostname the hostname (IP or DNS name)
85 public HttpHost(final String hostname, int port, final String scheme) { argument
87 if (hostname == null) {
90 this.hostname = hostname;
91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
103 * @param hostname the hostname (I
107 HttpHost(final String hostname, int port) argument
116 HttpHost(final String hostname) argument
[all...]
/external/apache-http/src/org/apache/http/conn/scheme/
H A DHostNameResolver.java45 InetAddress resolve (String hostname) throws IOException; argument
/external/blktrace/
H A Dblktrace.c205 char *hostname; member in struct:cl_host
320 static char hostname[MAXHOSTNAMELEN]; variable
949 if (inet_aton(hostname, &addr->sin_addr) != 1) {
952 hent = gethostbyname(hostname);
960 hostname);
966 hostname);
972 strcpy(hostname, hent->h_name);
994 hostname);
1479 len += sprintf(dst + len, "%s-", nc->ch->hostname);
1964 dpp->ch->hostname, dp
[all...]
/external/chromium-libpac/src/
H A Dproxy_resolver_v8.cc211 // Extracts an hostname argument from |args|. On success returns true
212 // and fills |*hostname| with the result.
213 bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args, std::string* hostname) { argument
220 // If the hostname is already in ASCII, simply return it as is.
222 *hostname = UTF16ToASCII(hostname_utf16);
618 std::string hostname; local
619 if (!GetHostnameArgument(args, &hostname)) {
628 success = context->js_bindings_->DnsResolve(hostname, &ip_address);
645 std::string hostname; local
646 if (!GetHostnameArgument(args, &hostname)) {
[all...]
/external/chromium_org/chrome/browser/chromeos/net/
H A Dcert_verify_proc_chromeos.cc42 const std::string& hostname,
56 hostname,
40 VerifyInternal( net::X509Certificate* cert, const std::string& hostname, int flags, net::CRLSet* crl_set, const net::CertificateList& additional_trust_anchors, net::CertVerifyResult* verify_result) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dpolicy_cert_verifier.cc73 const std::string& hostname,
87 int error = delegate_->Verify(cert, hostname, flags, crl_set, verify_result,
71 Verify( net::X509Certificate* cert, const std::string& hostname, int flags, net::CRLSet* crl_set, net::CertVerifyResult* verify_result, const net::CompletionCallback& completion_callback, RequestHandle* out_req, const net::BoundNetLog& net_log) argument
/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/net/
H A Dchrome_fraudulent_certificate_reporter.cc39 static std::string BuildReport(const std::string& hostname, argument
44 request.set_hostname(hostname);
72 const std::string& hostname,
76 if (!net::TransportSecurityState::IsGooglePinnedProperty(hostname)) {
80 std::string report = BuildReport(hostname, ssl_info);
71 SendReport( const std::string& hostname, const net::SSLInfo& ssl_info) argument
H A Dpredictor_browsertest.cc46 bool HasHostBeenRequested(const std::string& hostname) { argument
50 hostname) != requested_hostnames_.end();
53 void WaitUntilHostHasBeenRequested(const std::string& hostname) { argument
56 if (HasHostBeenRequested(hostname))
58 waiting_for_hostname_ = hostname;
66 void AddToHistory(const std::string& hostname) { argument
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 t
150 WaitUntilHostHasBeenRequested(const std::string& hostname) argument
[all...]
/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/
H A Dprocess_singleton_posix.cc22 // The destination is a string containing the hostname and process id of
27 // If writing to the socket fails, the hostname in the lock is checked to see if
29 // etc.) If the hostname differs an error is displayed and the second process
284 // Extract the hostname and pid from the lock symlink.
287 std::string* hostname,
298 *hostname = "";
303 *hostname = real_path.substr(0, pos);
314 const std::string& hostname,
319 base::ASCIIToUTF16(hostname));
787 std::string hostname; local
286 ParseLockPath(const base::FilePath& path, std::string* hostname, int* pid) argument
313 DisplayProfileInUseError(const base::FilePath& lock_path, const std::string& hostname, int pid) argument
1050 std::string hostname; local
[all...]
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_service.cc627 const std::string& hostname) {
631 if (!dict->GetBooleanWithoutPathExpansion(hostname, &allow))
626 GetManualBehaviorForHost( const std::string& hostname) argument
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_helper.cc378 std::string hostname = url.host(); local
379 if (google_util::IsGoogleHostname(hostname, google_util::ALLOW_SUBDOMAIN)) {
382 StartsWithASCII(hostname, "accounts.", false);
/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/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/chrome/renderer/net/
H A Dprescient_networking_dispatcher.cc18 const blink::WebString& hostname) {
19 if (hostname.isEmpty())
22 std::string hostname_utf8 = base::UTF16ToUTF8(hostname);
17 prefetchDNS( const blink::WebString& hostname) 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/content/common/
H A Ddatabase_identifier_unittest.cc47 // This tests the encoding of a hostname including every character in the range
51 std::string hostname; member in struct:content::__anon7573::Case
156 GURL origin("http://" + cases[i].hostname);
160 << "test case " << i << " :\"" << cases[i].hostname << "\"";
165 << "test case " << i << " :\"" << cases[i].hostname << "\"";
211 EXPECT_EQ(valid_cases[i].expected_host, identifier.hostname())
H A Dp2p_socket_type.h42 P2PHostAndIPEndPoint(const std::string& hostname, argument
44 : hostname(hostname), ip_address(ip_address) {
47 std::string hostname; member in struct:content::P2PHostAndIPEndPoint
/external/chromium_org/extensions/browser/api/socket/
H A Dsocket.h46 // The hostname of the remote host that this socket is connected to. This
49 const std::string& hostname() const { return hostname_; } function in class:extensions::Socket
51 // Set the hostname of the remote host that this socket is connected to.
55 void set_hostname(const std::string& hostname) { hostname_ = hostname; } argument
57 // Note: |address| contains the resolved IP address, not the hostname of
59 // must also supply the hostname of the endpoint via set_hostname().
H A Dsocket_api.cc107 const std::string& hostname) {
114 // hostname you'd like to resolve, even though it doesn't use that value in
116 net::HostPortPair host_port_pair(hostname, 0);
106 StartDnsLookup( const std::string& hostname) 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/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_host_resolver_interface.cc50 const char* hostname,
58 if (!fake_hostname.empty() && fake_hostname == hostname) {
49 Resolve(PP_Resource resource, const char* hostname, uint16_t, const PP_HostResolver_Hint* hints, PP_CompletionCallback callback) argument
/external/chromium_org/net/base/
H A Dnet_util.cc381 // If the hostname starts with a bracket, it is either an IPv6 literal or
425 bool IsHostnameNonUnique(const std::string& hostname) { argument
427 const std::string host_or_ip = hostname.find(':') != std::string::npos ?
428 "[" + hostname + "]" : hostname;
437 // If |hostname| is an IP address, check to see if it's in an IANA-reserved
441 if (!ParseIPLiteralToNumber(hostname.substr(host_info.out_host.begin,
456 // Check for a registry controlled portion of |hostname|, ignoring private
684 // the hostname.
819 bool ParseURLHostnameToNumber(const std::string& hostname, argument
[all...]

Completed in 437 milliseconds

12345678