/system/extras/tests/bionic/libc/common/ |
test_gethostname.c | 12 ret = gethostname(hostname, sizeof(hostname)); 14 printf("gethostname() returned error %d: %s\n", errno, strerror(errno)); 18 printf("gethostname() returned '%s'\n", hostname);
|
/development/tools/axl/ |
udpServer.py | 13 # hostname = socket.gethostname()
|
udpEater.py | 33 hostname = socket.gethostname()
|
/external/chromium/net/http/ |
http_auth_handler_ntlm.h | 45 // GetHostName functions. 90 // For unit tests to override the GenerateRandom and GetHostName functions.
|
/external/clearsilver/python/examples/base/ |
handle_error.py | 87 hdf.setValue("Optional.Hostname", socket.gethostname()) 96 fname = "%d.%d_%d.%s" % (now, pid, Count, socket.gethostname())
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
InetSocketAddressTest.java | 60 assertNotNull(address.getHostName()); 87 method = "getHostName", 125 //assertEquals(results[i], isa.getHostName()); 133 assertEquals("0.0.0.0", isa.getHostName()); 176 assertEquals("0.0.0.0", isa.getHostName()); 213 assertEquals(isa.getHostName(), legalHostPortPairs[i].host); 266 assertEquals("HostName", init.getHostName(), desr.getHostName());
|
InetAddressTest.java | 62 * the gethostbyname function to be called. getHostName will cause the 94 String correctName = testAddress.getHostName(); 113 String hostName = ia.getHostName(); 123 + ": getHostName() returned " 133 + ": getHostName() returned " 217 assertTrue(alias.getHostName().startsWith( 260 // ia2.getHostName().startsWith(Support_Configuration.InetTestAddress)); 328 * @tests java.net.InetAddress#getHostName() 333 method = "getHostName", 337 // Test for method java.lang.String java.net.InetAddress.getHostName() [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ |
SocketFactoryTest.java | 113 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); 131 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]); 141 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), portNumber); 285 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport, 307 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i], 316 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
|
/bionic/libc/unistd/ |
gethostname.c | 33 int gethostname(char* buff, size_t buflen) function
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 136 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); 165 target.getHostName(), 226 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
|
/libcore/luni/src/main/java/java/net/ |
InetSocketAddress.java | 69 hostname = addr.getHostName(); 157 public final String getHostName() { 158 return (null != addr) ? addr.getHostName() : hostname;
|
DatagramSocket.java | 158 security.checkConnect(anAddress.getHostName(), aPort); 230 security.checkConnect(anAddr.getHostName(), -1); 371 security.checkAccept(senderAddr.getHostName(), 445 security.checkConnect(packAddr.getHostName(), pack 622 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); 654 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); 666 security.checkConnect(inetAddr.getAddress().getHostName(),
|
/external/clearsilver/python/examples/trans/ |
db_trans.py | 71 local_name = socket.gethostname()
|
/frameworks/base/core/java/android/net/http/ |
HttpConnection.java | 58 Socket sock = new Socket(mHost.getHostName(), mHost.getPort());
|
HttpsConnection.java | 178 (mProxyHost.getHostName(), mProxyHost.getPort()); 256 proxySock, mHost.getHostName(), mHost.getPort(), true); 292 sslSock.connect(new InetSocketAddress(mHost.getHostName(), 310 doHandshakeAndValidateServerCertificates(this, sslSock, mHost.getHostName());
|
/external/chromium/net/proxy/ |
proxy_resolver_js_bindings.cc | 109 return DnsResolve(GetHostName()); 114 return DnsResolveEx(GetHostName());
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
unistd.h | 337 gethostname) __nonnull ((1)); 341 __nonnull ((1)) __warnattr ("gethostname called with bigger buflen than " 345 __NTH (gethostname (char *__buf, size_t __buflen)) function
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestTargetHost.java | 82 targethost = new HttpHost(address.getHostName(), port);
|
/external/nist-sip/java/gov/nist/core/ |
Host.java | 152 public String getHostname() { 297 return this.getHostname().hashCode();
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 244 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport); 257 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i]); 294 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, 310 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i], 319 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ClientHandshakeImpl.java | 93 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort()); 117 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort()); 629 host = socketOwner.getInetAddress().getHostName();
|
/external/quake/quake/src/QW/client/ |
net_udp.c | 56 // int gethostname (char *, int); 270 gethostname(buff, MAXHOSTNAMELEN);
|
/libcore/luni/src/main/native/ |
java_net_InetAddress.cpp | 42 int r = gethostname(name, 256); 331 NATIVE_METHOD(InetAddress, gethostname, "()Ljava/lang/String;"),
|
/bionic/libc/include/ |
unistd.h | 152 extern int gethostname(char *, size_t);
|
/development/ndk/platforms/android-3/include/ |
unistd.h | 144 extern int gethostname(char *, size_t);
|