/bionic/tests/ |
unistd_test.cpp | 498 char hostname[HOST_NAME_MAX + 1]; local 499 memset(hostname, 0, sizeof(hostname)); 501 // Can we get the hostname with a big buffer? 502 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); 504 // Can we get the hostname with a right-sized buffer? 506 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); 511 ASSERT_EQ(0, strncmp(hostname, buf.nodename, SYS_NMLN)); 512 ASSERT_GT(strlen(hostname), 0U) [all...] |
/external/autotest/server/cros/dynamic_suite/ |
job_status_unittest.py | 53 'host': {'hostname': h}} for h in expected_hosts] 67 'host': {'hostname': h}} for h in expected_hosts] 82 'host': {'hostname': h}} for h in expected_hosts] 192 manager.lock([h.hostname for h in running_hosts]) 568 jobs = [FakeJob(0, [FakeStatus('FAIL', 'T0', '', hostname='h0'), 569 FakeStatus('FAIL', 'T1', 'bad', hostname='h0')]), 571 FakeStatus('GOOD', 'T1', '', hostname='h1')]), 572 FakeJob(2, [FakeStatus('TEST_NA', 'T0', 'no', hostname='h2')]), 573 FakeJob(3, [FakeStatus('FAIL', 'T0', 'broken', hostname='h3')]), 575 FakeJob(5, [FakeStatus('GOOD', 'T0', 'Yay', hostname='h5')]) [all...] |
/external/ImageMagick/MagickCore/ |
distribute-cache.c | 179 static int ConnectPixelCacheServer(const char *hostname,const int port, 224 status=getaddrinfo(hostname,service,&hint,&result); 228 "DistributedPixelCache","'%s'",hostname); 237 "DistributedPixelCache","'%s'",hostname); 246 "DistributedPixelCache","'%s'",hostname); 333 *hostname; 350 hostname=GetHostname(&server_info->port,exception); 352 server_info->file=ConnectPixelCacheServer(hostname,server_info->port, 359 (void) CopyMagickString(server_info->hostname,hostname,MagickPathExtent) 330 *hostname; local [all...] |
/external/autotest/scheduler/ |
scheduler_models.py | 63 # can just set the hostname in a single place in the config file. 65 'SERVER', 'hostname') 67 logging.critical('[SERVER] hostname missing from the config file.') 389 _fields = ('id', 'hostname', 'locked', 'synch_id', 'status', 397 logging.info('%s -> %s', self.hostname, status) 430 A comparison function for sorting Host objects by hostname. 441 This hopefully satisfy most people's hostname sorting needs regardless 445 lower_a = a.hostname.lower() 446 lower_b = b.hostname.lower() 530 logging.info('Assigning host %s to entry %s', host.hostname, self [all...] |
rdb_testing_utils.py | 46 def __init__(self, hostname, host_id, **kwargs): 47 kwargs.update({'hostname': hostname, 'id': host_id}) 139 """Create a shard with the given hostname if one doesn't already exist. 141 @param shard_hostname: The hostname of the shard. 143 shard = cls.get_shard(hostname=shard_hostname) 144 return (models.Shard.objects.create(hostname=shard_hostname) 176 @param shard_hostname: The hostname of a shard to assign the job. 210 @param name: The hostname. 226 hostname=name, status=status, locked=locked [all...] |
/external/libxml2/ |
nanoftp.c | 124 char *hostname; /* the host name */ member in struct:xmlNanoFTPCtxt 184 * and get the hostname 312 if (ctxt->hostname != NULL) { 313 xmlFree(ctxt->hostname); 314 ctxt->hostname = NULL; 332 ctxt->hostname = xmlMemStrdup(uri->server); 362 * protocol, hostname, port or other information, the 380 if (ctxt->hostname == NULL) 392 (strcmp(ctxt->hostname, uri->server)) || 511 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname) [all...] |
/external/autotest/site_utils/ |
server_manager_unittest.py | 63 attrs={'hostname': 'primary_drone_hostname', 69 attrs={'hostname': 'backup_drone_hostname', 75 attrs={'hostname': 'primary_scheduler_hostname', 81 attrs={'hostname': 'backup_scheduler_hostname', 107 ping_runner.PingRunner().simple_ping(self.BACKUP_DRONE.hostname 110 hostname=self.BACKUP_DRONE.hostname 113 hostname=mox.IgnoreArg(), status=mox.IgnoreArg(), 120 drone = server_manager.create(hostname=self.BACKUP_DRONE.hostname, [all...] |
/external/autotest/server/cros/network/ |
chaos_clique_utils.py | 21 def allocate_packet_capturer(lock_manager, hostname): 28 @param hostname string optional hostname of a packet capture machine. 32 if hostname is not None: 33 return hosts.SSHHost(hostname) 49 @return string hostname of locked webdriver instance
|
/external/autotest/server/cros/ |
telemetry_runner.py | 278 self._host.hostname) 280 self._host.hostname) 343 '--remote=%s' % self._host.hostname])
|
/external/autotest/server/ |
kvm.py | 163 address may be a hostname or an IPv6 instead. 430 raise error.AutoservVirtError("Unknown guest hostname") 473 "hostname not in use") 475 raise error.AutoservVirtError("Unknown guest hostname")
|
server_job.py | 237 'hostname' : ','.join(machines), 284 host = afe.get_hosts(hostname=machine)[0] 287 {'hostname' : machine, 512 # [{'host_attributes': {}, 'hostname': '100.96.51.226'}] 517 # hostname, we need to convert machines back to a list of hostnames. 522 machines = [m['hostname'] for m in machines] 526 hostname = server_utils.get_hostname_from_machine(machine) 527 self._parse_job += "/" + hostname 530 self.push_execution_context(hostname) 532 utils.write_keyval(self.resultdir, {"hostname": hostname} [all...] |
/external/autotest/tko/ |
frontend.py | 97 'hostname' : 'machine_hostname', 169 fields = ['machine_idx', 'hostname', 'machine_group', 'owner'] 176 def __init__(self, db, idx, hostname, group, owner): 179 self.hostname = hostname
|
/external/webrtc/webrtc/base/ |
ssladapter_unittest.cc | 73 int Connect(const std::string& hostname, const rtc::SocketAddress& address) { 80 << " handshake with " << hostname; 82 if (ssl_adapter_->StartSSL(hostname.c_str(), false) != 0) {
|
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 48 * <li>Hostname verification in most cases (see WARNINGs below) 60 * This implementation does check the server's certificate hostname, but only 61 * for createSocket variants that specify a hostname. When using methods that 67 * {@link HostnameVerifier} to verify the certificate hostname. 70 * SSL certificate and hostname checks for testing purposes. This setting 173 * Verify the hostname of the certificate used by the other end of a 174 * connected socket. You MUST call this if you did not supply a hostname 176 * redundantly if the hostname has already been verified. 178 * <p>Wildcard certificates are allowed to verify any matching hostname, 183 * @param hostname The expected hostname of the remote serve [all...] |
/external/autotest/client/cros/cellular/ |
emulator_config.py | 29 hostname=adapter['address'],
|
/external/autotest/client/site_tests/network_3GSmokeTest/ |
network_3GSmokeTest.py | 107 urlparse.urlparse(url_pattern).hostname,
|
/external/autotest/frontend/afe/ |
resources_test.py | 49 self.check_collection(response, 'hostname', ['host1', 'host2']) 53 response = self.request('get', 'hosts?hostname:in=host1,host2') 54 self.check_collection(response, 'hostname', ['host1', 'host2']) 59 self.check_collection(response, 'hostname', ['host2', 'host3']) 67 'get', 'hosts?hostname=host1&full_representations=true') 68 self.check_collection(response, 'hostname', ['host1']) 77 self.assertEquals(response['hostname'], 'host1') 115 self.check_relationship('labels/label1', 'hosts', 'host', 'hostname', 146 self.check_collection(response, 'hostname', ['host1']) 166 self.check_relationship('acls/my_acl', 'hosts', 'host', 'hostname', [all...] |
/external/autotest/server/site_tests/network_StressServoEthernetPlug/ |
network_StressServoEthernetPlug.py | 35 if eth_dict[self.ETH_IP] == self.host.hostname:
|
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/ |
network_WiFi_UpdateRouter.py | 63 """Possibly parse the router hostname from the commandline. 78 client_hostname=host.hostname,
|
/external/autotest/server/site_tests/platform_BootPerfServer/ |
platform_BootPerfServer.py | 59 logging.info('BootPerfServer: reboot %s', self.client.hostname)
|
/external/autotest/server/site_tests/platform_CorruptRootfs/ |
platform_CorruptRootfs.py | 119 logging.info('CorruptRootfs: reboot ' + self.client.hostname)
|
/external/autotest/server/site_tests/platform_CrashStateful/ |
platform_CrashStateful.py | 74 logging.info('CrashStateful: force panic %s', self.client.hostname)
|
/external/autotest/server/site_tests/platform_SyncCrash/ |
platform_SyncCrash.py | 58 logging.info('Crash: %s', self.client.hostname)
|
/external/fio/ |
client.h | 37 char *hostname; member in struct:fio_client
|
/external/mdnsresponder/mDNSShared/ |
dns_sd.h | 347 * wire. If "hostname" is a wide-area unicast DNS hostname (i.e. not a ".local." name) 349 * for "hostname", since any addresses it found would be unlikely to be of any use anyway. Similarly, 351 * "hostname". [all...] |