/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 141 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport); 154 getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i]); 175 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, 181 getSSLSocket(InetAddress.getLocalHost().getHostName(), 8081, InetAddress.getLocalHost(), 8082); 188 getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i], 194 getSSLSocket(InetAddress.getLocalHost().getHostName(), sport,
|
/libcore/luni/src/main/java/java/net/ |
InetSocketAddress.java | 152 public final String getHostName() { 153 return (addr != null) ? addr.getHostName() : hostname; 158 * Unlike {@link #getHostName}, this method will never cause a DNS lookup.
|
/ndk/sources/host-tools/make-3.81/ |
acinclude.m4 | 49 AC_CHECK_FUNCS(gethostname,,[ 50 CF_RECHECK_FUNC(gethostname,nsl,cf_cv_netlibs,[ 51 CF_RECHECK_FUNC(gethostname,socket,cf_cv_netlibs)])])
|
/external/bison/lib/ |
unistd.in.h | 25 are completely included before we replace gethostname. */ 45 /* Get all possible declarations of gethostname(). */ 102 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 718 # undef gethostname 719 # define gethostname rpl_gethostname 721 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) 723 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); 726 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) 732 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); 734 _GL_CXXALIASWARN (gethostname); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
socketaddress.cc | 179 && (0 == stricmp(hostname_.c_str(), GetHostname().c_str()))) { 330 std::string SocketAddress::GetHostname() { 332 if (gethostname(hostname, ARRAY_SIZE(hostname)) == 0) 340 const std::string hostname = GetHostname();
|
/external/chromium_org/chrome/common/extensions/api/ |
cloud_print_private.json | 73 "name": "getHostName",
|
/external/chromium_org/net/dns/ |
dns_transaction.h | 32 virtual const std::string& GetHostname() const = 0;
|
/external/chromium_org/sync/util/ |
get_session_name.cc | 40 session_name = internal::GetHostname();
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/ |
defaults.cc | 69 if (gethostname(computer_name, ARRAY_SIZE(computer_name)) != 0)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayerTest.java | 35 assertThat("example.com", equalTo(requestMatcherBuilder.getHostname()));
|
/frameworks/base/core/java/android/net/http/ |
HttpConnection.java | 58 Socket sock = new Socket(mHost.getHostName(), mHost.getPort());
|
HttpsConnection.java | 179 (mProxyHost.getHostName(), mProxyHost.getPort()); 260 proxySock, mHost.getHostName(), mHost.getPort(), true); 294 mHost.getHostName(), mHost.getPort()); 312 doHandshakeAndValidateServerCertificates(this, sslSock, mHost.getHostName());
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSUserFile.py | 9 import socket # for gethostname namespace 103 'RemoteMachine': socket.gethostname(),
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
ConnectionPoolTest.java | 48 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 74 httpAddress = new Address(httpServer.getHostName(), httpServer.getPort(), null, null, 76 httpSocketAddress = new InetSocketAddress(InetAddress.getByName(httpServer.getHostName()), 80 spdyAddress = new Address(spdyServer.getHostName(), spdyServer.getPort(), 83 spdySocketAddress = new InetSocketAddress(InetAddress.getByName(spdyServer.getHostName()),
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 89 public String getHostName() { 90 return InetAddress.getLoopbackAddress().getHostName(); 94 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort())); 104 ? new URL("https://" + getHostName() + ":" + getPort() + path) 105 : new URL("http://" + getHostName() + ":" + getPort() + path);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 137 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); 166 target.getHostName(), 232 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
|
/prebuilts/gcc/linux-x86/host/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
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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/bison/darwin-lib/ |
unistd.h | 26 are completely included before we replace gethostname. */ 46 /* Get all possible declarations of gethostname(). */ 103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 1048 # undef gethostname macro 1049 # define gethostname macro 1051 # undef gethostname macro [all...] |
/external/bison/linux-lib/ |
unistd.h | 26 are completely included before we replace gethostname. */ 46 /* Get all possible declarations of gethostname(). */ 103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 1048 # undef gethostname macro 1049 # define gethostname macro 1051 # undef gethostname macro [all...] |
/external/chromium_org/remoting/tools/ |
native_messaging_host_test.py | 45 return {'type': 'getHostName'}
|
/external/chromium_org/remoting/webapp/ |
host_dispatcher.js | 109 remoting.HostDispatcher.prototype.getHostName = function(onDone, onError) { 113 this.getHostName.bind(this, onDone, onError)); 116 this.nativeMessagingHost_.getHostName(onDone, onError); 120 this.npapiHost_.getHostName(onDone);
|
/external/chromium/net/proxy/ |
proxy_resolver_js_bindings.cc | 161 std::string my_hostname = GetHostName(); 168 std::string my_hostname = GetHostName();
|