Home
last modified time | relevance | path

Searched refs:hostName (Results 1 – 25 of 29) 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/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/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSNIHostNameTest.java41 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor() local
42 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName()); in test_byteArray_Constructor()
43 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType()); in test_byteArray_Constructor()
44 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/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.java55 SslSessionWrapper getCachedSession(String hostName, int port, SSLParametersImpl sslParameters) { in getCachedSession() argument
56 if (hostName == null) { in getCachedSession()
60 SslSessionWrapper 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()
D_IDNSSDEvents_CP.h137 …ice * service, DNSSDFlags flags, ULONG ifIndex, BSTR fullName, BSTR hostName, USHORT port, I… in Fire_ServiceResolved() argument
160 avarParams[2] = hostName; in Fire_ServiceResolved()
/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()
DChooserDialog.h46 std::string hostName; member
/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…
Dobjcmt-instancetype-2.m62 + (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName;
63 + (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPo…
/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/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java272 String hostName = url.getHost(); in getPermission() local
278 hostName = proxyAddress.getHostName(); in getPermission()
281 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.java115 String hostName = null; in onConnectionInfoAvailable() local
118 hostName = addr.getHostName(); in onConnectionInfoAvailable()
121 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/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java214 String hostName = getHostName();
215 return hostName.contains(".") ? hostName : ".local";

12