HomeSort by relevance Sort by last modified time
    Searched defs:hostname (Results 76 - 100 of 190) sorted by null

1 2 34 5 6 7 8

  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
xmppengineimpl.cc 344 std::string hostname = tls_server_hostname_; local
345 if (hostname.empty())
346 hostname = to;
356 *output_ << "<stream:stream to=\"" << hostname << "\" "
  /external/dnsmasq/src/
helper.c 113 char *p, *action_str, *hostname = NULL; local
255 hostname = (char *)buf;
256 hostname[data.hostname_len - 1] = 0;
257 if (!legal_hostname(hostname))
258 hostname = NULL;
259 else if ((dot = strchr(hostname, '.')))
266 if (data.action == ACTION_OLD_HOSTNAME && hostname)
268 my_setenv("DNSMASQ_OLD_HOSTNAME", hostname, &err);
269 hostname = NULL;
282 action_str, daemon->dhcp_buff, inet_ntoa(data.addr), hostname, (char*)NULL)
    [all...]
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...]
  /external/mdnsresponder/mDNSPosix/
Identify.c 69 static char hostname[MAX_ESCAPED_DOMAIN_NAME], hardware[256], software[256]; variable
115 ConvertDomainNameToCString(&answer->rdata->u.name, hostname);
304 hostname[0] = hardware[0] = software[0] = 0;
339 if (strlen(arg) >= sizeof(hostname)) {
340 fprintf(stderr, "hostname must be < %d characters\n", (int)sizeof(hostname));
343 strcpy(hostname, arg);
347 if (hostname[0]) DoQuery(&q, hostname, kDNSQType_ANY, &target, InfoCallback);
355 else if (NumAnswers) printf("%s has no HINFO record\n", hostname);
    [all...]
  /external/openssh/
auth.c 98 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; local
182 hostname = get_canonical_hostname(options.use_dns);
189 if (match_user(pw->pw_name, hostname, ipaddr,
193 pw->pw_name, hostname);
200 if (match_user(pw->pw_name, hostname, ipaddr,
206 "not listed in AllowUsers", pw->pw_name, hostname);
214 "not in any group", pw->pw_name, hostname);
225 pw->pw_name, hostname);
238 "in AllowGroups", pw->pw_name, 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);
  /packages/apps/Settings/src/com/android/settings/
