Searched refs:forString (Results 1 – 8 of 8) sorted by relevance
108 InetAddresses.forString(bogusInputs[i]); in testForStringBogusInput()119 InetAddresses.forString("3ffe:::1"); in test3ff31()132 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()141 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()157 assertEquals(ipv6Addr, InetAddresses.forString(eightColons[i])); in testForStringIPv6EightColons()169 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testConvertDottedQuadToHex()178 InetAddresses.forString("1.2.3.4"))); in testToAddrStringIPv4()184 InetAddresses.forString("1:2:3:4:5:6:7:8"))); in testToAddrStringIPv6()187 InetAddresses.forString("2001:0:0:4:0:0:0:8"))); in testToAddrStringIPv6()190 InetAddresses.forString("2001:0:0:4:5:6:7:8"))); in testToAddrStringIPv6()[all …]
88 addr = InetAddresses.forString(host); in fromValid()
117 private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");118 private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0");148 public static InetAddress forString(String ipString) { in forString() method in InetAddresses
44 channel.connect(new InetSocketAddress(InetAddresses.forString("127.0.0.1"), request.port)); in main()
424 ByteString unicode = forString(testString); in testToString()431 ByteString unicode = forString(testString); in testCharsetToString()617 private static ByteString forString(String str) { in forString() method in NioByteStringTest
668 element = Element.forString(line.substring(1)); in FileTestData()812 static Element forString(String s) { in forString() method in Element
669 element = Element.forString(line.substring(1)); in FileTestData()813 static Element forString(String s) { in forString() method in Element
1816 static StandardPluralCategories forString(String s) { in forString() method in PluralRules.StandardPluralCategories