/external/c-ares/ |
ares_parse_aaaa_reply.c | 66 char *hostname, *rr_name, *rr_data, **aliases; local 90 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); 95 free(hostname); 106 free(hostname); 112 free(hostname); 147 && strcasecmp(rr_name, hostname) == 0) 184 /* Decode the RR data and replace the hostname with it. */ 189 free(hostname); 190 hostname = rr_data; 235 hostent->h_name = hostname; [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ProxySelector.java | 96 String hostname = mHostnameField.getText().toString().trim(); local 99 String msg = getActivity().getString(validate(hostname, portStr, exclList)); 119 mHostnameField = (EditText)view.findViewById(R.id.hostname); 141 String hostname = ""; local 150 hostname = proxy.getHost(); 155 if (hostname == null) { 156 hostname = ""; 159 mHostnameField.setText(hostname); 180 * validate syntax of hostname and port entries 183 public static int validate(String hostname, String port, String exclList) 209 String hostname = mHostnameField.getText().toString().trim(); local [all...] |
/external/autotest/server/ |
frontend.py | 80 server = GLOBAL_CONFIG.get_config_value('SERVER', 'hostname', 147 test_finished_time, afe_job_id, job_owner, hostname. 156 'job_owner', 'hostname', 'job_tag'] 170 status_dict['id'] = [status_dict['reason'], status_dict['hostname'], 179 group_by=['hostname', 'test_name', 'reason'], 232 return [host_obj.hostname for host_obj in 245 def create_host(self, hostname, **dargs): 246 id = self.run('add_host', hostname=hostname, **dargs) 312 hostnames = [s.host.hostname for s in job_statuses if s.host [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 153 // test without a hostname, expecting failure 155 // test without a hostname, expecting success 157 // test an unpinned hostname that should fail 159 // test an unpinned hostname that should succeed 161 // test a pinned hostname that should fail 163 // test a pinned hostname that should succeed 166 // test a pinned hostname that chains to user installed that should succeed 180 private TrustManagerImpl trustManager(X509Certificate ca, String hostname, X509Certificate pin) 183 CertPinManager cm = certManager(hostname, pin); 191 X509Certificate caKeyStore, X509Certificate caUserStore, String hostname, 281 private final String hostname; field in class:TrustManagerImplTest.MySSLSession [all...] |
/external/curl/lib/ |
asyn-ares.c | 189 free(async->hostname); 203 async->hostname = NULL; 328 conn->async.hostname, ares_strerror(conn->async.status)); 484 * Returns name information about the given hostname and port number. If 490 const char *hostname, 505 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { 507 return Curl_ip2addr(AF_INET, &in, hostname, port); 512 if(Curl_inet_pton (AF_INET6, hostname, &in6) > 0) 514 return Curl_ip2addr(AF_INET6, &in6, hostname, port); 533 bufp = strdup(hostname); [all...] |
/external/autotest/client/cros/ |
dns_server.py | 24 def __get_host_by_name(self, hostname): 25 """Resolve the dotted-quad IPv4 address of |hostname| 28 hosts = socket.getaddrinfo(hostname, 80, socket.AF_INET) 38 sys.executable, hostname), 45 def __attempt_resolve(self, hostname, ip, expected=True): 46 logging.debug('Attempting to resolve %s to %s' % (hostname, ip)) 47 host = self.__get_host_by_name(hostname) 48 logging.debug('Resolve attempt for %s got %s' % (hostname, host))
|
/external/nist-sip/java/gov/nist/core/ |
HostNameParser.java | 175 String hostname; local 179 hostname = ipv6Reference(); 187 hostname 192 //IPv4 address or hostname 196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); 199 if (hostname.length() == 0) 204 return new Host(hostname); 307 " Illegal character in hostname:" + lexer.lookAhead(0),
|
/external/autotest/server/site_tests/sonic_AppTest/ |
sonic_AppTest.py | 57 app, sonic_host.hostname, cros_host.hostname) 62 chromecast_ip=sonic_host.hostname,
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
dnsproxy.py | 48 def _IsIPAddress(hostname): 50 socket.inet_aton(hostname) 55 def __call__(self, hostname, rdtype=rdatatype.A): 59 host: a hostname ending with a period (e.g. "www.google.com.") 64 if self._IsIPAddress(hostname): 65 return hostname 67 ip = self.dns_cache.get(hostname) 72 answers = self.resolver.query(hostname, rdtype) 77 hostname) 81 hostname, ex.__class__.__name__ [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/net/ |
NetJavaServerSocketImpl.java | 44 public NetJavaServerSocketImpl (Protocol protocol, String hostname, int port, ServerSocketHints hints) { 61 if( hostname != null ) { 62 address = new InetSocketAddress(hostname, port);
|
/external/webrtc/webrtc/base/ |
socketaddress.h | 34 // literal IP string or a hostname to be resolved later. 35 SocketAddress(const std::string& hostname, int port); 50 // Determines if this is a nil address (empty hostname, any IP, null port) 59 // Changes the IP of this address to the given one, and clears the hostname 63 // Changes the IP of this address to the given one, and clears the hostname. 66 // Changes the hostname of this address to the given one. 68 void SetIP(const std::string& hostname); 70 // Sets the IP address while retaining the hostname. Useful for bypassing 75 // Sets the IP address while retaining the hostname. Useful for bypassing 82 // Returns the hostname 83 const std::string& hostname() const { return hostname_; } function in class:rtc::SocketAddress [all...] |
/bionic/libc/kernel/uapi/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/development/ndk/platforms/android-21/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/ |
forms_test.py | 99 hostname=self.request.host, 114 hostname=self.request.host, 129 hostname=self.request.host, 144 hostname=self.request.host,
|
/external/kernel-headers/original/uapi/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
nfs4_mount.h | 45 struct nfs_string hostname; /* 1 */ member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/ |
nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|