/external/chromium/googleurl/src/ |
H A D | url_canon_ip.cc | 59 const url_parse::Component& host, 61 if (!host.is_nonempty()) 65 int cur_component_begin = host.begin; // Start of the current component. 66 int end = host.end(); 67 for (int i = host.begin; /* nothing */; i++) { 207 const url_parse::Component& host, 212 if (!FindIPv4Components(spec, host, components)) 264 const url_parse::Component& host, 269 spec, host, address, &host_info->num_ipv4_components); 349 const url_parse::Component& host, 58 DoFindIPv4Components(const CHAR* spec, const url_parse::Component& host, url_parse::Component components[4]) argument 206 DoIPv4AddressToNumber(const CHAR* spec, const url_parse::Component& host, unsigned char address[4], int* num_ipv4_components) argument 263 DoCanonicalizeIPv4Address(const CHAR* spec, const url_parse::Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 348 DoParseIPv6(const CHAR* spec, const url_parse::Component& host, IPv6Parsed* parsed) argument 494 DoIPv6AddressToNumber(const CHAR* spec, const url_parse::Component& host, unsigned char address[16]) argument 603 DoCanonicalizeIPv6Address(const CHAR* spec, const url_parse::Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 673 FindIPv4Components(const char* spec, const url_parse::Component& host, url_parse::Component components[4]) argument 679 FindIPv4Components(const char16* spec, const url_parse::Component& host, url_parse::Component components[4]) argument 685 CanonicalizeIPAddress(const char* spec, const url_parse::Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 697 CanonicalizeIPAddress(const char16* spec, const url_parse::Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 709 IPv4AddressToNumber(const char* spec, const url_parse::Component& host, unsigned char address[4], int* num_ipv4_components) argument 716 IPv4AddressToNumber(const char16* spec, const url_parse::Component& host, unsigned char address[4], int* num_ipv4_components) argument 724 IPv6AddressToNumber(const char* spec, const url_parse::Component& host, unsigned char address[16]) argument 730 IPv6AddressToNumber(const char16* spec, const url_parse::Component& host, unsigned char address[16]) argument [all...] |
H A D | url_parse_unittest.cc | 80 const char* host; member in struct:__anon2764::URLParseCase 139 "http://user:pass@host:99/foo?bar#baz", 143 "http://user:pass@host:99/foo?bar#", 144 "http://user:pass@host:99/foo?bar", 145 "http://user:pass@host:99/foo?", 146 "http://user:pass@host:99/foo", 147 "http://user:pass@host:99/", 148 "http://user:pass@host:99", 149 "http://user:pass@host:", 150 "http://user:pass@host", [all...] |
/external/chromium/net/base/ |
H A D | cookie_monster.cc | 161 // Returns the effective TLD+1 for a given host. This only makes sense for http 162 // and https schemes. For other schemes, the host will be returned unchanged 165 const std::string& host) { 167 return RegistryControlledDomainService::GetDomainAndRegistry(host); 169 if (!CookieMonster::DomainIsHostOnly(host)) 170 return host.substr(1); 171 return host; 177 // -host cookie domain (ex: "google.com") 182 const std::string url_host(url.host()); 184 // If no domain was specified in the domain string, default to a host cooki 164 GetEffectiveDomain(const std::string& scheme, const std::string& host) argument [all...] |
/external/chromium/net/proxy/ |
H A D | proxy_bypass_rules.cc | 34 // Note it is necessary to lower-case the host, since GURL uses capital 36 return MatchPattern(StringToLowerASCII(url.host()), hostname_pattern_); 64 const std::string& host = url.host(); local 65 if (host == "127.0.0.1" || host == "[::1]") 67 return host.find('.') == std::string::npos; 302 std::string host; local 304 if (ParseHostAndPort(raw, &host, &port)) { 305 if (IsIPAddress(host)) { [all...] |
H A D | proxy_resolver_js_bindings.cc | 111 // Handler for "dnsResolve(host)". 112 virtual bool DnsResolve(const std::string& host, argument 118 bool ok = DnsResolveImpl(host, first_ip_address); 126 // Handler for "dnsResolveEx(host)". 127 virtual bool DnsResolveEx(const std::string& host, argument 133 bool ok = DnsResolveExImpl(host, ip_address_list); 174 bool DnsResolveImpl(const std::string& host, argument 182 HostResolver::RequestInfo info(HostPortPair(host, 80)); 199 bool DnsResolveExImpl(const std::string& host, argument 202 HostResolver::RequestInfo info(HostPortPair(host, 8 [all...] |
H A D | proxy_resolver_v8_unittest.cc | 45 virtual bool DnsResolve(const std::string& host, std::string* ip_address) { argument 46 dns_resolves.push_back(host); 51 virtual bool DnsResolveEx(const std::string& host, argument 53 dns_resolves_ex.push_back(host); 169 // arguments into a pseudo-host. The purpose of this test is to verify that 185 // Note that FindProxyForURL(url, host) does not expect |host| to contain
|
/external/chromium/net/url_request/ |
H A D | url_request_throttler_entry.cc | 180 const std::string& host, 194 HandleThrottlingHeader(throttling_header, host); 250 const std::string& host) { 254 manager_->AddToOptOutList(host); 179 UpdateWithResponse( const std::string& host, const URLRequestThrottlerHeaderInterface* response) argument 248 HandleThrottlingHeader( const std::string& header_value, const std::string& host) argument
|
/external/chromium/net/websockets/ |
H A D | websocket_handshake.cc | 129 // url_.host() is expected to be encoded in punnycode here. 130 std::string host = StringToLowerASCII(url_.host()); local 138 host += ":"; 139 host += base::IntToString(port); 142 return host;
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
H A D | httpportallocator.cc | 155 // Choose the next host to try. 156 std::string host = relay_hosts_[attempts_ % relay_hosts_.size()]; local 158 LOG(LS_INFO) << "HTTPPortAllocator: sending to relay host " << host; 163 SendSessionRequest(host, HttpPortAllocator::kHostPort); 166 void HttpPortAllocatorSession::SendSessionRequest(const std::string& host, argument 168 // Initiate an HTTP request to create a session through the chosen host. 182 request->set_host(host);
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppclientsettings.h | 44 void set_host(const std::string & host) { host_ = host; } argument 55 const std::string & host() const { return host_; } function in class:buzz::XmppUserSettings 88 void set_proxy_host(const std::string & host) { proxy_host_ = host; } argument
|
/external/chromium/webkit/glue/media/ |
H A D | simple_data_source.cc | 53 void SimpleDataSource::set_host(media::FilterHost* host) { argument 54 DataSource::set_host(host); 344 if (host()) { 345 host()->SetTotalBytes(size_); 346 host()->SetBufferedBytes(size_); 348 host()->SetLoaded(url_.SchemeIsFile() || url_.SchemeIs(kDataScheme));
|
/external/dbus/dbus/ |
H A D | dbus-server-socket.c | 373 * If host is NULL, it will default to localhost. 374 * If bind is NULL, it will default to the value for the host 382 * @param host the hostname to report for the listen address 391 _dbus_server_new_for_tcp_socket (const char *host, argument 422 if (host == NULL) 423 host = "localhost"; 429 bind = host; 442 _dbus_string_init_const (&host_str, host); 443 if (!_dbus_string_append (&address, use_nonce ? "nonce-tcp:host=" : "tcp:host 530 const char *host; local [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | isakmp_xauth.h | 135 vchar_t *host; member in struct:xauth_ldap_config
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
H A D | SelectorKernel.java | 67 public SelectorKernel( InetAddress host, int port ) argument 69 this( new InetSocketAddress(host, port) ); 111 throw new KernelException( "Error closing host connection:" + address, e );
|
/external/kernel-headers/original/linux/mmc/ |
H A D | mmc.h | 110 extern int __mmc_claim_host(struct mmc_host *host, struct mmc_card *card); 112 static inline void mmc_claim_host(struct mmc_host *host) argument 114 __mmc_claim_host(host, (struct mmc_card *)-1); 117 extern void mmc_release_host(struct mmc_host *host);
|
/external/libnfc-nci/src/nfa/hci/ |
H A D | nfa_hci_api.c | 201 ** to other host or to establish communication with other host. 285 ** Description This function will request the host controller to return the 286 ** list of hosts that are present in the host network. When 287 ** host controller responds with the host list (or if an error 307 /* Request HCI to get list of host in the hci network */ 326 ** specified host. When the dynamic pipe is created (or 349 NFA_TRACE_API4 ("NFA_HciCreatePipe (): hci_handle:0x%04x, source gate:0x%02X, destination host:0x%02X , destination gate:0x%02X", 389 p_msg->dest_host = dest_host; /* Host id of the destination host */ 879 NFA_HciAddStaticPipe(tNFA_HANDLE hci_handle, UINT8 host, UINT8 gate, UINT8 pipe) argument [all...] |
/external/mdnsresponder/mDNSPosix/ |
H A D | ProxyResponder.c | 49 domainlabel hostlabel; // Conforms to standard DNS letter-digit-hyphen host name rules 133 const domainname *host, mDNSu16 PortAsNumber, int argc, char **argv) 157 host, mDNSOpaque16fromIntVal(PortAsNumber), 263 fprintf(stderr, "%s is not valid host address\n", argv[1]); 290 fprintf(stderr, "ip Real IP address (or valid host name) of the host where the service actually resides\n"); 291 fprintf(stderr, "hostlabel First label of the dot-local host name to create for this host, e.g. \"foo\" for \"foo.local.\"\n"); 296 fprintf(stderr, "e.g. %s 169.254.12.34 thehost (just create a dot-local host name)\n", argv[0]); 131 RegisterService(mDNS *m, ServiceRecordSet *recordset, const char name[], const char type[], const char domain[], const domainname *host, mDNSu16 PortAsNumber, int argc, char **argv) argument
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | StringMsgParser.java | 438 * Parse a host:port and return a parsed structure. 441 * is a String containing the host:port to be parsed 455 * Parse a host name and return a parsed structure. 457 * @param host 458 * is a String containing the host name to be parsed 464 public Host parseHost(String host) throws ParseException { argument 465 Lexer lexer = new Lexer("charLexer", host); 466 return new HostNameParser(lexer).host();
|
/external/nist-sip/java/javax/sip/address/ |
H A D | SipURI.java | 17 void setHost(String host) throws ParseException; argument
|
/external/okhttp/src/main/java/libcore/net/http/ |
H A D | RequestHeaders.java | 56 private String host; field in class:RequestHeaders 109 host = value; 175 return host; 226 public void setHost(String host) { argument 227 if (this.host != null) { 230 headers.add("Host", host); 231 this.host = host;
|
/external/openssh/ |
H A D | addrmatch.c | 291 * Test whether host portion of address 'a', as determined by 'masklen' 293 * Returns 0 on if host portion of address is all-zeros, 351 addr_netmatch(const struct xaddr *host, const struct xaddr *net, u_int masklen) argument 355 if (host->af != net->af) 358 if (addr_netmask(host->af, masklen, &tmp_mask) == -1) 360 if (addr_and(&tmp_result, host, &tmp_mask) == -1)
|
H A D | audit-bsm.c | 128 aug_get_machine(char *host, u_int32_t *addr, u_int32_t *type) argument 135 if ((r = getaddrinfo(host, NULL, NULL, &ai)) != 0) { 136 error("BSM audit: getaddrinfo failed for %.100s: %.100s", host, 156 host, ai->ai_family); 276 audit_connection_from(const char *host, int port) argument 283 debug3("BSM audit: connection from %.100s port %d", host, port); 288 aug_get_machine((char *)host, &(tid->at_addr[0]), &(tid->at_type)); 295 tid->machine = inet_addr(host);
|
H A D | auth-options.c | 293 "host (host=%.200s, ip=%.200s).", 295 auth_debug_add("Your host '%.200s' is not " 305 char *host, *p; local 332 host = hpdelim(&p); 333 if (host == NULL || strlen(host) >= NI_MAXHOST) { 343 host = cleanhostname(host); 353 channel_add_permitted_opens(host, por [all...] |
H A D | auth.c | 367 check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host, argument 377 load_hostkeys(hostkeys, host, sysfile); 391 load_hostkeys(hostkeys, host, user_hostfile); 399 found->host); 402 found->host, found->file, found->line); 404 debug("%s: key for host %s not found", __func__, host);
|
H A D | canohost.c | 6 * Functions for returning the canonical host name of the remote site. 43 * Return the canonical name of the host at the other end of the socket. The 80 /* Map the IP address to a host name. */ 111 * address actually is an address of this host. This is 136 /* Address not found for the host name. */ 211 * Return the canonical name of the host in the other side of the current 212 * connection. The host name is cached, so it is efficient to call this 219 char *host; local 231 host = get_remote_hostname(packet_get_connection_in(), use_dns); 233 host 307 char *host, myname[NI_MAXHOST]; local [all...] |