/libcore/ojluni/src/main/java/java/net/ |
D | Inet4Address.java | 121 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()
|
D | InetAddress.java | 220 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 …]
|
D | Inet6Address.java | 408 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 …]
|
D | Inet6AddressImpl.java | 138 address.holder().hostName = host; in lookupHostByName() 313 anyAddress.holder().hostName = "::"; in anyLocalAddress()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet6Address.java | 39 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
|
D | Inet4Address.java | 39 Inet4Address(java.lang.String hostName, byte[] addr) { in Inet4Address() argument 43 Inet4Address(java.lang.String hostName, int address) { in Inet4Address() argument
|
D | InetAddress.java | 262 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/ |
D | InetAddressThreadTest.java | 86 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/ |
D | URLConnectionTest.java | 104 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();
|