Home
last modified time | relevance | path

Searched refs:getAllByName (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressTest.java83 InetAddress[] all = InetAddress.getAllByName("localhost"); in test_getAllByNameLjava_lang_String()
94 InetAddress[] ias = InetAddress.getAllByName(null); in test_getAllByNameLjava_lang_String()
99 ias = InetAddress.getAllByName(""); in test_getAllByNameLjava_lang_String()
107 InetAddress[] list = InetAddress.getAllByName("192.168.0.1"); in test_getAllByNameLjava_lang_String()
/libcore/luni/src/main/java/java/net/
DSocket.java109 InetAddress[] dstAddresses = InetAddress.getAllByName(dstName); in tryAllAddresses()
DInetAddress.java214 public static InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() method in InetAddress
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java56 for (InetAddress inetAddress : InetAddress.getAllByName("localhost")) { in testEqualsDoesNotDoHostnameResolution()
DOldSocketTest.java1465 InetAddress allAddresses[] = InetAddress.getAllByName(InetAddress in test_setReuseAddressZ()
DURLConnectionTest.java1630 int attempts = InetAddress.getAllByName("localhost").length; // one per IP address