/external/toybox/toys/lsb/ |
hostname.c | 0 /* hostname.c - Get/Set the hostname 5 * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/hostname.html 7 USE_HOSTNAME(NEWTOY(hostname, NULL, TOYFLAG_BIN)) 9 config HOSTNAME 10 bool "hostname" 13 usage: hostname [newname] 15 Get/Set the current hostname 23 const char *hostname = toys.optargs[0]; local 24 if (hostname) { [all...] |
/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
|
/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; 71 this.hostname = null; 77 * hostname {@code host}. The hostname is tried to be resolved and cannot be 81 * @param host the hostname of the socket endpoint. 92 InetSocketAddress(String hostname, int port, boolean needResolved) { 93 if (hostname == null || port < 0 || port > 65535) { 94 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);
|
/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/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/apache-http/src/org/apache/http/ |
HttpHost.java | 61 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) { 87 if (hostname == null) { 90 this.hostname = hostname; 91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 103 * @param hostname the hostname (IP or DNS name [all...] |
/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);
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
HostNameResolver.java | 45 InetAddress resolve (String hostname) throws IOException;
|
/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/conscrypt/src/main/java/org/conscrypt/ |
AddressUtils.java | 37 * 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) { 65 return ipPattern.matcher(hostname).matches();
|
OpenSSLSocketFactoryImpl.java | 67 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { 68 return new OpenSSLSocketImpl(hostname, port, (SSLParametersImpl) sslParameters.clone()); 72 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 74 return new OpenSSLSocketImpl(hostname, 100 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) 103 hostname,
|
/external/toybox/tests/ |
hostname.test | 10 # Get system hostname 11 hostnameExe=`which hostname` 14 # New hostname 17 testing "Hostname - Get" "hostname" "$hostnameOut\n" "" "" 18 testing "Hostname - Set, Get and then Reset" "hostname $NewHostname; hostname; hostname $hostnameOut; hostname" "$NewHostname\n$hostnameOut\n" "" " [all...] |
/external/conscrypt/src/compat/java/org/conscrypt/ |
BaseOpenSSLSocketAdapterFactory.java | 49 public Socket createSocket(String hostname, int port) 51 return wrap((OpenSSLSocketImpl) delegate.createSocket(hostname, port)); 55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 58 (OpenSSLSocketImpl) delegate.createSocket(hostname, port, localHost, localPort)); 76 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) 78 return wrap((OpenSSLSocketImpl) delegate.createSocket(s, hostname, port, autoClose));
|
/development/tools/axl/ |
udpEater.py | 33 hostname = socket.gethostname() 34 ip = socket.gethostbyname(hostname)
|
udpServer.py | 13 # hostname = socket.gethostname() 14 hostname = "localhost" 15 ip = socket.gethostbyname(hostname)
|
/external/dhcpcd/dhcpcd-hooks/ |
Makefile | 7 SCRIPTS+= 10-mtu 20-resolv.conf 29-lookup-hostname 30-hostname
|
/external/dnsmasq/contrib/port-forward/ |
dnsmasq-portforward | 23 hostname=${4} 34 hostname=${DNSMASQ_OLD_HOSTNAME} 42 if [ ${hostname} ]; then 43 ports=$(sed -n -e "/^${hostname}\ .*/ s/^.* //p" ${PORTSFILE})
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
TcpStream.h | 27 int connect(const char* hostname, unsigned short port);
|
/external/chromium-libpac/test/js-unittest/ |
international_domain_names.js | 4 // This international hostname has a non-ASCII character. It is represented 10 // unicode hostname.
|
/external/openssh/ |
auth-rhosts.c | 55 check_rhosts_file(const char *filename, const char *hostname, 151 if (!innetgr(host + 1, hostname, NULL, NULL) && 154 } else if (strcasecmp(host, hostname) && 156 continue; /* Different hostname. */ 192 const char *hostname, *ipaddr; local 194 hostname = get_canonical_hostname(options.use_dns); 196 return auth_rhosts2(pw, client_user, hostname, ipaddr); 200 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, 208 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 209 client_user, hostname, ipaddr) [all...] |
sshlogin.c | 79 strlcpy(buf, li.hostname, bufsize); 91 char *time_string, hostname[HOST_NAME_MAX+1] = "", buf[512]; local 104 last_login_time = get_last_login_time(uid, user, hostname, 105 sizeof(hostname)); 110 if (strcmp(hostname, "") == 0) 115 time_string, hostname);
|