/external/chromium_org/sync/util/ |
get_session_name_linux.cc | 16 char hostname[HOST_NAME_MAX]; local 17 if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success. 18 return hostname;
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
DNS.h | 35 PLATFORM_EXPORT void prefetchDNS(const String& hostname);
|
DNS.cpp | 35 void prefetchDNS(const String& hostname) 42 prescientNetworking->prefetchDNS(hostname);
|
/external/dhcpcd/ |
dhcpcd.conf | 4 # Inform the DHCP server of our hostname for DDNS. 5 hostname 21 # A hook script is provided to lookup the hostname if not set by the DHCP 23 nohook lookup-hostname
|
/system/extras/tests/bionic/libc/common/ |
test_gethostname.c | 36 char hostname[512]; local 39 ret = gethostname(hostname, sizeof(hostname)); 45 printf("gethostname() returned '%s'\n", hostname);
|
/libcore/luni/src/main/java/java/net/ |
InetSocketAddress.java | 31 // Exactly one of hostname or addr should be set. 33 private final String hostname; field in class:InetSocketAddress 42 this.hostname = null; 74 this.hostname = null; 80 * hostname {@code host}. The hostname is tried to be resolved and cannot be 87 * the specified hostname to which this socket is bound. 97 InetSocketAddress(String hostname, int port, boolean needResolved) { 98 if (hostname == null || port < 0 || port > 65535) { 99 throw new IllegalArgumentException("host=" + hostname + ", port=" + port) [all...] |
AddressCache.java | 70 * Returns the cached InetAddress[] associated with 'hostname'. Returns null if nothing is known 71 * about 'hostname'. Returns a String suitable for use as an UnknownHostException detail 72 * message if 'hostname' is known not to exist. 74 public Object get(String hostname) { 75 AddressCacheEntry entry = cache.get(hostname); 86 * Associates the given 'addresses' with 'hostname'. The association will expire after a 89 public void put(String hostname, InetAddress[] addresses) { 90 cache.put(hostname, new AddressCacheEntry(addresses)); 94 * Records that 'hostname' is known not to have any associated addresses. (I.e. insert a 97 public void putUnknownHost(String hostname, String detailMessage) [all...] |
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
X11ServerData.java | 16 public String hostname; field in class:X11ServerData
|
/libcore/luni/src/main/java/javax/net/ssl/ |
HostnameVerifier.java | 21 * The interface to be used to provide hostname verification functionality. 24 * during a handshake if the URL's hostname does not match the peer's 25 * identification hostname. 29 * Verifies that the specified hostname is allowed within the specified SSL 32 * @param hostname 33 * the hostname. 36 * @return {@code true} if the specified hostname is allowed, otherwise 39 boolean verify(String hostname, SSLSession session);
|
/external/nist-sip/java/gov/nist/core/ |
Host.java | 43 * Stores hostname. 68 protected static final int HOSTNAME = 1; 72 /** hostName field 74 protected String hostname; field in class:Host 86 addressType = HOSTNAME; 94 public Host(String hostName) throws IllegalArgumentException { 95 if (hostName == null) 101 setHost(hostName, IPV4ADDRESS); 124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { 125 buffer.append('[').append(hostname).append(']') [all...] |
/external/chromium/net/socket/ |
dns_cert_provenance_checker.h | 26 const std::string& hostname, 37 const std::string& hostname, 46 const std::string& hostname, 56 const std::string& hostname,
|
/external/chromium_org/net/url_request/ |
fraudulent_certificate_reporter.h | 22 // associated with a connection to |hostname|. If |sni_available| is true, 25 virtual void SendReport(const std::string& hostname,
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
ServerHostKeyVerifier.java | 24 * @param hostname the hostname used to create the {@link Connection} object 32 public boolean verifyServerHostKey(String hostname, int port, String serverHostKeyAlgorithm, byte[] serverHostKey)
|
/external/chromium/net/base/ |
ssl_config_service_unittest.cc | 10 bool IsFalseStartIncompatible(const std::string& hostname) { 12 hostname);
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 56 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) { 82 if (hostname == null) { 85 this.hostname = hostname; 86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 98 * @param hostname the hostname (IP or DNS name [all...] |
/external/chromium_org/net/cert/ |
mock_cert_verifier.cc | 18 const std::string& hostname, 22 hostname(hostname), 30 std::string hostname; member in struct:net::MockCertVerifier::Rule 40 const std::string& hostname, 52 if (!MatchPattern(hostname, it->hostname))
|
/external/chromium_org/content/test/net/ |
url_request_failed_job.cc | 36 const std::string& hostname, 40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); 65 const std::string& hostname) { 66 // Add |hostname| to net::URLRequestFilter for HTTP and HTTPS. 68 filter->AddHostnameHandler("http", hostname, URLRequestFailedJob::Factory); 69 filter->AddHostnameHandler("https", hostname, URLRequestFailedJob::Factory); 84 int net_error, const std::string& hostname) { 85 return GetMockUrl("http", hostname, net_error); 90 int net_error, const std::string& hostname) { 91 return GetMockUrl("https", hostname, net_error) [all...] |
/external/ganymed-ssh2/examples/ |
SimpleVerifier.java | 24 public boolean verifyServerHostKey(String hostname, int port, String serverHostKeyAlgorithm, byte[] serverHostKey) 27 int result = database.verifyHostkey(hostname, serverHostKeyAlgorithm, serverHostKey); 42 database.addHostkey(new String[] { hostname }, serverHostKeyAlgorithm, serverHostKey);
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
HostNameResolver.java | 39 InetAddress resolve (String hostname) throws IOException;
|
/external/chromium/chrome/common/remoting/ |
chromoting_host_info.h | 18 std::string hostname; member in struct:remoting::ChromotingHostInfo
|
/external/chromium_org/net/quic/crypto/ |
proof_source_chromium.cc | 15 bool ProofSourceChromium::GetProof(const string& hostname,
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebPrescientNetworking.h | 58 virtual void prefetchDNS(const WebString& hostname) { }
|
/external/openssh/ |
auth-rhosts.c | 55 check_rhosts_file(const char *filename, const char *hostname, 149 if (!innetgr(host + 1, hostname, NULL, NULL) && 152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) 153 continue; /* Different hostname. */ 189 const char *hostname, *ipaddr; local 191 hostname = get_canonical_hostname(options.use_dns); 193 return auth_rhosts2(pw, client_user, hostname, ipaddr); 197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, 205 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 206 client_user, hostname, ipaddr) [all...] |
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
ServerConnection.cpp | 97 char *hostname; local 99 hostname = strdup(defaultServer); 101 hostname = strdup(s); 104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) { 105 ALOGE("couldn't connect to %s\n", hostname); 106 free(hostname); 110 LOGI("connecting to server %s\n", hostname); 111 free(hostname);
|