/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | OkHostnameVerifier.java | 97 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/ |
D | ltpClient.c | 67 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/ |
D | SNIHostNameTest.java | 41 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/ |
D | SocketTransportWrapper.java | 64 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/ |
D | FramedConnection.java | 85 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/ |
D | Host.java | 94 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/ |
D | ClientSessionContext.java | 55 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/ |
D | HopImpl.java | 74 public HopImpl(String hostName, int portNumber, String trans) { in HopImpl() argument 75 host = hostName; in HopImpl()
|
/external/mdnsresponder/mDNSWindows/DLLX/ |
D | DNSSD.cpp | 299 …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()
|
D | DNSSDService.cpp | 1082 …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.h | 137 …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/ |
D | ArgsI18N1.java | 26 String hostName; field in ArgsI18N1
|
D | ArgsI18N2.java | 29 String hostName; field in ArgsI18N2
|
D | ArgsI18N2New.java | 30 String hostName; field in ArgsI18N2New
|
/external/apache-http/src/org/apache/http/client/protocol/ |
D | RequestAddCookies.java | 139 String hostName = targetHost.getHostName(); in process() local 146 hostName, in process()
|
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/ |
D | ChooserDialog.cpp | 816 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()
|
D | ChooserDialog.h | 46 std::string hostName; member
|
/external/clang/test/ARCMT/ |
D | objcmt-instancetype-2.m.result | 62 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName; 63 + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameSe…
|
D | objcmt-instancetype-2.m | 62 + (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.c | 4007 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/ |
D | HttpURLConnectionImpl.java | 272 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/ |
D | MockWebServer.java | 138 String hostName = getHostName(); in getCookieDomain() local 139 return hostName.contains(".") ? hostName : ".local"; in getCookieDomain()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiP2pManagerFacade.java | 115 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/ |
D | RequestQueue.java | 424 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/ |
D | MockWebServer.java | 214 String hostName = getHostName(); 215 return hostName.contains(".") ? hostName : ".local";
|