Home
last modified time | relevance | path

Searched full:hostname (Results 1 – 25 of 2188) sorted by relevance

12345678910>>...88

/external/autotest/server/hosts/
Dservo_host_unittest.py26 self.hostname = "chromeos1-row1-rack1-host1"
27 self._dut_hostname = 'dut-' + self.hostname
94 hostname = 'chromeos1-rack1-row1-host1-servo'
95 self.assertTrue(servo_host.is_servo_host_information_valid(hostname, port))
96 hostname = 'CHROMEOS1-RACK1-ROW1-host1-SERVO'
97 self.assertTrue(servo_host.is_servo_host_information_valid(hostname, port))
98 hostname = '96.120.0.567'
99 self.assertTrue(servo_host.is_servo_host_information_valid(hostname, port))
100 hostname = 'locathost'
101 self.assertTrue(servo_host.is_servo_host_information_valid(hostname, port))
[all …]
Dfactory.py66 @return: A dictionary containing arguments for host specifically hostname,
70 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
87 hostname, user, password, port = server_utils.parse_machine(hostname, user,
91 'hostname': hostname,
104 def _detect_host(connectivity_class, hostname, **args): argument
114 @param hostname: A string representing the host name of the device.
121 with closing(connectivity_class(hostname, **args)) as host:
133 def _choose_connectivity_class(hostname, ssh_port): argument
134 """Choose a connectivity class for this hostname.
136 @param hostname: hostname that we need a connectivity class for.
[all …]
/external/openssh/regress/
Dcfginclude.sh11 Hostname aa
14 Hostname bb
19 Hostname cc
25 Hostname dd
28 Hostname ee
33 Hostname ff
45 Hostname aaa
48 Hostname bbb
51 Hostname ccc
54 Hostname ddd
[all …]
/external/autotest/site_utils/
Dserver_manager_utils.py53 hostname=exclude_server.hostname)
58 (role, exclude_server.hostname, role))
62 def get_servers(hostname=None, role=None, status=None): argument
65 @param hostname: hostname of the server.
72 if hostname:
73 filters['hostname'] = hostname
86 Hostname : server2
114 server_dicts.append({'hostname': server.hostname,
130 return '\n'.join(s.hostname for s in servers)
133 def check_server(hostname, role): argument
[all …]
Dserver_manager.py9 create(hostname, role=None, note=None)
12 delete(hostname)
15 modify(hostname, role=None, status=None, note=None, delete=False,
60 'Server %s already has role %s.' % (server.hostname, role))
63 if not server_manager_utils.check_server(server.hostname, role):
65 'Server %s is not ready for role %s.' % (server.hostname, role))
74 (role, servers[0].hostname, role))
82 print('Role %s is added to server %s.' % (role, server.hostname))
98 'Server %s does not have role %s.' % (server.hostname, role))
108 print('Deleting role %s from server %s...' % (role, server.hostname))
[all …]
/external/webrtc/pc/
Dice_server_parsing_unittest.cc54 const std::string& hostname) { in ParseUrl() argument
63 server.hostname = hostname; in ParseUrl()
76 EXPECT_TRUE(ParseUrl("stun:hostname")); in TEST_F()
80 EXPECT_TRUE(ParseUrl("stuns:hostname")); in TEST_F()
84 EXPECT_TRUE(ParseTurnUrl("turn:hostname")); in TEST_F()
89 EXPECT_TRUE(ParseTurnUrl("turns:hostname")); in TEST_F()
97 "turns:hostname", "username", "password", in TEST_F()
106 EXPECT_FALSE(ParseUrl("stunn:hostname")); in TEST_F()
107 EXPECT_FALSE(ParseUrl(":hostname")); in TEST_F()
114 EXPECT_TRUE(ParseTurnUrl("turns:hostname")); in TEST_F()
[all …]
/external/toybox/toys/lsb/
Dhostname.c1 /* 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, ">1bdsfF:[!bdsf]", TOYFLAG_BIN))
10 config HOSTNAME
11 bool "hostname"
14 usage: hostname [-bdsf] [-F FILENAME] [newname]
16 Get/set the current hostname.
18 -b Set hostname to 'localhost' if otherwise unset
21 -F Set hostname to contents of FILENAME
30 Show domain this system belongs to (same as hostname -d).
[all …]
/external/nist-sip/java/gov/nist/core/
DHost.java43 * Stores hostname.
68 protected static final int HOSTNAME = 1; field in Host
72 /** hostName field
74 protected String hostname; field in Host
86 addressType = HOSTNAME; in Host()
94 public Host(String hostName) throws IllegalArgumentException { in Host() argument
95 if (hostName == null) in Host()
101 setHost(hostName, IPV4ADDRESS); in Host()
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { in encode()
125 buffer.append('[').append(hostname).append(']'); in encode()
[all …]
/external/ltp/testcases/kernel/containers/utsname/
Dutstest.c118 char hostname[HLEN], newhostname[HLEN], rhostname[HLEN]; in P1() local
130 gethostname(hostname, HLEN); in P1()
133 if (strcmp(hostname, rhostname) == 0) { in P1()
138 "test 1 (%s): hostname 1 %s, hostname 2 %s", in P1()
139 tsttype, hostname, rhostname); in P1()
141 gethostname(hostname, HLEN); in P1()
142 picknewhostname(hostname, newhostname); in P1()
157 "test 2 (%s) hostname 1 %s, hostname 2 %s", in P1()
160 gethostname(hostname, HLEN); in P1()
161 picknewhostname(hostname, newhostname); in P1()
[all …]
/external/autotest/cli/
Dserver.py65 @param hostname_required: True to require the command has hostname
87 attribute_name='hostname', use_leftover=True)
99 kwargs['req_items'] = 'hostname'
107 # self.hostname is a list. Action on server only needs one hostname at
109 if (not self.hostname and self.hostname_required):
110 self.invalid_syntax('`server` topic requires hostname. '
114 len(self.hostname) > 1):
118 if self.hostname:
121 # Override self.hostname with the first hostname in the list.
122 self.hostname = self.hostname[0]
[all …]
/external/rust/crates/url/tests/
Durltestdata.json13 "hostname": "example.org", string
28 "hostname": "foo", string
43 "hostname": "test", string
58 "hostname": "test", string
73 "hostname": "test", string
88 "hostname": "test", string
103 "hostname": "example.org", string
118 "hostname": "example.org", string
133 "hostname": "example.org", string
148 "hostname": "", string
[all …]
/external/toybox/toys/pending/
Dwget.c28 // extract hostname and port from url
29 static unsigned get_hn(const char *url, char *hostname) {
33 if(i >= 1024) error_exit("too long hostname in URL");
34 hostname[i] = url[i];
36 hostname[i] = '\0';
54 static void strip_v6_brackets(char* hostname) { in strip_v6_brackets() argument
55 size_t len = strlen(hostname); in strip_v6_brackets()
57 error_exit("hostname too long, %d bytes\n", len); in strip_v6_brackets()
59 char * closing_bracket = strchr(hostname, ']'); in strip_v6_brackets()
60 if (closing_bracket && closing_bracket == hostname + len - 1) { in strip_v6_brackets()
[all …]
/external/selinux/python/sepolgen/tests/
Daudit.txt33 …em_r:unconfined_t:s0 msg='PAM: setcred acct=root : exe="/usr/bin/sudo" (hostname=?, addr=?, termin…
34 …unconfined_t:s0 msg='PAM: session open acct=root : exe="/usr/bin/sudo" (hostname=?, addr=?, termin…
35 …nconfined_t:s0 msg='PAM: session close acct=root : exe="/usr/bin/sudo" (hostname=?, addr=?, termin…
36 …t:s0-s0:c0.c255 msg='PAM: accounting acct=root : exe="/usr/sbin/crond" (hostname=?, addr=?, termin…
38 …s0-s0:c0.c255 msg='PAM: session open acct=root : exe="/usr/sbin/crond" (hostname=?, addr=?, termin…
39 …nd_t:s0-s0:c0.c255 msg='PAM: setcred acct=root : exe="/usr/sbin/crond" (hostname=?, addr=?, termin…
40 …nd_t:s0-s0:c0.c255 msg='PAM: setcred acct=root : exe="/usr/sbin/crond" (hostname=?, addr=?, termin…
41 …0-s0:c0.c255 msg='PAM: session close acct=root : exe="/usr/sbin/crond" (hostname=?, addr=?, termin…
42 …em_r:unconfined_t:s0 msg='PAM: setcred acct=root : exe="/usr/bin/sudo" (hostname=?, addr=?, termin…
43 …unconfined_t:s0 msg='PAM: session open acct=root : exe="/usr/bin/sudo" (hostname=?, addr=?, termin…
[all …]
/external/autotest/server/cros/
Ddnsname_mangler.py23 def is_ip_address(hostname): argument
24 """Infers whether |hostname| could be an IP address.
26 @param hostname: string DNS name or IP address.
27 @return True iff hostname is a valid IP address.
31 socket.inet_aton(hostname)
42 """Build a usable hostname for a test companion device from the client name.
47 @param suffix: string suffix to append to the client hostname.
49 given, it overrides the generated client based hostname.
51 if the client hostname is found to be an IP address rather than a
72 """Build a hostname for a WiFi router from the client hostname.
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOkHostnameVerifier.java98 * Returns true if {@code certificate} matches {@code hostName}.
100 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
101 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
106 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
116 return verifyHostName(hostName, cn); in verifyHostName()
162 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
164 * @param hostName lower-case host name.
168 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
171 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")) in verifyHostName()
172 || (hostName.endsWith(".."))) { in verifyHostName()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOkHostnameVerifier.java110 * Returns true if {@code certificate} matches {@code hostName}.
113 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
114 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
119 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
126 // BEGIN Android-removed: Ignore common name in hostname verification. http://b/70278814
133 return verifyHostName(hostName, cn);
137 // END Android-removed: Ignore common name in hostname verification. http://b/70278814
179 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
181 * @param hostName lower-case host name.
185 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOkHostnameVerifier.java112 * Returns true if {@code certificate} matches {@code hostName}.
115 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
116 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
121 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
128 // BEGIN Android-removed: Ignore common name in hostname verification. http://b/70278814
135 return verifyHostName(hostName, cn);
139 // END Android-removed: Ignore common name in hostname verification. http://b/70278814
181 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
183 * @param hostName lower-case host name.
187 private boolean verifyHostName(String hostName, String pattern) { in verifyHostName() argument
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java107 * Returns true if {@code certificate} matches {@code hostName}.
109 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
111 if (!isPrintableAscii(hostName)) { in verifyHostName()
115 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
120 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
125 // BEGIN Android-removed: Ignore common name in hostname verification. http://b/70278814 in verifyHostName()
132 return verifyHostName(hostName, cn); in verifyHostName()
136 // END Android-removed: Ignore common name in hostname verification. http://b/70278814 in verifyHostName()
180 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
182 * @param hostName lower-case host name.
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DOkHostnameVerifier.java109 * Returns true if {@code certificate} matches {@code hostName}.
111 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
113 if (!isPrintableAscii(hostName)) { in verifyHostName()
117 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
122 if (verifyHostName(hostName, altNames.get(i))) { in verifyHostName()
127 // BEGIN Android-removed: Ignore common name in hostname verification. http://b/70278814 in verifyHostName()
134 return verifyHostName(hostName, cn); in verifyHostName()
138 // END Android-removed: Ignore common name in hostname verification. http://b/70278814 in verifyHostName()
182 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
184 * @param hostName lower-case host name.
[all …]
/external/autotest/site_utils/deployment/
Dinstall.py101 _ReportResult = namedtuple('_ReportResult', ['hostname', 'message'])
184 def _create_host(hostname, afe, afe_host): argument
191 @param hostname Hostname of the target DUT.
196 'hostname': hostname,
198 'host_info_store': afe_store.AfeStore(hostname, afe),
245 def _update_host_attributes(afe, hostname, host_attrs): argument
249 @param hostname Host name of the DUT.
253 s_hostname, s_port, s_serial = _extract_servo_attributes(hostname,
257 hostname=hostname)
260 hostname=hostname)
[all …]
/external/autotest/server/
Dprofilers.py33 # maps hostname to (host object, autotest.Autotest object, Autotest
69 if host.hostname not in self.job.machines:
76 in_use_hosts[host.hostname] = host
83 profiler_hosts.add(host.hostname)
87 host.hostname, profiler_dir)
88 del self.installed_hosts[host.hostname]
93 for hostname in set(in_use_hosts) - profiler_hosts:
94 host = in_use_hosts[hostname]
98 self.installed_hosts[host.hostname] = (host, at, tmp_dir)
101 for hostname in profiler_hosts - set(in_use_hosts):
[all …]
/external/curl/lib/
Dhostcheck.c46 * Match a hostname against a wildcard pattern.
65 static int hostmatch(char *hostname, char *pattern) in hostmatch() argument
75 /* normalize pattern and hostname by stripping off trailing dots */ in hostmatch()
76 size_t len = strlen(hostname); in hostmatch()
77 if(hostname[len-1]=='.') in hostmatch()
78 hostname[len-1] = 0; in hostmatch()
85 return strcasecompare(pattern, hostname) ? in hostmatch()
88 /* detect IP address as hostname and fail the match if so */ in hostmatch()
89 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0) in hostmatch()
92 if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0) in hostmatch()
[all …]
/external/webrtc/sdk/objc/api/peerconnection/
DRTCIceServer.mm21 @synthesize hostname = _hostname;
48 hostname:nil];
55 hostname:(NSString *)hostname {
60 hostname:hostname
68 hostname:(NSString *)hostname
74 hostname:hostname
83 hostname:(NSString *)hostname
92 _hostname = [hostname copy];
126 iceServer.hostname = [NSString stdStringForString:_hostname];
164 NSString *hostname = [NSString stringForStdString:nativeServer.hostname];
[all …]
/external/autotest/client/site_tests/network_DhcpRequestHostName/
Dnetwork_DhcpRequestHostName.py18 # Hostname we'll provide to the device.
22 """Tests that we can supply a hostname to the shill over DHCP."""
25 # --accept-hostname-from=pseudoethernet0.
26 required_flag = '--accept-hostname-from=pseudoethernet0'
34 # Keep track of the original hostname.
35 original_hostname = utils.system_output('hostname')
37 logging.warning('Unexpected starting hostname %s (expected %s)',
39 # Set the hostname to something we know.
40 utils.system('hostname %s' % DEFAULT_HOSTNAME)
70 system_hostname = utils.system_output('hostname')
[all …]
/external/libcups/cups/
Dtestcreds.c27 hostname[HTTP_MAX_URI], /* Hostname from URI */ in main() local
46 puts("Usage: ./testcreds hostname"); in main()
47 puts(" ./testcreds https://hostname[:port]"); in main()
57 …T, argv[1], scheme, sizeof(scheme), username, sizeof(username), hostname, sizeof(hostname), &port,… in main()
63 …if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL))… in main()
65 …printf("ERROR: Unable to connect to \"%s\" on port %d: %s\n", hostname, port, cupsLastErrorString(… in main()
72 trust = httpCredentialsGetTrust(hcreds, hostname); in main()
82 printf(" IsValidName: %d\n", httpCredentialsAreValidForName(hcreds, hostname)); in main()
98 strlcpy(hostname, argv[1], sizeof(hostname)); in main()
101 printf("Trust Store for \"%s\":\n", hostname); in main()
[all …]

12345678910>>...88