Home
last modified time | relevance | path

Searched refs:InetAddresses (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java38 tester.testAllPublicStaticMethods(InetAddresses.class); in testNulls()
108 InetAddresses.forString(bogusInputs[i]); in testForStringBogusInput()
113 assertFalse(InetAddresses.isInetAddress(bogusInputs[i])); in testForStringBogusInput()
119 InetAddresses.forString("3ffe:::1"); in test3ff31()
124 assertFalse(InetAddresses.isInetAddress("016.016.016.016")); in test3ff31()
132 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
133 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv4Input()
141 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
142 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv6Input()
157 assertEquals(ipv6Addr, InetAddresses.forString(eightColons[i])); in testForStringIPv6EightColons()
[all …]
/external/guava/guava/src/com/google/common/net/
DHostSpecifier.java88 addr = InetAddresses.forString(host); in fromValid()
94 return new HostSpecifier(InetAddresses.toUriString(addr)); in fromValid()
DInetAddresses.java114 public final class InetAddresses { class
120 private InetAddresses() {} in InetAddresses() method in InetAddresses
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DWorkerMain.java24 import com.google.common.net.InetAddresses;
44 channel.connect(new InetSocketAddress(InetAddresses.forString("127.0.0.1"), request.port)); in main()