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

12345678

/external/chromium_org/sync/util/
H A Dget_session_name_linux.cc16 char hostname[HOST_NAME_MAX]; local
17 if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success.
18 return hostname;
H A Dcryptographer.h31 std::string hostname; member in struct:syncer::KeyParams
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DDNS.cpp35 void prefetchDNS(const String& hostname) argument
42 prescientNetworking->prefetchDNS(hostname);
/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/third_party/WebKit/public/platform/
H A DWebPrescientNetworking.h47 virtual void prefetchDNS(const WebString& hostname) { } argument
/external/apache-http/src/org/apache/http/conn/scheme/
H A DHostNameResolver.java45 InetAddress resolve (String hostname) throws IOException; argument
/external/chromium_org/net/quic/crypto/
H A Dproof_source_chromium.cc15 bool ProofSourceChromium::GetProof(const string& hostname, argument
H A Dchannel_id_test.cc227 const string hostname = "foo.example.com"; local
230 source->GetChannelIDKey(hostname, &channel_id_key, NULL);
/external/conscrypt/src/main/java/org/conscrypt/
H A DAddressUtils.java37 * Returns true when the supplied hostname is valid for SNI purposes.
57 * Returns true if the supplied hostname is an literal IP address.
59 public static boolean isLiteralIpAddress(String hostname) { argument
65 return ipPattern.matcher(hostname).matches();
H A DOpenSSLSocketFactoryImpl.java67 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { argument
68 return new OpenSSLSocketImpl(hostname, port, (SSLParametersImpl) sslParameters.clone());
72 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) argument
74 return new OpenSSLSocketImpl(hostname,
100 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) argument
103 hostname,
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DRecordingHostnameVerifier.java26 public boolean verify(String hostname, SSLSession session) { argument
27 calls.add("verify " + hostname);
/external/chromium_org/net/dns/
H A Dhost_cache_unittest.cc20 // Builds a key for |hostname|, defaulting the address family to unspecified.
21 HostCache::Key Key(const std::string& hostname) { argument
22 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0);
178 // Tests that the same hostname can be duplicated in the cache, so long as
211 // Tests that the same hostname can be duplicated in the cache, so long as
H A Dhost_cache.h25 // Stores the latest address list that was looked up for a hostname.
42 Key(const std::string& hostname, AddressFamily address_family, argument
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
/external/chromium_org/net/quic/test_tools/
H A Dcrypto_test_utils_nss.cc30 const string& hostname,
33 channel_id_key->reset(new ChannelIDKeyChromium(HostnameToKey(hostname)));
40 crypto::ECPrivateKey* HostnameToKey(const string& hostname) { argument
41 HostnameToKeyMap::const_iterator it = hostname_to_key_.find(hostname);
50 hostname_to_key_[hostname] = keypair;
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());
/external/chromium_org/storage/common/database/
H A Ddatabase_identifier.h33 std::string hostname() const { return hostname_; } function in class:storage::DatabaseIdentifier
40 const std::string& hostname,
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMURLUtilsReadOnly.h58 static String hostname(const KURL& url) { return url.host(); } function in class:blink::DOMURLUtilsReadOnly
59 String hostname() { return hostname(url()); } function in class:blink::DOMURLUtilsReadOnly
/external/javassist/src/main/javassist/
H A DURLClassPath.java29 protected String hostname; field in class:URLClassPath
61 hostname = host;
68 return hostname + ":" + port + directory;
90 return fetchClass0(hostname, port, jarname);
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
H A DNanoWebSocketServer.java14 public NanoWebSocketServer(String hostname, int port) { argument
15 super(hostname, port);
24 public NanoWebSocketServer(String hostname, int port, IWebSocketFactory webSocketFactory) { argument
25 super(hostname, port);
/external/chromium_org/net/cert/
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
/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);
H A Dsocket_helper.c38 const char *hostname,
49 ret = getaddrinfo(hostname, port_str, &hint, &result);
35 bio_ip_and_port_to_socket_and_addr(int *out_sock, struct sockaddr_storage *out_addr, socklen_t *out_addr_length, const char *hostname, const char *port_str) argument
/external/chromium_org/third_party/webrtc/base/
H A Dnethelpers.cc25 int ResolveHostname(const std::string& hostname, int family, argument
41 int ret = getaddrinfo(hostname.c_str(), NULL, &hints, &result);
84 error_ = ResolveHostname(addr_.hostname().c_str(), addr_.family(),
H A Dsocketaddress.h34 // 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/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...]

Completed in 708 milliseconds

12345678