/external/openssh/regress/ |
D | keygen-knownhosts.sh | 13 echo "# $x" >> $OBJ/kh.hosts 26 echo "" >> $OBJ/kh.hosts 27 ) >> $OBJ/kh.hosts 33 cat $OBJ/kh.hosts >> $OBJ/kh.invalid 37 cp $OBJ/kh.hosts $OBJ/kh.hosts.orig 141 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts 142 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-a 2>/dev/null 143 grep -v "^host-a " $OBJ/kh.hosts.orig > $OBJ/kh.expect 144 diff $OBJ/kh.hosts $OBJ/kh.expect || fail "remove simple" 147 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts [all …]
|
/external/autotest/server/hosts/ |
D | cros_repair.py | 13 from autotest_lib.client.common_lib import hosts 20 from autotest_lib.server.hosts import cros_firmware 21 from autotest_lib.server.hosts import repair_utils 75 class ACPowerVerifier(hosts.Verifier): 83 raise hosts.AutoservVerifyError( 88 raise hosts.AutoservVerifyError( 91 raise hosts.AutoservVerifyError( 96 raise hosts.AutoservVerifyError( 108 class WritableVerifier(hosts.Verifier): 142 raise hosts.AutoservVerifyError(msg) [all …]
|
D | servo_repair.py | 9 from autotest_lib.client.common_lib import hosts 11 from autotest_lib.server.hosts import repair_utils 36 class _UpdateVerifier(hosts.Verifier): 62 class _ConfigVerifier(hosts.Verifier): 106 raise hosts.AutoservVerifyError( 110 raise hosts.AutoservVerifyError( 156 raise hosts.AutoservVerifyError( 194 raise hosts.AutoservVerifyError(msg) 200 class _ServodJobVerifier(hosts.Verifier): 211 raise hosts.AutoservVerifyError( [all …]
|
D | repair_utils.py | 9 from autotest_lib.client.common_lib import hosts 16 raise hosts.AutoservRepairError( 20 class SshVerifier(hosts.Verifier): 44 raise hosts.AutoservVerifyError(msg % host.hostname) 52 class LegacyHostVerifier(hosts.Verifier): 71 class RebootRepair(hosts.RepairAction): 83 class RPMCycleRepair(hosts.RepairAction): 97 raise hosts.AutoservRepairError( 102 raise hosts.AutoservRepairError(
|
D | cros_firmware.py | 43 from autotest_lib.client.common_lib import hosts 45 from autotest_lib.server.hosts import repair_utils 113 class FirmwareStatusVerifier(hosts.Verifier): 142 raise hosts.AutoservVerifyError( 153 class FirmwareRepair(hosts.RepairAction): 165 raise hosts.AutoservRepairError( 176 class FirmwareVersionVerifier(hosts.Verifier): 242 raise hosts.AutoservVerifyError( 252 raise hosts.AutoservVerifyError( 288 raise hosts.AutoservVerifyError( [all …]
|
D | labstation_repair.py | 6 from autotest_lib.client.common_lib import hosts 7 from autotest_lib.server.hosts import repair_utils 10 class _LabstationUpdateVerifier(hosts.Verifier): 32 class _LabstationRebootVerifier(hosts.Verifier): 58 return hosts.RepairStrategy(verify_dag, repair_actions, 'labstation')
|
D | cros_label_unittest.py | 12 from autotest_lib.server.hosts import cros_label 13 from autotest_lib.server.hosts.cros_label import BoardLabel 14 from autotest_lib.server.hosts.cros_label import BluetoothLabel 15 from autotest_lib.server.hosts.cros_label import BrandCodeLabel 16 from autotest_lib.server.hosts.cros_label import Cr50Label 17 from autotest_lib.server.hosts.cros_label import Cr50ROKeyidLabel 18 from autotest_lib.server.hosts.cros_label import Cr50RWKeyidLabel 19 from autotest_lib.server.hosts.cros_label import Cr50ROVersionLabel 20 from autotest_lib.server.hosts.cros_label import Cr50RWVersionLabel 21 from autotest_lib.server.hosts.cros_label import DeviceSkuLabel [all …]
|
/external/autotest/frontend/afe/ |
D | frontend_test_utils.py | 21 self.hosts = [models.Host.objects.create(hostname=hostname) 26 acl_group.hosts = self.hosts 27 models.AclGroup.smart_get('Everyone').hosts = [] 34 for host in self.hosts: 46 self.hosts[0].labels.add(self.label1) 47 self.hosts[1].labels.add(self.label2) 49 self.hosts[hostnum].labels.add(self.label6) 50 self.hosts[6].labels.add(self.label7) 52 self.hosts[hostnum].labels.add(self.label6) 53 self.hosts[hostnum].labels.add(self.label7) [all …]
|
D | models_test.py | 30 host1, host2 = self.hosts[1:3] 161 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY, 201 job = self._create_job(hosts=[0]) 203 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY, 219 entry = self._create_job(hosts=[1]).hostqueueentry_set.all()[0] 237 self.assertFalse(self.hosts[0].invalid) 238 self.hosts[0].delete() 239 self.assertTrue(self.hosts[0].invalid) 240 self.assertTrue(models.Host.objects.get(id=self.hosts[0].id)) 244 for host in self.hosts: [all …]
|
D | rpc_interface.py | 133 hosts = [] 135 hosts.append(models.Host.smart_get(h.id)) 140 rpc_utils.fanout_rpc(hosts, 'delete_label', False, id=id) 173 def add_label_to_hosts(id, hosts): argument 185 host_objs = models.Host.smart_get_bulk(hosts) 194 def _create_label_everywhere(id, hosts): argument 234 host_objs = models.Host.smart_get_bulk(hosts) 242 def label_add_hosts(id, hosts): argument 256 _create_label_everywhere(id, hosts) 259 add_label_to_hosts(id, hosts) [all …]
|
D | direct_afe_unittest.py | 17 hosts = afe.get_hosts() 18 self.assertEquals(len(hosts), 0) 21 hosts = afe.get_hosts() 22 self.assertEquals(len(hosts), 1) 24 afe.create_job('job_name', hosts=['a_host'])
|
/external/autotest/server/cros/ |
D | host_lock_manager_unittest.py | 37 def _host_modifier(self, hosts, operation, lock_reason=''): argument 49 self.locked_hosts = self.locked_hosts.union(hosts) 51 self.locked_hosts = self.locked_hosts.difference(hosts) 105 hosts = [self.HOST2] 108 manager.lock(hosts, lock_reason='Locking for test') 114 hosts = [self.HOST1, self.HOST2] 117 manager.lock(hosts, lock_reason='Locking for test') 124 hosts = [self.HOST1, self.HOST2] 125 self.manager.locked_hosts = set(hosts) 126 self.manager.lock(hosts) [all …]
|
D | host_lock_manager.py | 46 def locked_hosts(self, hosts): argument 51 self._locked_hosts = hosts 100 def lock(self, hosts, lock_reason='Locked by HostLockManager'): argument 109 new_hosts = set(hosts).difference(self._locked_hosts) 117 def unlock(self, hosts=None): argument 126 if hosts: 127 unknown_hosts = set(hosts).difference(self._locked_hosts) 129 updated_hosts = set(hosts) - unknown_hosts 140 def _host_modifier(self, hosts, operation, lock_reason=None): argument 151 for host in hosts:
|
/external/autotest/server/ |
D | profilers.py | 67 for host in self.job.hosts: 150 def _get_all_failure_logs(self, test, hosts): argument 151 for host, at, autodir in hosts: 170 def _run_clients(self, test, hosts): argument 176 hostnames = [host_info[0].hostname for host_info in hosts] 180 for host, at, autodir in hosts: 201 self._get_all_failure_logs(test, hosts) 213 hosts = self._get_hosts(host) 216 hostnames = [host_info[0].hostname for host_info in hosts] 220 self._get_all_failure_logs(test, hosts) [all …]
|
/external/autotest/contrib/ |
D | dhcp_failed_machines.py | 73 hosts = sorted([lookup(h) for h in offenders]) variable 75 pprint.pprint(hosts) 81 (len(hosts), ', '.join(hosts))) 85 (len(hosts), ', '.join(hosts))) 89 (len(hosts), ', '.join(hosts)))
|
/external/boringssl/src/crypto/x509/ |
D | x509_vpm.c | 104 if (mode == SET_HOST && id->hosts) { in int_x509_param_set_hosts() 105 string_stack_free(id->hosts); in int_x509_param_set_hosts() 106 id->hosts = NULL; in int_x509_param_set_hosts() 113 if (id->hosts == NULL && in int_x509_param_set_hosts() 114 (id->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts() 119 if (!sk_OPENSSL_STRING_push(id->hosts, copy)) { in int_x509_param_set_hosts() 121 if (sk_OPENSSL_STRING_num(id->hosts) == 0) { in int_x509_param_set_hosts() 122 sk_OPENSSL_STRING_free(id->hosts); in int_x509_param_set_hosts() 123 id->hosts = NULL; in int_x509_param_set_hosts() 150 if (paramid->hosts) { in x509_verify_param_zero() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_netrc.py | 24 self.assertEqual(nrc.hosts['host1.domain.com'], 26 self.assertEqual(nrc.hosts['default'], ('log2', None, 'pass2')) 29 self.assertEqual(nrc.hosts, nrc2.hosts) 46 self.assertEqual(nrc.hosts['host.domain.com'], ('log', 'acct', passwd)) 65 self.assertEqual(nrc.hosts['foo.domain.com'], ('bar', None, passwd)) 66 self.assertEqual(nrc.hosts['bar.domain.com'], ('foo', None, 'pass')) 125 self.assertEqual(nrc.hosts['foo.domain.com'],
|
/external/autotest/server/cros/tradefed/ |
D | tradefed_prerequisite.py | 9 def bluetooth(hosts): argument 23 def region_us(hosts): argument 26 for host in hosts: 40 def check(prereq, hosts): argument 49 return prerequisite_map[prereq](hosts)
|
/external/python/cpython2/Lib/ |
D | netrc.py | 32 self.hosts = {} 75 self.hosts[entryname] = {} 81 self.hosts[entryname] = (login, account, password) 121 if host in self.hosts: 122 return self.hosts[host] 123 elif 'default' in self.hosts: 124 return self.hosts['default'] 131 for host in self.hosts.keys(): 132 attrs = self.hosts[host]
|
/external/python/cpython3/Lib/ |
D | netrc.py | 27 self.hosts = {} 68 self.hosts[entryname] = {} 74 self.hosts[entryname] = (login, account, password) 115 if host in self.hosts: 116 return self.hosts[host] 117 elif 'default' in self.hosts: 118 return self.hosts['default'] 125 for host in self.hosts.keys(): 126 attrs = self.hosts[host]
|
/external/autotest/site_utils/ |
D | diagnosis_utils.py | 29 def __init__(self, labels, num_available, num_required, hosts): argument 42 self.hosts = hosts 289 hosts = self.rpc_interface.get_hosts( 291 if not hosts: 303 if len(hosts) < minimum_duts: 306 'number of available DUTS', labels, len(hosts), 310 for host in hosts: 314 available_hosts, len(hosts), labels) 320 hosts=hosts)
|
/external/autotest/cli/ |
D | acl.py | 83 hosts = getattr(self, 'hosts') 85 if ((users and (hosts or acls)) or 86 (hosts and acls)): 92 if len(hosts) > 1: 101 self.hosts = hosts[0] 118 if self.hosts: 119 filters['hosts__hostname'] = self.hosts
|
/external/python/cpython3/Lib/test/ |
D | test_netrc.py | 23 self.assertEqual(nrc.hosts['host1.domain.com'], 25 self.assertEqual(nrc.hosts['default'], ('log2', None, 'pass2')) 28 self.assertEqual(nrc.hosts, nrc2.hosts) 45 self.assertEqual(nrc.hosts['host.domain.com'], ('log', 'acct', passwd)) 64 self.assertEqual(nrc.hosts['foo.domain.com'], ('bar', None, passwd)) 65 self.assertEqual(nrc.hosts['bar.domain.com'], ('foo', None, 'pass')) 124 self.assertEqual(nrc.hosts['foo.domain.com'],
|
/external/autotest/server/site_tests/hardware_StorageQualCheckSetup/ |
D | hardware_StorageQualCheckSetup.py | 31 def _group_hosts_into_pools(self, hosts): argument 33 for host in hosts: 52 host = list(self.job.hosts)[0] 71 hosts = [] 76 hosts.append(host) 81 pools = self._group_hosts_into_pools(hosts)
|
/external/autotest/server/site_tests/moblab_Setup/ |
D | moblab_Setup.py | 40 hosts = [] 46 hosts.append(host) 52 if len(hosts) < required_duts: 54 (required_duts, len(hosts)))) 61 for host in hosts:
|