HomeSort by relevance Sort by last modified time
    Searched refs:hostname (Results 51 - 75 of 200) sorted by null

1 23 4 5 6 7 8

  /frameworks/base/core/java/android/net/
NetworkUtils.java 112 * @param hostname the name of the host (or the IP address)
115 public static int lookupHost(String hostname) {
118 inetAddress = InetAddress.getByName(hostname);
  /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.c 236 const char *hostname, const char *line)
241 (void)login_init_entry(newli, pid, username, hostname, line);
264 const char *hostname, const char *line)
285 if (hostname)
286 strlcpy(li->hostname, hostname, sizeof(li->hostname));
541 strncpy(ut->ut_host, li->hostname, MIN_SIZEOF(ut->ut_host, li->hostname));
621 strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname))
    [all...]
  /external/dnsmasq/src/
dhcp.c 535 a particular hwaddr/clientid/hostname in our configuration.
666 int hw_type, char *hostname)
695 if (hostname && context)
698 hostname_isequal(config->hostname, hostname) &&
747 free(config->hostname);
809 if ((config->flags & CONFIG_NAME) && hostname_isequal(config->hostname, host))
848 config->hostname = host;
906 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname)))
933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) &
965 char *hostname = NULL; local
    [all...]
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/googleurl/src/
url_parse.cc 141 Component* hostname,
145 hostname->reset();
172 // Found a port number: <hostname>:<port>
173 *hostname = MakeRange(serverinfo.begin, colon);
174 if (hostname->len == 0)
175 hostname->reset();
178 // No port: <hostname>
179 *hostname = serverinfo;
193 Component* hostname,
199 hostname->reset()
    [all...]
url_parse.h 272 Component* hostname,
278 Component* hostname,
  /external/bluetooth/glib/glib/
gconvert.c     [all...]
gconvert.h 123 gchar **hostname,
127 const gchar *hostname,
  /external/chromium/net/base/
host_resolver_impl_unittest.cc 49 const std::string& hostname,
51 HostResolver::RequestInfo info(hostname, 80);
109 const std::string& hostname,
112 : info_(hostname, port), resolver_(resolver), delegate_(delegate),
135 const std::string& hostname() const { function in class:net::__anon2534::ResolveRequest
136 return info_.hostname();
387 if (resolve->hostname() == "a") {
389 } else if (resolve->hostname() == "b") {
392 FAIL() << "Unexpected hostname: " << resolve->hostname();
    [all...]
host_cache_unittest.cc 21 // Builds a key for |hostname|, defaulting the address family to unspecified.
22 HostCache::Key Key(const std::string& hostname) {
23 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED);
181 std::string hostname = StringPrintf("valid%d", i); local
182 cache.Set(Key(hostname), OK, AddressList(), now);
188 std::string hostname = StringPrintf("expired%d", i); local
190 cache.Set(Key(hostname), OK, AddressList(), t);
196 std::string hostname = StringPrintf("negative%d", i); local
197 cache.Set(Key(hostname), ERR_NAME_NOT_RESOLVED, AddressList(), now);
271 // Tests that the same hostname can be duplicated in the cache, so long a
    [all...]
x509_certificate_mac.cc 152 bool OverrideHostnameMismatch(const std::string& hostname,
155 // hostname is provided as, say, 127.0.0.1, then the error
160 // hostname is an IP address, so IPv6 and hex addresses go through
164 for (std::string::const_iterator c = hostname.begin();
165 c != hostname.end() && is_dotted_ip; ++c)
170 override_hostname_mismatch = (*name == hostname);
415 int X509Certificate::Verify(const std::string& hostname, int flags,
419 // Create an SSL SecPolicyRef, and configure it to perform hostname
420 // validation. The hostname check does 99% of what we want, with the
437 tp_ssl_options.ServerName = hostname.data()
    [all...]
  /external/dnsmasq/contrib/dynamic-dnsmasq/
dynamic-dnsmasq.pl 30 # port 9020, and include the hostname, user and pass, and it should
53 die "Usage: $0 ADD USER PASS HOSTNAME\n" unless @ARGV == 4;
75 print "user $key, hostname $domain, ip $ip\n";
118 unless ( defined $cgi{'hostname'} ) {
126 if ( authorize($user, $pass, $cgi{'hostname'}, $cgi{'myip'}) == 0 ) {
142 my ($user, $pass, $hostname) = @_;
144 $X->put($user, join("\t", ($pass, $hostname)));
150 my ($user, $pass, $hostname) = @_;
161 my $hostname = shift;
165 if ( defined $h{$user} and ($spass eq $pass) and ($shost eq $hostname) ) {
    [all...]
  /external/chromium/net/flip/
flip_session_pool.cc 22 const std::string& domain = info.hostname();
48 const std::string& domain = info.hostname();
60 const std::string& domain = info.hostname();
  /external/chromium/net/proxy/
proxy_resolver_js_bindings.cc 36 int Resolve(const std::string& hostname,
40 HostResolver::RequestInfo info(hostname, 80);
119 // Do a sync resolve of the hostname.
143 // Do a sync resolve of the hostname.
  /external/netcat/scripts/
probe 22 # -s `hostname` may be wrong for some multihomed machines
23 echo 'UDP echoecho!' | nc -u -p 7 -s `hostname` -w 3 "$1" 7 19 2>&1
web 21 ## args: hostname [port]. You feed it the filename-parts of URLs.
31 echo Needs hostname arg.
webproxy 43 echo needs client hostname
  /external/webkit/WebCore/page/
Location.idl 53 attribute [CustomSetter] DOMString hostname;
  /bionic/libc/netbsd/resolv/
res_data.c 317 local_hostname_length(const char *hostname) {
322 len_host = strlen(hostname);
325 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) &&
326 hostname[len_host - len_domain - 1] == '.')
  /external/quake/quake/src/QW/client/
net.h 35 extern cvar_t hostname;
  /external/webkit/WebCore/html/
HTMLAnchorElement.h 70 String hostname() const;
  /external/libxml2/
nanohttp.c 134 char *hostname; /* the host name */ member in struct:xmlNanoHTTPCtxt
286 if (ctxt->hostname != NULL) {
287 xmlFree(ctxt->hostname);
288 ctxt->hostname = NULL;
310 ctxt->hostname = xmlMemStrdup(uri->server);
409 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname);
748 xmlStrcat(tmp_http, (const xmlChar *) ctxt->hostname);
1305 if (ctxt->hostname == NULL) {
1313 blen = strlen(ctxt->hostname) * 2 + 16
    [all...]
  /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,
  /external/chromium/net/http/
http_auth_handler_ntlm_portable.cc 453 const std::string& hostname,
525 // Get workstation name (use local machine's hostname).
528 // hostname is ASCII, so we can do a simple zero-pad expansion:
529 ucs_host_buf.assign(hostname.begin(), hostname.end());
537 host_ptr = hostname.data();
538 host_len = hostname.length();
686 std::string hostname = get_host_name_proc_(); local
687 if (hostname.empty())
691 rv = GenerateType3Msg(domain_, username_, password_, hostname, rand_buf
    [all...]

Completed in 468 milliseconds

1 23 4 5 6 7 8