Home
last modified time | relevance | path

Searched refs:defaultPort (Results 1 – 25 of 28) sorted by relevance

12

/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java71 private final int defaultPort; field in Scheme
111 this.defaultPort = port; in Scheme()
122 return defaultPort; in getDefaultPort()
169 return ((port <= 0) || (port > 0xffff)) ? defaultPort : port; in resolvePort()
184 buffer.append(Integer.toString(this.defaultPort)); in toString()
206 defaultPort == s.defaultPort && in equals()
221 hash = LangUtils.hashCode(hash, this.defaultPort); in hashCode()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java117 public int getPortOrDefault(int defaultPort) { in getPortOrDefault() argument
118 return hasPort() ? port : defaultPort; in getPortOrDefault()
247 public HostAndPort withDefaultPort(int defaultPort) { in withDefaultPort() argument
248 checkArgument(isValidPort(defaultPort)); in withDefaultPort()
249 if (hasPort() || port == defaultPort) { in withDefaultPort()
252 return new HostAndPort(host, defaultPort, hasBracketlessColons); in withDefaultPort()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldUtils.java27 static int getPortOrDefaultFromArgs(String[] args, int index, int defaultPort) { in getPortOrDefaultFromArgs() argument
28 int portNumber = defaultPort; in getPortOrDefaultFromArgs()
34 String.format("Port %s is invalid, use default port %d.", args[index], defaultPort)); in getPortOrDefaultFromArgs()
/external/syzkaller/vendor/google.golang.org/grpc/naming/
Ddns_resolver.go33 defaultPort = "443" const
91 return target, defaultPort, nil
101 port = defaultPort
105 if host, port, err := net.SplitHostPort(target + ":" + defaultPort); err == nil {
/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java97 int defaultPort, in checkFromStringCase() argument
112 final boolean badDefaultPort = (defaultPort < 0 || defaultPort > 65535); in checkFromStringCase()
115 hp2 = hp.withDefaultPort(defaultPort); in checkFromStringCase()
/external/syzkaller/vendor/google.golang.org/grpc/resolver/dns/
Ddns_resolver.go45 defaultPort = "443" const
312 return target, defaultPort, nil
326 if host, port, err = net.SplitHostPort(target + ":" + defaultPort); err == nil {
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java407 int defaultPort; in getNameResolverParams() local
410 defaultPort = GrpcUtil.DEFAULT_PORT_PLAINTEXT; in getNameResolverParams()
413 defaultPort = GrpcUtil.DEFAULT_PORT_SSL; in getNameResolverParams()
419 .set(NameResolver.Factory.PARAMS_DEFAULT_PORT, defaultPort).build(); in getNameResolverParams()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java360 int defaultPort; in getNameResolverParams() local
364 defaultPort = GrpcUtil.DEFAULT_PORT_PLAINTEXT; in getNameResolverParams()
367 defaultPort = GrpcUtil.DEFAULT_PORT_SSL; in getNameResolverParams()
373 .set(NameResolver.Factory.PARAMS_DEFAULT_PORT, defaultPort).build(); in getNameResolverParams()
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
DClientAuthInterceptor.java104 final int defaultPort = 443;
114 if (uri.getPort() == defaultPort) {
DGoogleAuthLibraryCallCredentials.java168 final int defaultPort = 443; in serviceUri() local
178 if (uri.getPort() == defaultPort) { in serviceUri()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DProxyDetectorImplTest.java97 final int defaultPort = 80; in override_hostOnly() local
107 InetAddress.getByName(overrideHostWithoutPort), defaultPort), in override_hostOnly()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDnsNameResolver.java159 Integer defaultPort = params.get(NameResolver.Factory.PARAMS_DEFAULT_PORT); in DnsNameResolver() local
160 if (defaultPort != null) { in DnsNameResolver()
161 port = defaultPort; in DnsNameResolver()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java423 public static int defaultPort(String scheme) { in defaultPort() method in HttpUrl
601 result.port = port != defaultPort(scheme) ? port : -1; in newBuilder()
742 return port != -1 ? port : defaultPort(scheme); in effectivePort()
953 if (effectivePort != defaultPort(scheme)) { in toString()
1061 this.port = defaultPort(this.scheme); in parse()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java421 public static int defaultPort(String scheme) { in defaultPort() method in HttpUrl
596 result.port = port != defaultPort(scheme) ? port : -1; in newBuilder()
733 return port != -1 ? port : defaultPort(scheme); in effectivePort()
943 if (effectivePort != defaultPort(scheme)) { in toString()
1051 this.port = defaultPort(this.scheme); in parse()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DWebPlatformUrlTest.java109 String effectivePort = url.port() != HttpUrl.defaultPort(url.scheme()) in testHttpUrl()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DUtil.java269 return includeDefaultPort || url.port() != HttpUrl.defaultPort(url.scheme())
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java263 return includeDefaultPort || url.port() != HttpUrl.defaultPort(url.scheme())
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java279 : HttpUrl.defaultPort(url.getProtocol()); in getPermission()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java275 : HttpUrl.defaultPort(url.getProtocol()); in getPermission()
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12