Home
last modified time | relevance | path

Searched refs:hostName (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DInet4Address.java121 holder().hostName = null; in Inet4Address()
126 Inet4Address(String hostName, byte addr[]) { in Inet4Address() argument
127 holder().hostName = hostName; in Inet4Address()
138 holder().originalHostName = hostName; in Inet4Address()
140 Inet4Address(String hostName, int address) { in Inet4Address() argument
141 holder().hostName = hostName; in Inet4Address()
144 holder().originalHostName = hostName; in Inet4Address()
158 inet.holder().hostName = holder().getHostName(); in writeReplace()
DInetAddress.java220 InetAddressHolder(String hostName, int address, int family) { in InetAddressHolder() argument
221 this.originalHostName = hostName; in InetAddressHolder()
222 this.hostName = hostName; in InetAddressHolder()
227 void init(String hostName, int family) { in init() argument
228 this.originalHostName = hostName; in init()
229 this.hostName = hostName; in init()
235 String hostName; field in InetAddress.InetAddressHolder
238 return hostName; in getHostName()
565 holder().hostName = InetAddress.getHostFromNameService(this); in getHostName()
744 String hostName = holder().getHostName(); in toString() local
[all …]
DInet6Address.java408 Inet6Address(String hostName, byte addr[], int scope_id) { in Inet6Address() argument
409 holder.init(hostName, AF_INET6); in Inet6Address()
414 Inet6Address(String hostName, byte addr[]) { in Inet6Address() argument
417 initif (hostName, addr, null); in Inet6Address()
421 Inet6Address (String hostName, byte addr[], NetworkInterface nif) in Inet6Address() argument
425 initif (hostName, addr, nif); in Inet6Address()
428 Inet6Address (String hostName, byte addr[], String ifname) in Inet6Address() argument
432 initstr (hostName, addr, ifname); in Inet6Address()
505 private void initstr(String hostName, byte addr[], String ifname) in initstr() argument
513 initif (hostName, addr, nif); in initstr()
[all …]
DInet6AddressImpl.java138 address.holder().hostName = host; in lookupHostByName()
313 anyAddress.holder().hostName = "::"; in anyLocalAddress()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6Address.java39 Inet6Address(java.lang.String hostName, byte[] addr, int scope_id) { in Inet6Address() argument
43 Inet6Address(java.lang.String hostName, byte[] addr) { in Inet6Address() argument
47 Inet6Address(java.lang.String hostName, byte[] addr, java.net.NetworkInterface nif) in Inet6Address() argument
52 Inet6Address(java.lang.String hostName, byte[] addr, java.lang.String ifname) in Inet6Address() argument
68 private void initstr(java.lang.String hostName, byte[] addr, java.lang.String ifname) in initstr() argument
73 private void initif(java.lang.String hostName, byte[] addr, java.net.NetworkInterface nif) in initif() argument
DInet4Address.java39 Inet4Address(java.lang.String hostName, byte[] addr) { in Inet4Address() argument
43 Inet4Address(java.lang.String hostName, int address) { in Inet4Address() argument
DInetAddress.java262 InetAddressHolder(java.lang.String hostName, int address, int family) { in InetAddressHolder() argument
266 void init(java.lang.String hostName, int family) { in init() argument
293 java.lang.String hostName; field in InetAddress.InetAddressHolder
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressThreadTest.java86 String hostName = ia.getHostName(); in run() local
92 if (!hostName.startsWith(correctName)) { in run()
97 + hostName in run()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java104 private String hostName; field in URLConnectionTest
110 hostName = server.getHostName(); in setUp()
1903 assertContains(first.getHeaders(), "Host: " + hostName + ":" + server.getPort());
1905 assertContains(second.getHeaders(), "Host: " + hostName + ":" + server2.getPort());
2106 assertEquals(Arrays.asList("verify " + hostName), hostnameVerifier.calls);
2147 String hostName = "localhost";
2148 int expectedConnectionAttempts = InetAddress.getAllByName(hostName).length;
2175 URLConnection urlConnection = new URL("http://" + hostName + "/").openConnection();