/external/chromium_org/url/ |
D | url_canon_host.cc | 294 CanonHostInfo* host_info) { in DoHost() argument 297 host_info->family = CanonHostInfo::NEUTRAL; in DoHost() 298 host_info->out_host = Component(); in DoHost() 320 host_info->family = CanonHostInfo::BROKEN; in DoHost() 328 &canon_ip, host_info); in DoHost() 333 if (host_info->IsIPAddress()) { in DoHost() 339 host_info->out_host = MakeRange(output_begin, output->length()); in DoHost() 348 CanonHostInfo host_info; in CanonicalizeHost() local 349 DoHost<char, unsigned char>(spec, host, output, &host_info); in CanonicalizeHost() 350 *out_host = host_info.out_host; in CanonicalizeHost() [all …]
|
D | url_canon_ip.cc | 230 CanonHostInfo* host_info) { in DoCanonicalizeIPv4Address() argument 231 host_info->family = IPv4AddressToNumber( in DoCanonicalizeIPv4Address() 232 spec, host, host_info->address, &host_info->num_ipv4_components); in DoCanonicalizeIPv4Address() 234 switch (host_info->family) { in DoCanonicalizeIPv4Address() 237 host_info->out_host.begin = output->length(); in DoCanonicalizeIPv4Address() 238 AppendIPv4Address(host_info->address, output); in DoCanonicalizeIPv4Address() 239 host_info->out_host.len = output->length() - host_info->out_host.begin; in DoCanonicalizeIPv4Address() 556 CanonHostInfo* host_info) { in DoCanonicalizeIPv6Address() argument 558 if (!IPv6AddressToNumber(spec, host, host_info->address)) { in DoCanonicalizeIPv6Address() 566 host_info->family = CanonHostInfo::BROKEN; in DoCanonicalizeIPv6Address() [all …]
|
D | url_canon_unittest.cc | 549 CanonHostInfo host_info; in TEST() local 552 &host_info); in TEST() 555 EXPECT_EQ(host_cases[i].expected_family, host_info.family); in TEST() 558 host_info.out_host.begin); in TEST() 559 EXPECT_EQ(host_cases[i].expected_component.len, host_info.out_host.len); in TEST() 561 BytesToHexString(host_info.address, host_info.AddressLength())); in TEST() 564 host_info.num_ipv4_components); in TEST() 576 CanonHostInfo host_info; in TEST() local 578 CanonicalizeHostVerbose(input16.c_str(), in_comp, &output, &host_info); in TEST() 581 EXPECT_EQ(host_cases[i].expected_family, host_info.family); in TEST() [all …]
|
D | url_canon.h | 376 CanonHostInfo* host_info); 380 CanonHostInfo* host_info); 395 CanonHostInfo* host_info); 399 CanonHostInfo* host_info);
|
D | gurl.cc | 437 url::CanonHostInfo host_info; in HostIsIPAddress() local 439 &host_info); in HostIsIPAddress() 440 return host_info.IsIPAddress(); in HostIsIPAddress()
|
/external/chromium_org/net/quic/crypto/ |
D | crypto_utils.cc | 54 url::CanonHostInfo host_info; in IsValidSNI() local 55 string canonicalized_host(CanonicalizeHost(sni.as_string(), &host_info)); in IsValidSNI() 56 return !host_info.IsIPAddress() && in IsValidSNI() 63 url::CanonHostInfo host_info; in NormalizeHostname() local 64 string host(CanonicalizeHost(hostname, &host_info)); in NormalizeHostname()
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
D | quota_internals_proxy.cc | 126 std::vector<PerHostStorageInfo> host_info; in DidDumpQuotaTable() local 127 host_info.reserve(entries.size()); in DidDumpQuotaTable() 133 host_info.push_back(info); in DidDumpQuotaTable() 136 ReportPerHostInfo(host_info); in DidDumpQuotaTable() 189 std::vector<PerHostStorageInfo> host_info; in RequestPerOriginInfo() local 200 host_info.push_back(info); in RequestPerOriginInfo() 205 ReportPerHostInfo(host_info); in RequestPerOriginInfo()
|
/external/chromium_org/net/base/registry_controlled_domains/ |
D | registry_controlled_domain.cc | 326 url::CanonHostInfo host_info; in GetDomainAndRegistry() local 327 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetDomainAndRegistry() 328 if (canon_host.empty() || host_info.IsIPAddress()) in GetDomainAndRegistry() 373 url::CanonHostInfo host_info; in GetRegistryLength() local 374 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetRegistryLength() 377 if (host_info.IsIPAddress()) in GetRegistryLength()
|
/external/chromium_org/net/base/ |
D | net_util.cc | 208 url::CanonHostInfo* host_info) { in CanonicalizeHost() argument 214 &canon_host_output, host_info); in CanonicalizeHost() 216 if (host_info->out_host.is_nonempty() && in CanonicalizeHost() 217 host_info->family != url::CanonHostInfo::BROKEN) { in CanonicalizeHost() 220 DCHECK_EQ(host_info->out_host.len, static_cast<int>(canon_host.length())); in CanonicalizeHost() 411 url::CanonHostInfo host_info; in IsHostnameNonUnique() local 412 std::string canonical_name = CanonicalizeHost(host_or_ip, &host_info); in IsHostnameNonUnique() 421 if (host_info.IsIPAddress()) { in IsHostnameNonUnique() 423 if (!ParseIPLiteralToNumber(hostname.substr(host_info.out_host.begin, in IsHostnameNonUnique() 424 host_info.out_host.len), in IsHostnameNonUnique() [all …]
|
D | net_util.h | 200 url::CanonHostInfo* host_info);
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_input.cc | 316 url::CanonHostInfo host_info; in Parse() local 318 base::UTF16ToUTF8(host), &host_info)); in Parse() 319 if ((host_info.family == url::CanonHostInfo::NEUTRAL) && in Parse() 353 if (host_info.family == url::CanonHostInfo::IPV6) in Parse() 365 if ((host_info.family == url::CanonHostInfo::IPV4) && in Parse() 366 (host_info.num_ipv4_components == 4)) in Parse() 398 if ((host_info.family != url::CanonHostInfo::IPV4) && in Parse()
|
/external/chromium_org/extensions/common/permissions/ |
D | socket_permission_entry.cc | 87 url::CanonHostInfo host_info; in Check() local 89 lhost.c_str(), component, &ignored_output, &host_info); in Check() 90 if (host_info.IsIPAddress()) in Check()
|
/external/chromium_org/net/cert/ |
D | x509_certificate.cc | 519 url::CanonHostInfo host_info; in VerifyHostname() local 520 std::string reference_name = CanonicalizeHost(host_or_ip, &host_info); in VerifyHostname() 535 if (host_info.IsIPAddress()) { in VerifyHostname() 536 if (common_name_fallback && host_info.family == url::CanonHostInfo::IPV4) { in VerifyHostname() 542 reinterpret_cast<const char*>(host_info.address), in VerifyHostname() 543 host_info.AddressLength()); in VerifyHostname()
|
D | cert_verify_proc.cc | 469 url::CanonHostInfo host_info; in CheckNameConstraints() local 470 const std::string dns_name = CanonicalizeHost(*i, &host_info); in CheckNameConstraints() 471 if (host_info.IsIPAddress()) in CheckNameConstraints()
|
/external/chromium_org/net/proxy/ |
D | proxy_bypass_rules.cc | 136 url::CanonHostInfo host_info; in IsIPAddress() local 139 &host_info); in IsIPAddress() 140 return host_info.IsIPAddress(); in IsIPAddress()
|
/external/chromium_org/base/ |
D | sys_info_mac.cc | 49 int result = host_info(host, in AmountOfPhysicalMemory()
|
D | sys_info_ios.mm | 69 int result = host_info(host,
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachTask.cpp | 302 struct host_cpu_load_info host_info; in GetProfileData() local 315 …kern_return_t kr = host_statistics(localHost, HOST_CPU_LOAD_INFO, (host_info_t)&host_info, &count); in GetProfileData() 376 profile_data_stream << "host_user_ticks:" << host_info.cpu_ticks[CPU_STATE_USER] << ';'; in GetProfileData() 377 … profile_data_stream << "host_sys_ticks:" << host_info.cpu_ticks[CPU_STATE_SYSTEM] << ';'; in GetProfileData() 378 profile_data_stream << "host_idle_ticks:" << host_info.cpu_ticks[CPU_STATE_IDLE] << ';'; in GetProfileData()
|
/external/chromium_org/components/policy/core/browser/ |
D | url_blacklist_manager.cc | 245 url::CanonHostInfo host_info; in FilterToComponents() local 247 &host_info); in FilterToComponents() 248 if (host_info.family == url::CanonHostInfo::NEUTRAL) { in FilterToComponents()
|
/external/chromium_org/chrome/common/ |
D | content_settings_pattern.cc | 191 url::CanonHostInfo host_info; in Canonicalize() local 192 std::string canonicalized_host(net::CanonicalizeHost(host, &host_info)); in Canonicalize() 193 if (host_info.IsIPAddress() && parts->has_domain_wildcard) in Canonicalize()
|
/external/llvm/lib/Support/ |
D | Host.cpp | 462 host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&hostInfo, in getHostCPUName()
|
/external/flac/libFLAC/ |
D | cpu.c | 365 host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&hostInfo, &infoCount); in FLAC__cpu_info()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | priv_syswrap-darwin.h | 498 DECL_TEMPLATE(darwin, host_info);
|
D | syswrap-darwin.c | 4189 POST(host_info) in POST() argument 4206 PRE(host_info) in PRE() argument 4221 AFTER = POST_FN(host_info); in PRE() 6872 CALL_PRE(host_info); in PRE()
|