Searched defs:hostname (Results 1 - 25 of 263) sorted by relevance

1234567891011

/external/toybox/toys/lsb/
H A Dhostname.c0 /* 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, "bF:", TOYFLAG_BIN))
10 bool "hostname"
13 usage: hostname [-b] [-F FILENAME] [newname]
15 Get/Set the current hostname
17 -b Set hostname to 'localhost' if otherwise unset
18 -F Set hostname to contents of FILENAME
30 char *hostname local
[all...]
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/
H A DSNIHostName.java23 public SNIHostName(String hostname) { argument
/external/conscrypt/platform/src/main/java/org/conscrypt/
H A DCertPinManager.java31 * Given a {@code hostname} and a {@code chain} this verifies that the
33 * for {@code hostname}.
35 void checkChainPinning(String hostname, List<X509Certificate> chain) argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DDns.java37 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException {
38 if (hostname == null) throw new UnknownHostException("hostname == null");
39 return Arrays.asList(InetAddress.getAllByName(hostname));
44 * Returns the IP addresses of {@code hostname}, in the order they will be attempted by OkHttp.
49 List<InetAddress> lookup(String hostname) throws UnknownHostException; argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DDoubleInetAddressDns.java29 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException { argument
30 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
H A DSingleInetAddressDns.java30 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException { argument
31 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
/external/syslinux/com32/lib/syslinux/
H A Dpxe_dns.c31 * Resolve a hostname via DNS
44 uint32_t pxe_dns(const char *hostname) argument
54 if (sscanf(hostname, "%hhu.%hhu.%hhu.%hhu",
58 lm_hostname = lstrdup(hostname);
/external/ImageMagick/MagickCore/
H A Ddistribute-cache-private.h37 hostname[MagickPathExtent]; member in struct:_DistributeCacheInfo
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DAddressUtils.java36 * Returns true when the supplied hostname is valid for SNI purposes.
49 * Returns true if the supplied hostname is an literal IP address.
51 static boolean isLiteralIpAddress(String hostname) { argument
57 return ipPattern.matcher(hostname).matches();
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
H A DCTPolicy.java24 boolean doesResultConformToPolicy(CTVerificationResult result, String hostname, argument
H A DCTPolicyImpl.java38 public boolean doesResultConformToPolicy(CTVerificationResult result, String hostname, argument
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/
H A DRecordingHostnameVerifier.java26 public boolean verify(String hostname, SSLSession session) { argument
27 calls.add("verify " + hostname);
/external/syslinux/com32/modules/
H A Dhost.c9 static inline uint32_t dns_resolve(const char *hostname) argument
11 return pxe_dns(hostname);
16 fprintf(stderr, "Usage: %s hostname [, hostname_1, hostname_2, ...]\n", s);
/external/conscrypt/libcore-stub/src/main/java/libcore/net/
H A DNetworkSecurityPolicy.java67 * without TLS or STARTTLS) is permitted for communicating with {@code hostname} for this
72 public abstract boolean isCleartextTrafficPermitted(String hostname); argument
76 * the server and verified by the client in TLS connections to {@code hostname}.
80 public abstract boolean isCertificateTransparencyVerificationRequired(String hostname); argument
89 public boolean isCleartextTrafficPermitted(String hostname) { argument
94 public boolean isCertificateTransparencyVerificationRequired(String hostname) { argument
/external/conscrypt/platform/src/test/java/org/conscrypt/
H A DCertPinManagerTest.java47 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) argument
109 tm.checkServerTrusted(chain, "RSA", hostname);
/external/curl/lib/
H A Dhostasyn.c86 conn->async.hostname,
146 const char *hostname,
150 return Curl_resolver_getaddrinfo(conn, hostname, port, waitp);
145 Curl_getaddrinfo(struct connectdata *conn, const char *hostname, int port, int *waitp) argument
H A Dhostip4.c92 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, argument
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,
91 Curl_getaddrinfo(struct connectdata *conn, const char *hostname, int port, int *waitp) argument
[all...]
/external/javassist/src/main/javassist/
H A DURLClassPath.java29 protected String hostname; field in class:URLClassPath
61 hostname = host;
68 return hostname + ":" + port + directory;
90 return fetchClass0(hostname, port, jarname);
/external/libcups/cups/
H A Dtestcreds.c33 hostname[HTTP_MAX_URI], /* Hostname from URI */ local
52 puts("Usage: ./testcreds hostname");
53 puts(" ./testcreds https://hostname[:port]");
63 if (httpSeparateURI(HTTP_URI_CODING_MOST, argv[1], scheme, sizeof(scheme), username, sizeof(username), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK)
69 if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL)) == NULL)
71 printf("ERROR: Unable to connect to \"%s\" on port %d: %s\n", hostname, port, cupsLastErrorString());
78 trust = httpCredentialsGetTrust(hcreds, hostname);
88 printf(" IsValidName: %d\n", httpCredentialsAreValidForName(hcreds, hostname));
104 strlcpy(hostname, arg
[all...]
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
H A Drpc_authunix_create.c57 char hostname[256]; local
75 rslt = gethostname(hostname, 256);
81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids);
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
H A Dtirpc_rpc_call.c55 char hostname[256] = { 0 }; local
60 strcpy(hostname, argc[1]);
63 fprintf(stderr, "Server : %s\n", hostname);
67 rslt = rpc_call(hostname, progNum, VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
H A Dtirpc_rpc_call_stress.c56 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
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DFakeDns.java38 /** Sets the service to throw when a hostname is requested. */
48 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException { argument
49 requestedHosts.add(hostname);
/external/webrtc/webrtc/base/
H A Dsocketaddress.h34 // 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...]
/external/autotest/cli/
H A Datest_migrate_host11 hostname = sys.argv[3] variable
12 print 'Migrating %s ...' % hostname
14 old_host = old.get_hosts(hostname=hostname)[0]
17 print "Usage: atest_migrate_host <old_server> <new_server> <hostname>"
24 new_host = new.create_host(hostname=hostname, locked=True)

Completed in 8709 milliseconds

1234567891011