Searched defs:hostname (Results 1 - 25 of 73) sorted by relevance

123

/external/webkit/WebCore/platform/network/chromium/
H A DDNSChromium.cpp33 void prefetchDNS(const String& hostname) argument
35 ChromiumBridge::prefetchDNS(hostname);
/external/webkit/WebCore/platform/network/curl/
H A DDNSCurl.cpp33 void prefetchDNS(const String& hostname) argument
/external/webkit/WebCore/platform/network/qt/
H A DDnsPrefetchHelper.cpp27 void prefetchDNS(const String& hostname) argument
31 dnsPrefetchHelper.lookup(QString(hostname));
H A DDnsPrefetchHelper.h38 void lookup(QString hostname) argument
40 if (hostname.isEmpty())
45 QTime* entryTime = lookupCache.object(hostname);
48 lookupCache.remove(hostname);
53 lookupCache.insert(hostname, tmpTime);
55 QHostInfo::lookupHost(hostname, this, SLOT(lookedUp(QHostInfo)));
/external/webkit/WebCore/platform/network/soup/
H A DDNSSoup.cpp36 void prefetchDNS(const String& hostname) argument
39 String uri = "http://"+hostname;
/external/chromium/net/socket/
H A Dssl_client_socket_nss_factory.cc18 const std::string& hostname,
20 return new SSLClientSocketNSS(transport_socket, hostname, ssl_config);
16 SSLClientSocketNSSFactory( ClientSocket* transport_socket, const std::string& hostname, const SSLConfig& ssl_config) argument
H A Dclient_socket_factory.cc24 const std::string& hostname,
27 return new SSLClientSocketWin(transport_socket, hostname, ssl_config);
29 return new SSLClientSocketNSS(transport_socket, hostname, ssl_config);
31 return new SSLClientSocketMac(transport_socket, hostname, ssl_config);
50 const std::string& hostname,
52 return g_ssl_factory(transport_socket, hostname, ssl_config);
22 DefaultSSLClientSocketFactory( ClientSocket* transport_socket, const std::string& hostname, const SSLConfig& ssl_config) argument
48 CreateSSLClientSocket( ClientSocket* transport_socket, const std::string& hostname, const SSLConfig& ssl_config) argument
H A Dsocks5_client_socket_unittest.cc36 const std::string& hostname,
71 const std::string& hostname,
84 HostResolver::RequestInfo(hostname, port));
157 const std::string hostname = "my-host-name"; local
166 request.push_back(hostname.size());
167 request.append(hostname);
180 user_sock_.reset(BuildMockSocket(data_reads, data_writes, hostname, 80));
204 // the transport socket first) because the hostname is too long.
211 const std::string hostname = "www.google.com"; local
235 user_sock_.reset(BuildMockSocket(data_reads, data_writes, hostname, 8
68 BuildMockSocket( MockRead reads[], MockWrite writes[], const std::string& hostname, int port) argument
[all...]
/external/apache-http/src/org/apache/http/conn/scheme/
H A DHostNameResolver.java39 InetAddress resolve (String hostname) throws IOException; argument
/external/webkit/WebCore/page/
H A DLocation.cpp83 // "The hostname property is the concatenation of the host and port properties, separated by a colon."
88 String Location::hostname() const function in class:WebCore::Location
/external/webkit/WebCore/workers/
H A DWorkerLocation.cpp52 String WorkerLocation::hostname() const function in class:WebCore::WorkerLocation
/external/chromium/net/base/
H A Dhost_cache_unittest.cc21 // Builds a key for |hostname|, defaulting the address family to unspecified.
22 HostCache::Key Key(const std::string& hostname) { argument
23 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED);
181 std::string hostname = StringPrintf("valid%d", i); local
182 cache.Set(Key(hostname), OK, AddressList(), now);
188 std::string hostname = StringPrintf("expired%d", i); local
190 cache.Set(Key(hostname), OK, AddressList(), t);
196 std::string hostname = StringPrintf("negative%d", i); local
197 cache.Set(Key(hostname), ERR_NAME_NOT_RESOLVED, AddressList(), now);
271 // Tests that the same hostname ca
[all...]
H A Dhost_cache.h22 // Stores the latest address list that was looked up for a hostname.
40 Key(const std::string& hostname, AddressFamily address_family) argument
41 : hostname(hostname), address_family(address_family) {}
44 return other.hostname == hostname &&
50 return hostname < other.hostname;
54 std::string hostname; member in struct:net::HostCache::Key
132 // Map from hostname (presumabl
[all...]
H A Dcert_verifier.cc24 const std::string& hostname,
29 hostname_(hostname),
128 const std::string& hostname,
137 int rv = cert->Verify(hostname, flags, &result);
142 request_ = new Request(this, cert, hostname, flags, verify_result, callback);
22 Request(CertVerifier* verifier, X509Certificate* cert, const std::string& hostname, int flags, CertVerifyResult* verify_result, CompletionCallback* callback) argument
127 Verify(X509Certificate* cert, const std::string& hostname, int flags, CertVerifyResult* verify_result, CompletionCallback* callback) argument
H A Dhost_resolver.h36 // The parameters for doing a Resolve(). |hostname| and |port| are required,
40 RequestInfo(const std::string& hostname, int port) argument
41 : hostname_(hostname),
49 const std::string& hostname() const { return hostname_; } function in class:net::HostResolver::RequestInfo
69 // The hostname to resolve.
116 // Resolves the given hostname (or IP address literal), filling out the
179 // This class represents the task of resolving a hostname (or IP address
181 // single hostname at a time and cancels this request when going out of scope.
191 // Resolves the given hostname (or IP address literal), filling out the
/external/chromium/net/url_request/
H A Durl_request_filter.cc28 const std::string& hostname, URLRequest::ProtocolFactory* factory) {
29 hostname_handler_map_[make_pair(scheme, hostname)] = factory;
49 const std::string& hostname) {
51 hostname_handler_map_.find(make_pair(scheme, hostname));
70 // Check to see if this URL is masked by a hostname handler.
115 // Check the hostname map first.
116 const std::string& hostname = request->url().host(); local
119 hostname_handler_map_.find(make_pair(scheme, hostname));
124 // Not in the hostname map, check the url map.
27 AddHostnameHandler(const std::string& scheme, const std::string& hostname, URLRequest::ProtocolFactory* factory) argument
48 RemoveHostnameHandler(const std::string& scheme, const std::string& hostname) argument
/external/apache-http/src/org/apache/http/
H A DHttpHost.java56 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) { argument
82 if (hostname == null) {
85 this.hostname = hostname;
86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
98 * @param hostname the hostname (I
102 HttpHost(final String hostname, int port) argument
111 HttpHost(final String hostname) argument
[all...]
/external/chromium/net/third_party/nss/ssl/
H A Dsslauth.c241 const char * hostname = NULL; local
261 * Now check the name field in the cert against the desired hostname.
264 hostname = ss->url;
265 if (hostname && hostname[0])
266 rv = CERT_VerifyCertName(ss->sec.peerCert, hostname);
/external/qemu/block/
H A Dnbd.c68 char hostname[128]; local
70 pstrcpy(hostname, 128, host);
72 p = strchr(hostname, ':');
82 sock = tcp_socket_outgoing(hostname, port);
/external/webkit/WebCore/platform/network/cf/
H A DDNSCFNet.cpp124 void DNSResolveQueue::resolve(const String& hostname) argument
128 RetainPtr<CFStringRef> hostnameCF(AdoptCF, hostname.createCFString());
147 void prefetchDNS(const String& hostname) argument
150 if (hostname.isEmpty())
152 DNSResolveQueue::shared().add(hostname);
/external/bluetooth/glib/tests/
H A Duri-test.c40 char *hostname; member in struct:__anon661
186 to_uri_tests[i].hostname,
233 gchar *hostname; local
240 &hostname,
291 if (hostname != NULL)
293 g_print ("\ng_filename_from_uri() test %d failed, expected no hostname, got: %s\n",
294 i, hostname);
298 else if (hostname == NULL ||
299 strcmp (hostname, from_uri_tests[i].expected_hostname) != 0)
301 g_print ("\ng_filename_from_uri() test %d failed, expected hostname
355 gchar *uri, *hostname, *res; local
[all...]
/external/chromium/net/proxy/
H A Dproxy_resolver_js_bindings.cc36 int Resolve(const std::string& hostname, argument
40 HostResolver::RequestInfo info(hostname, 80);
119 // Do a sync resolve of the hostname.
143 // Do a sync resolve of the hostname.
/external/dropbear/
H A Ddropbearkey.c304 char hostname[100]; local
330 gethostname(hostname, sizeof(hostname));
331 hostname[sizeof(hostname)-1] = '\0';
334 typestring, base64key, username, hostname, fp);
H A Dfake-rfc2553.c150 getaddrinfo(const char *hostname, const char *servname, argument
175 if (hostname && inet_aton(hostname, &in) != 0)
183 if (!hostname) {
190 if (inet_aton(hostname, &in)) {
201 hp = gethostbyname(hostname);
H A Dloginrec.h135 char hostname[LINFO_HOSTSIZE]; /* remote hostname */ member in struct:logininfo
154 const char *hostname, const char *line);
159 const char *hostname, const char *line);

Completed in 351 milliseconds

123