Home
last modified time | relevance | path

Searched refs:hostName (Results 1 – 25 of 36) sorted by relevance

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java97 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
98 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
103 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
113 return verifyHostName(hostName, cn); in verifyHostName()
165 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
168 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
169 || (hostName.endsWith(".."))) { in verifyHostName()
188 if (!hostName.endsWith(".")) { in verifyHostName()
189 hostName += '.'; in verifyHostName()
201 return hostName.equals(pattern); in verifyHostName()
[all …]
/external/conscrypt/src/platform/java/org/conscrypt/
DCertPinManager.java185 private static boolean isHostnameMatchedBy(String hostName, String cn) { in isHostnameMatchedBy() argument
186 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty()) { in isHostnameMatchedBy()
193 return hostName.equals(cn); in isHostnameMatchedBy()
196 if (cn.startsWith("*.") && hostName.regionMatches(0, cn, 2, cn.length() - 2)) { in isHostnameMatchedBy()
207 if (!hostName.regionMatches(0, cn, 0, asterisk)) { in isHostnameMatchedBy()
212 int suffixStart = hostName.length() - suffixLength; in isHostnameMatchedBy()
213 if (hostName.indexOf('.', asterisk) < suffixStart) { in isHostnameMatchedBy()
217 if (!hostName.regionMatches(suffixStart, cn, asterisk + 1, suffixLength)) { in isHostnameMatchedBy()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java63 String hostName = null; in startListening() local
72 hostName = address.substring(0, i); in startListening()
82 if (hostName != null) { in startListening()
83 hostAddr = InetAddress.getByName(hostName); in startListening()
91 if (hostName != null) { in startListening()
143 String hostName = null; in attach() local
151 hostName = address.substring(0, i); in attach()
167 transportSocket = new Socket(hostName, port); in attach()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java84 private final String hostName; field in FramedConnection
152 hostName = builder.hostName; in FramedConnection()
159 Util.threadFactory(String.format("OkHttp %s Push Observer", hostName), true)); in FramedConnection()
345 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) { in writeSynResetLater()
360 executor.execute(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) { in writeWindowUpdateLater()
393 hostName, payload1, payload2) { in writePingLater()
519 private String hostName; field in FramedConnection.Builder
534 public Builder(String hostName, boolean client, Socket socket) throws IOException { in Builder() argument
535 this.hostName = hostName; in Builder()
568 super("OkHttp %s", hostName); in Reader()
[all …]
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java55 private final String hostName; field in SslContextBuilder
63 public SslContextBuilder(String hostName) { in SslContextBuilder() argument
64 this.hostName = hostName; in SslContextBuilder()
121 X500Principal issuer = new X500Principal("CN=" + hostName); in selfSignedCertificate()
122 X500Principal subject = new X500Principal("CN=" + hostName); in selfSignedCertificate()
/external/nist-sip/java/gov/nist/core/
DHost.java94 public Host(String hostName) throws IllegalArgumentException { in Host() argument
95 if (hostName == null) in Host()
101 setHost(hostName, IPV4ADDRESS); in Host()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java74 public HopImpl(String hostName, int portNumber, String trans) { in HopImpl() argument
75 host = hostName; in HopImpl()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java139 String hostName = targetHost.getHostName(); in process() local
146 hostName, in process()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsI18N1.java26 String hostName; field in ArgsI18N1
DArgsI18N2.java29 String hostName; field in ArgsI18N2
DArgsI18N2New.java30 String hostName; field in ArgsI18N2New
/external/clang/test/ARCMT/
Dobjcmt-instancetype-2.m62 + (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName;
63 + (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPo…
Dobjcmt-instancetype-2.m.result62 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName;
63 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameSe…
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java271 String hostName = url.getHost(); in getPermission() local
277 hostName = proxyAddress.getHostName(); in getPermission()
280 return new SocketPermission(hostName + ":" + hostPort, "connect, resolve"); in getPermission()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java138 String hostName = getHostName(); in getCookieDomain() local
139 return hostName.contains(".") ? hostName : ".local"; in getCookieDomain()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java100 String hostName = null; in onConnectionInfoAvailable() local
103 hostName = addr.getHostName(); in onConnectionInfoAvailable()
106 msg.putString("groupOwnerHostName", hostName); in onConnectionInfoAvailable()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java424 String hostName = entry.getKey().getHostName(); in dump() local
425 StringBuilder line = new StringBuilder("p" + count++ + " " + hostName + " "); in dump()
/external/conscrypt/src/main/java/org/conscrypt/
DSSLParametersImpl.java777 SSLSession getCachedClientSession(ClientSessionContext sessionContext, String hostName, in getCachedClientSession() argument
779 if (hostName == null) { in getCachedClientSession()
783 SSLSession session = sessionContext.getSession(hostName, port); in getCachedClientSession()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java211 String hostName = getHostName();
212 return hostName.contains(".") ? hostName : ".local";
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.registry_3.5.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/mdnsresponder/mDNSShared/
Duds_daemon.c2123 char hostName[MAX_DOMAIN_LABEL]; in handle_sethost_request() local
2125 if (get_string(&request->msgptr, request->msgend, hostName, in handle_sethost_request()
2132 if(hostName[0] == 0) return mStatus_BadParamErr; in handle_sethost_request()
2133 while (len < MAX_DOMAIN_LABEL && hostName[len+1] in handle_sethost_request()
2134 && hostName[len+1] != '.') len++; in handle_sethost_request()
2135 strncpy(&(mDNSStorage.nicelabel.c[1]), hostName, len); in handle_sethost_request()
2137 strncpy(&(mDNSStorage.hostlabel.c[1]), hostName, len); in handle_sethost_request()
/external/robolectric/v1/lib/main/
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dsqlite-jdbc-3.7.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...

12