/external/toybox/toys/lsb/ |
hostname.c | 0 /* hostname.c - Get/Set the hostname 5 * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/hostname.html 7 USE_HOSTNAME(NEWTOY(hostname, NULL, TOYFLAG_BIN)) 9 config HOSTNAME 10 bool "hostname" 13 usage: hostname [newname] 15 Get/Set the current hostname 23 const char *hostname = toys.optargs[0]; local 24 if (hostname) { [all...] |
/frameworks/base/core/java/android/security/net/config/ |
Domain.java | 23 * Lower case hostname for this domain rule. 25 public final String hostname; field in class:Domain 32 public Domain(String hostname, boolean subdomainsIncluded) { 33 if (hostname == null) { 34 throw new NullPointerException("Hostname must not be null"); 36 this.hostname = hostname.toLowerCase(Locale.US); 42 return hostname.hashCode() ^ (subdomainsIncluded ? 1231 : 1237); 55 otherDomain.hostname.equals(this.hostname); [all...] |
ApplicationConfig.java | 29 * configuration to be used for communicating with a specific hostname.</p> 59 * Get the {@link NetworkSecurityConfig} corresponding to the provided hostname. 64 * {@code hostname}. Subsequent calls with the same hostname will always return the same 68 * the network security configuration for connections to {@code hostname}. 70 public NetworkSecurityConfig getConfigForHostname(String hostname) { 72 if (hostname == null || hostname.isEmpty() || mConfigs == null) { 75 if (hostname.charAt(0) == '.') { 76 throw new IllegalArgumentException("hostname must not begin with a .") [all...] |
ConfigNetworkSecurityPolicy.java | 37 public boolean isCleartextTrafficPermitted(String hostname) { 38 return mConfig.isCleartextTrafficPermitted(hostname);
|
/external/conscrypt/src/stub/java/javax/net/ssl/ |
SNIHostName.java | 23 public SNIHostName(String hostname) {
|
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/external/curl/lib/ |
hostcheck.h | 29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
hostcheck.c | 41 * Match a hostname against a wildcard pattern. 60 static int hostmatch(char *hostname, char *pattern) 70 /* normalize pattern and hostname by stripping off trailing dots */ 71 size_t len = strlen(hostname); 72 if(hostname[len-1]=='.') 73 hostname[len-1]=0; 80 return Curl_raw_equal(pattern, hostname) ? 83 /* detect IP address as hostname and fail the match if so */ 84 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0) 87 else if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0 [all...] |
hostip4.c | 92 const char *hostname, 104 ai = Curl_ipv4_resolve_r(hostname, port); 106 infof(conn->data, "Curl_ipv4_resolve_r failed for %s\n", hostname); 122 Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, 133 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) 135 return Curl_ip2addr(AF_INET, &in, hostname, port); 151 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai); 173 h = gethostbyname_r(hostname, 192 (void)gethostbyname_r(hostname, 259 res = gethostbyname_r(hostname, [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
HostnameVerifier.java | 29 * This class is the base interface for hostname verification. 31 * During handshaking, if the URL's hostname and 32 * the server's identification hostname mismatch, the 39 * These callbacks are used when the default rules for URL hostname 51 * @param hostname the host name 55 public boolean verify(String hostname, SSLSession session);
|
SNIHostName.java | 45 * "HostName" contains the fully qualified DNS hostname of the server, as 46 * understood by the client. The encoded server name value of a hostname is 63 private final String hostname; field in class:SNIHostName 66 * Creates an {@code SNIHostName} using the specified hostname. 69 * the encoded server name value of a hostname is 71 * {@code hostname} can be a user-friendly Internationalized Domain Name 77 * translate the {@code hostname} into ASCII Compatible Encoding (ACE), as: 79 * IDN.toASCII(hostname, IDN.USE_STD3_ASCII_RULES); 82 * The {@code hostname} argument is illegal if it 369 SNIHostName hostname; local [all...] |
/external/nist-sip/java/gov/nist/core/ |
Host.java | 43 * Stores hostname. 68 protected static final int HOSTNAME = 1; 72 /** hostName field 74 protected String hostname; field in class:Host 86 addressType = HOSTNAME; 94 public Host(String hostName) throws IllegalArgumentException { 95 if (hostName == null) 101 setHost(hostName, IPV4ADDRESS); 124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { 125 buffer.append('[').append(hostname).append(']') [all...] |
/external/autotest/server/hosts/ |
guest.py | 50 hostname = controlling_hypervisor.new_guest() 51 super(Guest, self)._initialize(hostname, *args, **dargs) 60 self.controlling_hypervisor.delete_guest(self.hostname) 70 return self.controlling_hypervisor.reset_guest(self.hostname)
|
kvm_guest.py | 43 hostname= controlling_hypervisor.new_guest(qemu_options) 45 super(KVMGuest, self)._initialize(hostname, *args, **dargs)
|
/external/autotest/server/site_tests/platform_GCC/boards/ |
chromeos-machine.exp | 3 # Set hostname and username. # Make sure SSH keys are set up prior to run. 4 set_board_info hostname $env(DEJAGNU_HOSTNAME)
|
/external/dhcpcd-6.8.2/ |
dhcpcd.conf | 13 # Inform the DHCP server of our hostname for DDNS. 14 hostname 47 # A hook script is provided to lookup the hostname if not set by the DHCP 49 #nohook lookup-hostname
|
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/ |
RecordingHostnameVerifier.java | 26 public boolean verify(String hostname, SSLSession session) { 27 calls.add("verify " + hostname);
|
/libcore/luni/src/main/java/java/net/ |
AddressCache.java | 47 AddressCacheKey(String hostname, int netId) { 48 mHostname = hostname; 98 * Returns the cached InetAddress[] for 'hostname' on network 'netId'. Returns null 99 * if nothing is known about 'hostname'. Returns a String suitable for use as an 100 * UnknownHostException detail message if 'hostname' is known not to exist. 102 public Object get(String hostname, int netId) { 103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId)); 114 * Associates the given 'addresses' with 'hostname'. The association will expire after a 117 public void put(String hostname, int netId, InetAddress[] addresses) { 118 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses)) [all...] |
/libcore/luni/src/main/java/libcore/net/ |
NetworkSecurityPolicy.java | 67 * without TLS or STARTTLS) is permitted for communicating with {@code hostname} for this 72 public abstract boolean isCleartextTrafficPermitted(String hostname); 81 public boolean isCleartextTrafficPermitted(String hostname) {
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 61 protected final String hostname; field in class:HttpHost 78 * @param hostname the hostname (IP or DNS name) 85 public HttpHost(final String hostname, int port, final String scheme) { 87 if (hostname == null) { 90 this.hostname = hostname; 91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 103 * @param hostname the hostname (IP or DNS name [all...] |
/external/autotest/site_utils/ |
add_detected_host_labels.py | 40 def add_missing_labels(afe, hostname): 46 @param hostname: The host to query and update. 53 host = hosts.create_host(hostname) 56 logging.warning('Unable to establish ssh connection to hostname ' 57 '%s. Skipping.', hostname) 60 logging.warning('Unable to query labels on hostname %s. Skipping.', 61 hostname) 67 afe_host = afe.get_hosts(hostname=hostname)[0] 84 afe_label.remove_hosts(hosts=[hostname]) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
AFSDB.py | 23 @ivar hostname: the hostname name 24 @type hostname: dns.name.Name object""" 27 # "preference" attribute, and "hostname" an alias for the "exchange" 48 def set_hostname(self, hostname): 49 self.exchange = hostname 51 hostname = property(get_hostname, set_hostname) variable in class:AFSDB
|
/libcore/ojluni/src/main/java/java/net/ |
InetSocketAddress.java | 38 * It can also be a pair (hostname + port number), in which case an attempt 39 * will be made to resolve the hostname. If resolution fails then the address 58 // The hostname of the Socket Address 59 private String hostname; field in class:InetSocketAddress.InetSocketAddressHolder 65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { 66 this.hostname = hostname; 80 if (hostname != null) 81 return hostname; 88 if (hostname != null [all...] |
/frameworks/base/core/java/android/security/ |
FrameworkNetworkSecurityPolicy.java | 37 public boolean isCleartextTrafficPermitted(String hostname) {
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
HostNameResolver.java | 45 InetAddress resolve (String hostname) throws IOException;
|