/external/chromium_org/third_party/libjingle/source/talk/base/ |
openssladapter.h | 51 virtual int StartSSL(const char* hostname, bool restartable);
|
/frameworks/base/core/java/android/net/ |
Proxy.java | 71 // Hostname / IP REGEX validation 96 * user did not set a hostname it returns the default host. 236 * Validate syntax of hostname, port and exclusion list entries 239 public static void validate(String hostname, String port, String exclList) { 240 Matcher match = HOSTNAME_PATTERN.matcher(hostname); 251 if (hostname.length() > 0 && port.length() == 0) { 256 if (hostname.length() == 0) {
|
/external/chromium/net/proxy/ |
proxy_resolver_v8.cc | 197 // Extracts an hostname argument from |args|. On success returns true 198 // and fills |*hostname| with the result. 199 bool GetHostnameArgument(const v8::Arguments& args, std::string* hostname) { 206 // If the hostname is already in ASCII, simply return it as is. 208 *hostname = UTF16ToASCII(hostname_utf16); 226 hostname); 228 DCHECK(IsStringASCII(*hostname)); 601 std::string hostname; local 602 if (!GetHostnameArgument(args, &hostname)) 610 success = context->js_bindings_->DnsResolve(hostname, &ip_address) 622 std::string hostname; local [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/ |
__init__.py | 26 """Raised when a certificate is provided with an invalid hostname.""" 32 host: The hostname the connection was made to. 116 def _validate_certificate_hostname(self, cert, hostname): 117 """Validates that a given hostname is valid for an SSL certificate. 121 hostname: The hostname to test. 123 bool: Whether or not the hostname is valid for this certificate. 127 # Convert the glob-style hostname expression (eg, '*.google.com') into a 130 if re.search('^%s$' % (host_re,), hostname, re.I): 155 hostname = self.host.split(':', 0)[0 [all...] |
/system/core/adb/ |
adb_auth_host.c | 112 char hostname[1024], username[1024]; local 116 ret = gethostname(hostname, sizeof(hostname)); 119 strcpy(hostname, "unknown"); 127 ret = snprintf(buf, len, " %s@%s", username, hostname);
|
/external/chromium_org/chrome/browser/ |
process_singleton_linux.cc | 22 // The destination is a string containing the hostname and process id of 27 // If writing to the socket fails, the hostname in the lock is checked to see if 29 // etc.) If the hostname differs an error is displayed and the second process 269 // Extract the hostname and pid from the lock symlink. 272 std::string* hostname, 283 *hostname = ""; 288 *hostname = real_path.substr(0, pos); 298 const std::string& hostname, 303 ASCIIToUTF16(hostname), 724 std::string hostname; local 956 std::string hostname; local [all...] |
/system/netd/ |
MDnsSdListener.cpp | 270 const char *interfaceName, uint32_t protocol, const char *hostname) { 271 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname); 283 hostname, &MDnsSdListenerGetAddrInfoCallback, context); 299 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname, 313 char *quotedHostname = SocketClient::quoteArg(hostname); 330 const char *hostname) { 331 if (VDBG) ALOGD("setHostname(%d, %s)", requestId, hostname); 341 DNSServiceErrorType result = DNSSetHostname(ref, nativeFlags, hostname, 357 DNSServiceErrorType errorCode, const char *hostname, void *inContext) { 366 char *quotedHostname = SocketClient::quoteArg(hostname); 470 char *hostname = argv[3]; local 481 char *hostname = argv[3]; local [all...] |
/external/chromium_org/url/third_party/mozilla/ |
url_parse.cc | 95 Component* hostname, 99 hostname->reset(); 126 // Found a port number: <hostname>:<port> 127 *hostname = MakeRange(serverinfo.begin, colon); 128 if (hostname->len == 0) 129 hostname->reset(); 132 // No port: <hostname> 133 *hostname = serverinfo; 147 Component* hostname, 153 hostname->reset() [all...] |
/external/chromium_org/third_party/libxml/src/ |
nanohttp.c | 138 char *hostname; /* the host name */ member in struct:xmlNanoHTTPCtxt 291 if (ctxt->hostname != NULL) { 292 xmlFree(ctxt->hostname); 293 ctxt->hostname = NULL; 315 ctxt->hostname = xmlMemStrdup(uri->server); 414 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname); 790 xmlStrcat(tmp_http, (const xmlChar *) ctxt->hostname); [all...] |
/external/libxml2/ |
nanohttp.c | 136 char *hostname; /* the host name */ member in struct:xmlNanoHTTPCtxt 289 if (ctxt->hostname != NULL) { 290 xmlFree(ctxt->hostname); 291 ctxt->hostname = NULL; 313 ctxt->hostname = xmlMemStrdup(uri->server); 412 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname); 788 xmlStrcat(tmp_http, (const xmlChar *) ctxt->hostname); [all...] |
/external/dnsmasq/src/ |
rfc2131.c | 104 char *hostname, 133 char *hostname = NULL, *offer_hostname = NULL, *client_hostname = NULL, *domain = NULL; local 390 hostname = config->hostname; 480 if (hostname) 481 lease_set_hostname(lease, hostname, 1); 489 do_options(context, mess, end, NULL, hostname, get_domain(mess->yiaddr), 562 hostname = config->hostname; 565 /* be careful not to send an OFFER with a hostname not matching the DISCOVER. * [all...] |
/external/chromium/net/socket/ |
socks_client_socket_unittest.cc | 33 const std::string& hostname, int port, 61 const std::string& hostname, 77 HostResolver::RequestInfo(HostPortPair(hostname, port)), 332 // Tries to connect to an unknown hostname. Should fail rather than 335 const char hostname[] = "unresolved.ipv4.address"; local 337 host_resolver_->rules()->AddSimulatedFailure(hostname); 344 hostname, 80,
|
/external/chromium_org/net/socket/ |
socks_client_socket_unittest.cc | 33 const std::string& hostname, int port, 61 const std::string& hostname, 77 HostResolver::RequestInfo(HostPortPair(hostname, port)), 341 // Tries to connect to an unknown hostname. Should fail rather than 344 const char hostname[] = "unresolved.ipv4.address"; local 346 host_resolver_->rules()->AddSimulatedFailure(hostname); 353 hostname, 80,
|
/external/netperf/ |
netserver.c | 431 set_up_server(char hostname[], char port[], int af) 455 hostname, 469 error = getaddrinfo((char *)hostname, 486 hostname, 496 dump_addrinfo(stderr, local_res, hostname, port, af); 555 printf("Starting netserver at hostname %s port %s and family %s\n", 556 hostname,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urlparse.py | 55 self.assertEqual(result3.hostname, result.hostname) 79 self.assertEqual(result3.hostname, result.hostname) 346 for url, hostname, port in [ 369 self.assertEqual((urlparsed.hostname, urlparsed.port) , (hostname, port)) 404 self.assertEqual(p.hostname, "www.python.org") 419 self.assertEqual(p.hostname, "www.python.org") 436 self.assertEqual(p.hostname, "www.python.org" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urlparse.py | 55 self.assertEqual(result3.hostname, result.hostname) 79 self.assertEqual(result3.hostname, result.hostname) 346 for url, hostname, port in [ 369 self.assertEqual((urlparsed.hostname, urlparsed.port) , (hostname, port)) 404 self.assertEqual(p.hostname, "www.python.org") 419 self.assertEqual(p.hostname, "www.python.org") 436 self.assertEqual(p.hostname, "www.python.org" [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
DnsTest.java | 210 String hostname = addr.getHostName(); local 217 String hostname = addr.getHostName(); local
|
/external/chromium/android/net/ |
android_network_library_impl.cc | 54 const std::string& hostname, 75 jstring host_string = jni::ConvertUTF8ToJavaString(env, hostname);
|
/external/chromium/net/base/ |
host_cache_unittest.cc | 22 // Builds a key for |hostname|, defaulting the address family to unspecified. 23 HostCache::Key Key(const std::string& hostname) { 24 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0); 182 std::string hostname = base::StringPrintf("valid%d", i); local 183 cache.Set(Key(hostname), OK, AddressList(), now); 189 std::string hostname = base::StringPrintf("expired%d", i); local 191 cache.Set(Key(hostname), OK, AddressList(), t); 197 std::string hostname = base::StringPrintf("negative%d", i); local 198 cache.Set(Key(hostname), ERR_NAME_NOT_RESOLVED, AddressList(), now); 272 // Tests that the same hostname can be duplicated in the cache, so long a [all...] |
/external/chromium/net/http/ |
http_auth_handler_ntlm_portable.cc | 457 const std::string& hostname, 529 // Get workstation name (use local machine's hostname). 532 // hostname is ASCII, so we can do a simple zero-pad expansion: 533 ucs_host_buf.assign(hostname.begin(), hostname.end()); 541 host_ptr = hostname.data(); 542 host_len = hostname.length(); 705 std::string hostname = get_host_name_proc_(); local 706 if (hostname.empty()) 710 rv = GenerateType3Msg(domain_, username_, password_, hostname, rand_buf [all...] |
/external/chromium-libpac/src/ |
proxy_resolver_v8.cc | 210 // Extracts an hostname argument from |args|. On success returns true 211 // and fills |*hostname| with the result. 212 bool GetHostnameArgument(const v8::Arguments& args, std::string* hostname) { 219 // If the hostname is already in ASCII, simply return it as is. 221 *hostname = UTF16ToASCII(hostname_utf16); 612 std::string hostname; local 613 if (!GetHostnameArgument(args, &hostname)) 621 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 633 std::string hostname; local 634 if (!GetHostnameArgument(args, &hostname)) [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
http_header_util.py | 227 if parsed.hostname is None: 252 return parsed.hostname, port, path
|
/external/chromium_org/content/test/net/ |
url_request_mock_http_job.cc | 76 const std::string& hostname, 79 filter->AddHostnameProtocolHandler("http", hostname,
|
/external/chromium_org/net/cert/ |
cert_verify_proc_openssl.cc | 168 const std::string& hostname, 175 if (!cert->VerifyNameMatch(hostname))
|
/external/chromium_org/net/dns/ |
host_resolver_proc.cc | 253 int SystemHostResolverProc::Resolve(const std::string& hostname, 258 return SystemHostResolverCall(hostname,
|