/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | Authority.java | 48 protected HostPort hostPort; field in Authority 66 hostPort.encode(buffer); in encode() 68 hostPort.encode(buffer); in encode() 84 if (!this.hostPort.equals(otherAuth.hostPort)) { in equals() 100 return hostPort; in getHostPort() 135 if (hostPort == null) in getHost() 138 return hostPort.getHost(); in getHost() 146 if (hostPort == null) in getPort() 149 return hostPort.getPort(); in getPort() 155 if (hostPort != null) in removePort() [all …]
|
D | SipUri.java | 703 public void setHostPort(HostPort hostPort) { in setHostPort() argument 707 authority.setHostPort(hostPort); in setHostPort()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyChannelBuilderTest.java | 175 ProtocolNegotiators.HostPort hostPort = n.parseAuthority("authority:1234"); in createProtocolNegotiatorByType_tlsWithClientContext() local 177 assertEquals("authority", hostPort.host); in createProtocolNegotiatorByType_tlsWithClientContext() 178 assertEquals(1234, hostPort.port); in createProtocolNegotiatorByType_tlsWithClientContext() 189 ProtocolNegotiators.HostPort hostPort = n.parseAuthority("bad_authority"); in createProtocolNegotiatorByType_tlsWithAuthorityFallback() local 191 assertEquals("bad_authority", hostPort.host); in createProtocolNegotiatorByType_tlsWithAuthorityFallback() 192 assertEquals(-1, hostPort.port); in createProtocolNegotiatorByType_tlsWithAuthorityFallback()
|
D | ProtocolNegotiatorsTest.java | 264 HostPort hostPort = negotiator.parseAuthority("authority:1234"); in tls_hostAndPort() local 266 assertEquals("authority", hostPort.host); in tls_hostAndPort() 267 assertEquals(1234, hostPort.port); in tls_hostAndPort() 274 HostPort hostPort = negotiator.parseAuthority("[::1]"); in tls_host() local 276 assertEquals("[::1]", hostPort.host); in tls_host() 277 assertEquals(-1, hostPort.port); in tls_host() 284 HostPort hostPort = negotiator.parseAuthority("bad_host:1234"); in tls_invalidHost() local 288 assertEquals("bad_host:1234", hostPort.host); in tls_invalidHost() 289 assertEquals(-1, hostPort.port); in tls_invalidHost()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | ViaParser.java | 86 HostPort hostPort = hnp.hostPort( true ); in parseVia() local 87 v.setSentBy(hostPort); in parseVia()
|
D | URLParser.java | 318 HostPort hp = hnp.hostPort( false ); in uricString() 644 HostPort hp = hnp.hostPort( false ); in sipURL()
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | ConverterFactoryTest.java | 57 Assert.assertEquals(a.hostPort.host, "example.com"); in parameterWithHostPortParameters() 58 Assert.assertEquals(a.hostPort.port.intValue(), 8080); in parameterWithHostPortParameters()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | MessageChannel.java | 279 public static String getKey(HostPort hostPort, String transport) { in getKey() argument 280 return (transport + ":" + hostPort.getHost().getHostname() + ":" + hostPort.getPort()) in getKey()
|
/external/nist-sip/java/gov/nist/core/ |
D | HostNameParser.java | 261 public HostPort hostPort( boolean allowWS ) throws ParseException { in hostPort() method in HostNameParser 334 HostPort hp = hnp.hostPort(true); in main()
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
D | ArgsConverterFactory.java | 27 public HostPort hostPort; field in ArgsConverterFactory
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 277 int hostPort = url.getPort() != -1 in getPermission() local 283 hostPort = proxyAddress.getPort(); in getPermission() 285 return new SocketPermission(hostName + ":" + hostPort, "connect, resolve"); in getPermission()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 273 int hostPort = url.getPort() != -1 in getPermission() local 279 hostPort = proxyAddress.getPort(); in getPermission() 281 return new SocketPermission(hostName + ":" + hostPort, "connect, resolve"); in getPermission()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | ProtocolNegotiators.java | 299 final HostPort hostPort = parseAuthority(handler.getAuthority()); 304 SSLEngine sslEngine = sslContext.newEngine(ctx.alloc(), hostPort.host, hostPort.port);
|