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

1 2 3 4 5 6

  /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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
X11ServerData.java 16 public String hostname; field in class:X11ServerData
  /external/openssh/
sshlogin.c 78 strlcpy(buf, li.hostname, bufsize);
90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; local
103 last_login_time = get_last_login_time(uid, user, hostname,
104 sizeof(hostname));
109 if (strcmp(hostname, "") == 0)
114 time_string, hostname);
auth-rhosts.c 55 check_rhosts_file(const char *filename, const char *hostname,
149 if (!innetgr(host + 1, hostname, NULL, NULL) &&
152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0)
153 continue; /* Different hostname. */
189 const char *hostname, *ipaddr; local
191 hostname = get_canonical_hostname(options.use_dns);
193 return auth_rhosts2(pw, client_user, hostname, ipaddr);
197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname,
205 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s",
206 client_user, hostname, ipaddr)
    [all...]
  /external/webkit/Source/WebCore/workers/
WorkerLocation.cpp 52 String WorkerLocation::hostname() const function in class:WebCore::WorkerLocation
  /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/ganymed-ssh2/examples/
PortForwarding.java 26 String hostname = "127.0.0.1"; local
36 Connection conn = new Connection(hostname);
Basic.java 18 String hostname = "127.0.0.1"; local
26 Connection conn = new Connection(hostname);
PublicKeyAuthentication.java 19 String hostname = "127.0.0.1"; local
29 Connection conn = new Connection(hostname);
StdoutAndStderr.java 18 String hostname = "127.0.0.1"; local
26 Connection conn = new Connection(hostname);
UsingKnownHosts.java 22 String hostname = "somehost"; local
37 Connection conn = new Connection(hostname);
BasicWithHTTPProxy.java 19 String hostname = "my-ssh-server"; local
30 Connection conn = new Connection(hostname);
SingleThreadStdoutStderr.java 16 String hostname = "127.0.0.1"; local
24 Connection conn = new Connection(hostname);
  /sdk/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 ALOGE("couldn't connect to %s\n", hostname);
106 free(hostname);
110 LOGI("connecting to server %s\n", hostname);
111 free(hostname);
  /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,
  /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/llvm/lib/Support/
LockFileManager.cpp 39 std::string Hostname;
41 if (Input >> Hostname >> PID && PID > 0 &&
42 processStillExecuting(Hostname, PID))
43 return std::make_pair(Hostname, PID);
51 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) {
59 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH)
95 char hostname[256]; local
96 hostname[255] = 0;
97 hostname[0] = 0;
98 gethostname(hostname, 255)
    [all...]
  /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...]

Completed in 554 milliseconds

1 2 3 4 5 6