/external/chromium_org/sync/util/ |
get_session_name_linux.cc | 16 char hostname[HOST_NAME_MAX]; local 17 if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success. 18 return hostname;
|
cryptographer.h | 31 std::string hostname; member in struct:syncer::KeyParams
|
nigori.cc | 67 bool Nigori::InitByDerivation(const std::string& hostname, 71 salt_password << username << hostname; local
|
/system/extras/tests/bionic/libc/common/ |
test_gethostname.c | 36 char hostname[512]; local 39 ret = gethostname(hostname, sizeof(hostname)); 45 printf("gethostname() returned '%s'\n", hostname);
|
test_gethostbyname.c | 38 char* hostname = "localhost"; local 43 hostname = argv[1]; 45 hent = gethostbyname(hostname); 47 printf("gethostbyname(%s) returned NULL !!\n", hostname); 50 printf( "gethostbyname(%s) returned:\n", hostname);
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
ServerConnection.cpp | 97 char *hostname; local 99 hostname = strdup(defaultServer); 101 hostname = strdup(s); 104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) { 105 ALOGE("couldn't connect to %s\n", hostname); 106 free(hostname); 110 LOGI("connecting to server %s\n", hostname); 111 free(hostname);
|
/external/chromium_org/net/cert/ |
mock_cert_verifier.cc | 18 const std::string& hostname, 22 hostname(hostname), 30 std::string hostname; member in struct:net::MockCertVerifier::Rule 40 const std::string& hostname, 52 if (!MatchPattern(hostname, it->hostname))
|
/external/chromium_org/storage/common/database/ |
database_identifier.h | 33 std::string hostname() const { return hostname_; } function in class:storage::DatabaseIdentifier 40 const std::string& hostname,
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMURLUtilsReadOnly.h | 58 static String hostname(const KURL& url) { return url.host(); } function in class:blink::DOMURLUtilsReadOnly 59 String hostname() { return hostname(url()); } function in class:blink::DOMURLUtilsReadOnly
|
/external/chromium_org/third_party/webrtc/base/ |
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/chromium_org/net/dns/ |
host_cache.h | 25 // Stores the latest address list that was looked up for a hostname. 42 Key(const std::string& hostname, AddressFamily address_family, 44 : hostname(hostname), 50 // |hostname| under assumption that integer comparisons are faster than 56 return hostname < other.hostname; 59 std::string hostname; member in struct:net::HostCache::Key 115 // Map from hostname (presumably in lowercase canonicalized format) to
|
/external/chromium_org/net/quic/crypto/ |
channel_id_test.cc | 227 const string hostname = "foo.example.com"; local 230 source->GetChannelIDKey(hostname, &channel_id_key, NULL);
|
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
bio_test.c | 35 char hostname[80], buf[5]; local 61 snprintf(hostname, sizeof(hostname), "%s:%d", "127.0.0.1", 63 bio = BIO_new_connect(hostname);
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 61 protected final String hostname; field in class:HttpHost 78 * @param hostname the hostname (IP or DNS name) 85 public HttpHost(final String hostname, int port, final String scheme) { 87 if (hostname == null) { 90 this.hostname = hostname; 91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 103 * @param hostname the hostname (IP or DNS name [all...] |
/external/chromium_org/content/common/ |
database_identifier_unittest.cc | 47 // This tests the encoding of a hostname including every character in the range 51 std::string hostname; member in struct:content::__anon12198::Case 156 GURL origin("http://" + cases[i].hostname); 160 << "test case " << i << " :\"" << cases[i].hostname << "\""; 165 << "test case " << i << " :\"" << cases[i].hostname << "\""; 211 EXPECT_EQ(valid_cases[i].expected_host, identifier.hostname())
|
p2p_socket_type.h | 42 P2PHostAndIPEndPoint(const std::string& hostname, 44 : hostname(hostname), ip_address(ip_address) { 47 std::string hostname; member in struct:content::P2PHostAndIPEndPoint
|
/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/net/third_party/nss/ssl/ |
sslauth.c | 288 const char * hostname = NULL; local 322 * Now check the name field in the cert against the desired hostname. 325 hostname = ss->url; 326 if (hostname && hostname[0]) 327 rv = CERT_VerifyCertName(ss->sec.peerCert, hostname);
|
/external/chromium_org/net/url_request/ |
url_request_filter.cc | 47 const std::string& hostname, URLRequest::ProtocolFactory* factory) { 49 scheme, hostname, 56 const std::string& hostname, 58 DCHECK_EQ(0u, hostname_interceptor_map_.count(make_pair(scheme, hostname))); 59 hostname_interceptor_map_[make_pair(scheme, hostname)] = 76 const std::string& hostname) { 78 hostname_interceptor_map_.find(make_pair(scheme, hostname)); 84 // this would leave no protocol factory for the remaining hostname and URL 105 // Check to see if this URL is masked by a hostname handler. 119 // this would leave no protocol factory for the remaining hostname and UR 137 const std::string hostname = request->url().host(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
DatabaseIdentifierTest.cpp | 76 // This tests the encoding of a hostname including every character in the range [\x1f, \x80]. 80 String hostname; member in struct:__anon15981::Case 192 RefPtr<SecurityOrigin> origin = SecurityOrigin::create("http", cases[i].hostname, 80); 194 EXPECT_EQ(cases[i].expected, identifier) << "test case " << i << ": \"" << cases[i].hostname << "\""; 197 EXPECT_EQ(cases[i].hostname.lower(), parsedOrigin->host()) << "test case " << i << ": \"" << cases[i].hostname << "\"";
|
/external/javassist/src/main/javassist/ |
URLClassPath.java | 29 protected String hostname; field in class:URLClassPath 61 hostname = host; 68 return hostname + ":" + port + directory; 90 return fetchClass0(hostname, port, jarname);
|
/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...] |
/libcore/luni/src/main/java/java/net/ |
InetSocketAddress.java | 31 // Exactly one of hostname or addr should be set. 33 private final String hostname; field in class:InetSocketAddress 42 this.hostname = null; 74 this.hostname = null; 80 * hostname {@code host}. The hostname is tried to be resolved and cannot be 87 * the specified hostname to which this socket is bound. 97 InetSocketAddress(String hostname, int port, boolean needResolved) { 98 if (hostname == null || port < 0 || port > 65535) { 99 throw new IllegalArgumentException("host=" + hostname + ", port=" + port) [all...] |
/bionic/libc/kernel/uapi/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|