/external/chromium_org/net/dns/ |
dns_hosts_unittest.cc | 125 DnsHosts hosts; local 126 ParseHosts("", &hosts); 127 EXPECT_EQ(0u, hosts.size()); 131 DnsHosts hosts; local 132 ParseHosts(" ", &hosts); 133 EXPECT_EQ(0u, hosts.size()); 137 DnsHosts hosts; local 138 ParseHosts("127.0.0.1 localhost", &hosts); 139 EXPECT_EQ(1u, hosts.size()); 143 DnsHosts hosts; local 149 DnsHosts hosts; local 155 DnsHosts hosts; local 161 DnsHosts hosts; local 167 DnsHosts hosts; local 173 DnsHosts hosts; local [all...] |
dns_config_service_unittest.cc | 140 void OnHostsRead(const DnsHosts& hosts) { 141 DnsConfigService::OnHostsRead(hosts); 169 // Generate hosts using the given seed. 171 DnsHosts hosts; local 174 ParseHosts(hosts_content, &hosts); 175 EXPECT_FALSE(hosts.empty()); 176 return hosts; 201 // No hosts yet, so no config. 204 service_->OnHostsRead(config.hosts); 210 config.hosts = MakeHosts(1) [all...] |
dns_config_service.cc | 112 return EqualsIgnoreHosts(d) && (hosts == d.hosts); 162 dict->SetInteger("num_hosts", hosts.size()); 248 void DnsConfigService::OnHostsRead(const DnsHosts& hosts) { 252 if (hosts != dns_config_.hosts) { 253 dns_config_.hosts = hosts; 284 // within 150ms with the rare exception of I/O block or extra large HOSTS.
|
/external/chromium_org/chrome/browser/profiles/ |
profile_destroyer.cc | 35 HostSet hosts; local 40 GetHostsForProfile(profile, &hosts); 42 GetHostsForProfile(profile->GetOffTheRecordProfile(), &hosts); 44 // Generally, !hosts.empty() means that there is a leak in a render process 51 DCHECK(hosts.empty() || profile->IsOffTheRecord() || 53 "Profile still has " << hosts.size() << " hosts"; 57 if (hosts.empty() || !profile->IsOffTheRecord()) { 63 // The instance will destroy itself once all render process hosts referring 65 new ProfileDestroyer(profile, &hosts); [all...] |
profile_destroyer.h | 21 // sure it gets done asynchronously after all render process hosts are gone. 33 ProfileDestroyer(Profile* const profile, HostSet* hosts); 43 // Fetch the list of render process hosts that still refer to the profile. 45 static bool GetHostsForProfile(Profile* const profile, HostSet* hosts);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
safe_browsing_util_unittest.cc | 24 std::vector<std::string> hosts, paths; local 27 safe_browsing_util::GenerateHostsToCheck(url, &hosts); 29 EXPECT_EQ(hosts.size(), static_cast<size_t>(2)); 31 EXPECT_EQ(hosts[0], "b.c"); 32 EXPECT_EQ(hosts[1], "a.b.c"); 40 safe_browsing_util::GenerateHostsToCheck(url, &hosts); 42 EXPECT_EQ(hosts.size(), static_cast<size_t>(5)); 44 EXPECT_EQ(hosts[0], "f.g"); 45 EXPECT_EQ(hosts[1], "e.f.g"); 46 EXPECT_EQ(hosts[2], "d.e.f.g") [all...] |
/external/chromium_org/content/browser/renderer_host/ |
render_process_host_unittest.cc | 17 // Tests that guest RenderProcessHosts are not considered suitable hosts when 53 // Add dummy process hosts to saturate the limit. 55 ScopedVector<MockRenderProcessHost> hosts; local 57 hosts.push_back(new MockRenderProcessHost(browser_context())); 76 // Add a few dummy process hosts. 78 ScopedVector<MockRenderProcessHost> hosts; local 80 hosts.push_back(new MockRenderProcessHost(browser_context()));
|
websocket_dispatcher_host.cc | 182 std::vector<WebSocketHost*> hosts; local 186 // the hosts. 187 hosts.push_back(i->second); 190 for (size_t i = 0; i < hosts.size(); ++i) { 191 // Note that some calls to GoAway could fail. In that case hosts[i] will be 193 hosts[i]->GoAway(); 194 hosts[i] = NULL;
|
/external/chromium_org/extensions/common/permissions/ |
permission_message_util.h | 19 // Creates the corresponding permission message for a list of hosts. 20 // The messages change depending on what hosts are present. 22 const std::set<std::string>& hosts);
|
/external/libedit/ |
Android.mk | 2 ifeq ($(HOST_OS),linux) # only build on linux hosts 3 ifeq ($(HOST_ARCH),x86) # only build on x86 hosts 37 endif # only build on x86 hosts 38 endif # only build on linux hosts
|
/external/chromium_org/mojo/aura/ |
window_tree_host_mojo.cc | 29 TreeHosts* hosts = static_cast<TreeHosts*>( local 31 if (!hosts) { 32 hosts = new TreeHosts; 33 aura::Env::GetInstance()->SetUserData(kTreeHostsKey, hosts); 35 return hosts;
|
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_url_filter_unittest.cc | 154 // We assume that the hosts and URLs are already canonicalized. 155 std::map<std::string, bool> hosts; local 156 hosts["www.moose.org"] = true; 157 hosts["www.xn--n3h.net"] = true; 161 filter_->SetManualHosts(&hosts); 323 std::map<std::string, bool> hosts; local 328 hosts["*.google.com"] = true; 329 hosts["www.google.*"] = false; 331 hosts["accounts.google.com"] = false; 332 hosts["mail.google.com"] = true [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.h | 69 void SetStunHosts(const std::vector<rtc::SocketAddress>& hosts) { 70 if (!hosts.empty()) { 71 stun_hosts_ = hosts; 74 void SetRelayHosts(const std::vector<std::string>& hosts) { 75 if (!hosts.empty()) { 76 relay_hosts_ = hosts;
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
quota_internals_handler.cc | 47 const std::vector<PerHostStorageInfo>& hosts) { 50 for (iterator itr(hosts.begin()); itr != hosts.end(); ++itr) {
|
/build/target/product/ |
embedded.mk | 88 system/core/rootdir/etc/hosts:system/etc/hosts
|
/external/chromium_org/content/browser/frame_host/ |
debug_urls.cc | 43 std::vector<PpapiPluginProcessHost*> hosts; local 45 base::UTF8ToUTF16(kFlashPluginName), &hosts); local 46 for (std::vector<PpapiPluginProcessHost*>::iterator iter = hosts.begin(); 47 iter != hosts.end(); ++iter) {
|
/external/chromium-libpac/test/js-unittest/ |
simple.js | 1 // PAC script which uses isInNet on both IP addresses and hosts, and calls
|
/external/chromium_org/net/data/proxy_resolver_v8_unittest/ |
simple.js | 1 // PAC script which uses isInNet on both IP addresses and hosts, and calls
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
HostListAdapter.java | 15 /** Color to use for hosts that are online. */ 18 /** Color to use for hosts that are offline. */ 24 public HostListAdapter(Chromoting chromoting, int textViewResourceId, HostInfo[] hosts) { 25 super(chromoting, textViewResourceId, hosts);
|
HostListLoader.java | 38 void onHostListReceived(HostInfo[] hosts); 44 "https://www.googleapis.com/chromoting/v1/@me/hosts"; 158 final HostInfo[] hosts = hostList.toArray(new HostInfo[hostList.size()]); local 162 callbackFinal.onHostListReceived(hosts); 179 private static void sortHosts(ArrayList<HostInfo> hosts) { 191 Collections.sort(hosts, hostComparator);
|
SessionConnector.java | 80 public void onHostListReceived(HostInfo[] hosts) { 82 mHostListCallback.onHostListReceived(hosts); 85 for (HostInfo host : hosts) {
|
/external/chromium_org/chrome/common/extensions/permissions/ |
permissions_data_unittest.cc | 147 URLPatternSet hosts; local 155 EXPECT_FALSE(hosts.MatchesURL(GURL("http://www.google.com"))); 159 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); 160 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); 161 EXPECT_FALSE(hosts.MatchesURL(GURL("https://www.google.com"))); 166 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); 167 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); 168 EXPECT_TRUE(hosts.MatchesURL(GURL("http://foo.google.com"))); 172 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); 173 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))) [all...] |
/external/chromium_org/chrome/common/extensions/ |
chrome_extensions_client.cc | 164 const URLPatternSet& hosts, 167 for (URLPatternSet::const_iterator i = hosts.begin(); 168 i != hosts.end(); ++i) { 198 URLPatternSet hosts; local 200 hosts.AddPattern(URLPattern(URLPattern::SCHEME_CHROMEUI, 213 hosts.AddPattern(URLPattern(URLPattern::SCHEME_CHROMEUI, 216 return hosts;
|
/external/chromium_org/extensions/test/ |
test_extensions_client.cc | 102 const URLPatternSet& hosts, 120 URLPatternSet hosts; local 121 return hosts;
|
/external/chromium_org/remoting/webapp/ |
host_settings.js | 41 * Save the settings for the specified hosts. Existing settings with the same 73 * current settings for the specified host and for all hosts are passed. 78 * @param {Object.<string>} allHosts The current options for all hosts. 84 var hosts = allHosts[remoting.HostSettings.KEY_]; 85 if (hosts) { 86 result = jsonParseSafe(hosts);
|