HomeSort by relevance Sort by last modified time
    Searched defs:hostname (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /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);
  /external/chromium/chrome/common/remoting/
chromoting_host_info.h 18 std::string hostname; member in struct:remoting::ChromotingHostInfo
  /external/webkit/Source/WebCore/workers/
WorkerLocation.cpp 52 String WorkerLocation::hostname() const function in class:WebCore::WorkerLocation
  /development/tools/emulator/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 LOGE("couldn't connect to %s\n", hostname);
106 free(hostname);
110 LOGI("connecting to server %s\n", hostname);
111 free(hostname);
  /external/chromium/chrome/browser/sync/util/
cryptographer.h 24 std::string hostname; member in struct:browser_sync::KeyParams
nigori.cc 72 bool Nigori::InitByDerivation(const std::string& hostname,
76 salt_password << username << hostname; local
  /external/chromium/third_party/libjingle/source/talk/base/
socketaddress.h 49 // the hostname will be immediately resolved to an IP (which may block for
53 SocketAddress(const std::string& hostname, int port);
64 // Determines if this is a nil address (empty hostname, any IP, null port)
73 // Changes the IP of this address to the given one, and clears the hostname.
76 // Changes the hostname of this address to the given one.
78 void SetIP(const std::string& hostname);
80 // Sets the IP address while retaining the hostname. Useful for bypassing
87 // Returns the hostname
88 const std::string& hostname() const { return hostname_; } function in class:talk_base::SocketAddress
102 // Returns hostname:por
    [all...]
  /external/chromium/net/base/
host_cache.h 24 // 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
54 other.hostname == hostname);
59 // |hostname| under assumption that integer comparisons are faster than
65 return hostname < other.hostname;
68 std::string hostname; member in struct:net::HostCache::Key
    [all...]
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...]
cert_verifier_unittest.cc 198 std::string hostname = base::StringPrintf("www%d.example.com", i + 1); local
199 error = verifier.Verify(google_cert, hostname, 0, &verify_result,
cert_verifier.h 76 // Verifies the given certificate against the given hostname. Returns OK if
102 const std::string& hostname,
127 // |flags| is compared before |cert_fingerprint| and |hostname| under
133 hostname == other.hostname);
137 // |flags| is compared before |cert_fingerprint| and |hostname| under
146 return hostname < other.hostname;
150 std::string hostname; member in struct:net::CertVerifier::RequestParams
155 const std::string& hostname,
    [all...]
  /external/chromium/net/url_request/
url_request_filter.cc 32 const std::string& hostname, URLRequest::ProtocolFactory* factory) {
33 hostname_handler_map_[make_pair(scheme, hostname)] = factory;
52 const std::string& hostname) {
54 hostname_handler_map_.find(make_pair(scheme, hostname));
75 // Check to see if this URL is masked by a hostname handler.
124 // Check the hostname map first.
125 const std::string& hostname = request->url().host(); local
128 hostname_handler_map_.find(make_pair(scheme, hostname));
133 // Not in the hostname map, check the url map.
  /external/apache-http/src/org/apache/http/
HttpHost.java 56 protected final String hostname; field in class:HttpHost
73 * @param hostname the hostname (IP or DNS name)
80 public HttpHost(final String hostname, int port, final String scheme) {
82 if (hostname == null) {
85 this.hostname = hostname;
86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
98 * @param hostname the hostname (IP or DNS name
    [all...]
  /external/chromium/net/socket/
socks5_client_socket_unittest.cc 38 const std::string& hostname,
80 const std::string& hostname,
95 HostResolver::RequestInfo(HostPortPair(hostname, port)));
170 const std::string hostname = "my-host-name"; local
179 request.push_back(hostname.size());
180 request.append(hostname);
195 hostname, 80, NULL));
220 // the transport socket first) because the hostname is too long.
227 const std::string hostname = "www.google.com"; local
253 hostname, 80, &net_log_))
    [all...]
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/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/qemu/block/
nbd.c 65 char hostname[128]; local
67 pstrcpy(hostname, 128, host);
69 p = strchr(hostname, ':');
79 sock = tcp_socket_outgoing(hostname, port);
  /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...]
  /sdk/monkeyrunner/src/com/android/monkeyrunner/
MonkeyRunnerOptions.java 31 private final String hostname; field in class:MonkeyRunnerOptions
38 private MonkeyRunnerOptions(String hostname, int port, File scriptFile, String backend,
40 this.hostname = hostname;
54 return hostname;
97 String hostname = DEFAULT_MONKEY_SERVER_ADDRESS; local
113 hostname = args[index++];
183 return new MonkeyRunnerOptions(hostname, port, scriptFile, backend, logLevel,
  /external/bluetooth/glib/tests/
uri-test.c 40 char *hostname; member in struct:__anon2198
186 to_uri_tests[i].hostname,
233 gchar *hostname; local
240 &hostname,
291 if (hostname != NULL)
293 g_print ("\ng_filename_from_uri() test %d failed, expected no hostname, got: %s\n",
294 i, hostname);
298 else if (hostname == NULL ||
299 strcmp (hostname, from_uri_tests[i].expected_hostname) != 0)
301 g_print ("\ng_filename_from_uri() test %d failed, expected hostname: %s, actual result: %s\n"
355 gchar *uri, *hostname, *res; local
    [all...]
  /external/dropbear/
dropbearkey.c 304 char hostname[100]; local
330 gethostname(hostname, sizeof(hostname));
331 hostname[sizeof(hostname)-1] = '\0';
334 typestring, base64key, username, hostname, fp);
loginrec.h 135 char hostname[LINFO_HOSTSIZE]; /* remote hostname */ member in struct:logininfo
154 const char *hostname, const char *line);
159 const char *hostname, const char *line);
  /external/nist-sip/java/gov/nist/core/
Host.java 43 * Stores hostname.
68 protected static final int HOSTNAME = 1;
72 /** hostName field
74 protected String hostname; field in class:Host
86 addressType = HOSTNAME;
94 public Host(String hostName) throws IllegalArgumentException {
95 if (hostName == null)
101 setHost(hostName, IPV4ADDRESS);
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) {
125 buffer.append('[').append(hostname).append(']')
    [all...]
HostNameParser.java 175 String hostname; local
179 hostname = ipv6Reference();
187 hostname
192 //IPv4 address or hostname
196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr());
199 if (hostname.length() == 0)
204 return new Host(hostname);
307 " Illegal character in hostname:" + lexer.lookAhead(0),

Completed in 582 milliseconds

1 2 3 4