Home
last modified time | relevance | path

Searched refs:host_info (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium/googleurl/src/
Durl_canon_host.cc317 CanonHostInfo* host_info) { in DoHost() argument
320 host_info->family = CanonHostInfo::NEUTRAL; in DoHost()
321 host_info->out_host = url_parse::Component(); in DoHost()
343 host_info->family = CanonHostInfo::BROKEN; in DoHost()
351 &canon_ip, host_info); in DoHost()
356 if (host_info->IsIPAddress()) { in DoHost()
362 host_info->out_host = url_parse::MakeRange(output_begin, output->length()); in DoHost()
371 CanonHostInfo host_info; in CanonicalizeHost() local
372 DoHost<char, unsigned char>(spec, host, output, &host_info); in CanonicalizeHost()
373 *out_host = host_info.out_host; in CanonicalizeHost()
[all …]
Durl_canon_ip.cc266 CanonHostInfo* host_info) { in DoCanonicalizeIPv4Address() argument
268 host_info->family = IPv4AddressToNumber( in DoCanonicalizeIPv4Address()
269 spec, host, address, &host_info->num_ipv4_components); in DoCanonicalizeIPv4Address()
271 switch (host_info->family) { in DoCanonicalizeIPv4Address()
274 AppendIPv4Address(address, output, &host_info->out_host); in DoCanonicalizeIPv4Address()
606 CanonHostInfo* host_info) { in DoCanonicalizeIPv6Address() argument
617 host_info->family = CanonHostInfo::BROKEN; in DoCanonicalizeIPv6Address()
623 host_info->family = CanonHostInfo::NEUTRAL; in DoCanonicalizeIPv6Address()
627 host_info->out_host.begin = output->length(); in DoCanonicalizeIPv6Address()
665 host_info->out_host.len = output->length() - host_info->out_host.begin; in DoCanonicalizeIPv6Address()
[all …]
Durl_canon_unittest.cc498 CanonHostInfo host_info; in TEST() local
501 &output, &host_info); in TEST()
504 EXPECT_EQ(host_cases[i].expected_family, host_info.family); in TEST()
507 host_info.out_host.begin); in TEST()
508 EXPECT_EQ(host_cases[i].expected_component.len, host_info.out_host.len); in TEST()
511 host_info.num_ipv4_components); in TEST()
523 CanonHostInfo host_info; in TEST() local
526 &output, &host_info); in TEST()
529 EXPECT_EQ(host_cases[i].expected_family, host_info.family); in TEST()
532 host_info.out_host.begin); in TEST()
[all …]
Dgurl.cc374 url_canon::CanonHostInfo host_info; in HostIsIPAddress() local
376 &ignored_output, &host_info); in HostIsIPAddress()
377 return host_info.IsIPAddress(); in HostIsIPAddress()
Durl_canon.h386 CanonHostInfo* host_info);
390 CanonHostInfo* host_info);
406 CanonHostInfo* host_info);
410 CanonHostInfo* host_info);
/external/chromium/net/base/
Dregistry_controlled_domain.cc77 url_canon::CanonHostInfo host_info; in GetDomainAndRegistry() local
78 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetDomainAndRegistry()
79 if (canon_host.empty() || host_info.IsIPAddress()) in GetDomainAndRegistry()
87 url_canon::CanonHostInfo host_info; in GetDomainAndRegistry() local
88 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetDomainAndRegistry()
89 if (canon_host.empty() || host_info.IsIPAddress()) in GetDomainAndRegistry()
135 url_canon::CanonHostInfo host_info; in GetRegistryLength() local
136 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetRegistryLength()
139 if (host_info.IsIPAddress()) in GetRegistryLength()
149 url_canon::CanonHostInfo host_info; in GetRegistryLength() local
[all …]
Dnet_util.h220 url_canon::CanonHostInfo* host_info);
222 url_canon::CanonHostInfo* host_info);
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pattern.cc63 url_canon::CanonHostInfo host_info; in IsValid() local
65 !net::CanonicalizeHost(host, &host_info).empty(); in IsValid()
101 url_canon::CanonHostInfo host_info; in CanonicalizePattern() local
102 canonicalized_pattern += net::CanonicalizeHost(host, &host_info); in CanonicalizePattern()
/external/chromium/chrome/browser/remoting/
Ddirectory_add_request.cc30 void DirectoryAddRequest::AddHost(const remoting::ChromotingHostInfo& host_info, in AddHost() argument
38 data.SetString("hostId", host_info.host_id); in AddHost()
39 data.SetString("hostName", host_info.hostname); in AddHost()
40 data.SetString("publicKey", host_info.public_key); in AddHost()
Dremoting_options_handler.cc48 const remoting::ChromotingHostInfo& host_info) { in OnRemotingHostInfo() argument
49 SetStatus(host_info.enabled, host_info.login); in OnRemotingHostInfo()
Dsetup_flow_get_status_step.cc35 const remoting::ChromotingHostInfo& host_info) { in OnRemotingHostInfo() argument
37 flow()->context()->host_info = host_info; in OnRemotingHostInfo()
Dsetup_flow_start_host_step.cc35 const remoting::ChromotingHostInfo& host_info) { in OnRemotingHostInfo() argument
38 if (host_info.enabled) { in OnRemotingHostInfo()
Dremoting_options_handler.h29 const remoting::ChromotingHostInfo& host_info);
Dsetup_flow_start_host_step.h30 const remoting::ChromotingHostInfo& host_info);
Dsetup_flow_get_status_step.h29 const remoting::ChromotingHostInfo& host_info);
Ddirectory_add_request.h51 void AddHost(const remoting::ChromotingHostInfo& host_info,
Dsetup_flow_register_step.cc34 request_->AddHost(flow()->context()->host_info, in DoStart()
/external/webkit/Source/WebKit/mac/Misc/
DWebKitSystemBits.m32 #import <mach/host_info.h>
51 r = host_info(host, HOST_BASIC_INFO, (host_info_t) &gHostBasicInfo, &count);
54 LOG_ERROR("%s : host_info(%d) : %s.\n", __FUNCTION__, r, mach_error_string(r));
/external/chromium/chrome/browser/service/
Dservice_process_control.h56 const remoting::ChromotingHostInfo& host_info) = 0;
98 void OnRemotingHostInfo(const remoting::ChromotingHostInfo& host_info);
Dservice_process_control.cc248 const remoting::ChromotingHostInfo& host_info) { in OnRemotingHostInfo() argument
252 (*it)->OnRemotingHostInfo(host_info); in OnRemotingHostInfo()
/external/chromium/net/proxy/
Dproxy_bypass_rules.cc134 url_canon::CanonHostInfo host_info; in IsIPAddress() local
137 &ignored_output, &host_info); in IsIPAddress()
138 return host_info.IsIPAddress(); in IsIPAddress()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete.cc284 url_canon::CanonHostInfo host_info; in Parse() local
286 &host_info)); in Parse()
287 if ((host_info.family == url_canon::CanonHostInfo::NEUTRAL) && in Parse()
334 if (host_info.family == url_canon::CanonHostInfo::IPV4) { in Parse()
341 if (host_info.num_ipv4_components == 4) in Parse()
345 if (host_info.family == url_canon::CanonHostInfo::IPV6) in Parse()
/external/chromium/base/
Dsys_info_mac.cc32 int result = host_info(mach_host_self(), in AmountOfPhysicalMemory()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp39 host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&hostInfo, in GetCurrentPowerPCCPU()
/external/webkit/Source/WebKit2/WebProcess/mac/
DWebProcessMac.mm39 #import <mach/host_info.h>
64 kern_return_t r = host_info(host, HOST_BASIC_INFO, (host_info_t)&hostInfo, &count);
68 LOG_ERROR("%s : host_info(%d) : %s.\n", __FUNCTION__, r, mach_error_string(r));

12