Searched refs:ia (Results 1 – 9 of 9) sorted by relevance
61 InetAddress ia = InetAddress.getByName("127.0.0.1"); in test_getAddress() local63 byte[] addr = ia.getAddress(); in test_getAddress()96 for (InetAddress ia : ias) { in test_getAllByNameLjava_lang_String()97 assertTrue(ia.isLoopbackAddress()); in test_getAllByNameLjava_lang_String()101 for (InetAddress ia : ias) { in test_getAllByNameLjava_lang_String()102 assertTrue(ia.isLoopbackAddress()); in test_getAllByNameLjava_lang_String()309 InetAddress ia = Inet4Address.getByName("127.0.0.1"); in test_isReachableI() local310 assertTrue(ia.isReachable(10000)); in test_isReachableI()311 ia = Inet4Address.getByName("127.0.0.1"); in test_isReachableI()313 ia.isReachable(-1); in test_isReachableI()[all …]
85 InetAddress ia = InetAddress.getByName(lookupName); in run() local86 String hostName = ia.getHostName(); in run()87 String hostAddress = ia.getHostAddress(); in run()
151 InetAddress ia = InetAddress.getByName("127.0.0.1"); in test_setAddressLjava_net_InetAddress() local154 dp.setAddress(ia); in test_setAddressLjava_net_InetAddress()155 assertEquals("Incorrect address returned", ia, dp.getAddress()); in test_setAddressLjava_net_InetAddress()
777 InetAddress ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_() local778 assertEquals("::1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_()781 ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_()782 assertEquals("fe80::211:25ff:fef8:7cb1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_()
129 InetAddress ia = addressList.nextElement(); in getByAddress() local130 if (ia.getAddress().length == 16) { in getByAddress()131 Inet6Address v6ia = (Inet6Address) ia; in getByAddress()159 private boolean compareLocalType(Inet6Address ia) { in compareLocalType() argument160 if (ia.isSiteLocalAddress() && isSiteLocalAddress()) { in compareLocalType()163 if (ia.isLinkLocalAddress() && isLinkLocalAddress()) { in compareLocalType()166 if (!ia.isSiteLocalAddress() && !ia.isLinkLocalAddress()) { in compareLocalType()
559 InetAddress ia = InetAddress.parseNumericAddress(host); in isValidHost() local560 if (ia instanceof Inet4Address) { in isValidHost()
59 InetAddress ia = InetAddress.getByName(validIPAddresses[i]); in test_ConstructorLInetAddressI() local60 InetSocketAddress isa = new InetSocketAddress(ia, 80); in test_ConstructorLInetAddressI()121 InetAddress ia = InetAddress.getByName(validIPAddresses[i]); in test_getAddress() local122 InetSocketAddress isa = new InetSocketAddress(ia, 0); in test_getAddress()123 assertEquals(ia, isa.getAddress()); in test_getAddress()
77 for (InterfaceAddress ia : lo.getInterfaceAddresses()) { in testLoopback()78 assertNull(ia.getBroadcast()); in testLoopback()85 for (InterfaceAddress ia : eth0.getInterfaceAddresses()) { in testLoopback()86 if (ia.getAddress() instanceof Inet4Address) { in testLoopback()87 assertNotNull(ia.getBroadcast()); in testLoopback()
308 InetAddress ia = InetAddress.getByName(validIPAddresses[i]); in test_toString() local309 String result = ia.toString(); in test_toString()