Home
last modified time | relevance | path

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

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java95 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
96 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
100 if (verifyHostName(hostName, altName)) { in verifyHostName()
110 return verifyHostName(hostName, cn); in verifyHostName()
153 public boolean verifyHostName(String hostName, String cn) { in verifyHostName() argument
155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0) { in verifyHostName()
162 return hostName.equals(cn); in verifyHostName()
165 if (cn.startsWith("*.") && hostName.equals(cn.substring(2))) { in verifyHostName()
175 if (!hostName.regionMatches(0, cn, 0, asterisk)) { in verifyHostName()
180 int suffixStart = hostName.length() - suffixLength; in verifyHostName()
[all …]
/external/chromium_org/remoting/webapp/
Dhost_controller.js157 function onStarted(hostName, publicKey, result) { argument
159 remoting.hostList.onLocalHostStarted(hostName, newHostId, publicKey);
177 function startHostWithHash(hostName, publicKey, privateKey, xmppLogin, argument
183 host_name: hostName,
196 hostConfig, consent, onStarted.bind(null, hostName, publicKey),
209 hostName, publicKey, privateKey, email, refreshToken, clientBaseJid) { argument
212 startHostWithHash.bind(null, hostName, publicKey, privateKey,
225 hostName, publicKey, privateKey, email, refreshToken) { argument
228 null, hostName, publicKey, privateKey, email, refreshToken),
239 hostName, publicKey, privateKey, xhr) { argument
[all …]
Dhost_list.js150 remoting.HostList.prototype.getHostIdForName = function(hostName) { argument
152 if (this.hosts_[i].hostName == hostName) {
215 } else if (a.hostName.toLocaleLowerCase() <
216 b.hostName.toLocaleLowerCase()) {
218 } else if (a.hostName.toLocaleLowerCase() >
219 b.hostName.toLocaleLowerCase()) {
285 if (host.hostName && host.hostId && host.status && host.publicKey &&
347 this.hosts_[i].hostName = hostTableEntry.host.hostName;
362 hostName: hostTableEntry.host.hostName, property
406 this.localHost_.hostName);
[all …]
Dhost_table_entry.js186 /*i18n-content*/'TOOLTIP_CONNECT', this.host.hostName);
216 editBox.value = this.host.hostName;
236 if (this.host.hostName != editBox.value) {
237 this.host.hostName = editBox.value;
251 l10n.localizeElement(message, this.host.hostName);
323 /*i18n-content*/'UPDATE_REQUIRED', this.host.hostName);
325 hostNameNode.innerText = this.host.hostName;
352 /*i18n-content*/'LAST_ONLINE', [this.host.hostName, displayString]);
355 /*i18n-content*/'OFFLINE', this.host.hostName);
Dhost.js22 this.hostName = '';
/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.java60 String hostName = null; in startListening() local
69 hostName = address.substring(0, i); in startListening()
79 if (hostName != null) { in startListening()
80 hostAddr = InetAddress.getByName(hostName); in startListening()
88 if (hostName != null) { in startListening()
140 String hostName = null; in attach() local
148 hostName = address.substring(0, i); in attach()
164 transportSocket = new Socket(hostName, port); in attach()
/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()
120 X500Principal issuer = new X500Principal("CN=" + hostName); in selfSignedCertificate()
121 X500Principal subject = new X500Principal("CN=" + hostName); in selfSignedCertificate()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyConnection.java83 private final String hostName; field in SpdyConnection
142 hostName = builder.hostName; in SpdyConnection()
327 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) { in writeSynResetLater()
342 executor.submit(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) { in writeWindowUpdateLater()
375 hostName, payload1, payload2) { in writePingLater()
494 private String hostName; field in SpdyConnection.Builder
510 public Builder(String hostName, boolean client, Socket socket) throws IOException { in Builder() argument
511 this.hostName = hostName; in Builder()
543 super("OkHttp %s", hostName); in Reader()
617 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) { in headers()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/network/
DProxyServer.h54 ProxyServer(Type type, const String& hostName, int port) in ProxyServer() argument
56 , m_hostName(hostName) in ProxyServer()
62 const String& hostName() const { return m_hostName; } in hostName() function
DProxyServer.cpp50 ASSERT(!proxyServer.hostName().isNull()); in appendProxyServerString()
51 builder.append(proxyServer.hostName()); in appendProxyServerString()
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/app/
Dmain.js49 var hostName = "com.google.chrome.example.echo";
50 appendMessage("Connecting to native messaging host <b>" + hostName + "</b>")
51 port = chrome.runtime.connectNative(hostName);
/external/smack/src/com/kenai/jbosh/
DBOSHClientConfig.java236 public Builder setProxy(final String hostName, final int port) { in setProxy() argument
237 if (hostName == null || hostName.length() == 0) { in setProxy()
245 bProxyHost = hostName; in setProxy()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DSSLClientCertificateRequest.java154 CertAsyncTaskPKCS11(long nativePtr, String hostName, int port, in CertAsyncTaskPKCS11() argument
157 mHostName = hostName; in CertAsyncTaskPKCS11()
228 final String[] keyTypes, byte[][] encodedPrincipals, final String hostName, in selectClientCertificate() argument
262 hostName, port, null); in selectClientCertificate()
275 new CertAsyncTaskPKCS11(nativePtr, hostName, port, in selectClientCertificate()
DPKCS11AuthenticationManager.java30 public String getClientCertificateAlias(String hostName, int port); in getClientCertificateAlias() argument
/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/apache-http/src/org/apache/http/conn/ssl/
DAbstractVerifier.java153 String hostName = host.trim().toLowerCase(Locale.ENGLISH); in verify() local
176 match = hostName.endsWith(cn.substring(1)); in verify()
180 match = countDots(hostName) == countDots(cn); in verify()
183 match = hostName.equals(cn); in verify()
/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverHttp20Draft09Test.java49 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort()); in serverSendsPushPromise_GET()
71 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort()); in serverSendsPushPromise_HEAD()
/external/chromium_org/remoting/webapp/browser_test/
Dmock_session_connector.js76 var hostName = 'Mock host';
92 signalling, this.clientContainer_, hostName,
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketHandshake.cpp79 static String hostName(const KURL& url, bool secure) in hostName() function
182 builder.append(hostName(m_url, m_secure)); in clientLocation()
201 fields.append("Host: " + hostName(m_url, m_secure)); in clientHandshakeMessage()
245 request->addHeaderField("Host", AtomicString(hostName(m_url, m_secure))); in clientHandshakeRequest()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java139 String hostName = targetHost.getHostName(); in process() local
146 hostName, in process()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
DChromeShellPKCS11AuthenticationManager.java24 public String getClientCertificateAlias(String hostName, int port) { in getClientCertificateAlias() argument
/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…

12