Searched refs:hostname (Results 1 - 25 of 697) sorted by relevance

1234567891011>>

/external/chromium-trace/catapult/common/lab/
H A Dkeychain_unlock.sh9 for hostname in "$@"
11 ssh -t "$hostname" 'security unlock-keychain login.keychain
/external/toybox/toys/lsb/
H A Dhostname.c0 /* hostname.c - Get/Set the hostname
5 * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/hostname.html
7 USE_HOSTNAME(NEWTOY(hostname, "bF:", TOYFLAG_BIN))
10 bool "hostname"
13 usage: hostname [-b] [-F FILENAME] [newname]
15 Get/Set the current hostname
17 -b Set hostname to 'localhost' if otherwise unset
18 -F Set hostname to contents of FILENAME
30 char *hostname local
[all...]
/external/libevent/sample/
H A Dhostcheck.h27 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
H A Dhostcheck.c155 * Match a hostname against a wildcard pattern.
163 static int hostmatch(const char *hostname, const char *pattern) argument
170 return Curl_raw_equal(pattern, hostname) ?
183 return Curl_raw_equal(pattern, hostname) ?
186 hostname_label_end = strchr(hostname, '.');
192 label of the hostname is at least as large as the left-most label
194 if(hostname_label_end - hostname < pattern_label_end - pattern)
199 return Curl_raw_nequal(pattern, hostname, prefixlen) &&
205 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) argument
208 !hostname || !*hostnam
[all...]
H A Dopenssl_hostname_validation.h26 * Helper functions to perform basic hostname validation using OpenSSL.
46 * Validates the server's identity by looking for the expected hostname in the
56 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert);
/external/tensorflow/tensorflow/stream_executor/lib/
H A Dprocess_state.cc33 char hostname[1024]; local
34 gethostname(hostname, sizeof hostname);
35 hostname[sizeof hostname - 1] = 0;
36 return std::string(hostname);
/external/mdnsresponder/mDNSShared/
H A DPlatformCommon.h18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
/external/conscrypt/libcore-stub/src/main/java/libcore/net/
H A DNetworkSecurityPolicy.java67 * without TLS or STARTTLS) is permitted for communicating with {@code hostname} for this
72 public abstract boolean isCleartextTrafficPermitted(String hostname); argument
76 * the server and verified by the client in TLS connections to {@code hostname}.
80 public abstract boolean isCertificateTransparencyVerificationRequired(String hostname); argument
89 public boolean isCleartextTrafficPermitted(String hostname) { argument
94 public boolean isCertificateTransparencyVerificationRequired(String hostname) { argument
/external/curl/lib/
H A Dhostcheck.h29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
H A Dhostcheck.c47 * Match a hostname against a wildcard pattern.
66 static int hostmatch(char *hostname, char *pattern) argument
76 /* normalize pattern and hostname by stripping off trailing dots */
77 size_t len = strlen(hostname);
78 if(hostname[len-1]=='.')
79 hostname[len-1] = 0;
86 return strcasecompare(pattern, hostname) ?
89 /* detect IP address as hostname and fail the match if so */
90 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0)
93 if(Curl_inet_pton(AF_INET6, hostname,
129 Curl_cert_hostcheck(const char *match_pattern, const char *hostname) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DDns.java37 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException {
38 if (hostname == null) throw new UnknownHostException("hostname == null");
39 return Arrays.asList(InetAddress.getAllByName(hostname));
44 * Returns the IP addresses of {@code hostname}, in the order they will be attempted by OkHttp.
49 List<InetAddress> lookup(String hostname) throws UnknownHostException; argument
/external/libcups/cups/
H A Dtestcreds.c33 hostname[HTTP_MAX_URI], /* Hostname from URI */ local
52 puts("Usage: ./testcreds hostname");
53 puts(" ./testcreds https://hostname[:port]");
63 if (httpSeparateURI(HTTP_URI_CODING_MOST, argv[1], scheme, sizeof(scheme), username, sizeof(username), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK)
69 if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL)) == NULL)
71 printf("ERROR: Unable to connect to \"%s\" on port %d: %s\n", hostname, port, cupsLastErrorString());
78 trust = httpCredentialsGetTrust(hcreds, hostname);
88 printf(" IsValidName: %d\n", httpCredentialsAreValidForName(hcreds, hostname));
104 strlcpy(hostname, arg
[all...]
/external/autotest/frontend/afe/
H A Drpc_client_lib.py16 def add_protocol(hostname):
20 (global_config/shadow_config) include only the hostname of the RPC server to
22 To support endpoints that require a specific protocol, we allow the hostname
30 @param hostname: hostname or url prefix of the RPC server.
33 if (not hostname.startswith('http://') and
34 not hostname.startswith('https://')):
35 return 'http://' + hostname
36 return hostname
/external/nist-sip/java/gov/nist/core/
H A DHost.java43 * Stores hostname.
74 protected String hostname; field in class:Host
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) {
125 buffer.append('[').append(hostname).append(']');
127 buffer.append(hostname);
145 return otherHost.hostname.equals(hostname);
153 return hostname;
160 return hostname;
170 if (hostname
[all...]
/external/toolchain-utils/automation/common/
H A Dmachine.py11 def __init__(self, hostname, label, cpu, cores, os, username):
12 self.hostname = hostname
40 self.hostname)
44 ['Machine Information:', 'Hostname: %s' % self.hostname, 'Label: %s' %
52 def __init__(self, hostname='*', label='*', os='*', lock_required=False):
53 self.hostname = hostname
64 return all([not machine.locked, fnmatch(machine.hostname, self.hostname),
[all...]
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/
H A DSNIHostName.java23 public SNIHostName(String hostname) { argument
/external/ltp/testcases/kernel/containers/utsname/
H A Drunutstests_noltp.sh22 oldhostname=`hostname`
40 hostname "$oldhostname"
/external/toolchain-utils/dejagnu/
H A Dchromeos.exp.in5 set hostname [board_info $board hostname]
11 eval "exec ssh -N -f $ssh_options root@$hostname &"
12 local_exec "ssh -n $ssh_options root@$hostname sh -c 'mkdir -p $tmpdir'" \
21 set hostname [board_info $board hostname]
25 local_exec "ssh $ssh_options -O exit root@$hostname" {} {} 10
27 local_exec "ssh -n $ssh_options root@$hostname sh -c 'rm -fr $tmpdir'" \
35 set hostname [board_info $board hostname]
[all...]
/external/autotest/site_utils/
H A Dserver_manager_utils.py49 hostname=exclude_server.hostname)
54 (role, exclude_server.hostname, role))
58 def get_servers(hostname=None, role=None, status=None):
61 @param hostname: hostname of the server.
68 if hostname:
69 filters['hostname'] = hostname
110 server_dicts.append({'hostname'
[all...]
/external/autotest/server/site_tests/platform_GCC/boards/
H A Dchromeos-machine.exp3 # Set hostname and username. # Make sure SSH keys are set up prior to run.
4 set_board_info hostname $env(DEJAGNU_HOSTNAME)
/external/dhcpcd-6.8.2/
H A Ddhcpcd.conf13 # Inform the DHCP server of our hostname for DDNS.
14 hostname
47 # A hook script is provided to lookup the hostname if not set by the DHCP
49 #nohook lookup-hostname
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/
H A DRecordingHostnameVerifier.java26 public boolean verify(String hostname, SSLSession session) { argument
27 calls.add("verify " + hostname);
/external/toolchain-utils/dejagnu/boards/
H A Dchromeos-machine.exp6 # Set hostname and username. # Make sure SSH keys are set up prior to run.
7 set_board_info hostname $env(DEJAGNU_HOSTNAME)
/external/apache-http/src/org/apache/http/
H A DHttpHost.java61 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) { argument
87 if (hostname == null) {
90 this.hostname = hostname;
91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
103 * @param hostname the hostname (I
107 HttpHost(final String hostname, int port) argument
116 HttpHost(final String hostname) argument
[all...]
/external/autotest/server/site_tests/android_EasySetup/
H A Dandroid_EasySetup.py35 hostname = testbed.hostname
36 if dnsname_mangler.is_ip_address(hostname):
37 testbed_name = hostname
39 testbed_name = hostname.split('.')[0]

Completed in 640 milliseconds

1234567891011>>