/external/autotest/cli/ |
server.py | 52 @param hostname_required: True to require the command has hostname 71 attribute_name='hostname', use_leftover=True) 82 kwargs['req_items'] = 'hostname' 90 # self.hostname is a list. Action on server only needs one hostname at 92 if ((not self.hostname and self.hostname_required) or 93 len(self.hostname) > 1): 96 if self.hostname: 97 # Override self.hostname with the first hostname in the list [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSocketFactoryImpl.java | 98 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { 101 hostname, port, (SSLParametersImpl) sslParameters.clone()); 104 hostname, port, (SSLParametersImpl) sslParameters.clone()); 109 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 112 return createEngineSocket(hostname, port, localHost, 115 return createFileDescriptorSocket(hostname, port, localHost, 144 public Socket createSocket(Socket socket, String hostname, int port, boolean autoClose) 153 socket, hostname, port, autoClose, (SSLParametersImpl) sslParameters.clone()); 156 socket, hostname, port, autoClose, (SSLParametersImpl) sslParameters.clone());
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
ftp.py | 40 hostname = sys.argv[1]
41 control(hostname)
46 def control(hostname):
51 s.connect((hostname, FTP_PORT))
91 hostname = gethostname()
92 hostaddr = gethostbyname(hostname)
|
/external/curl/lib/ |
hostip.h | 86 int Curl_resolv(struct connectdata *conn, const char *hostname, 88 int Curl_resolv_timeout(struct connectdata *conn, const char *hostname, 115 const char *hostname, 146 Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port); 183 const char *hostname, 192 const char *hostname, int port);
|
hostip.c | 293 const char *hostname, 301 /* Create an entry id, based upon the hostname and port */ 302 entry_id = create_hostcache_id(hostname, port); 320 infof(data, "Hostname in DNS cache was stale, zapped\n"); 336 * it discovers the handle in the state WAITRESOLVE whether the hostname 339 * lookups for the same hostname requested by different handles. 348 const char *hostname, 357 dns = fetch_addr(conn, hostname, port); 380 const char *hostname, 388 /* Create an entry id, based upon the hostname and port * 783 char hostname[256]; local [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
HeldCertificate.java | 53 private String hostname; field in class:HeldCertificate.Builder 65 * Set this certificate's name. Typically this is the URL hostname for TLS certificates. This is 68 public Builder commonName(String hostname) { 69 this.hostname = hostname; 101 X500Principal subject = hostname != null 102 ? new X500Principal("CN=" + hostname)
|
/external/python/cpython2/Demo/sockets/ |
ftp.py | 40 hostname = sys.argv[1] 41 control(hostname) 46 def control(hostname): 51 s.connect((hostname, FTP_PORT)) 91 hostname = gethostname() 92 hostaddr = gethostbyname(hostname)
|
/external/tensorflow/tensorflow/core/platform/posix/ |
port.cc | 51 string Hostname() { 52 char hostname[1024]; local 53 gethostname(hostname, sizeof hostname); 54 hostname[sizeof hostname - 1] = 0; 55 return string(hostname);
|
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/ |
GCSConfigurationServer.java | 48 description = "Mapping file maps hostname to its config." 69 * file has the format: "hostname,instance-name,host-config-file-name,host-command-file". 71 * @param hostname is the hostname to get host config for 72 * @param hostConfigMappingFile is a mapping file that maps hostname to host config name. 76 private String getHostConfig(String hostname, InputStream hostConfigMappingFile) 81 // "hostname,instance-name,host-config-file-name,host-command-file" 92 if (sameHost(hostname, hostMap[0])) { 93 System.out.format("%s's config is %s\n", hostname, hostMap[2]); 98 String.format("Host %s doesn't have configure.", hostname)); [all...] |
/external/autotest/site_utils/deployment/ |
install.py | 96 _ReportResult = namedtuple('_ReportResult', ['hostname', 'message']) 249 def _create_host(hostname, afe, afe_host): 252 @param hostname Hostname of the target DUT. 257 'hostname': hostname, 259 'host_info_store': afe_store.AfeStore(hostname, afe), 304 def _update_host_attributes(afe, hostname, host_attrs): 308 @param hostname Host name of the DUT. 312 # Grab the servo hostname/port/serial from `host_attrs` if supplied [all...] |
/external/autotest/frontend/migrations/ |
022_implement_sync_count.py | 25 SELECT hqe.id, hqe.job_id, hqe.status, hqe.complete, hosts.hostname 29 for id, job_id, status, complete, hostname in hqes: 33 execution_subdir = hostname
|
/external/autotest/utils/ |
site_check_dut_usage.py | 26 """Checks DUT usage for given label or hostname during a time period.""" 28 def __init__(self, start_time, end_time, label, hostname, list_hostnames): 37 @hostname: If not None, the hostname we are intersted in. 45 self._hostname = hostname 54 |finished_time|, |hostname|. 57 ' hostname ' 66 query += ' and tko_machines.hostname=%s' 147 """Returns a tuple containing start time, end time, and label, hostname.""" 148 label, hostname = None, Non [all...] |
/external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/ |
ServerNameHelloExtension.java | 44 String hostname = new String(hostnameBytes, "US-ASCII"); local 45 hostnames.add(hostname);
|
/external/dhcpcd-6.8.2/dhcpcd-hooks/ |
Makefile | 8 SCRIPTS+= 29-lookup-hostname 30-hostname
|
/external/ltp/testcases/kdump/lib/ |
sysinfo.sh | 4 echo "------------- HOSTNAME -------------------" 6 hostname
|
/external/syslinux/com32/modules/ |
host.c | 9 static inline uint32_t dns_resolve(const char *hostname) 11 return pxe_dns(hostname); 16 fprintf(stderr, "Usage: %s hostname [, hostname_1, hostname_2, ...]\n", s);
|
/frameworks/base/core/java/android/security/ |
NetworkSecurityPolicy.java | 74 * TLS or STARTTLS) is permitted for communicating with {@code hostname} for this process. 78 public boolean isCleartextTrafficPermitted(String hostname) { 80 .isCleartextTrafficPermitted(hostname);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
ServerNameHelloExtension.java | 47 String hostname = new String(hostnameBytes, "US-ASCII"); local 48 hostnames.add(hostname);
|
/prebuilts/go/darwin-x86/src/os/ |
sys_solaris.go | 9 func hostname() (name string, err error) { func
|
/prebuilts/go/linux-x86/src/os/ |
sys_solaris.go | 9 func hostname() (name string, err error) { func
|
/system/core/adb/ |
socket_spec.h | 30 bool parse_tcp_socket_spec(const std::string& spec, std::string* hostname, int* port,
|
/external/autotest/server/ |
system_utils.py | 28 return [hostname.strip() for hostname in drones.split(',')] 40 return [hostname.strip() for hostname in shards.split(',')]
|
/external/autotest/site_utils/rpm_control_system/ |
dli_urllib.py | 18 self.hostname,url)
|
/external/autotest/venv/lucifer/ |
jobx.py | 33 return [hqe.host.hostname for hqe in hqes if hqe.host is not None]
|
/external/boringssl/src/crypto/bio/ |
internal.h | 82 // and |*out_addr_length| with the correct values for connecting to |hostname| 87 const char *hostname,
|