/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | Inet6AddressTest.java | 686 Inet6Address.getByAddress("123", null, 0); in test_getByAddressLString$BI() 693 Inet6Address.getByAddress("123", addr1, 0); in test_getByAddressLString$BI() 704 Inet6Address.getByAddress("123", addr2, 3); in test_getByAddressLString$BI() 705 Inet6Address.getByAddress("123", addr2, 0); in test_getByAddressLString$BI() 706 Inet6Address.getByAddress("123", addr2, -1); in test_getByAddressLString$BI() 713 Inet6Address.getByAddress("123", null, nif); in test_getByAddressLString$BLNetworkInterface() 720 Inet6Address.getByAddress("123", addr1, nif); in test_getByAddressLString$BLNetworkInterface() 730 Inet6Address.getByAddress("123", addr2, nif); in test_getByAddressLString$BLNetworkInterface() 735 InetAddress ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_() 739 ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_() [all …]
|
D | InetAddressTest.java | 70 InetAddress address = InetAddress.getByAddress(origBytes); in test_getAddress() 245 InetAddress addr2 = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_toString() 257 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); in test_getByAddressLjava_lang_String$B() 258 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B() 268 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress2); in test_getByAddressLjava_lang_String$B() 269 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B() 420 InetAddress.getByAddress(null); in test_getByAddress()
|
D | DatagramSocketTest.java | 316 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress() 323 InetAddress inetAddress = InetAddress.getByAddress(addressTestBytes); in testConnect_zeroAddress() 871 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0)); in test_setBroadcastZ() 879 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0)); in test_setBroadcastZ()
|
D | ServerSocketTest.java | 467 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddress() 551 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddressI()
|
D | NetworkInterfaceTest.java | 255 .getByAddress(addressBytes))); in test_getByInetAddressLjava_net_InetAddress()
|
D | SocketTest.java | 165 .getByAddress(Support_Configuration.nonLocalAddressBytes), 42); in test_bindLjava_net_SocketAddress() 325 .getByAddress(new byte[] { 0, 0, 0, 0 }), 42)); in test_connectLjava_net_SocketAddress() 423 .getByAddress(new byte[] { 0, 0, 0, 0 }), 0); in test_connectLjava_net_SocketAddressI()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 111 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES); in loopback6() 115 return (Inet6Address) InetAddress.getByAddress("ip6-localhost", LOOPBACK6_BYTES); in localhost6() 374 assertEquals(Inet6Address.getByAddress("1", bs, 1), Inet6Address.getByAddress("2", bs, 2)); in test_equals() 403 aAddr = Inet6Address.getByAddress(bAddr); in test_getHostAddress() 413 aAddr = Inet6Address.getByAddress(cAddr); in test_getHostAddress() 422 aAddr = Inet6Address.getByAddress(dAddr); in test_getHostAddress() 432 aAddr = Inet6Address.getByAddress(eAddr); in test_getHostAddress() 441 aAddr = Inet6Address.getByAddress(fAddr); in test_getHostAddress() 479 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getHostNameCaches() 493 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK4_BYTES); in test_getByAddress_loopbackIpv4() [all …]
|
D | InetSocketAddressTest.java | 155 InetAddress.getByAddress("some host", new byte[] { 127, 0, 0, 1 }), in test_getHostString() 169 InetAddress address = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString() 176 InetAddress inetAddress = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString_cachingBehavior()
|
D | NetworkInterfaceTest.java | 61 …expected.add(Inet6Address.getByAddress("localhost", new byte[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, … in testIPv6()
|
D | OldSocketTest.java | 826 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddress() 917 …SocketAddress nonConnectableAddress = new InetSocketAddress(InetAddress.getByAddress(theBytes), 0); in test_connectLjava_net_SocketAddress() 1074 …SocketAddress nonConnectableAddress = new InetSocketAddress(InetAddress.getByAddress(theBytes), 0); in test_connectLjava_net_SocketAddressI()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Inet6Address.annotated.java | 36 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, java.net.Netwo… in getByAddress() method in Inet6Address 38 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, int scope_id) … in getByAddress() method in Inet6Address
|
D | InetAddress.annotated.java | 78 public static java.net.InetAddress getByAddress(java.lang.String host, byte[] addr) throws java.net… in getByAddress() method in InetAddress 86 public static java.net.InetAddress getByAddress(byte[] addr) throws java.net.UnknownHostException {… in getByAddress() method in InetAddress
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetAddress.java | 1045 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress() method in InetAddress 1046 return getByAddress(host, addr, -1 /* scopeId */); in getByAddress() 1051 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress() method in InetAddress 1400 public static InetAddress getByAddress(byte[] addr) in getByAddress() method in InetAddress 1402 return getByAddress(null, addr); in getByAddress()
|
D | Inet6Address.java | 455 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress() method in Inet6Address 488 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress() method in Inet6Address
|
D | Inet6AddressImpl.java | 342 InetAddress hostaddr = InetAddress.getByAddress(addr); in getHostByAddr0()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetAddress.java | 133 public static java.net.InetAddress getByAddress(java.lang.String host, byte[] addr) in getByAddress() method in InetAddress 138 private static java.net.InetAddress getByAddress( in getByAddress() method in InetAddress 157 public static java.net.InetAddress getByAddress(byte[] addr) in getByAddress() method in InetAddress
|
D | Inet6Address.java | 57 public static java.net.Inet6Address getByAddress( in getByAddress() method in Inet6Address 63 public static java.net.Inet6Address getByAddress( in getByAddress() method in Inet6Address
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | IPAddressName.java | 264 name = InetAddress.getByAddress(host).getHostAddress(); in getName() 269 InetAddress.getByAddress(mask).getHostAddress(); in getName() 275 name = InetAddress.getByAddress(host).getHostAddress(); in getName()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 87 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] { in test_56684()
|
D | DatagramChannelMulticastTest.java | 967 InetAddress sourceAddress = Inet4Address.getByAddress(new byte[] { 10, 0, 0, i}); in test_joinSourceSpecific_multipleSourceAddressLimit()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Net.java | 248 return InetAddress.getByAddress(addr);
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 97 … address = Inet6Address.getByAddress(address.getHostName(), address.getAddress(), nif.getIndex()); in bind()
|