/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/openssh/ |
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);
|
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...] |
loginrec.h | 70 char hostname[LINFO_HOSTSIZE]; /* remote hostname */ member in struct:logininfo 90 const char *hostname, const char *line); 95 const char *hostname, const char *line);
|
/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);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
ServerNameHelloExtension.java | 47 String hostname = new String(hostnameBytes, "US-ASCII"); local 48 hostnames.add(hostname);
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 42 StringRef Hostname; 44 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " "); 48 auto Owner = std::make_pair(std::string(Hostname), PID); 58 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) { 65 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH) 103 char hostname[256]; local 104 hostname[255] = 0; 105 hostname[0] = 0; 106 gethostname(hostname, 255); 107 Out << hostname << ' ' << getpid() [all...] |
/external/toybox/toys/pending/ |
dumpleases.c | 33 char hostname[20]; member in struct:lease 57 lease_struct.hostname[19] = '\0'; 58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname );
|
getty.c | 26 -H HOST Log HOST into the utmp file as the hostname 206 char *hostname; local 210 hostname = xstrdup(uts.nodename); 211 fputs(hostname, stdout); 214 free(hostname); 215 hostname = NULL; 262 // Put hostname entry in utmp file
|
/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/javassist/src/main/javassist/ |
URLClassPath.java | 29 protected String hostname; field in class:URLClassPath 61 hostname = host; 68 return hostname + ":" + port + directory; 90 return fetchClass0(hostname, port, jarname);
|
/external/toybox/toys/other/ |
login.c | 31 char *hostname; 64 char hostname[HOSTNAME_SIZE+1]; local 67 hostname[HOSTNAME_SIZE] = 0; 68 if (!gethostname(hostname, HOSTNAME_SIZE)) fputs(hostname, stdout); 195 ttyname(0), h_flag?"from":"", h_flag?TT.hostname:""); 219 ttyname(0), h_flag?"from":"", h_flag?TT.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; 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...] |
/bionic/libc/kernel/uapi/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/cts/tests/tests/net/src/android/net/cts/ |
DnsTest.java | 223 String hostname = addr.getHostName(); local 230 String hostname = addr.getHostName(); local
|
/development/ndk/platforms/android-21/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/external/boringssl/src/tool/ |
transport_common.cc | 74 std::string hostname, port; local 77 hostname = hostname_and_port; 80 hostname = hostname_and_port.substr(0, colon_offset); 89 int ret = getaddrinfo(hostname.c_str(), port.c_str(), &hint, &result);
|
/external/kernel-headers/original/uapi/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/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...] |
HostNameParser.java | 175 String hostname; local 179 hostname = ipv6Reference(); 187 hostname 192 //IPv4 address or hostname 196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); 199 if (hostname.length() == 0) 204 return new Host(hostname); 307 " Illegal character in hostname:" + lexer.lookAhead(0),
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|