ProxySelector.java 118 String hostname = mHostnameField.getText().toString().trim(); local
121 String msg = getActivity().getString(validate(hostname, portStr, exclList));
141 mHostnameField = (EditText)view.findViewById(R.id.hostname);
163 String hostname = ""; local
172 hostname = proxy.getHost();
177 if (hostname == null) {
178 hostname = "";
181 mHostnameField.setText(hostname);
202 * validate syntax of hostname and port entries
205 public static int validate(String hostname, String port, String exclList)
242 String hostname = mHostnameField.getText().toString().trim(); local
    [all...]
  /system/core/adb/
adb_auth_host.c 112 char hostname[1024], username[1024]; local
116 ret = gethostname(hostname, sizeof(hostname));
119 strcpy(hostname, "unknown");
127 ret = snprintf(buf, len, " %s@%s", username, hostname);
  /external/chromium_org/chromeos/network/
network_connection_handler.cc 68 std::string hostname; local
70 flimflam::kHostProperty, &hostname);
71 if (hostname.empty()) {
72 NET_LOG_EVENT("OpenVPN: No hostname", service_path);
  /external/dhcpcd/
if-options.h 104 char hostname[HOSTNAME_MAX_LEN + 1]; /* We don't store the length */ member in struct:if_options
  /external/iputils/
clockdiff.c 555 char hostname[MAX_HOSTNAMELEN]; local
601 (void)gethostname(hostname,sizeof(hostname));
602 hp = gethostbyname(hostname);
604 fprintf(stderr, "clockdiff: %s: my host not found\n", hostname);
  /external/libppp/src/
radius.c 897 char hostname[MAXHOSTNAMELEN]; local
1022 if (gethostname(hostname, sizeof hostname) != 0)
1026 (hp = gethostbyname(hostname)) != NULL) {
1036 rad_put_string(r->cx.rad, RAD_NAS_IDENTIFIER, hostname) != 0) {
1101 char hostname[MAXHOSTNAMELEN]; local
    [all...]
  /external/openssh/openbsd-compat/
bsd-cray.c 177 record_failed_login(const char *user, const char *hostname, const char *ttyname)
206 char hostname[MAXHOSTNAMELEN]; local
225 hostname[0] = '\0';
226 strlcpy(hostname,
269 usent.host = hostname;
391 fsent.host = hostname;
427 fsent.host = hostname;
471 ssent.host = hostname;
  /external/qemu/slirp-android/
misc.c 52 char* hostname = host_name(); local
57 if (sock_address_init_resolve( &hostaddr, hostname, 0, 0 ) < 0)
  /system/netd/
MDnsSdListener.cpp 270 const char *interfaceName, uint32_t protocol, const char *hostname) {
271 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname);
283 hostname, &MDnsSdListenerGetAddrInfoCallback, context);
299 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
313 char *quotedHostname = SocketClient::quoteArg(hostname);
330 const char *hostname) {
331 if (VDBG) ALOGD("setHostname(%d, %s)", requestId, hostname);
341 DNSServiceErrorType result = DNSSetHostname(ref, nativeFlags, hostname,
357 DNSServiceErrorType errorCode, const char *hostname, void *inContext) {
366 char *quotedHostname = SocketClient::quoteArg(hostname);
470 char *hostname = argv[3]; local
481 char *hostname = argv[3]; local
    [all...]
  /external/chromium/chrome/browser/
process_singleton_linux.cc 22 // The destination is a string containing the hostname and process id of
27 // If writing to the socket fails, the hostname in the lock is checked to see if
29 // etc.) If the hostname differs an error is displayed and the second process
271 // Extract the hostname and pid from the lock symlink.
274 std::string* hostname,
285 *hostname = "";
290 *hostname = real_path.substr(0, pos);
300 const std::string& hostname,
305 ASCIIToUTF16(hostname),
343 std::string hostname; local
785 std::string hostname; local
    [all...]
  /external/chromium/net/base/
host_resolver_impl_unittest.cc 48 const std::string& hostname,
50 HostResolver::RequestInfo info(HostPortPair(hostname, 80));
57 const std::string& hostname,
60 HostResolver::RequestInfo info(HostPortPair(hostname, 80));
72 CaptureEntry(const std::string& hostname, AddressFamily address_family)
73 : hostname(hostname), address_family(address_family) {}
74 std::string hostname; member in struct:net::__anon5371::CapturingHostResolverProc::CaptureEntry
88 virtual int Resolve(const std::string& hostname,
96 capture_list_.push_back(CaptureEntry(hostname, address_family))
195 const std::string& hostname() const { function in class:net::__anon5371::ResolveRequest
    [all...]
x509_certificate_unittest.cc 1028 const char* hostname; member in struct:net::CertificateNameVerifyTestData
    [all...]
  /external/chromium/net/proxy/
proxy_resolver_v8.cc 197 // Extracts an hostname argument from |args|. On success returns true
198 // and fills |*hostname| with the result.
199 bool GetHostnameArgument(const v8::Arguments& args, std::string* hostname) {
206 // If the hostname is already in ASCII, simply return it as is.
208 *hostname = UTF16ToASCII(hostname_utf16);
226 hostname);
228 DCHECK(IsStringASCII(*hostname));
601 std::string hostname; local
602 if (!GetHostnameArgument(args, &hostname))
610 success = context->js_bindings_->DnsResolve(hostname, &ip_address)
622 std::string hostname; local
    [all...]
  /external/chromium-libpac/src/
proxy_resolver_v8.cc 210 // Extracts an hostname argument from |args|. On success returns true
211 // and fills |*hostname| with the result.
212 bool GetHostnameArgument(const v8::Arguments& args, std::string* hostname) {
219 // If the hostname is already in ASCII, simply return it as is.
221 *hostname = UTF16ToASCII(hostname_utf16);
612 std::string hostname; local
613 if (!GetHostnameArgument(args, &hostname))
621 success = context->js_bindings_->DnsResolve(hostname, &ip_address);
633 std::string hostname; local
634 if (!GetHostnameArgument(args, &hostname))
    [all...]
  /external/chromium_org/chrome/browser/
process_singleton_linux.cc 22 // The destination is a string containing the hostname and process id of
27 // If writing to the socket fails, the hostname in the lock is checked to see if
29 // etc.) If the hostname differs an error is displayed and the second process
269 // Extract the hostname and pid from the lock symlink.
272 std::string* hostname,
283 *hostname = "";
288 *hostname = real_path.substr(0, pos);
298 const std::string& hostname,
303 ASCIIToUTF16(hostname),
724 std::string hostname; local
956 std::string hostname; local
    [all...]
  /external/chromium_org/net/cert/
x509_certificate_unittest.cc 924 const char* hostname; member in struct:net::CertificateNameVerifyTestData
    [all...]
  /external/chromium_org/net/proxy/
proxy_resolver_v8.cc 199 // Extracts an hostname argument from |args|. On success returns true
200 // and fills |*hostname| with the result.
202 std::string* hostname) {
209 // If the hostname is already in ASCII, simply return it as is.
211 *hostname = UTF16ToASCII(hostname_utf16);
229 hostname);
231 DCHECK(IsStringASCII(*hostname));
589 std::string hostname; local
593 if (!GetHostnameArgument(args, &hostname)) {
607 hostname, op, &result, &terminate)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLAnchorElement.cpp 441 String HTMLAnchorElement::hostname() const function in class:WebCore::HTMLAnchorElement
  /external/ganymed-ssh2/examples/
SwingShell.java 44 * - Adding a server hostkey to a known_hosts file (+hashing the hostname for security)
375 public boolean verifyServerHostKey(String hostname, int port, String serverHostKeyAlgorithm,
378 final String host = hostname;
385 int result = database.verifyHostkey(hostname, serverHostKeyAlgorithm, serverHostKey);
418 /* Be really paranoid. We use a hashed hostname entry */
420 String hashedHostname = KnownHosts.createHashedHostname(hostname);
516 String hostname; field in class:SwingShell.ConnectionThread
519 public ConnectionThread(String hostname, String username)
521 this.hostname = hostname;
710 String hostname = hostField.getText().trim(); local
    [all...]

Completed in 809 milliseconds

1 2 34 5 6 7 8