Home
last modified time | relevance | path

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

12

/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/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java96 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
97 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
102 if (verifyHostName(hostName, altNames.get(i))) { 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()
227 if (hostName.length() < pattern.length()) { in verifyHostName()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DOkHostnameVerifier.java98 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
99 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
104 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
170 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
173 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
174 || (hostName.endsWith(".."))) { in verifyHostName()
193 if (!hostName.endsWith(".")) { in verifyHostName()
194 hostName += '.'; in verifyHostName()
206 return hostName.equals(pattern); in verifyHostName()
229 if (hostName.length() < pattern.length()) { in verifyHostName()
[all …]
/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/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/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/conscrypt/openjdk-integ-tests/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/openjdk-integ-tests/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/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/conscrypt/common/src/main/java/org/conscrypt/
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/
DClientSessionContext.java64 synchronized NativeSslSession getCachedSession(String hostName, int port, in getCachedSession() argument
66 if (hostName == null) { in getCachedSession()
70 NativeSslSession session = getSession(hostName, port); in getCachedSession()
/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/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/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/python/cpython2/Mac/Modules/cf/
D_CFmodule.c4007 CFStringRef hostName; in CF_CFPreferencesCopyValue() local
4015 CFStringRefObj_Convert, &hostName)) in CF_CFPreferencesCopyValue()
4020 hostName); in CF_CFPreferencesCopyValue()
4033 CFStringRef hostName; in CF_CFPreferencesCopyMultiple() local
4041 CFStringRefObj_Convert, &hostName)) in CF_CFPreferencesCopyMultiple()
4046 hostName); in CF_CFPreferencesCopyMultiple()
4059 CFStringRef hostName; in CF_CFPreferencesSetValue() local
4068 CFStringRefObj_Convert, &hostName)) in CF_CFPreferencesSetValue()
4074 hostName); in CF_CFPreferencesSetValue()
4087 CFStringRef hostName; in CF_CFPreferencesSetMultiple() local
[all …]
/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/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java276 String hostName = url.getHost(); in getPermission() local
282 hostName = proxyAddress.getHostName(); in getPermission()
285 return new SocketPermission(hostName + ":" + hostPort, "connect, resolve"); in getPermission()

12