Home
last modified time | relevance | path

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

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java109 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
111 if (!isPrintableAscii(hostName)) { in verifyHostName()
115 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
120 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
186 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
189 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
190 || (hostName.endsWith(".."))) { in verifyHostName()
209 if (!hostName.endsWith(".")) { in verifyHostName()
210 hostName += '.'; in verifyHostName()
227 return hostName.equals(pattern); in verifyHostName()
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOkHostnameVerifier.java100 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
101 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
106 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
116 return verifyHostName(hostName, cn); in verifyHostName()
168 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
171 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
172 || (hostName.endsWith(".."))) { in verifyHostName()
191 if (!hostName.endsWith(".")) { in verifyHostName()
192 hostName += '.'; in verifyHostName()
204 return hostName.equals(pattern); in verifyHostName()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DOkHostnameVerifier.java111 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
113 if (!isPrintableAscii(hostName)) { in verifyHostName()
117 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
122 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
188 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
191 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
192 || (hostName.endsWith(".."))) { in verifyHostName()
211 if (!hostName.endsWith(".")) { in verifyHostName()
212 hostName += '.'; in verifyHostName()
229 return hostName.equals(pattern); in verifyHostName()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOkHostnameVerifier.java113 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
114 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
119 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
185 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
188 if (hostName == null || hostName.length() == 0 || hostName.startsWith(".") in verifyHostName()
189 || hostName.endsWith("..")) { in verifyHostName()
208 if (!hostName.endsWith(".")) { in verifyHostName()
209 hostName += '.'; in verifyHostName()
221 return hostName.equals(pattern); in verifyHostName()
246 if (hostName.length() < pattern.length()) { in verifyHostName()
[all …]
DClientSessionContext.java59 synchronized NativeSslSession getCachedSession(String hostName, int port, in getCachedSession() argument
61 if (hostName == null) { in getCachedSession()
65 NativeSslSession session = getSession(hostName, port); in getCachedSession()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOkHostnameVerifier.java115 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
116 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
121 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
187 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
190 if (hostName == null || hostName.length() == 0 || hostName.startsWith(".") in verifyHostName()
191 || hostName.endsWith("..")) { in verifyHostName()
210 if (!hostName.endsWith(".")) { in verifyHostName()
211 hostName += '.'; in verifyHostName()
223 return hostName.equals(pattern); in verifyHostName()
248 if (hostName.length() < pattern.length()) { in verifyHostName()
[all …]
DClientSessionContext.java65 synchronized NativeSslSession getCachedSession(String hostName, int port, in getCachedSession() argument
67 if (hostName == null) { in getCachedSession()
71 NativeSslSession session = getSession(hostName, port); in getCachedSession()
/external/ltp/testcases/network/sockets/
DltpClient.c67 int ltp_run_ping_tests(char *hostName);
68 int ltp_run_traceroute_tests(char *hostName);
73 void ltp_traceroute(struct sockaddr_in *rawTraceAddr, char *hostName, int pid);
96 char hostName[MAX_MSG_LEN], in main() local
111 strncpy(hostName, argv[1], MAX_MSG_LEN); in main()
115 hostEntry = gethostbyname(hostName); in main()
118 printf("%s: unknown host passed'%s' \n", progName, hostName); in main()
201 progName, hostName, in main()
258 printf("%s UDP Socket not open for send \n", hostName); in main()
274 printf("%s TCP Socket not open for send \n", hostName); in main()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSNIHostNameTest.java44 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor() local
45 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName()); in test_byteArray_Constructor()
46 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType()); in test_byteArray_Constructor()
47 assertEquals(Arrays.toString(idnEncoded), Arrays.toString(hostName.getEncoded())); in test_byteArray_Constructor()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSNIHostNameTest.java48 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor() local
49 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName()); in test_byteArray_Constructor()
50 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType()); in test_byteArray_Constructor()
51 assertEquals(Arrays.toString(idnEncoded), Arrays.toString(hostName.getEncoded())); in test_byteArray_Constructor()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java64 String hostName = null; in startListening() local
73 hostName = address.substring(0, i); in startListening()
83 if (hostName != null) { in startListening()
84 hostAddr = InetAddress.getByName(hostName); in startListening()
92 if (hostName != null) { in startListening()
151 String hostName = null; in attach() local
159 hostName = address.substring(0, i); in attach()
175 transportSocket = new Socket(hostName, port); in attach()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java85 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()
349 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) { in writeSynResetLater()
364 executor.execute(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) { in writeWindowUpdateLater()
397 hostName, payload1, payload2) { in writePingLater()
537 private String hostName; field in FramedConnection.Builder
559 Socket socket, String hostName, BufferedSource source, BufferedSink sink) { in socket() argument
561 this.hostName = hostName; in socket()
595 super("OkHttp %s", hostName); in Reader()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedConnection.java87 private final String hostName; field in FramedConnection
154 hostName = builder.hostName; in FramedConnection()
161 Util.threadFactory(String.format("OkHttp %s Push Observer", hostName), true)); in FramedConnection()
351 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) { in writeSynResetLater()
366 executor.execute(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) { in writeWindowUpdateLater()
399 hostName, payload1, payload2) { in writePingLater()
542 private String hostName; field in FramedConnection.Builder
564 Socket socket, String hostName, BufferedSource source, BufferedSink sink) { in socket() argument
566 this.hostName = hostName; in socket()
600 super("OkHttp %s", hostName); in Reader()
[all …]
/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/llvm-project/flang/lib/Lower/
DMangler.cpp42 hostName(const Fortran::semantics::Symbol &symbol) { in hostName() function
90 return uniquer.doProcedure(modNames, hostName(*interface), in mangleName()
98 hostName(ultimateSymbol), symbolName); in mangleName()
106 auto optHost = hostName(ultimateSymbol); in mangleName()
/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/mdnsresponder/mDNSWindows/DLLX/
DDNSSD.cpp299 …DNSSDFlags flags, ULONG ifIndex, DNSSDAddressFamily addressFamily, BSTR hostName, IGetAddrInfoList… in GetAddrInfo() argument
312 ok = BSTRToUTF8( hostName, hostNameUTF8 ); in GetAddrInfo()
622 CComBSTR hostName; in ResolveReply() local
630 ok = UTF8ToBSTR( hostNameUTF8, hostName ); in ResolveReply()
654 …listener->ServiceResolved( service, ( DNSSDFlags ) flags, ifIndex, fullName, hostName, port, recor… in ResolveReply()
803 CComBSTR hostName; in GetAddrInfoReply() local
811 ok = UTF8ToBSTR( hostNameUTF8, hostName ); in GetAddrInfoReply()
836 …listener->GetAddrInfoReply( service, ( DNSSDFlags ) flags, ifIndex, hostName, addressFamily, addre… in GetAddrInfoReply()
DDNSSDService.cpp1082 …DNSSDFlags flags, ULONG ifIndex, DNSSDAddressFamily addressFamily, BSTR hostName, IDNSSDEventManag… in GetAddrInfo() argument
1112 ok = BSTRToUTF8( hostName, hostNameUTF8 ); in GetAddrInfo()
1564 CComBSTR hostName; in ResolveReply() local
1580 ok = UTF8ToBSTR( hostNameUTF8, hostName ); in ResolveReply()
1620 …eventManager->Fire_ServiceResolved( service, ( DNSSDFlags ) flags, ifIndex, fullName, hostName, nt… in ResolveReply()
1817 CComBSTR hostName; in GetAddrInfoReply() local
1833 ok = UTF8ToBSTR( hostNameUTF8, hostName ); in GetAddrInfoReply()
1883 …eventManager->Fire_AddressFound( service, ( DNSSDFlags ) flags, ifIndex, hostName, addressFamily, … in GetAddrInfoReply()
/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/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java139 String hostName = targetHost.getHostName(); in process() local
146 hostName, in process()
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
DChooserDialog.cpp816 std::string hostName; in UpdateInfoDisplay() local
834 hostName = p->hostName; in UpdateInfoDisplay()
866 UTF8StringToStringObject( hostName.c_str(), s ); in UpdateInfoDisplay()
1279 serviceInstance->hostName = inEvent->data.resolved->hostName; in BrowserCallBack()
/external/llvm-project/clang/test/ARCMT/
Dobjcmt-instancetype-2.m.result62 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName;
63 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameSe…
/external/clang/test/ARCMT/
Dobjcmt-instancetype-2.m.result62 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName;
63 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameSe…

12