Home
last modified time | relevance | path

Searched refs:HostAndPort (Results 1 – 25 of 47) 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/conscrypt/common/src/main/java/org/conscrypt/
DClientSessionContext.java40 …private final Map<HostAndPort, List<NativeSslSession>> sessionsByHostAndPort = new HashMap<HostAnd…
122 HostAndPort key = new HostAndPort(host, port); in getSession()
151 private void putSession(HostAndPort key, NativeSslSession session) { in putSession()
173 private void removeSession(HostAndPort key, NativeSslSession session) { in removeSession()
193 HostAndPort key = new HostAndPort(host, port); in onBeforeAddSession()
212 HostAndPort hostAndPortKey = new HostAndPort(host, port); in onBeforeRemoveSession()
222 private static final class HostAndPort { class in ClientSessionContext
226 HostAndPort(String host, int port) { in HostAndPort() method in ClientSessionContext.HostAndPort
238 if (!(o instanceof HostAndPort)) { in equals()
241 HostAndPort lhs = (HostAndPort) o; in equals()
/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/repackaged/common/src/main/java/com/android/org/conscrypt/
DClientSessionContext.java43 …private final Map<HostAndPort, List<NativeSslSession>> sessionsByHostAndPort = new HashMap<HostAnd…
128 HostAndPort key = new HostAndPort(host, port); in getSession()
157 private void putSession(HostAndPort key, NativeSslSession session) { in putSession()
179 private void removeSession(HostAndPort key, NativeSslSession session) { in removeSession()
199 HostAndPort key = new HostAndPort(host, port); in onBeforeAddSession()
218 HostAndPort hostAndPortKey = new HostAndPort(host, port); in onBeforeRemoveSession()
228 private static final class HostAndPort { class in ClientSessionContext
232 HostAndPort(String host, int port) { in HostAndPort() method in ClientSessionContext.HostAndPort
244 if (!(o instanceof HostAndPort)) { in equals()
247 HostAndPort lhs = (HostAndPort) o; in equals()
/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.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/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/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.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.1/src/main/java/org/mockftpserver/fake/command/
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.4/src/main/java/org/mockftpserver/fake/command/
DPortCommandHandler.java21 import org.mockftpserver.core.util.HostAndPort;
39 HostAndPort client = PortParser.parseHostAndPort(command.getParameters()); in handle()
/external/mockftpserver/tags/2.3/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/
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/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()

12