/external/openssl/apps/ |
s_apps.h | 151 int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context);
|
/external/ppp/pppd/plugins/radius/ |
config.c | 404 * Purpose: see if ip_addr is one of the ip addresses of hostname 410 static int find_match (UINT4 *ip_addr, char *hostname) 416 if (rc_good_ipaddr (hostname) == 0) 418 if (*ip_addr == ntohl(inet_addr (hostname))) 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL) 480 if ((h = strtok (buffer, " \t\n")) == NULL) /* first hostname */
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WifiConfigHelper.java | 136 * validate syntax of hostname and port entries 139 public static int validate(String hostname, String port, String exclList) { 140 Matcher match = HOSTNAME_PATTERN.matcher(hostname); 150 if (hostname.length() > 0 && port.length() == 0) { 155 if (hostname.length() == 0) {
|
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
socket.cc | 170 std::string hostname = host; local 173 hostname = host.substr(0, pos); 180 resolver_.Resolve(hostname.c_str(), port, hint, callback);
|
/external/chromium_org/third_party/webrtc/base/ |
ssladapter_unittest.cc | 66 int Connect(const std::string& hostname, const rtc::SocketAddress& address) { 68 << " handshake with " << hostname; 70 if (ssl_adapter_->StartSSL(hostname.c_str(), false) != 0) {
|
/external/chromium_org/tools/perf/profile_creators/ |
extensions_profile_creator.py | 165 hostname = socket.gethostname() 166 if hostname.endswith('corp.google.com'): 168 "(hostname=%s). This script needs to be run off the corp " 169 "network." % hostname)
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
Platform.java | 279 * Returns true if the supplied hostname is an literal IP address. 281 public static boolean isLiteralIpAddress(String hostname) { 284 return (Boolean) m_isNumeric.invoke(null, hostname); 288 return AddressUtils.isLiteralIpAddress(hostname);
|
/external/okhttp/website/static/ |
jquery.smooth-scroll.min.js | 7 (function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d& (…)
|
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLMechanism.java | 63 protected String hostname;
field in class:SASLMechanism 76 * @param host the hostname where the user account resides.
88 this.hostname = host;
101 * @param host the hostname where the user account resides.
181 rcb.setText(hostname);
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
MailTransport.java | 121 // After the socket connects to an SSL server, confirm that the hostname is as expected 159 * NOTE: No explicit hostname verification is required here, because it's handled automatically 198 * Verify the hostname of the certificate used by the other end of a 199 * connected socket. You MUST call this if you did not supply a hostname 201 * redundantly if the hostname has already been verified. 203 * <p>Wildcard certificates are allowed to verify any matching hostname, 208 * @param hostname The expected hostname of the remote server 212 private static void verifyHostname(Socket socket, String hostname) throws IOException { 226 if (!HOSTNAME_VERIFIER.verify(hostname, session)) [all...] |
/external/chromium_org/net/cert/ |
x509_certificate.cc | 508 const std::string& hostname, 513 DCHECK(!hostname.empty()); 521 const std::string host_or_ip = hostname.find(':') != std::string::npos ? 522 "[" + hostname + "]" : hostname; 538 // Fully handle all cases where |hostname| contains an IP address. 621 // The hostname must be at least as long as the cert name it is matching, 657 bool X509Certificate::VerifyNameMatch(const std::string& hostname, 661 return VerifyHostname(hostname, subject_.common_name, dns_names, ip_addrs,
|
/external/chromium_org/net/base/ |
net_util.cc | 381 // If the hostname starts with a bracket, it is either an IPv6 literal or 425 bool IsHostnameNonUnique(const std::string& hostname) { 427 const std::string host_or_ip = hostname.find(':') != std::string::npos ? 428 "[" + hostname + "]" : hostname; 437 // If |hostname| is an IP address, check to see if it's in an IANA-reserved 441 if (!ParseIPLiteralToNumber(hostname.substr(host_info.out_host.begin, 456 // Check for a registry controlled portion of |hostname|, ignoring private 684 // the hostname. 819 bool ParseURLHostnameToNumber(const std::string& hostname, [all...] |
/external/chromium_org/net/http/ |
transport_security_persister.cc | 143 const std::string& hostname = state.hostname(); local 178 toplevel.Set(HashedDomainToExternalString(hostname), serialized);
|
/external/chromium_org/sync/util/ |
cryptographer.cc | 19 // We name a particular Nigori instance (ie. a triplet consisting of a hostname, 165 if (!nigori->InitByDerivation(params.hostname, 178 if (!nigori->InitByDerivation(params.hostname, 247 if (!nigori.InitByDerivation(params.hostname,
|
cryptographer.h | 31 std::string hostname; member in struct:syncer::KeyParams
|
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 48 * <li>Hostname verification in most cases (see WARNINGs below) 60 * This implementation does check the server's certificate hostname, but only 61 * for createSocket variants that specify a hostname. When using methods that 67 * {@link HostnameVerifier} to verify the certificate hostname. 70 * SSL certificate and hostname checks for testing purposes. This setting 171 * Verify the hostname of the certificate used by the other end of a 172 * connected socket. You MUST call this if you did not supply a hostname 174 * redundantly if the hostname has already been verified. 176 * <p>Wildcard certificates are allowed to verify any matching hostname, 181 * @param hostname The expected hostname of the remote serve [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
redirector.py | 96 if urlsplit(host).hostname != 'code.google.com':
|
/external/chromium_org/net/dns/ |
mock_host_resolver.cc | 157 if (ParseIPLiteralToNumber(info.hostname(), &ip)) { 171 HostCache::Key key(info.hostname(), 188 int rv = rules_->Resolve(info.hostname(), 194 HostCache::Key key(info.hostname(), 376 // Apply the resolving function to the remapped hostname.
|
/external/chromium_org/net/socket/ |
socks5_client_socket.cc | 279 // Since we only have 1 byte to send the hostname length in, if the 280 // URL has a hostname longer than 255 characters we can't send it. 281 if (0xFF < host_request_info_.hostname().size()) { 367 DCHECK_GE(static_cast<size_t>(0xFF), host_request_info_.hostname().size()); 369 // First add the size of the hostname, followed by the hostname. 371 host_request_info_.hostname().size())); 372 handshake->append(host_request_info_.hostname());
|
/external/chromium_org/third_party/libevent/ |
evdns.h | 94 * evdns_resolve("www.hostname.com", 0, callback, NULL); 314 @param name a DNS hostname 327 @param name a DNS hostname 516 int evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl);
|
/external/chromium_org/third_party/libxml/src/ |
nanoftp.c | 123 char *hostname; /* the host name */ member in struct:xmlNanoFTPCtxt 183 * and get the hostname 311 if (ctxt->hostname != NULL) { 312 xmlFree(ctxt->hostname); 313 ctxt->hostname = NULL; 331 ctxt->hostname = xmlMemStrdup(uri->server); 361 * protocol, hostname, port or other information, the 379 if (ctxt->hostname == NULL) 391 (strcmp(ctxt->hostname, uri->server)) || 510 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname) [all...] |
/external/dhcpcd/ |
if-options.c | 66 {"hostname", optional_argument, NULL, 'h'}, 362 s = parse_string(ifo->hostname, 365 syslog(LOG_ERR, "hostname: %m"); 368 if (s != 0 && ifo->hostname[0] == '.') { 370 "hostname cannot begin with ."); 373 ifo->hostname[s] = '\0'; 375 if (ifo->hostname[0] == '\0') 810 gethostname(ifo->hostname, HOSTNAME_MAX_LEN); 811 /* Ensure that the hostname is NULL terminated */ 812 ifo->hostname[HOSTNAME_MAX_LEN] = '\0' [all...] |
/external/fio/ |
client.h | 32 char *hostname; member in struct:fio_client
|
/external/libxml2/ |
nanoftp.c | 124 char *hostname; /* the host name */ member in struct:xmlNanoFTPCtxt 184 * and get the hostname 312 if (ctxt->hostname != NULL) { 313 xmlFree(ctxt->hostname); 314 ctxt->hostname = NULL; 332 ctxt->hostname = xmlMemStrdup(uri->server); 362 * protocol, hostname, port or other information, the 380 if (ctxt->hostname == NULL) 392 (strcmp(ctxt->hostname, uri->server)) || 511 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname) [all...] |
/external/mdnsresponder/mDNSPosix/ |
nss_mdns.c | 496 char hostname [k_hostname_maxlen + 1]; member in struct:buf_header 832 Lookup a fully qualified hostname using the default record type 837 Fully qualified hostname. If not fully qualified the code will 1216 // Data should be a hostname 1418 Add fully qualified hostname to result. 1424 Fully qualified hostname 1427 Pointer to start of hostname buffer, 1428 or NULL on error (usually hostname too long) 1438 "mdns: Hostname too long '%.*s': len %d, max %d", 1448 strcpy (result->header->hostname, fullname) 1476 char * hostname = result->hostent->h_name; local [all...] |