/libcore/ojluni/src/main/native/ |
net_util_md.h | 104 const char* hostname,
|
/external/mdnsresponder/mDNSPosix/ |
nss_mdns.c | 496 char hostname [k_hostname_maxlen + 1]; member in struct:buf_header 832 Lookup a fully qualified hostname using the default record type 837 Fully qualified hostname. If not fully qualified the code will 1216 // Data should be a hostname 1418 Add fully qualified hostname to result. 1424 Fully qualified hostname 1427 Pointer to start of hostname buffer, 1428 or NULL on error (usually hostname too long) 1438 "mdns: Hostname too long '%.*s': len %d, max %d", 1448 strcpy (result->header->hostname, fullname) 1476 char * hostname = result->hostent->h_name; local [all...] |
NetMonitor.c | 177 domainname hostname; member in struct:__anon18673 231 entry->hostname.c[0] = 0; 266 if (!entry->hostname.c[0]) 272 AssignDomainName(&entry->hostname, pktrr->name); 279 AssignDomainName(&entry->hostname, &pktrr->rdata->u.name); 290 AssignDomainName(&entry->hostname, pktrr->name); 335 if (!entry->hostname.c[0]) 346 SendUnicastQuery(m, entry, &entry->hostname, kDNSType_HINFO, InterfaceID); 347 //mprintf("%##s HINFO %d\n", entry->hostname.c, entry->NumQueries); 375 if (e->hostname.c[0] || e->HIHardware.c[0] || e->HISoftware.c[0] [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
DnsTest.java | 223 String hostname = addr.getHostName(); local 230 String hostname = addr.getHostName(); local
|
/external/autotest/client/common_lib/cros/tendo/ |
privet_helper.py | 27 def __init__(self, host=None, hostname='localhost', 32 @param hostname: string hostname of host to issue HTTP requests against. 42 self._hostname = hostname
|
/external/autotest/server/cros/network/ |
connection_worker.py | 51 work_client_host = hosts.create_host(work_client_machine.hostname) 68 work_client_host.hostname)
|
wifi_client.py | 117 def _is_conductive(hostname): 118 if utils.host_could_be_in_afe(hostname): 119 conductive = site_utils.get_label_from_afe(hostname.split('.')[0], 339 self._client_hostname = client_host.hostname 348 self.host.hostname) 352 '%s: %r', self.host.hostname, devs) 364 self.host.hostname) [all...] |
/external/autotest/server/hosts/ |
adb_host.py | 138 if not (host.hostname == 'localhost' or 153 def _initialize(self, hostname='localhost', serials=None, 158 This will create an ADB Host. Hostname should always refer to the 164 @param hostname: Hostname of the machine running ADB. 171 @param device_hostname: Hostname or IP of the android device we want to 177 super(ADBHost, self)._initialize(hostname=hostname, 194 else teststation_host.create_teststationhost(hostname=hostname)) [all...] |
/external/autotest/server/ |
site_autotest.py | 47 hosts = afe.get_hosts(hostname=self.host.hostname)
|
/external/autotest/site_utils/ |
brillo_test_launcher.py | 86 (moblab.hostname, moblab_host.AUTOTEST_INSTALL_DIR)) 95 @param adb_hostname: Hostname of the ADB Host. 102 if all([host.hostname != adb_hostname for host in moblab.afe.get_hosts()]): 111 @param host: Hostname of the DUT. 147 @param host: Hostname of the DUT. 162 @param host: Hostname of the DUT.
|
diagnosis_utils.py | 175 host.hostname, host.status, host.locked, host.labels, 222 unusable_hosts.append(host.hostname)
|
/external/chromium-libpac/src/ |
proxy_resolver_v8.cc | 208 // Extracts an hostname argument from |args|. On success returns true 209 // and fills |*hostname| with the result. 210 bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args, std::string* hostname) { 217 // If the hostname is already in ASCII, simply return it as is. 219 *hostname = UTF16ToASCII(hostname_utf16); 626 std::string hostname; local 627 if (!GetHostnameArgument(args, &hostname)) { 636 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 653 std::string hostname; local 654 if (!GetHostnameArgument(args, &hostname)) { [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
route53 | 45 def create(conn, hostname, caller_reference=None, comment=''): 47 response = conn.create_hosted_zone(hostname, caller_reference, comment)
|
/external/conscrypt/src/openjdk/java/org/conscrypt/ |
Platform.java | 206 * Returns true if the supplied hostname is an literal IP address. 208 public static boolean isLiteralIpAddress(String hostname) { 210 return AddressUtils.isLiteralIpAddress(hostname);
|
/external/skia/experimental/Networking/ |
SkSockets.cpp | 312 SkTCPClient::SkTCPClient(const char* hostname, int port) { 316 hostent* server = gethostbyname(hostname);
|
/external/tcpdump/ |
print-pptp.c | 101 u_char hostname[64]; member in struct:pptp_msg_sccrq 113 u_char hostname[64]; member in struct:pptp_msg_sccrp 245 2 u_char hostname[64]; 383 const u_char *hostname) 385 ND_PRINT((ndo, " HOSTNAME(%.64s)", hostname)); 534 ND_TCHECK(ptr->hostname); 535 pptp_hostname_print(ndo, &ptr->hostname[0]); 565 ND_TCHECK(ptr->hostname); 566 pptp_hostname_print(ndo, &ptr->hostname[0]) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 96 assertNotNull("Default hostname verifyer is null", verifyer); 107 assertNotNull("Hostname verifyer is null", verifyer); 108 assertEquals("Incorrect value of hostname verirfyer", 314 public boolean verify(String hostname, SSLSession session) { 315 if (hostname == session.getPeerHost()) {
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
MailTransport.java | 206 // After the socket connects to an SSL server, confirm that the hostname is as 228 * Verify the hostname of the certificate used by the other end of a 229 * connected socket. It is harmless to call this method redundantly if the hostname has already 232 * <p>Wildcard certificates are allowed to verify any matching hostname, 237 * @param hostname The expected hostname of the remote server 241 private void verifyHostname(Socket socket, String hostname) throws IOException { 256 if (!HOSTNAME_VERIFIER.verify(hostname, session)) { 258 throw new SSLPeerUnverifiedException("Certificate hostname not useable for server: "
|
/system/core/adb/ |
adb_client.cpp | 67 void adb_set_tcp_name(const char* hostname) 69 __adb_server_name = hostname;
|
/external/autotest/scheduler/ |
drone_manager_unittest.py | 23 self.hostname = name 420 self.manager._drones[mock_drone.hostname] = mock_drone 450 self.manager._drones[mock_drone.hostname] = mock_drone 487 pidfile_contents.process.hostname == 488 mock_drone.hostname and
|
rdb_integration_tests.py | 157 h1 = models.Host.objects.get(hostname='h1') 160 h2 = models.Host.objects.get(hostname='h2') 182 host = models.Host.objects.get(hostname='h1') 209 host = models.Host.objects.get(hostname='h1') 268 assignment[job.id] = host.hostname
|
/external/iputils/ |
clockdiff.c | 555 char hostname[MAX_HOSTNAMELEN]; local 601 (void)gethostname(hostname,sizeof(hostname)); 602 hp = gethostbyname(hostname); 604 fprintf(stderr, "clockdiff: %s: my host not found\n", hostname);
|
/external/netperf/src/ |
netserver.c | 420 create_listens(char hostname[], char port[], int af) { 434 hostname, 448 error = getaddrinfo((char *)hostname, 471 hostname, 482 dump_addrinfo(stderr, local_res, hostname, port, af); [all...] |
/external/blktrace/ |
blktrace.c | 205 char *hostname; member in struct:cl_host 320 static char hostname[MAXHOSTNAMELEN]; variable 949 if (inet_aton(hostname, &addr->sin_addr) != 1) { 952 hent = gethostbyname(hostname); 960 hostname); 966 hostname); 972 strcpy(hostname, hent->h_name); 994 hostname); 1479 len += sprintf(dst + len, "%s-", nc->ch->hostname); [all...] |
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/ |
websocket.py | 136 (hostname, port, resource path and the flag of secure mode) 146 if parsed.hostname: 147 hostname = parsed.hostname 149 raise ValueError("hostname is invalid") 173 return (hostname, port, resource, is_secure) 442 hostname, port, resource, is_secure = _parse_url(url) 444 self.sock.connect((hostname, port)) 455 self._handshake(hostname, port, resource, **options)
|