/libcore/luni/src/main/native/ |
Portability.h | 81 inline int android_getaddrinfofornet(const char *hostname, const char *servname, 83 return getaddrinfo(hostname, servname, hints, res);
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 74 int TcpStream::connect(const char* hostname, unsigned short port) 76 m_sock = emugl::socketTcpClient(hostname, port, SOCK_STREAM);
|
/external/chromium_org/tools/real_world_impact/ |
real_world_impact.py | 155 hostname = entry.strip().split(',')[1] 156 if not '/' in hostname: # Skip Alexa 1,000,000 entries that have paths. 157 url = "http://%s/" % hostname 185 host_dir = os.path.join(output_dir, "data", url_parts.hostname) 214 download_path = os.path.join(host_dir, url_parts.hostname, "index.html") 232 host_dir = os.path.join(output_dir, "data", url_parts.hostname) 233 download_path = os.path.join(host_dir, url_parts.hostname, "index.html") 257 host_dir = os.path.join(output_dir, "data", url_parts.hostname) 258 html_path = os.path.join(host_dir, url_parts.hostname, "index.html") 261 nojs_path = os.path.join(host_dir, url_parts.hostname, "index-nojs.html" [all...] |
/external/chromium_org/net/cert/ |
cert_verify_proc_android.cc | 31 const std::string& hostname, 37 android::VerifyX509CertChain(cert_bytes, "RSA", hostname, 159 const std::string& hostname, 164 if (!cert->VerifyNameMatch(hostname, 172 if (!VerifyFromAndroidTrustManager(cert_bytes, hostname, verify_result)) {
|
multi_threaded_cert_verifier.cc | 219 const std::string& hostname, 226 hostname_(hostname), 457 const std::string& hostname, 466 if (callback.is_null() || !verify_result || hostname.empty()) { 479 hostname, flags, additional_trust_anchors); 503 hostname, 545 : hostname(hostname_arg), 559 // |hostname| under assumption that integer comparisons are faster than 563 if (hostname != other.hostname) [all...] |
multi_threaded_cert_verifier.h | 58 const std::string& hostname, 93 std::string hostname; member in struct:net::MultiThreadedCertVerifier::RequestParams 133 const std::string& hostname,
|
mock_cert_verifier.h | 29 const std::string& hostname,
|
x509_util_mac.cc | 58 OSStatus CreateSSLServerPolicy(const std::string& hostname, 63 if (!hostname.empty()) { 64 tp_ssl_options.ServerName = hostname.data(); 65 tp_ssl_options.ServerNameLen = hostname.size();
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_openssl.cc | 107 const string& hostname, 110 channel_id_key->reset(new TestChannelIDKey(HostnameToKey(hostname))); 115 static EVP_PKEY* HostnameToKey(const string& hostname) { 116 // In order to generate a deterministic key for a given hostname the 117 // hostname is hashed with SHA-256 and the resulting digest is treated as a 124 SHA256_Update(&sha256, hostname.data(), hostname.size());
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 44 StringRef Hostname; 46 std::tie(Hostname, PIDStr) = getToken(MB->getBuffer(), " "); 50 auto Owner = std::make_pair(std::string(Hostname), PID); 60 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) { 67 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH) 105 char hostname[256]; local 106 hostname[255] = 0; 107 hostname[0] = 0; 108 gethostname(hostname, 255); 109 Out << hostname << ' ' << getpid() [all...] |
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
PlatformTest.java | 55 assertEquals("host", openSslSocket.hostname); 98 private String hostname; field in class:PlatformTest.FullOpenSSLSocketImpl 112 public void setHostname(String hostname) { 113 this.hostname = hostname;
|
/libcore/benchmarks/src/benchmarks/regression/ |
HostnameVerifierBenchmark.java | 48 private String hostname; field in class:HostnameVerifierBenchmark 57 public boolean verify(String hostname, SSLSession sslSession) { 63 HostnameVerifierBenchmark.this.hostname = hostname; 79 hostnameVerifier.verify(hostname, sslSession);
|
/external/chromium_org/net/dns/ |
host_resolver_impl_unittest.cc | 57 ResolveKey(const std::string& hostname, AddressFamily address_family) 58 : hostname(hostname), address_family(address_family) {} 61 (address_family == other.address_family && hostname < other.hostname); 63 std::string hostname; member in struct:net::__anon13833::MockHostResolverProc::ResolveKey 104 void AddRule(const std::string& hostname, AddressFamily family, 107 rules_[ResolveKey(hostname, family)] = result; 110 void AddRule(const std::string& hostname, AddressFamily family, 115 AddRule(hostname, family, result) 711 std::string hostname = "a_"; local 865 std::string hostname = req->info().hostname(); local 962 std::string hostname; local 1659 std::string hostname = base::StringPrintf("nx_%u", i); local 1693 std::string hostname = (i % 2) == 0 ? base::StringPrintf("nx_%u", i) local [all...] |
/external/dnsmasq/src/ |
lease.c | 158 lease_set_hostname(lease, config->hostname, 1); 203 ourprintf(&err, "%s ", lease->hostname ? lease->hostname : "*"); 256 if (!(daemon->options & OPT_DHCP_FQDN) && lease->hostname) 257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires); 274 if (lease->hostname) 428 free(lease->hostname); 431 lease->old_hostname = lease->hostname; 433 lease->hostname = lease->fqdn = NULL; 441 if (lease->hostname && name && hostname_isequal(lease->hostname, name) [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
test_request_interceptor.cc | 151 const std::string& hostname, 154 "http", hostname, interceptor.Pass()); 161 Delegate(const std::string& hostname, 184 const std::string& hostname, 186 : hostname_(hostname), io_task_runner_(io_task_runner) {} 223 TestRequestInterceptor::TestRequestInterceptor(const std::string& hostname, 225 : hostname_(hostname),
|
test_request_interceptor.h | 28 // Intercepts all requests to the given hostname while in scope, and allows 38 // Will intercept request to |hostname| made over HTTP. 40 const std::string& hostname,
|
/system/core/adb/ |
adb_auth_host.c | 115 char hostname[1024], username[1024]; local 118 if (getenv("HOSTNAME") != NULL) { 119 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname)); 120 hostname[sizeof(hostname)-1] = '\0'; 126 ret = gethostname(hostname, sizeof(hostname)); 129 strcpy(hostname, "unknown") [all...] |
/external/chromium_org/extensions/browser/api/socket/ |
socket.h | 46 // The hostname of the remote host that this socket is connected to. This 49 const std::string& hostname() const { return hostname_; } function in class:extensions::Socket 51 // Set the hostname of the remote host that this socket is connected to. 55 void set_hostname(const std::string& hostname) { hostname_ = hostname; } 57 // Note: |address| contains the resolved IP address, not the hostname of 59 // must also supply the hostname of the endpoint via set_hostname().
|
/external/chromium_org/net/socket/ |
socks5_client_socket_unittest.cc | 39 const std::string& hostname, 89 const std::string& hostname, 109 HostResolver::RequestInfo(HostPortPair(hostname, port)))); 186 const std::string hostname = "my-host-name"; local 195 request.push_back(hostname.size()); 196 request.append(hostname); 211 hostname, 80, NULL); 236 // the transport socket first) because the hostname is too long. 243 const std::string hostname = "www.google.com"; local 269 hostname, 80, &net_log_) [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prnetdb.h | 91 ** char *hostname Character string defining the host name of interest 107 const char *hostname, char *buf, PRIntn bufsize, PRHostEnt *hostentry); 116 ** char *hostname Character string defining the host name of interest 143 const char *hostname, 395 ** char *hostname Character string defining the host name of interest 409 const char *hostname, PRUint16 af, PRIntn flags); 454 ** Extracts the canonical name of the hostname passed to 462 ** const char * A const pointer to the canonical hostname stored
|
/external/chromium_org/third_party/webrtc/base/ |
nethelpers.cc | 25 int ResolveHostname(const std::string& hostname, int family, 41 int ret = getaddrinfo(hostname.c_str(), NULL, &hints, &result); 84 error_ = ResolveHostname(addr_.hostname().c_str(), addr_.family(),
|
socketaddress.h | 34 // literal IP string or a hostname to be resolved later. 35 SocketAddress(const std::string& hostname, int port); 50 // Determines if this is a nil address (empty hostname, any IP, null port) 59 // Changes the IP of this address to the given one, and clears the hostname 63 // Changes the IP of this address to the given one, and clears the hostname. 66 // Changes the hostname of this address to the given one. 68 void SetIP(const std::string& hostname); 70 // Sets the IP address while retaining the hostname. Useful for bypassing 75 // Sets the IP address while retaining the hostname. Useful for bypassing 82 // Returns the hostname 83 const std::string& hostname() const { return hostname_; } function in class:rtc::SocketAddress [all...] |
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 43 * when globbing NULL hostname (to loopback, or wildcard). Is it the right 205 "Address family for hostname not supported", /* EAI_ADDRFAMILY */ 211 "No address associated with hostname", /* EAI_NODATA */ 212 "hostname nor servname provided, or not known", /* EAI_NONAME */ 301 getaddrinfo(hostname, servname, hints, res) 302 const char *hostname, *servname; 339 if (hostname == NULL && servname == NULL) 408 /* NULL hostname, or numeric hostname */ 426 if (hostname == NULL [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
policy_cert_verifier.h | 51 const std::string& hostname,
|
/external/chromium_org/chrome/browser/net/ |
chrome_fraudulent_certificate_reporter.h | 35 virtual void SendReport(const std::string& hostname,
|