/third_party/python/Lib/test/ |
H A D | test_netrc.py | 31 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 D | test_ipaddress.py | 1435 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 D | netrc.py | 71 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 D | ipaddress.py | 685 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 D | x509_vpm.c | 54 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 D | x509_local.h | 32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member
|
H A D | x509_vfy.c | 773 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 D | x509_vpm.c | 54 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 D | x509_local.h | 32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member
|
H A D | x509_vfy.c | 773 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 D | ares__hosts_file.c | 49 * 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 D | hosts.js | 37 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 D | index.js | 4 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 D | test-http-autoselectfamily.js | 25 const hosts = replies 30 return cb(null, hosts); 33 return cb(null, hosts[0].address, hosts[0].family);
|
H A D | test-net-autoselectfamily-commandline-option.js | 26 const hosts = replies 31 return cb(null, hosts); 34 return cb(null, hosts[0].address, hosts[0].family);
|
H A D | test-net-autoselectfamily-ipv4first.js | 24 const hosts = replies 28 return cb(null, hosts); 31 return cb(null, hosts[0].address, hosts[0].family);
|
H A D | test-https-autoselectfamily.js | 39 const hosts = replies 44 return cb(null, hosts); 47 return cb(null, hosts[0].address, hosts[0].family);
|
H A D | test-net-autoselectfamilydefault.js | 27 const hosts = replies 32 return cb(null, hosts); 35 return cb(null, hosts[0].address, hosts[0].family);
|
H A D | test-net-autoselectfamily.js | 27 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 D | test_https_sni.c | 55 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 D | base_events.py | 1449 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 D | test_events.py | 797 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)
|