/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);
|
test_gethostbyname.c | 38 char* hostname = "localhost"; local 43 hostname = argv[1]; 45 hent = gethostbyname(hostname); 47 printf("gethostbyname(%s) returned NULL !!\n", hostname); 50 printf( "gethostbyname(%s) returned:\n", hostname);
|
/external/lldb/test/pexpect-2.4/examples/ |
hive.py | 156 # build up the list of connection information (hostname, username, password, port) 159 hostname = hcd['hostname'] 168 username = raw_input('%s username: ' % hostname) 174 password = getpass.getpass('%s password: ' % hostname) 175 host_names.append(hostname) 176 hive_connect_info[hostname] = (hostname, username, password, port) 178 for hostname in host_names: 179 print 'connecting to', hostname [all...] |
/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 | 47 AddressCacheKey(String hostname, int netId) { 48 mHostname = hostname; 98 * Returns the cached InetAddress[] for 'hostname' on network 'netId'. Returns null 99 * if nothing is known about 'hostname'. Returns a String suitable for use as an 100 * UnknownHostException detail message if 'hostname' is known not to exist. 102 public Object get(String hostname, int netId) { 103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId)); 114 * Associates the given 'addresses' with 'hostname'. The association will expire after a 117 public void put(String hostname, int netId, InetAddress[] addresses) { 118 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses)) [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/chromium_org/content/common/ |
p2p_socket_type.h | 42 P2PHostAndIPEndPoint(const std::string& hostname, 44 : hostname(hostname), ip_address(ip_address) { 47 std::string hostname; member in struct:content::P2PHostAndIPEndPoint
|
/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_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/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))
|
cert_verify_proc_nss.h | 29 const std::string& hostname, 38 const std::string& 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/apache-http/src/org/apache/http/conn/scheme/ |
HostNameResolver.java | 39 InetAddress resolve (String hostname) throws IOException;
|
/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/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
NanoWebSocketServer.java | 14 public NanoWebSocketServer(String hostname, int port) { 15 super(hostname, port); 24 public NanoWebSocketServer(String hostname, int port, IWebSocketFactory webSocketFactory) { 25 super(hostname, port);
|
/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);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
RecordingHostnameVerifier.java | 26 public boolean verify(String hostname, SSLSession session) { 27 calls.add("verify " + hostname);
|
/external/chromium_org/chrome/renderer/net/ |
prescient_networking_dispatcher.cc | 54 const blink::WebString& hostname) { 55 if (hostname.isEmpty()) 58 std::string hostname_utf8 = base::UTF16ToUTF8(hostname);
|