Home
last modified time | relevance | path

Searched refs:hosts (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_netrc.py31 self.assertEqual(nrc.hosts['host.domain.com'], ('log1', 'acct1', 'pass1'))
32 self.assertEqual(nrc.hosts['default'], ('log2', 'acct2', 'pass2'))
39 self.assertEqual(nrc.hosts['host.domain.com'], ('log1', 'acct1', 'pass1'))
40 self.assertEqual(nrc.hosts['default'], ('log2', 'acct2', 'pass2'))
72 self.assertEqual(nrc.hosts['host.domain.com'], ('', '', ''))
84 self.assertEqual(nrc.hosts['default'], ('', '', ''))
100 self.assertEqual(nrc.hosts['host.domain.com'], (value, 'acct', 'pass'))
102 self.assertEqual(nrc.hosts['host.domain.com'], ('log', value, 'pass'))
104 self.assertEqual(nrc.hosts['host.domain.com'], ('log', 'acct', value))
194 self.assertEqual(nrc.hosts['fo
[all...]
H A Dtest_ipaddress.py1435 hosts = list(self.ipv4_network.hosts())
1436 self.assertEqual(254, len(hosts))
1437 self.assertEqual(ipaddress.IPv4Address('1.2.3.1'), hosts[0])
1438 self.assertEqual(ipaddress.IPv4Address('1.2.3.254'), hosts[-1])
1441 hosts = list(ipv6_network.hosts())
1442 self.assertEqual(255, len(hosts))
1443 self.assertEqual(ipaddress.IPv6Address('2001:658:22a:cafe::1'), hosts[0])
1444 self.assertEqual(ipaddress.IPv6Address('2001:658:22a:cafe::ff'), hosts[
[all...]
/third_party/python/Lib/
H A Dnetrc.py71 self.hosts = {}
121 self.hosts[entryname] = {}
130 self.hosts[entryname] = (login, account, password)
142 self._security_check(fp, default_netrc, self.hosts[entryname][0])
168 if host in self.hosts:
169 return self.hosts[host]
170 elif 'default' in self.hosts:
171 return self.hosts['default']
178 for host in self.hosts.keys():
179 attrs = self.hosts[hos
[all...]
H A Dipaddress.py685 def hosts(self): member in _BaseNetwork
686 """Generate Iterator over usable hosts in a network.
781 """Number of hosts in the current subnet."""
1523 self.hosts = self.__iter__
1525 self.hosts = lambda: [IPv4Address(addr)]
2233 self.hosts = self.__iter__
2235 self.hosts = lambda: [IPv6Address(addr)]
2237 def hosts(self): member in IPv6Network
2238 """Generate Iterator over usable hosts in a network.
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_vpm.c54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts()
55 vpm->hosts = NULL; in int_x509_param_set_hosts()
64 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts()
70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
74 vpm->hosts = NULL; in int_x509_param_set_hosts()
103 sk_OPENSSL_STRING_pop_free(param->hosts, str_free); in X509_VERIFY_PARAM_free()
197 if (test_x509_verify_param_copy(hosts, NUL in X509_VERIFY_PARAM_inherit()
[all...]
H A Dx509_local.h32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member
H A Dx509_vfy.c773 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
781 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
793 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
/third_party/openssl/crypto/x509/
H A Dx509_vpm.c54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts()
55 vpm->hosts = NULL; in int_x509_param_set_hosts()
64 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts()
70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
74 vpm->hosts = NULL; in int_x509_param_set_hosts()
103 sk_OPENSSL_STRING_pop_free(param->hosts, str_free); in X509_VERIFY_PARAM_free()
197 if (test_x509_verify_param_copy(hosts, NUL in X509_VERIFY_PARAM_inherit()
[all...]
H A Dx509_local.h32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member
H A Dx509_vfy.c773 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
781 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
793 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
/third_party/node/deps/cares/src/lib/
H A Dares__hosts_file.c49 * The hosts file on the system contains static entries to be processed locally
54 * We are caching the entire parsed hosts file for performance reasons. Some
61 * The hosts file processing is quite unique. It has to merge all related hosts
73 * hosts: localhost.localdomain,localhost
75 * hosts: host.example.com,host,host6.example.com,host6
98 ares__llist_t *hosts; member
263 ares__llist_destroy(entry->hosts); in ares__hosts_entry_destroy()
344 while ((node = ares__llist_node_first(entry->hosts)) != NULL) { in ares__hosts_file_merge_entry()
352 ares__llist_node_move_parent_last(node, existing->hosts); in ares__hosts_file_merge_entry()
388 ares__hosts_file_add(ares_hosts_file_t *hosts, ares_hosts_entry_t *entry) ares__hosts_file_add() argument
[all...]
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
H A Dhosts.js37 const hosts = {}
38 hosts.github = {
74 hosts.bitbucket = {
102 hosts.gitlab = {
133 hosts.gist = {
191 hosts.sourcehut = {
223 for (const [name, host] of Object.entries(hosts)) {
224 hosts[name] = Object.assign({}, defaults, host)
227 module.exports = hosts
H A Dindex.js4 const hosts = require('./hosts.js')
113 // If the path is known to be a file, then browseFile should be used. For some hosts
175 for (const [name, host] of Object.entries(hosts)) {
/third_party/node/test/parallel/
H A Dtest-http-autoselectfamily.js25 const hosts = replies
30 return cb(null, hosts);
33 return cb(null, hosts[0].address, hosts[0].family);
H A Dtest-net-autoselectfamily-commandline-option.js26 const hosts = replies
31 return cb(null, hosts);
34 return cb(null, hosts[0].address, hosts[0].family);
H A Dtest-net-autoselectfamily-ipv4first.js24 const hosts = replies
28 return cb(null, hosts);
31 return cb(null, hosts[0].address, hosts[0].family);
H A Dtest-https-autoselectfamily.js39 const hosts = replies
44 return cb(null, hosts);
47 return cb(null, hosts[0].address, hosts[0].family);
H A Dtest-net-autoselectfamilydefault.js27 const hosts = replies
32 return cb(null, hosts);
35 return cb(null, hosts[0].address, hosts[0].family);
H A Dtest-net-autoselectfamily.js27 const hosts = replies
32 return cb(null, hosts);
35 return cb(null, hosts[0].address, hosts[0].family);
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
H A Dtest_https_sni.c55 static struct Hosts *hosts; variable
73 host->next = hosts; in load_keys()
74 hosts = host; in load_keys()
155 for (host = hosts; NULL != host; host = host->next) in sni_callback()
/third_party/python/Lib/asyncio/
H A Dbase_events.py1449 the TCP server is bound to all hosts of the sequence. If a host
1481 hosts = [None]
1484 hosts = [host]
1486 hosts = host
1490 for host in hosts]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_events.py797 def create_server_multiple_hosts(self, family, hosts, mock_sock):
807 unique_hosts = set(hosts)
818 f = self.loop.create_server(lambda: MyProto(self.loop), hosts, 80)

Completed in 26 milliseconds