Home
last modified time | relevance | path

Searched refs:getByAddress (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet6AddressTest.java686 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 …]
DInetAddressTest.java70 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()
DDatagramSocketTest.java316 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()
DServerSocketTest.java467 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddress()
551 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddressI()
DNetworkInterfaceTest.java255 .getByAddress(addressBytes))); in test_getByInetAddressLjava_net_InetAddress()
DSocketTest.java165 .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/
DInetAddressTest.java111 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 …]
DInetSocketAddressTest.java155 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()
DNetworkInterfaceTest.java61 …expected.add(Inet6Address.getByAddress("localhost", new byte[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, … in testIPv6()
DOldSocketTest.java826 .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/
DInet6Address.annotated.java36 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
DInetAddress.annotated.java78 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/
DInetAddress.java1045 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()
DInet6Address.java455 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
DInet6AddressImpl.java342 InetAddress hostaddr = InetAddress.getByAddress(addr); in getHostByAddr0()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java133 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
DInet6Address.java57 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/
DIPAddressName.java264 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/
DSocketChannelTest.java87 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] { in test_56684()
DDatagramChannelMulticastTest.java967 InetAddress sourceAddress = Inet4Address.getByAddress(new byte[] { 10, 0, 0, i}); in test_joinSourceSpecific_multipleSourceAddressLimit()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java248 return InetAddress.getByAddress(addr);
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java97 … address = Inet6Address.getByAddress(address.getHostName(), address.getAddress(), nif.getIndex()); in bind()