/external/dhcpcd/ |
H A D | if-options.h | 104 char hostname[HOSTNAME_MAX_LEN + 1]; /* We don't store the length */ member in struct:if_options
|
/external/fio/ |
H A D | client.h | 32 char *hostname; member in struct:fio_client
|
H A D | gfio.h | 13 GtkWidget *hostname; member in struct:probe_widget
|
H A D | server.h | 94 uint8_t hostname[64]; member in struct:cmd_probe_reply_pdu
|
/external/mdnsresponder/mDNSPosix/ |
H A D | Identify.c | 69 static char hostname[MAX_ESCAPED_DOMAIN_NAME], hardware[256], software[256]; variable 115 ConvertDomainNameToCString(&answer->rdata->u.name, hostname); 304 hostname[0] = hardware[0] = software[0] = 0; 339 if (strlen(arg) >= sizeof(hostname)) { 340 fprintf(stderr, "hostname must be < %d characters\n", (int)sizeof(hostname)); 343 strcpy(hostname, arg); 347 if (hostname[0]) DoQuery(&q, hostname, kDNSQType_ANY, &target, InfoCallback); 355 else if (NumAnswers) printf("%s has no HINFO record\n", hostname); [all...] |
/external/openssl/apps/ |
H A D | s_socket.c | 287 int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context) argument
|
/external/qemu/slirp-android/ |
H A D | misc.c | 52 char* hostname = host_name(); local 57 if (sock_address_init_resolve( &hostaddr, hostname, 0, 0 ) < 0)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
H A D | FakeHttpLayer.java | 263 private String method, hostname, path; field in class:FakeHttpLayer.RequestMatcherBuilder 285 public RequestMatcherBuilder host(String hostname) { argument 286 this.hostname = hostname; 324 if (hostname != null && !hostname.equals(uri.getHost())) { 365 return hostname;
|
/external/chromium_org/net/base/ |
H A D | net_util_unittest.cc | 418 std::string hostname = GetHostName(); local 419 EXPECT_FALSE(hostname.empty()); 918 const char* hostname; member in struct:net::NonUniqueNameTestData 923 ASSERT_TRUE(data.hostname); 924 *os << " hostname: " << testing::PrintToString(data.hostname) 979 bool IsUnique(const std::string& hostname) { argument 980 return !IsHostnameNonUnique(hostname); 990 EXPECT_EQ(test_data.is_unique, IsUnique(test_data.hostname));
|
/external/chromium_org/net/cert/ |
H A D | cert_verify_proc_nss.cc | 769 const std::string& hostname, 784 if (!cert->VerifyNameMatch(hostname, 886 LOG(ERROR) << "CERT_PKIXVerifyCert for " << hostname 930 const std::string& hostname, 936 hostname, 767 VerifyInternalImpl( X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, const CertificateList& additional_trust_anchors, CERTChainVerifyCallback* chain_verify_callback, CertVerifyResult* verify_result) argument 928 VerifyInternal( X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, const CertificateList& additional_trust_anchors, CertVerifyResult* verify_result) argument
|
H A D | cert_verify_proc_win.cc | 564 const std::string& hostname, 744 std::wstring wstr_hostname = base::ASCIIToWide(hostname); 784 // Perform hostname verification independent of 786 if (!cert->VerifyNameMatch(hostname, 562 VerifyInternal( X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, const CertificateList& additional_trust_anchors, CertVerifyResult* verify_result) argument
|
H A D | multi_threaded_cert_verifier.cc | 219 const std::string& hostname, 226 hostname_(hostname), 457 const std::string& hostname, 466 if (callback.is_null() || !verify_result || hostname.empty()) { 479 hostname, flags, additional_trust_anchors); 503 hostname, 545 : hostname(hostname_arg), 559 // |hostname| under assumption that integer comparisons are faster than 563 if (hostname != other.hostname) 217 CertVerifierWorker(CertVerifyProc* verify_proc, X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, const CertificateList& additional_trust_anchors, MultiThreadedCertVerifier* cert_verifier) argument 456 Verify(X509Certificate* cert, const std::string& hostname, int flags, CRLSet* crl_set, CertVerifyResult* verify_result, const CompletionCallback& callback, RequestHandle* out_req, const BoundNetLog& net_log) argument 573 HandleResult( X509Certificate* cert, const std::string& hostname, int flags, const CertificateList& additional_trust_anchors, int error, const CertVerifyResult& verify_result) argument [all...] |
H A D | x509_certificate.cc | 508 const std::string& hostname, 513 DCHECK(!hostname.empty()); 521 const std::string host_or_ip = hostname.find(':') != std::string::npos ? 522 "[" + hostname + "]" : hostname; 538 // Fully handle all cases where |hostname| contains an IP address. 621 // The hostname must be at least as long as the cert name it is matching, 657 bool X509Certificate::VerifyNameMatch(const std::string& hostname, argument 661 return VerifyHostname(hostname, subject_.common_name, dns_names, ip_addrs, 507 VerifyHostname( const std::string& hostname, const std::string& cert_common_name, const std::vector<std::string>& cert_san_dns_names, const std::vector<std::string>& cert_san_ip_addrs, bool* common_name_fallback_used) argument
|
/external/chromium_org/net/dns/ |
H A D | dns_transaction.cc | 55 bool IsIPLiteral(const std::string& hostname) { argument 57 return ParseIPLiteralToNumber(hostname, &ip); 60 base::Value* NetLogStartCallback(const std::string* hostname, argument 64 dict->SetString("hostname", *hostname); 551 const std::string& hostname, 556 hostname_(hostname), 972 const std::string& hostname, 977 session_.get(), hostname, qtype, callback, net_log)); 550 DnsTransactionImpl(DnsSession* session, const std::string& hostname, uint16 qtype, const DnsTransactionFactory::CallbackType& callback, const BoundNetLog& net_log) argument
|
H A D | dns_transaction_unittest.cc | 226 TransactionHelper(const char* hostname, argument 229 : hostname_(hostname),
|
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
H A D | TestWebServer.java | 322 // Install hostname verifiers and trust managers that don't do 370 public boolean verify(String hostname, SSLSession session) { argument
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | openssladapter.cc | 276 OpenSSLAdapter::StartSSL(const char* hostname, bool restartable) { argument 280 ssl_host_name_ = hostname;
|
/external/chromium_org/url/third_party/mozilla/ |
H A D | url_parse.cc | 95 Component* hostname, 99 hostname->reset(); 126 // Found a port number: <hostname>:<port> 127 *hostname = MakeRange(serverinfo.begin, colon); 128 if (hostname->len == 0) 129 hostname->reset(); 132 // No port: <hostname> 133 *hostname = serverinfo; 147 Component* hostname, 153 hostname 93 ParseServerInfo(const CHAR* spec, const Component& serverinfo, Component* hostname, Component* port_num) argument 143 DoParseAuthority(const CHAR* spec, const Component& auth, Component* username, Component* password, Component* hostname, Component* port_num) argument 850 ParseAuthority(const char* spec, const Component& auth, Component* username, Component* password, Component* hostname, Component* port_num) argument 859 ParseAuthority(const base::char16* spec, const Component& auth, Component* username, Component* password, Component* hostname, Component* port_num) argument [all...] |
/external/dnsmasq/src/ |
H A D | dhcp.c | 535 a particular hwaddr/clientid/hostname in our configuration. 666 int hw_type, char *hostname) 695 if (hostname && context) 698 hostname_isequal(config->hostname, hostname) && 747 free(config->hostname); 809 if ((config->flags & CONFIG_NAME) && hostname_isequal(config->hostname, host)) 848 config->hostname = host; 906 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname))) 933 (crec = cache_find_by_name(NULL, config->hostname, 662 find_config(struct dhcp_config *configs, struct dhcp_context *context, unsigned char *clid, int clid_len, unsigned char *hwaddr, int hw_len, int hw_type, char *hostname) argument 965 char *hostname = NULL; local 987 strip_hostname(char *hostname) argument [all...] |
/external/iputils/ |
H A D | 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);
|
H A D | traceroute6.c | 312 char *hostname; variable 451 hostname = *argv; 461 hostname = (char *)hp->h_name; 585 Fprintf(stderr, "traceroute to %s (%s)", hostname, 750 Printf("traceroute: wrote %s %d chars, ret=%d\n", hostname, 908 const char *hostname; local 912 hostname = inet_ntop(AF_INET6, &from->sin6_addr, pa, sizeof(pa)); 922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa);
|
/external/lldb/source/Commands/ |
H A D | CommandObjectPlatform.cpp | 320 std::string hostname; local 322 hostname.assign (hostname_cstr); 328 if (hostname.empty()) 331 ostrm.Printf ("Disconnected from \"%s\"\n", hostname.c_str());
|
/external/qemu/telephony/ |
H A D | sysdeps_posix.c | 609 sys_channel_create_tcp_client( const char* hostname, int port ) argument 616 hp = gethostbyname(hostname); 618 fprintf(stderr, "unknown host: %s\n", hostname);
|
/external/chromium-libpac/src/ |
H A D | proxy_resolver_v8.cc | 211 // Extracts an hostname argument from |args|. On success returns true 212 // and fills |*hostname| with the result. 213 bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args, std::string* hostname) { argument 220 // If the hostname is already in ASCII, simply return it as is. 222 *hostname = UTF16ToASCII(hostname_utf16); 618 std::string hostname; local 619 if (!GetHostnameArgument(args, &hostname)) { 628 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 645 std::string hostname; local 646 if (!GetHostnameArgument(args, &hostname)) { [all...] |
/external/chromium_org/chrome/browser/ |
H A D | process_singleton_posix.cc | 22 // The destination is a string containing the hostname and process id of 27 // If writing to the socket fails, the hostname in the lock is checked to see if 29 // etc.) If the hostname differs an error is displayed and the second process 284 // Extract the hostname and pid from the lock symlink. 287 std::string* hostname, 298 *hostname = ""; 303 *hostname = real_path.substr(0, pos); 314 const std::string& hostname, 319 base::ASCIIToUTF16(hostname)); 787 std::string hostname; local 286 ParseLockPath(const base::FilePath& path, std::string* hostname, int* pid) argument 313 DisplayProfileInUseError(const base::FilePath& lock_path, const std::string& hostname, int pid) argument 1050 std::string hostname; local [all...] |