Home
last modified time | relevance | path

Searched refs:HostAndPort (Results 1 – 25 of 46) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java101 HostAndPort hp; in checkFromStringCase()
103 hp = HostAndPort.fromString(hpString); in checkFromStringCase()
113 HostAndPort hp2 = null; in checkFromStringCase()
150 HostAndPort hp = HostAndPort.fromParts("gmail.com", 81); in testFromParts()
156 HostAndPort.fromParts("gmail.com:80", 81); in testFromParts()
162 HostAndPort.fromParts("gmail.com", -1); in testFromParts()
169 HostAndPort hp = HostAndPort.fromHost("gmail.com"); in testFromHost()
173 hp = HostAndPort.fromHost("[::1]"); in testFromHost()
178 HostAndPort.fromHost("gmail.com:80"); in testFromHost()
184 HostAndPort.fromHost("[gmail.com]"); in testFromHost()
[all …]
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java67 public final class HostAndPort implements Serializable { class
80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { in HostAndPort() method in HostAndPort
133 public static HostAndPort fromParts(String host, int port) { in fromParts()
135 HostAndPort parsedHost = fromString(host); in fromParts()
137 return new HostAndPort(parsedHost.host, port, parsedHost.hasBracketlessColons); in fromParts()
151 public static HostAndPort fromHost(String host) { in fromHost()
152 HostAndPort parsedHost = fromString(host); in fromHost()
167 public static HostAndPort fromString(String hostPortString) { in fromString()
203 return new HostAndPort(host, port, hasBracketlessColons); in fromString()
247 public HostAndPort withDefaultPort(int defaultPort) { in withDefaultPort()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DClientSessionContext.java36 private final Map<HostAndPort, SslSessionWrapper> sessionsByHostAndPort = new HashMap<>();
108 HostAndPort key = new HostAndPort(host, port); in getSession()
142 HostAndPort key = new HostAndPort(host, port); in onBeforeAddSession()
163 HostAndPort hostAndPortKey = new HostAndPort(host, port); in onBeforeRemoveSession()
175 private static final class HostAndPort { class in ClientSessionContext
179 HostAndPort(String host, int port) { in HostAndPort() method in ClientSessionContext.HostAndPort
191 if (!(o instanceof HostAndPort)) { in equals()
194 HostAndPort lhs = (HostAndPort) o; in equals()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java44 public static HostAndPort parseExtendedAddressHostAndPort(String parameter) { in parseExtendedAddressHostAndPort()
66 return new HostAndPort(host, port); in parseExtendedAddressHostAndPort()
86 public static HostAndPort parseHostAndPort(String[] parameters) { in parseHostAndPort()
107 return new HostAndPort(inetAddress, port); in parseHostAndPort()
DHostAndPort.java29 public class HostAndPort { class
38 public HostAndPort(InetAddress host, int port) { in HostAndPort() method in HostAndPort
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
DPortCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
39 HostAndPort client = PortParser.parseHostAndPort(command.getParameters()); in handle()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/
DPortCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
39 HostAndPort client = PortParser.parseHostAndPort(command.getParameters()); in handle()
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
DPortCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
39 HostAndPort client = PortParser.parseHostAndPort(command.getParameters()); in handle()
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
DEprtCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
42 HostAndPort client = PortParser.parseExtendedAddressHostAndPort(parameter); in handle()
DPortCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
39 HostAndPort client = PortParser.parseHostAndPort(command.getParameters()); in handle()

12