HomeSort by relevance Sort by last modified time
    Searched defs:hostname (Results 26 - 50 of 401) sorted by null

12 3 4 5 6 7 8 91011>>

  /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
tirpc_rpc_call_dataint.c 42 //Program parameters : argc[1] : HostName or Host IP
63 char *hostname; local
68 hostname = argc[1];
73 rslt = rpc_call(hostname, progNum, VERSNUM, INTPROCNUM, (xdrproc_t) xdr_int, (char *)&intSnd, // xdr_in
84 rslt = rpc_call(hostname, progNum, VERSNUM, INTPROCNUM, (xdrproc_t) xdr_int, (char *)&intSnd, // xdr_in
95 rslt = rpc_call(hostname, progNum, VERSNUM, DBLPROCNUM, (xdrproc_t) xdr_double, (char *)&dblSnd, // xdr_in
106 rslt = rpc_call(hostname, progNum, VERSNUM, LNGPROCNUM, (xdrproc_t) xdr_long, (char *)&lngSnd, // xdr_in
119 rslt = rpc_call(hostname, progNum, VERSNUM, STRPROCNUM, (xdrproc_t) xdr_wrapstring, (char *)&strSnd, // xdr_in
tirpc_rpc_call_mt.c 44 char *hostname; variable
60 fprintf(stderr, "%s\n", hostname);
65 rslt = rpc_call(hostname, progNum + atoi(arg), VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
79 //Program parameters : argc[1] : HostName or Host IP
98 hostname = argc[1];
  /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...]
  /libcore/support/src/test/java/libcore/tlswire/handshake/
ServerNameHelloExtension.java 47 String hostname = new String(hostnameBytes, "US-ASCII"); local
48 hostnames.add(hostname);
  /system/core/adb/daemon/
mdns.cpp 67 std::string hostname = "adb-"; local
68 hostname += android::base::GetProperty("ro.serialno", "unidentified");
70 auto error = DNSServiceRegister(&mdns_ref, 0, 0, hostname.c_str(),
  /external/autotest/client/cros/
chrooted_avahi.py 106 def hostname(self): member in class:ChrootedAvahi
107 """@return string hostname claimed by avahi on |self.dns_domain|."""
153 # Wait for Avahi to come up, claim its DBus name, settle on a hostname.
  /external/c-ares/
ares_parse_ptr_reply.c 54 char *ptrname, *hostname, *rr_name, *rr_data; local
86 hostname = NULL;
114 /* Decode the RR data and set hostname to it. */
122 if (hostname)
123 free(hostname);
124 hostname = rr_data;
170 if (status == ARES_SUCCESS && !hostname)
188 hostent->h_name = hostname;
213 if (hostname)
214 free(hostname);
    [all...]
ares_parse_srv_reply.c 61 char *hostname = NULL, *rr_name = NULL; local
83 status = ares_expand_name (aptr, abuf, alen, &hostname, &len);
89 free (hostname);
162 if (hostname)
163 free (hostname);
ares_parse_txt_reply.c 63 char *hostname = NULL, *rr_name = NULL; local
85 status = ares_expand_name (aptr, abuf, alen, &hostname, &len);
91 free (hostname);
184 if (hostname)
185 free (hostname);
ares_parse_a_reply.c 64 char *hostname, *rr_name, *rr_data, **aliases; local
88 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len);
93 free(hostname);
105 free(hostname);
111 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;
237 hostent->h_name = hostname;
    [all...]
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...]
  /external/ltp/testcases/kernel/syscalls/sethostname/
sethostname02.c 47 * Save current hostname
59 * Restore old hostname.
64 * is given for name. So, to overcome this problem, hostname is
92 static char hostname[MAX_LENGTH]; variable
99 char *name; /* hostname */
103 "Length is -ve", EINVAL, "EINVAL", hostname, -1}, {
111 sizeof(hostname)}
188 " hostname to \"%s\"", hname);
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/
tirpc_interlevel_clnt_call_mt.c 46 char *hostname; variable
74 client = clnt_tp_create_timed(hostname, progNum,
96 //Program parameters : argc[1] : HostName or Host IP
113 hostname = argc[1];
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
tirpc_toplevel_clnt_call_mt.c 46 char *hostname; variable
67 clnt = clnt_create(hostname, progNum, VERSNUM, nettype);
89 //Program parameters : argc[1] : HostName or Host IP
106 hostname = argc[1];
  /external/toybox/toys/pending/
dumpleases.c 33 char hostname[20]; member in struct:lease
57 lease_struct.hostname[19] = '\0';
58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname );
  /frameworks/base/core/java/android/app/admin/
DnsEvent.java 31 * <p>It contains information about the originating app as well as the DNS hostname and resolved
36 /** The hostname that was looked up. */
37 private final String hostname; field in class:DnsEvent
49 public DnsEvent(String hostname, String[] ipAddresses, int ipAddressesCount,
52 this.hostname = hostname;
58 this.hostname = in.readString();
65 /** Returns the hostname that was looked up. */
67 return hostname;
98 return String.format("DnsEvent(%s, %s, %d, %d, %s)", hostname,
    [all...]
  /libcore/ojluni/src/main/java/javax/net/ssl/
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...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
ns_addr.c 67 char *hostname, *socketname, *cp; local
79 if ((hostname = strchr(buf, '#')) != NULL)
82 hostname = strchr(buf, '.');
84 ((hostname && cp < hostname) || (hostname == 0))) {
85 hostname = cp;
90 if (hostname)
91 *hostname++ = 0;
95 if (hostname == 0)
    [all...]
  /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/javassist/src/main/javassist/
URLClassPath.java 29 protected String hostname; field in class:URLClassPath
61 hostname = host;
68 return hostname + ":" + port + directory;
90 return fetchClass0(hostname, port, jarname);
  /external/libmicrohttpd/src/testcurl/https/
test_https_sni.c 41 * A hostname, server key and certificate.
46 const char *hostname; member in struct:Hosts
61 load_keys(const char *hostname,
72 host->hostname = hostname;
156 if (0 == strncmp (name, host->hostname, name_len))
  /external/ltp/testcases/kernel/io/disktest/
main.c 67 char hostname[HOSTNAME_SIZE]; /* global system hostname */ variable
562 memset(hostname, 0, HOSTNAME_SIZE);
563 gethostname(hostname, HOSTNAME_SIZE);
  /external/ltp/testcases/network/lib6/
getaddrinfo_01.c 68 char hostname[MAXHOSTNAMELEN + 1]; local
74 if (gethostname(hostname, sizeof(hostname)) < 0)
76 strncpy(shortname, hostname, MAXHOSTNAMELEN);
85 TEST(getaddrinfo(hostname, 0, &hints, &aires));
117 "lookup (\"%s\") returns %ld (\"%s\")", hostname,
136 } else if (strcasecmp(hostname, pai->ai_canonname)) {
138 "(\"%s\") doesn't match hostname (\"%s\")",
139 pai->ai_canonname, hostname);
162 TEST(getaddrinfo(hostname, service, &hints, &aires))
526 char hostname[MAXHOSTNAMELEN + 1]; local
    [all...]
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
tirpc_bottomlevel_clnt_call_mt.c 49 char *hostname; variable
88 &svcaddr, hostname)) {
115 //Program parameters : argc[1] : HostName or Host IP
132 hostname = argc[1];

Completed in 2301 milliseconds

12 3 4 5 6 7 8 91011>>