Home
last modified time | relevance | path

Searched refs:hostPort (Results 1 – 16 of 16) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/address/
DAuthority.java48 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 …]
DSipUri.java703 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/
DNettyChannelBuilderTest.java175 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()
DProtocolNegotiatorsTest.java264 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/
DViaParser.java86 HostPort hostPort = hnp.hostPort( true ); in parseVia() local
87 v.setSentBy(hostPort); in parseVia()
DURLParser.java318 HostPort hp = hnp.hostPort( false ); in uricString()
644 HostPort hp = hnp.hostPort( false ); in sipURL()
/external/jcommander/src/test/java/com/beust/jcommander/
DConverterFactoryTest.java57 Assert.assertEquals(a.hostPort.host, "example.com"); in parameterWithHostPortParameters()
58 Assert.assertEquals(a.hostPort.port.intValue(), 8080); in parameterWithHostPortParameters()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsConverterFactory.java27 public HostPort hostPort; field in ArgsConverterFactory
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java261 public HostPort hostPort( boolean allowWS ) throws ParseException { in hostPort() method in HostNameParser
334 HostPort hp = hnp.hostPort(true); in main()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DMessageChannel.java279 public static String getKey(HostPort hostPort, String transport) { in getKey() argument
280 return (transport + ":" + hostPort.getHost().getHostname() + ":" + hostPort.getPort()) in getKey()
/external/llvm-project/llvm/lib/Support/
DHost.cpp1156 mach_port_t hostPort = mach_host_self(); in getHostCPUName() local
1157 host_info(hostPort, HOST_BASIC_INFO, (host_info_t)&hostInfo, in getHostCPUName()
1159 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
1222 mach_port_t hostPort = mach_host_self(); in getHostCPUName() local
1223 host_info(hostPort, HOST_BASIC_INFO, (host_info_t)&hostInfo, in getHostCPUName()
1225 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DHost.cpp1178 mach_port_t hostPort = mach_host_self(); in getHostCPUName() local
1179 host_info(hostPort, HOST_BASIC_INFO, (host_info_t)&hostInfo, in getHostCPUName()
1181 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
1244 mach_port_t hostPort = mach_host_self(); in getHostCPUName() local
1245 host_info(hostPort, HOST_BASIC_INFO, (host_info_t)&hostInfo, in getHostCPUName()
1247 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java273 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/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java277 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/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java314 final HostPort hostPort = parseAuthority(handler.getAuthority());
319 SSLEngine sslEngine = sslContext.newEngine(ctx.alloc(), hostPort.host, hostPort.port);
/external/jcommander/doc/
Dindex.adoc331 private HostPort hostPort;
346 Assert.assertEquals(a.hostPort.host, "example.com");
347 Assert.assertEquals(a.hostPort.port.intValue(), 8080);