/development/tools/axl/ |
udpServer.py | 13 # hostname = socket.gethostname() 14 hostname = "localhost" 15 ip = socket.gethostbyname(hostname)
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSocketImpl.java | 39 OpenSSLSocketImpl(String hostname, int port) throws IOException { 40 super(hostname, port); 47 OpenSSLSocketImpl(String hostname, int port, InetAddress clientAddress, int clientPort) 49 super(hostname, port, clientAddress, clientPort); 58 OpenSSLSocketImpl(Socket socket, String hostname, int port, boolean autoClose) 60 super(socket, hostname, port, autoClose); 69 public void setHostname(String hostname) { 70 super.setHostname(hostname);
|
AbstractConscryptSocket.java | 36 AbstractConscryptSocket(String hostname, int port) throws IOException { 37 super(hostname, port); 44 AbstractConscryptSocket(String hostname, int port, InetAddress clientAddress, int clientPort) 46 super(hostname, port, clientAddress, clientPort); 62 * Returns the hostname that was supplied during socket creation. No DNS resolution is 63 * attempted before returning the hostname. 70 * @param hostname the desired SNI hostname, or null to disable 72 abstract void setHostname(String hostname); 75 * For the purposes of an SSLSession, we want a way to represent the supplied hostname [all...] |
/external/curl/lib/ |
asyn-thread.c | 149 const char *hostname, int port, 158 char *hostname; /* hostname to resolve, Curl_async.hostname member in struct:thread_sync_data 192 free(tsd->hostname); 203 const char *hostname, 232 /* Copying hostname string because original can be destroyed by parent 235 tsd->hostname = strdup(hostname); 236 if(!tsd->hostname) [all...] |
socks.h | 49 const char *hostname, 60 const char *hostname,
|
/external/ltp/testcases/network/tcp_cmds/host/ |
host01 | 25 # SETUP: If "RHOST" is not exported, then the local hostname is used. 43 exists awk host hostname 45 RHOST=${RHOST:-`hostname`}
|
/external/ltp/testcases/network/tcp_cmds/rsh/ |
rsh01 | 26 # MUST have a ".rhosts" file with the hostname of the machine 48 exists awk hostname rsh 50 RHOST=${RHOST:-`hostname`}
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
DoubleInetAddressDns.java | 29 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException { 30 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
|
/libcore/luni/src/main/native/ |
Portability.h | 28 static inline int android_getaddrinfofornet(const char* hostname, const char* servname, 30 return getaddrinfo(hostname, servname, hints, res);
|
/external/toybox/toys/pending/ |
wget.c | 28 // extract hostname from url 29 static unsigned get_hn(const char *url, char *hostname) { 33 if(i >= 1024) error_exit("too long hostname in URL"); 34 hostname[i] = url[i]; 36 hostname[i] = '\0'; 56 static void get_info(const char *url, char* hostname, char *port, char *path) { 60 len = get_hn(url+i, hostname); 78 static int conn_svr(const char *hostname, const char *port) { 88 if ((errno = getaddrinfo(hostname, port, &hints, &result))) 134 char ua[18] = "toybox wget/", ver[6], hostname[1024], port[6], path[1024] local [all...] |
/external/autotest/server/cros/network/ |
chaos_clique_utils.py | 23 def allocate_packet_capturer(lock_manager, hostname, prefix): 30 @param hostname string optional hostname of a packet capture machine. 35 if hostname is not None: 36 return hosts.SSHHost(hostname) 42 pcap_prefix = pcap.hostname.split('-')[0] 45 if lock_manager.lock([pcap.hostname]): 46 return hosts.SSHHost(pcap.hostname + '.cros') 48 logging.info('Unable to lock %s', pcap.hostname) 65 hostname = '%s.cros' % site_utils.lock_host_with_labels [all...] |
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
TcpStream.h | 27 int connect(const char* hostname, unsigned short port);
|
/external/autotest/server/hosts/ |
remote_unittest.py | 12 self.assertEqual(host.hostname, "myhost")
|
teststation_host.py | 23 def create_teststationhost(hostname, **kwargs): 26 @param hostname: Hostname of the test station. 32 if hostname == 'localhost': 37 return host_class(hostname, **kwargs) 44 def check_credentials(self, hostname): 47 @param hostname: Hostname of the machine. 49 if hostname != 'localhost': 58 def _initialize(self, hostname='localhost', *args, **dargs) [all...] |
/external/autotest/server/site_tests/platform_BootDevice/ |
platform_BootDevice.py | 16 logging.info('BootDevice: reboot %s', host.hostname)
|
/external/autotest/server/site_tests/servohost_Reboot/ |
servohost_Reboot.py | 36 ds = dev_server.ImageServer.resolve(s_host.hostname) 46 dut_list.remove(host.hostname) 49 lock_msg = 'reboot for servo host %s' % s_host.hostname 54 'servo host[%s]: %s', s_host.hostname, lock_success)
|
/external/autotest/site_utils/ |
job_overhead.py | 32 job_or_task_id, hostname, status, duration_secs, 37 @param hostname: String, representing a hostname. 44 if not job_or_task_id or not hostname or not status: 47 'hostname=%s, status=%s', job_or_task_id, hostname, status) 52 'hostname': hostname,
|
/external/chromium-libpac/test/js-unittest/ |
international_domain_names.js | 4 // This international hostname has a non-ASCII character. It is represented 10 // unicode hostname.
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
CertPinManager.java | 31 * Given a {@code hostname} and a {@code chain} this verifies that the 33 * for {@code hostname}. 35 void checkChainPinning(String hostname, List<X509Certificate> chain)
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/ |
tirpc_rpc_call_stress.c | 44 //Program parameters : argc[1] : HostName or Host IP 56 char hostname[256] = { 0 }; local 64 strcpy(hostname, argc[1]); 67 printf("Server : %s\n", hostname); 72 rslt = rpc_call(hostname, progNum, VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
|
/libcore/ojluni/src/main/java/java/net/ |
InetAddressImpl.java | 39 // BEGIN Android-changed: Rewrote hostname lookup methods on top of Libcore.os. 43 lookupAllHostAddr(String hostname) throws UnknownHostException; 46 * Lookup all addresses for {@code hostname} on the given {@code netId}. 48 InetAddress[] lookupAllHostAddr(String hostname, int netId) throws UnknownHostException; 59 // END Android-changed: Rewrote hostname lookup methods on top of Libcore.os.
|
/system/netd/server/binder/android/net/metrics/ |
INetdEventListener.aidl | 42 * @param hostname the name that was looked up. 49 void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, String hostname, 57 * @param hostname the hostname for which validation was performed. 60 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname,
|
/external/conscrypt/platform/src/test/java/org/conscrypt/ |
CertPinManagerTest.java | 47 public void checkChainPinning(String hostname, List<X509Certificate> chain) 64 public void checkChainPinning(String hostname, List<X509Certificate> chain) 82 public void checkChainPinning(String hostname, List<X509Certificate> chain) 84 hostnameMatched = expectedHostname.equals(hostname); 96 public void checkChainPinning(String hostname, List<X509Certificate> chain) 106 private void callCheckServerTrusted(String hostname, CertPinManager manager) 109 tm.checkServerTrusted(chain, "RSA", hostname);
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
host_info.py | 32 def AddNullDevices(hostname, null_device_count): 36 hostname: string, the host name. 40 model.DeviceModel.hostname == hostname, 49 device.hostname = hostname 89 device.hostname = request.hostname
|
/external/autotest/scheduler/ |
rdb_hosts_unittest.py | 79 hostname = 'h1' 81 self.db_helper.create_host(hostname)) 83 host = self.db_helper.get_host(hostname=hostname)[0] 115 hostname = 'h1' 116 db_host = self.db_helper.create_host(hostname, leased=True) 120 host_data = {'hostname': hostname, 'id': db_host.id} 138 self.db_helper.get_host(hostname=hostname)[0]).wire_format( [all...] |