rules 955 chrome/browser/chrome_content_browser_client.cc RendererContentSettingRules rules; rules 957 chrome/browser/chrome_content_browser_client.cc GuestView::GetDefaultContentSettingRules(&rules, profile->IsOffTheRecord()); rules 960 chrome/browser/chrome_content_browser_client.cc profile->GetHostContentSettingsMap(), &rules); rules 962 chrome/browser/chrome_content_browser_client.cc host->Send(new ChromeViewMsg_SetContentSettingRules(rules)); rules 93 chrome/browser/chromeos/net/onc_utils.cc net::ProxyBypassRules rules; rules 98 chrome/browser/chromeos/net/onc_utils.cc rules.AddRuleFromString(rule); rules 100 chrome/browser/chromeos/net/onc_utils.cc return rules; rules 355 chrome/browser/chromeos/proxy_cros_settings_parser.cc net::ProxyBypassRules::RuleList bypass_rules = config.bypass_rules.rules(); rules 45 chrome/browser/chromeos/ui_proxy_config.cc void UIProxyConfig::SetBypassRules(const net::ProxyBypassRules& rules) { rules 51 chrome/browser/chromeos/ui_proxy_config.cc bypass_rules = rules; rules 56 chrome/browser/chromeos/ui_proxy_config.cc const net::ProxyConfig::ProxyRules& rules = net_config.proxy_rules(); rules 57 chrome/browser/chromeos/ui_proxy_config.cc switch (rules.type) { rules 71 chrome/browser/chromeos/ui_proxy_config.cc if (rules.single_proxies.IsEmpty()) rules 74 chrome/browser/chromeos/ui_proxy_config.cc single_proxy.server = rules.single_proxies.Get(); rules 75 chrome/browser/chromeos/ui_proxy_config.cc bypass_rules = rules.bypass_rules; rules 79 chrome/browser/chromeos/ui_proxy_config.cc if (rules.proxies_for_http.IsEmpty() && rules 80 chrome/browser/chromeos/ui_proxy_config.cc rules.proxies_for_https.IsEmpty() && rules 81 chrome/browser/chromeos/ui_proxy_config.cc rules.proxies_for_ftp.IsEmpty() && rules 82 chrome/browser/chromeos/ui_proxy_config.cc rules.fallback_proxies.IsEmpty()) { rules 86 chrome/browser/chromeos/ui_proxy_config.cc if (!rules.proxies_for_http.IsEmpty()) rules 87 chrome/browser/chromeos/ui_proxy_config.cc http_proxy.server = rules.proxies_for_http.Get(); rules 88 chrome/browser/chromeos/ui_proxy_config.cc if (!rules.proxies_for_https.IsEmpty()) rules 89 chrome/browser/chromeos/ui_proxy_config.cc https_proxy.server = rules.proxies_for_https.Get(); rules 90 chrome/browser/chromeos/ui_proxy_config.cc if (!rules.proxies_for_ftp.IsEmpty()) rules 91 chrome/browser/chromeos/ui_proxy_config.cc ftp_proxy.server = rules.proxies_for_ftp.Get(); rules 92 chrome/browser/chromeos/ui_proxy_config.cc if (!rules.fallback_proxies.IsEmpty()) rules 93 chrome/browser/chromeos/ui_proxy_config.cc socks_proxy.server = rules.fallback_proxies.Get(); rules 94 chrome/browser/chromeos/ui_proxy_config.cc bypass_rules = rules.bypass_rules; rules 69 chrome/browser/chromeos/ui_proxy_config.h void SetBypassRules(const net::ProxyBypassRules& rules); rules 63 chrome/browser/content_settings/content_settings_policy_provider.h void GetContentSettingsFromPreferences(OriginIdentifierValueMap* rules); rules 53 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc Rules rules; rules 17 chrome/browser/content_settings/content_settings_rule_unittest.cc explicit ListIterator(const std::list<Rule>& rules) rules 18 chrome/browser/content_settings/content_settings_rule_unittest.cc : rules_(rules) {} rules 199 chrome/browser/content_settings/content_settings_utils.cc RendererContentSettingRules* rules) { rules 201 chrome/browser/content_settings/content_settings_utils.cc CONTENT_SETTINGS_TYPE_IMAGES, std::string(), &(rules->image_rules)); rules 203 chrome/browser/content_settings/content_settings_utils.cc CONTENT_SETTINGS_TYPE_JAVASCRIPT, std::string(), &(rules->script_rules)); rules 83 chrome/browser/content_settings/content_settings_utils.h RendererContentSettingRules* rules); rules 712 chrome/browser/content_settings/tab_specific_content_settings.cc RendererContentSettingRules rules; rules 714 chrome/browser/content_settings/tab_specific_content_settings.cc &rules); rules 715 chrome/browser/content_settings/tab_specific_content_settings.cc Send(new ChromeViewMsg_SetContentSettingRules(rules)); rules 68 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc std::vector<content_settings::Rule>* rules) { rules 69 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc rules->clear(); rules 73 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc rules->push_back(rule_iterator->Next()); rules 194 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc std::vector<content_settings::Rule> rules; rules 196 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); rules 197 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ASSERT_EQ(0u, rules.size()); rules 213 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); rules 214 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ASSERT_EQ(1u, rules.size()); rules 215 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[0], pattern, pattern, CONTENT_SETTING_ALLOW); rules 231 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); rules 232 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ASSERT_EQ(2u, rules.size()); rules 234 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[0], pattern_2, pattern_2, CONTENT_SETTING_BLOCK); rules 235 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[1], pattern, pattern, CONTENT_SETTING_ALLOW); rules 241 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); rules 242 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ASSERT_EQ(1u, rules.size()); rules 243 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[0], pattern_2, pattern_2, CONTENT_SETTING_BLOCK); rules 249 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); rules 250 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ASSERT_EQ(0u, rules.size()); rules 116 chrome/browser/extensions/api/declarative/declarative_api.cc error_ = rules_registry_->AddRules(extension_id(), params->rules); rules 119 chrome/browser/extensions/api/declarative/declarative_api.cc results_ = AddRules::Results::Create(params->rules); rules 142 chrome/browser/extensions/api/declarative/declarative_api.cc std::vector<linked_ptr<Rule> > rules; rules 145 chrome/browser/extensions/api/declarative/declarative_api.cc extension_id(), *params->rule_identifiers, &rules); rules 147 chrome/browser/extensions/api/declarative/declarative_api.cc rules_registry_->GetAllRules(extension_id(), &rules); rules 150 chrome/browser/extensions/api/declarative/declarative_api.cc results_ = GetRules::Results::Create(rules); rules 120 chrome/browser/extensions/api/declarative/declarative_apitest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 125 chrome/browser/extensions/api/declarative/declarative_apitest.cc &RulesRegistry::GetAllRules, rules_registry, extension_id, &rules)); rules 129 chrome/browser/extensions/api/declarative/declarative_apitest.cc return rules.size(); rules 100 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc const base::ListValue* rules = NULL; rules 101 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc CHECK(value->GetAsList(&rules)); rules 103 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc bool store_rules = !rules->empty(); rules 36 chrome/browser/extensions/api/declarative/rules_registry.cc const std::vector<linked_ptr<extensions::RulesRegistry::Rule> >& rules) { rules 38 chrome/browser/extensions/api/declarative/rules_registry.cc for (size_t i = 0; i < rules.size(); ++i) rules 39 chrome/browser/extensions/api/declarative/rules_registry.cc list->Append(rules[i]->ToValue().release()); rules 45 chrome/browser/extensions/api/declarative/rules_registry.cc std::vector<linked_ptr<extensions::RulesRegistry::Rule> > rules; rules 49 chrome/browser/extensions/api/declarative/rules_registry.cc return rules; rules 51 chrome/browser/extensions/api/declarative/rules_registry.cc rules.reserve(list->GetSize()); rules 59 chrome/browser/extensions/api/declarative/rules_registry.cc rules.push_back(rule); rules 62 chrome/browser/extensions/api/declarative/rules_registry.cc return rules; rules 97 chrome/browser/extensions/api/declarative/rules_registry.cc const std::vector<linked_ptr<Rule> >& rules) { rules 102 chrome/browser/extensions/api/declarative/rules_registry.cc rules.begin(); i != rules.end(); ++i) { rules 111 chrome/browser/extensions/api/declarative/rules_registry.cc std::string error = AddRulesImpl(extension_id, rules); rules 118 chrome/browser/extensions/api/declarative/rules_registry.cc rules.begin(); i != rules.end(); ++i) { rules 130 chrome/browser/extensions/api/declarative/rules_registry.cc const std::vector<linked_ptr<Rule> >& rules) { rules 133 chrome/browser/extensions/api/declarative/rules_registry.cc std::string error = CheckAndFillInOptionalRules(extension_id, rules); rules 136 chrome/browser/extensions/api/declarative/rules_registry.cc FillInOptionalPriorities(rules); rules 138 chrome/browser/extensions/api/declarative/rules_registry.cc return AddRulesNoFill(extension_id, rules); rules 232 chrome/browser/extensions/api/declarative/rules_registry.cc std::vector<linked_ptr<Rule> > rules; rules 233 chrome/browser/extensions/api/declarative/rules_registry.cc GetAllRules(extension_id, &rules); rules 234 chrome/browser/extensions/api/declarative/rules_registry.cc std::string error = AddRulesImpl(extension_id, rules); rules 254 chrome/browser/extensions/api/declarative/rules_registry.cc scoped_ptr<base::Value> rules) { rules 257 chrome/browser/extensions/api/declarative/rules_registry.cc AddRulesNoFill(extension_id, RulesFromValue(rules.get())); rules 326 chrome/browser/extensions/api/declarative/rules_registry.cc const std::vector<linked_ptr<Rule> >& rules) { rules 332 chrome/browser/extensions/api/declarative/rules_registry.cc for (std::vector<linked_ptr<Rule> >::const_iterator i = rules.begin(); rules 333 chrome/browser/extensions/api/declarative/rules_registry.cc i != rules.end(); rules 347 chrome/browser/extensions/api/declarative/rules_registry.cc for (std::vector<linked_ptr<Rule> >::const_iterator i = rules.begin(); rules 348 chrome/browser/extensions/api/declarative/rules_registry.cc i != rules.end(); rules 360 chrome/browser/extensions/api/declarative/rules_registry.cc const std::vector<linked_ptr<Rule> >& rules) { rules 362 chrome/browser/extensions/api/declarative/rules_registry.cc for (i = rules.begin(); i != rules.end(); ++i) { rules 89 chrome/browser/extensions/api/declarative/rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules); rules 164 chrome/browser/extensions/api/declarative/rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules); rules 171 chrome/browser/extensions/api/declarative/rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) = 0; rules 222 chrome/browser/extensions/api/declarative/rules_registry.h scoped_ptr<base::Value> rules); rules 270 chrome/browser/extensions/api/declarative/rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules); rules 274 chrome/browser/extensions/api/declarative/rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules); rules 34 chrome/browser/extensions/api/declarative/test_rules_registry.cc const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) { rules 28 chrome/browser/extensions/api/declarative/test_rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) OVERRIDE; rules 140 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) { rules 153 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc rules.begin(); rule != rules.end(); ++rule) { rules 82 chrome/browser/extensions/api/declarative_content/content_rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) OVERRIDE; rules 68 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 69 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc rules.push_back(rule); rules 73 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc registry->AddRulesImpl(extension->id(), rules); rules 163 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) { rules 173 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc new_webrequest_rules.reserve(rules.size()); rules 179 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rules.begin(); rule != rules.end(); ++rule) { rules 97 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) OVERRIDE; rules 272 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 273 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateRule1()); rules 274 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateRule2()); rules 276 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc error = registry->AddRules(kExtensionId, rules); rules 532 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 533 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(make_linked_ptr(new RulesRegistry::Rule)); rules 534 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(make_linked_ptr(new RulesRegistry::Rule)); rules 535 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc ASSERT_TRUE(RulesRegistry::Rule::Populate(*value1, rules[0].get())); rules 536 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc ASSERT_TRUE(RulesRegistry::Rule::Populate(*value2, rules[1].get())); rules 540 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::string error = registry->AddRulesImpl(kExtensionId, rules); rules 570 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 574 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateCancellingRule(kRuleId1, attributes)); rules 578 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateCancellingRule(kRuleId2, attributes)); rules 585 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateCancellingRule(kRuleId3, attributes)); rules 587 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc error = registry->AddRules(kExtensionId, rules); rules 617 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 621 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateCancellingRule(kRuleId1, attributes)); rules 626 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(CreateCancellingRule(kRuleId2, attributes)); rules 628 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc error = registry->AddRules(kExtensionId, rules); rules 785 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::vector<linked_ptr<RulesRegistry::Rule> > rules; rules 786 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rules.push_back(make_linked_ptr(new RulesRegistry::Rule)); rules 787 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc ASSERT_TRUE(RulesRegistry::Rule::Populate(*value, rules.back().get())); rules 793 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::string error = registry->AddRulesImpl(kExtensionId, rules); rules 44 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc mock_host_resolver_->rules()->AddRule(kHostname, kAddress); rules 45 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc mock_host_resolver_->rules()->AddSimulatedFailure("this.hostname.is.bogus"); rules 375 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc net::ProxyConfig::ProxyRules rules; rules 376 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc rules.ParseFromString(proxy_servers); rules 378 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc switch (rules.type) { rules 382 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!rules.single_proxies.IsEmpty()) { rules 385 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc CreateProxyServerDict(rules.single_proxies.Get())); rules 389 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!rules.proxies_for_http.IsEmpty()) { rules 392 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc CreateProxyServerDict(rules.proxies_for_http.Get())); rules 394 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!rules.proxies_for_https.IsEmpty()) { rules 397 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc CreateProxyServerDict(rules.proxies_for_https.Get())); rules 399 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!rules.proxies_for_ftp.IsEmpty()) { rules 402 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc CreateProxyServerDict(rules.proxies_for_ftp.Get())); rules 404 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!rules.fallback_proxies.IsEmpty()) { rules 407 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc CreateProxyServerDict(rules.fallback_proxies.Get())); rules 790 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc host_resolver_->rules()->AddSimulatedFailure("doesnotexist"); rules 125 chrome/browser/guestview/guestview.cc RendererContentSettingRules* rules, bool incognito) { rules 126 chrome/browser/guestview/guestview.cc rules->image_rules.push_back(ContentSettingPatternSource( rules 133 chrome/browser/guestview/guestview.cc rules->script_rules.push_back(ContentSettingPatternSource( rules 69 chrome/browser/guestview/guestview.h RendererContentSettingRules* rules, bool incognito); rules 30 chrome/browser/net/dns_probe_test_util.cc MockDnsClientRuleList rules; rules 31 chrome/browser/net/dns_probe_test_util.cc rules.push_back(MockDnsClientRule(DnsProbeRunner::kKnownGoodHostname, kTypeA, rules 34 chrome/browser/net/dns_probe_test_util.cc return scoped_ptr<DnsClient>(new net::MockDnsClient(config, rules)); rules 91 chrome/browser/net/predictor_unittest.cc net::RuleBasedHostResolverProc* rules = host_resolver_->rules(); rules 92 chrome/browser/net/predictor_unittest.cc rules->AddRuleWithLatency("www.google.com", "127.0.0.1", 50); rules 93 chrome/browser/net/predictor_unittest.cc rules->AddRuleWithLatency("gmail.google.com.com", "127.0.0.1", 70); rules 94 chrome/browser/net/predictor_unittest.cc rules->AddRuleWithLatency("mail.google.com", "127.0.0.1", 44); rules 95 chrome/browser/net/predictor_unittest.cc rules->AddRuleWithLatency("gmail.com", "127.0.0.1", 63); rules 190 chrome/browser/net/predictor_unittest.cc host_resolver_->rules()->AddSimulatedFailure("*.notfound"); rules 237 chrome/browser/net/predictor_unittest.cc host_resolver_->rules()->AddSimulatedFailure("*.notfound"); rules 576 chrome/installer/util/installation_validator.cc ctx.rules.AddUninstallSwitchExpectations(ctx, &expected); rules 600 chrome/installer/util/installation_validator.cc ctx.rules.AddRenameSwitchExpectations(ctx, &expected); rules 705 chrome/installer/util/installation_validator.cc if (!ctx.rules.UsageStatsAllowed(ctx)) { rules 724 chrome/installer/util/installation_validator.cc const ProductRules& rules, rules 728 chrome/installer/util/installation_validator.cc ProductContext ctx(machine_state, system_install, product_state, rules); rules 176 chrome/installer/util/installation_validator.h rules(rules_in) { rules 183 chrome/installer/util/installation_validator.h const ProductRules& rules; rules 254 chrome/installer/util/installation_validator.h const ProductRules& rules, rules 357 chrome/renderer/chrome_render_process_observer.cc const RendererContentSettingRules& rules) { rules 358 chrome/renderer/chrome_render_process_observer.cc content_setting_rules_ = rules; rules 53 chrome/renderer/chrome_render_process_observer.h void OnSetContentSettingRules(const RendererContentSettingRules& rules); rules 121 chrome/renderer/content_settings_observer.cc const ContentSettingsForOneType& rules, rules 127 chrome/renderer/content_settings_observer.cc if (rules.size() == 1) { rules 128 chrome/renderer/content_settings_observer.cc DCHECK(rules[0].primary_pattern == ContentSettingsPattern::Wildcard()); rules 129 chrome/renderer/content_settings_observer.cc DCHECK(rules[0].secondary_pattern == ContentSettingsPattern::Wildcard()); rules 130 chrome/renderer/content_settings_observer.cc return rules[0].setting; rules 133 chrome/renderer/content_settings_observer.cc for (it = rules.begin(); it != rules.end(); ++it) { rules 125 net/base/escape.cc UnescapeRule::Type rules, rules 133 net/base/escape.cc if (rules == UnescapeRule::NONE) rules 204 net/base/escape.cc (first_byte == ' ' && (rules & UnescapeRule::SPACES)) || rules 207 net/base/escape.cc (first_byte > ' ' && (rules & UnescapeRule::URL_SPECIAL_CHARS)) || rules 209 net/base/escape.cc (first_byte < ' ' && (rules & UnescapeRule::CONTROL_CHARS)))) { rules 219 net/base/escape.cc } else if ((rules & UnescapeRule::REPLACE_PLUS_WITH_SPACE) && rules 341 net/base/escape.cc UnescapeRule::Type rules) { rules 342 net/base/escape.cc return UnescapeURLWithOffsetsImpl(escaped_text, rules, NULL); rules 346 net/base/escape.cc UnescapeRule::Type rules) { rules 347 net/base/escape.cc return UnescapeURLWithOffsetsImpl(escaped_text, rules, NULL); rules 352 net/base/escape.cc UnescapeRule::Type rules, rules 358 net/base/escape.cc UnescapeAndDecodeUTF8URLComponentWithOffsets(text, rules, &offsets); rules 366 net/base/escape.cc UnescapeRule::Type rules, rules 373 net/base/escape.cc UnescapeURLWithOffsetsImpl(text, rules, offsets_for_adjustment)); rules 109 net/base/escape.h UnescapeRule::Type rules); rules 112 net/base/escape.h UnescapeRule::Type rules); rules 125 net/base/escape.h UnescapeRule::Type rules, rules 129 net/base/escape.h UnescapeRule::Type rules, rules 29 net/base/escape_unittest.cc UnescapeRule::Type rules; rules 35 net/base/escape_unittest.cc UnescapeRule::Type rules; rules 187 net/base/escape_unittest.cc UnescapeURLComponent(str, unescape_cases[i].rules)); rules 280 net/base/escape_unittest.cc UnescapeURLComponent(str, unescape_cases[i].rules)); rules 103 net/base/host_mapping_rules.cc base::StringTokenizer rules(rules_string, ","); rules 104 net/base/host_mapping_rules.cc while (rules.GetNext()) { rules 105 net/base/host_mapping_rules.cc bool ok = AddRuleFromString(rules.token()); rules 106 net/base/host_mapping_rules.cc LOG_IF(ERROR, !ok) << "Failed parsing rule: " << rules.token(); rules 15 net/base/host_mapping_rules_unittest.cc HostMappingRules rules; rules 16 net/base/host_mapping_rules_unittest.cc rules.SetRulesFromString( rules 20 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.RewriteHost(&host_port)); rules 25 net/base/host_mapping_rules_unittest.cc EXPECT_TRUE(rules.RewriteHost(&host_port)); rules 30 net/base/host_mapping_rules_unittest.cc EXPECT_TRUE(rules.RewriteHost(&host_port)); rules 35 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.RewriteHost(&host_port)); rules 41 net/base/host_mapping_rules_unittest.cc HostMappingRules rules; rules 42 net/base/host_mapping_rules_unittest.cc rules.SetRulesFromString( rules 47 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.RewriteHost(&host_port)); rules 53 net/base/host_mapping_rules_unittest.cc EXPECT_TRUE(rules.RewriteHost(&host_port)); rules 59 net/base/host_mapping_rules_unittest.cc EXPECT_TRUE(rules.RewriteHost(&host_port)); rules 65 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.RewriteHost(&host_port)); rules 72 net/base/host_mapping_rules_unittest.cc HostMappingRules rules; rules 74 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("xyz")); rules 75 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString(std::string())); rules 76 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString(" ")); rules 77 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("EXCLUDE")); rules 78 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("EXCLUDE foo bar")); rules 79 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("INCLUDE")); rules 80 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("INCLUDE x")); rules 81 net/base/host_mapping_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("INCLUDE x :10")); rules 40 net/dns/dns_test_util.cc MockTransaction(const MockDnsClientRuleList& rules, rules 51 net/dns/dns_test_util.cc for (size_t i = 0; i < rules.size(); ++i) { rules 52 net/dns/dns_test_util.cc const std::string& prefix = rules[i].prefix; rules 53 net/dns/dns_test_util.cc if ((rules[i].qtype == qtype) && rules 56 net/dns/dns_test_util.cc result_ = rules[i].result; rules 57 net/dns/dns_test_util.cc delayed_ = rules[i].delay; rules 166 net/dns/dns_test_util.cc explicit MockTransactionFactory(const MockDnsClientRuleList& rules) rules 167 net/dns/dns_test_util.cc : rules_(rules) {} rules 201 net/dns/dns_test_util.cc const MockDnsClientRuleList& rules) rules 203 net/dns/dns_test_util.cc factory_(new MockTransactionFactory(rules)), rules 210 net/dns/dns_test_util.h MockDnsClient(const DnsConfig& config, const MockDnsClientRuleList& rules); rules 28 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddSimulatedFailure("*google.com"); rules 29 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz.com", "192.168.1.5"); rules 30 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("foo.com", "192.168.1.8"); rules 31 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("proxy", "192.168.1.11"); rules 104 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz", "192.168.1.5"); rules 105 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("www.google.com", "192.168.1.3"); rules 151 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz", "192.168.1.7"); rules 152 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("bar", "192.168.1.9"); rules 210 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("*", "192.168.1.5"); rules 60 net/dns/mock_host_resolver.h RuleBasedHostResolverProc* rules() { return rules_.get(); } rules 61 net/dns/mock_host_resolver.h void set_rules(RuleBasedHostResolverProc* rules) { rules_ = rules; } rules 72 net/dns/single_request_host_resolver_unittest.cc resolver.rules()->AddIPLiteralRule("watsup", "199.188.1.166", std::string()); rules 782 net/ftp/ftp_network_transaction_unittest.cc scoped_refptr<RuleBasedHostResolverProc> rules( rules 785 net/ftp/ftp_network_transaction_unittest.cc rules->AddIPLiteralRule("*", "127.0.0.1", "127.0.0.1"); rules 787 net/ftp/ftp_network_transaction_unittest.cc rules->AddIPLiteralRule("*", "::1", "::1"); rules 791 net/ftp/ftp_network_transaction_unittest.cc host_resolver_->set_rules(rules.get()); rules 886 net/ftp/ftp_network_transaction_unittest.cc scoped_refptr<RuleBasedHostResolverProc> rules( rules 888 net/ftp/ftp_network_transaction_unittest.cc rules->AddSimulatedFailure("badhost"); rules 889 net/ftp/ftp_network_transaction_unittest.cc host_resolver_->set_rules(rules.get()); rules 906 net/ftp/ftp_network_transaction_unittest.cc host_resolver_->rules()->AddSimulatedFailure("[::1]"); rules 46 net/http/http_auth_filter.h const ProxyBypassRules& rules() const { return rules_; } rules 35 net/http/http_auth_handler_negotiate_unittest.cc resolver_->rules()->AddIPLiteralRule("alias", "10.0.0.2", rules 7669 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddSimulatedFailure("*"); rules 7729 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddSimulatedFailure("www.google.com"); rules 9661 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.example.com", "10.0.0.1"); rules 10988 net/http/http_network_transaction_unittest.cc RuleBasedHostResolverProc* rules() { return host_resolver_.rules(); } rules 11543 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("mail.google.com", ip_addr); rules 11544 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("proxy", ip_addr); rules 11667 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.a.com", "10.0.0.1"); rules 11668 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.b.com", "10.0.0.2"); rules 54 net/proxy/proxy_bypass_rules.h const RuleList& rules() const { return rules_; } rules 17 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 18 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("wWw.gOogle.com"); rules 19 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 20 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("www.google.com", rules.rules()[0]->ToString()); rules 24 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); rules 25 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("ftp://www.google.com:99"))); rules 26 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://www.google.com:81"))); rules 29 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foo.www.google.com"))); rules 30 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://xxx.google.com"))); rules 31 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://google.com"))); rules 32 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com.baz.org"))); rules 36 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 37 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString(".gOOgle.com"); rules 38 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 40 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*.google.com", rules.rules()[0]->ToString()); rules 44 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); rules 45 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("ftp://www.google.com:99"))); rules 46 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://a.google.com:81"))); rules 47 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://foo.google.com/x/y?q"))); rules 48 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://foo:bar@baz.google.com#x"))); rules 51 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://google.com"))); rules 52 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foo.google.com.baz.org"))); rules 56 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 57 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("*.GOOGLE.com:80"); rules 58 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 59 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*.google.com:80", rules.rules()[0]->ToString()); rules 62 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); rules 63 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("ftp://www.google.com:80"))); rules 64 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://a.google.com:80?x"))); rules 67 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://google.com"))); rules 68 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foo.google.com.baz.org"))); rules 71 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com:90"))); rules 72 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 76 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 77 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("*"); rules 78 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 79 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*", rules.rules()[0]->ToString()); rules 81 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); rules 82 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("ftp://www.foobar.com:99"))); rules 83 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://a.google.com:80?x"))); rules 87 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 88 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("*.org:443"); rules 89 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 90 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*.org:443", rules.rules()[0]->ToString()); rules 92 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.org:443"))); rules 93 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://www.google.org"))); rules 95 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.org"))); rules 96 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 97 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.org.com"))); rules 101 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 102 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("192.168.1.1"); rules 103 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 104 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("192.168.1.1", rules.rules()[0]->ToString()); rules 106 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://192.168.1.1"))); rules 107 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://192.168.1.1:90"))); rules 109 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com"))); rules 110 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://sup.192.168.1.1"))); rules 114 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 115 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("192.168.1.1:33"); rules 116 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 117 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("192.168.1.1:33", rules.rules()[0]->ToString()); rules 119 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://192.168.1.1:33"))); rules 121 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com"))); rules 122 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://192.168.1.1"))); rules 123 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://sup.192.168.1.1:33"))); rules 127 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 128 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("[3ffe:2a00:100:7031:0:0::1]"); rules 129 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 131 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("[3ffe:2a00:100:7031::1]", rules.rules()[0]->ToString()); rules 133 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://[3ffe:2a00:100:7031::1]"))); rules 134 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://[3ffe:2a00:100:7031::1]:33"))); rules 136 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com"))); rules 137 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://sup.192.168.1.1:33"))); rules 141 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 142 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("[3ffe:2a00:100:7031::1]:33"); rules 143 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 144 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("[3ffe:2a00:100:7031::1]:33", rules.rules()[0]->ToString()); rules 146 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://[3ffe:2a00:100:7031::1]:33"))); rules 148 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://[3ffe:2a00:100:7031::1]"))); rules 149 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com"))); rules 153 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 154 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("http://www.google.com"); rules 155 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 156 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("http://www.google.com", rules.rules()[0]->ToString()); rules 158 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com/foo"))); rules 159 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com:99"))); rules 161 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 162 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("ftp://www.google.com"))); rules 163 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foo.www.google.com"))); rules 164 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com.org"))); rules 165 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 169 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 170 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("http://*www.google.com"); rules 171 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 172 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("http://*www.google.com", rules.rules()[0]->ToString()); rules 174 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com/foo"))); rules 175 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://www.google.com:99"))); rules 176 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://foo.www.google.com"))); rules 178 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 179 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("ftp://www.google.com"))); rules 180 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://www.google.com.org"))); rules 181 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("https://www.google.com"))); rules 185 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 186 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromStringUsingSuffixMatching( rules 189 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(7u, rules.rules().size()); rules 190 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*foo1.com", rules.rules()[0]->ToString()); rules 191 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*.foo2.com", rules.rules()[1]->ToString()); rules 192 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("192.168.1.1", rules.rules()[2]->ToString()); rules 193 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*foobar.com:80", rules.rules()[3]->ToString()); rules 194 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("*.foo", rules.rules()[4]->ToString()); rules 195 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("http://*baz", rules.rules()[5]->ToString()); rules 196 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("<local>", rules.rules()[6]->ToString()); rules 198 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://foo1.com"))); rules 199 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://aaafoo1.com"))); rules 200 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://aaafoo1.com.net"))); rules 204 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 205 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString(".google.com , .foobar.com:30"); rules 206 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(2u, rules.rules().size()); rules 208 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://baz.google.com:40"))); rules 209 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://google.com:40"))); rules 210 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://bar.foobar.com:30"))); rules 211 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://bar.foobar.com"))); rules 212 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://bar.foobar.com:33"))); rules 216 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 217 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("://")); rules 218 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString(" ")); rules 219 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("http://")); rules 220 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.AddRuleFromString("*.foo.com:-34")); rules 221 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ(0u, rules.rules().size()); rules 275 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 276 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("<local>"); rules 281 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ(tests[i].expected_is_local, rules.Matches(GURL(tests[i].url))); rules 286 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 287 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("192.168.1.1/16"); rules 288 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 289 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("192.168.1.1/16", rules.rules()[0]->ToString()); rules 291 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://192.168.1.1"))); rules 292 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("ftp://192.168.4.4"))); rules 293 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("https://192.168.0.0:81"))); rules 294 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://[::ffff:192.168.11.11]"))); rules 296 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foobar.com"))); rules 297 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://192.169.1.1"))); rules 298 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://xxx.192.168.1.1"))); rules 299 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://192.168.1.1.xx"))); rules 303 net/proxy/proxy_bypass_rules_unittest.cc ProxyBypassRules rules; rules 304 net/proxy/proxy_bypass_rules_unittest.cc rules.ParseFromString("a:b:c:d::/48"); rules 305 net/proxy/proxy_bypass_rules_unittest.cc ASSERT_EQ(1u, rules.rules().size()); rules 306 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_EQ("a:b:c:d::/48", rules.rules()[0]->ToString()); rules 308 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_TRUE(rules.Matches(GURL("http://[A:b:C:9::]"))); rules 309 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://foobar.com"))); rules 310 net/proxy/proxy_bypass_rules_unittest.cc EXPECT_FALSE(rules.Matches(GURL("http://192.169.1.1"))); rules 255 net/proxy/proxy_config.cc if (!bypass.rules().empty()) { rules 262 net/proxy/proxy_config.cc bypass.rules().begin(); rules 263 net/proxy/proxy_config.cc it != bypass.rules().end(); ++it) { rules 120 net/proxy/proxy_config_service_android.cc ProxyConfig::ProxyRules* rules) { rules 127 net/proxy/proxy_config_service_android.cc rules->type = ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; rules 128 net/proxy/proxy_config_service_android.cc rules->proxies_for_http.SetSingleProxyServer( rules 130 net/proxy/proxy_config_service_android.cc rules->proxies_for_https.SetSingleProxyServer( rules 132 net/proxy/proxy_config_service_android.cc rules->proxies_for_ftp.SetSingleProxyServer( rules 134 net/proxy/proxy_config_service_android.cc rules->fallback_proxies.SetSingleProxyServer(LookupSocksProxy(get_property)); rules 135 net/proxy/proxy_config_service_android.cc rules->bypass_rules.Clear(); rules 136 net/proxy/proxy_config_service_android.cc AddBypassRules("ftp", get_property, &rules->bypass_rules); rules 137 net/proxy/proxy_config_service_android.cc AddBypassRules("http", get_property, &rules->bypass_rules); rules 138 net/proxy/proxy_config_service_android.cc AddBypassRules("https", get_property, &rules->bypass_rules); rules 140 net/proxy/proxy_config_service_android.cc return !(rules->proxies_for_http.IsEmpty() && rules 141 net/proxy/proxy_config_service_android.cc rules->proxies_for_https.IsEmpty() && rules 142 net/proxy/proxy_config_service_android.cc rules->proxies_for_ftp.IsEmpty() && rules 143 net/proxy/proxy_config_service_android.cc rules->fallback_proxies.IsEmpty()); rules 166 net/proxy/proxy_config_service_android.cc std::string rules = base::StringPrintf("%s:%d", host.c_str(), port); rules 167 net/proxy/proxy_config_service_android.cc config->proxy_rules().ParseFromString(rules); rules 64 net/proxy/proxy_config_service_common_unittest.cc bypass_rules.rules().begin(); rules 65 net/proxy/proxy_config_service_common_unittest.cc it != bypass_rules.rules().end(); ++it) { rules 96 net/proxy/proxy_config_service_common_unittest.cc const ProxyConfig::ProxyRules& rules) const { rules 100 net/proxy/proxy_config_service_common_unittest.cc if (rules.type != type) { rules 102 net/proxy/proxy_config_service_common_unittest.cc << type << " but was: " << rules.type; rules 107 net/proxy/proxy_config_service_common_unittest.cc rules.single_proxies, &failure_details, &failed); rules 109 net/proxy/proxy_config_service_common_unittest.cc rules.proxies_for_http, &failure_details, rules 112 net/proxy/proxy_config_service_common_unittest.cc rules.proxies_for_https, &failure_details, rules 115 net/proxy/proxy_config_service_common_unittest.cc rules.fallback_proxies, &failure_details, &failed); rules 117 net/proxy/proxy_config_service_common_unittest.cc std::string actual_flattened_bypass = FlattenProxyBypass(rules.bypass_rules); rules 125 net/proxy/proxy_config_service_common_unittest.cc if (rules.reverse_bypass != reverse_bypass) { rules 127 net/proxy/proxy_config_service_common_unittest.cc << " but got: " << rules.reverse_bypass; rules 31 net/proxy/proxy_config_service_common_unittest.h const ProxyConfig::ProxyRules& rules) const; rules 330 net/proxy/proxy_config_unittest.cc ProxyConfig::ProxyRules rules; rules 333 net/proxy/proxy_config_unittest.cc rules.ParseFromString("http=httpproxy:80"); rules 334 net/proxy/proxy_config_unittest.cc rules.bypass_rules.AddRuleFromString(".com"); rules 336 net/proxy/proxy_config_unittest.cc rules.Apply(GURL("http://example.com"), &result); rules 340 net/proxy/proxy_config_unittest.cc rules.Apply(GURL("http://example.org"), &result); rules 345 net/proxy/proxy_config_unittest.cc rules.reverse_bypass = true; rules 347 net/proxy/proxy_config_unittest.cc rules.Apply(GURL("http://example.org"), &result); rules 351 net/proxy/proxy_config_unittest.cc rules.Apply(GURL("http://example.com"), &result); rules 283 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRuleForAddressFamily( rules 285 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules() rules 287 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddSimulatedFailure("host2"); rules 288 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host3", "166.155.144.33"); rules 289 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host5", "166.155.144.55"); rules 290 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddSimulatedFailure("host6"); rules 291 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRuleForAddressFamily( rules 293 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "133.122.100.200"); rules 360 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("foopy", "166.155.144.11"); rules 361 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); rules 417 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "166.155.144.11"); rules 418 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("crazy4", "133.199.111.4"); rules 419 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); rules 469 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "166.155.144.11"); rules 470 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "166.155.144.22"); rules 471 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host3", "166.155.144.33"); rules 472 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host4", "166.155.144.44"); rules 473 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); rules 509 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host*", "166.155.144.11"); rules 510 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); rules 552 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host*", "166.155.144.11"); rules 553 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); rules 586 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "91.13.12.1"); rules 587 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "91.13.12.2"); rules 594 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->ClearRules(); rules 597 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "145.88.13.3"); rules 598 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "137.89.8.45"); rules 655 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddSimulatedFailure("*"); rules 683 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddSimulatedFailure("*"); rules 715 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddSimulatedFailure("*"); rules 959 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "182.111.0.222"); rules 960 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "111.33.44.55"); rules 998 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRuleForAddressFamily( rules 1000 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules() rules 1002 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddSimulatedFailure("host2"); rules 1003 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("host3", "166.155.144.33"); rules 1004 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("host5", "166.155.144.55"); rules 1005 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddSimulatedFailure("host6"); rules 1006 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRuleForAddressFamily( rules 1008 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("*", "133.122.100.200"); rules 1031 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver3.rules()->AddRule("foo", "166.155.144.33"); rules 100 net/proxy/proxy_script_decider_unittest.cc explicit RuleBasedProxyScriptFetcher(const Rules* rules) rules 101 net/proxy/proxy_script_decider_unittest.cc : rules_(rules), request_context_(NULL) {} rules 181 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 182 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 188 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rules 217 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 218 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 224 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://custom/proxy.pac"); rules 253 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 254 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 260 net/proxy/proxy_script_decider_unittest.cc rules.AddFailParsingRule("http://custom/proxy.pac"); rules 272 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 288 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 289 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 295 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://wpad/wpad.dat"); rules 342 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("wpad", "1.2.3.4"); rules 355 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("wpad", "1.2.3.4"); rules 371 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddSimulatedFailure("wpad"); rules 411 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddSimulatedFailure("wpad"); rules 423 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddSimulatedFailure("wpad"); rules 424 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("custom", "1.2.3.4"); rules 433 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 434 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 441 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 442 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rules 457 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 458 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 466 net/proxy/proxy_script_decider_unittest.cc rules.AddFailParsingRule("http://wpad/wpad.dat"); rules 467 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rules 521 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 522 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 529 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 530 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://custom/proxy.pac"); rules 542 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 543 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 550 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 551 net/proxy/proxy_script_decider_unittest.cc rules.AddFailParsingRule("http://custom/proxy.pac"); rules 565 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 566 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 572 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://custom/proxy.pac"); rules 607 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 608 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 614 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://custom/proxy.pac"); rules 675 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 676 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 683 net/proxy/proxy_script_decider_unittest.cc rules.AddSuccessRule("http://bingo/"); rules 684 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 698 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 699 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 706 net/proxy/proxy_script_decider_unittest.cc rules.AddFailParsingRule("http://bingo/"); rules 707 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 759 net/proxy/proxy_script_decider_unittest.cc Rules rules; rules 760 net/proxy/proxy_script_decider_unittest.cc RuleBasedProxyScriptFetcher fetcher(&rules); rules 766 net/proxy/proxy_script_decider_unittest.cc rules.AddFailDownloadRule("http://wpad/wpad.dat"); rules 103 net/quic/quic_end_to_end_unittest.cc resolver->rules()->AddRule("www.google.com", "127.0.0.1"); rules 634 net/quic/quic_network_transaction_unittest.cc host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); rules 676 net/quic/quic_network_transaction_unittest.cc host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); rules 717 net/quic/quic_network_transaction_unittest.cc host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); rules 864 net/quic/quic_network_transaction_unittest.cc host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); rules 251 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(host_port_pair_.host(), rules 280 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(host_port_pair_.host(), rules 362 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule( rules 364 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule( rules 412 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule( rules 414 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule( rules 492 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(server1.host(), "192.168.0.1", ""); rules 493 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(server2.host(), "192.168.0.1", ""); rules 557 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(server1.host(), "192.168.0.1", ""); rules 558 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddIPLiteralRule(server2.host(), "192.168.0.1", ""); rules 729 net/quic/quic_stream_factory_test.cc host_resolver_.rules()->AddSimulatedFailure(kDefaultServerHostName); rules 357 net/socket/socks_client_socket_unittest.cc host_resolver_->rules()->AddSimulatedFailure(hostname); rules 817 net/socket/ssl_client_socket_pool_unittest.cc host_resolver_.rules()->AddIPLiteralRule( rules 877 net/socket/ssl_client_socket_pool_unittest.cc host_resolver_.rules()->AddIPLiteralRule( rules 605 net/socket/transport_client_socket_pool_unittest.cc host_resolver_->rules()->AddSimulatedFailure("unresolvable.host.name"); rules 1241 net/socket/transport_client_socket_pool_unittest.cc host_resolver_->rules() rules 1286 net/socket/transport_client_socket_pool_unittest.cc host_resolver_->rules() rules 1320 net/socket/transport_client_socket_pool_unittest.cc host_resolver_->rules() rules 1354 net/socket/transport_client_socket_pool_unittest.cc host_resolver_->rules()->AddIPLiteralRule("*", "1.1.1.1", std::string()); rules 459 net/socket_stream/socket_stream_unittest.cc mock_host_resolver->rules()->AddSimulatedFailure("example.com"); rules 335 net/spdy/spdy_session_pool_unittest.cc session_deps_.host_resolver->rules()->AddIPLiteralRule( rules 2766 net/spdy/spdy_session_unittest.cc session_deps_.host_resolver->rules()->AddIPLiteralRule( rules 2768 net/spdy/spdy_session_unittest.cc session_deps_.host_resolver->rules()->AddIPLiteralRule( rules 2771 net/spdy/spdy_session_unittest.cc session_deps_.host_resolver->rules()->AddIPLiteralRule( rules 30 net/tools/tld_cleanup/tld_cleanup_util.cc bool WriteRules(const RuleMap& rules, const base::FilePath& outfile) { rules 46 net/tools/tld_cleanup/tld_cleanup_util.cc for (RuleMap::const_iterator i = rules.begin(); i != rules.end(); ++i) { rules 133 net/tools/tld_cleanup/tld_cleanup_util.cc RuleMap* rules) { rules 134 net/tools/tld_cleanup/tld_cleanup_util.cc CHECK(rules); rules 180 net/tools/tld_cleanup/tld_cleanup_util.cc CHECK(rules->find(domain) == rules->end()) rules 183 net/tools/tld_cleanup/tld_cleanup_util.cc (*rules)[domain] = rule; rules 225 net/tools/tld_cleanup/tld_cleanup_util.cc if (rules->find(iter->first) == rules->end()) { rules 226 net/tools/tld_cleanup/tld_cleanup_util.cc (*rules)[iter->first] = iter->second; rules 235 net/tools/tld_cleanup/tld_cleanup_util.cc RuleMap rules; rules 243 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 245 net/tools/tld_cleanup/tld_cleanup_util.cc if (!WriteRules(rules, out_filename)) { rules 43 net/tools/tld_cleanup/tld_cleanup_util.h RuleMap* rules); rules 28 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 29 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 31 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(2U, rules.size()); rules 32 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_iter = rules.find("foo"); rules 33 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_iter); rules 37 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("bar"); rules 38 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 48 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 49 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 51 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(2U, rules.size()); rules 52 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_bar_iter = rules.find("foo.bar"); rules 53 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_bar_iter); rules 57 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("bar"); rules 58 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 69 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 70 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 72 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(3U, rules.size()); rules 73 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_iter = rules.find("foo"); rules 74 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_iter); rules 78 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("bar"); rules 79 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 83 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator baz_iter = rules.find("baz"); rules 84 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == baz_iter); rules 94 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 95 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 97 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(2U, rules.size()); rules 98 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("bar"); rules 99 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 103 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_bar_iter = rules.find("foo.bar"); rules 104 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_bar_iter); rules 115 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 116 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 118 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(4U, rules.size()); rules 119 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_bar_iter = rules.find("foo.bar"); rules 120 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_bar_iter); rules 124 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator baz_bar_iter = rules.find("baz.bar"); rules 125 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == baz_bar_iter); rules 129 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("bar"); rules 130 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 134 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator qux_bar_iter = rules.find("qux.bar"); rules 135 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == qux_bar_iter); rules 146 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap rules; rules 147 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); rules 149 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_EQ(3U, rules.size()); rules 150 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator foo_bar_iter = rules.find("bar"); rules 151 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == foo_bar_iter); rules 155 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator bar_iter = rules.find("foo.bar"); rules 156 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == bar_iter); rules 160 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc RuleMap::const_iterator baz_bar_iter = rules.find("baz.bar"); rules 161 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ASSERT_FALSE(rules.end() == baz_bar_iter); rules 194 net/url_request/url_fetcher_impl_unittest.cc resolver_.rules()->AddRule("example.com", "127.0.0.1"); rules 1839 net/url_request/url_request_unittest.cc host_resolver.rules()->AddSimulatedFailure("*"); rules 120 third_party/libxml/src/schematron.c xmlSchematronRulePtr rules; /* the list of rules */ rules 144 third_party/libxml/src/schematron.c xmlSchematronRulePtr rules; /* the rules gathered */ rules 423 third_party/libxml/src/schematron.c if (schema->rules == NULL) { rules 424 third_party/libxml/src/schematron.c schema->rules = ret; rules 426 third_party/libxml/src/schematron.c xmlSchematronRulePtr prev = schema->rules; rules 433 third_party/libxml/src/schematron.c if (pat->rules == NULL) { rules 434 third_party/libxml/src/schematron.c pat->rules = ret; rules 436 third_party/libxml/src/schematron.c xmlSchematronRulePtr prev = pat->rules; rules 452 third_party/libxml/src/schematron.c xmlSchematronFreeRules(xmlSchematronRulePtr rules) { rules 455 third_party/libxml/src/schematron.c while (rules != NULL) { rules 456 third_party/libxml/src/schematron.c next = rules->next; rules 457 third_party/libxml/src/schematron.c if (rules->tests) rules 458 third_party/libxml/src/schematron.c xmlSchematronFreeTests(rules->tests); rules 459 third_party/libxml/src/schematron.c if (rules->context != NULL) rules 460 third_party/libxml/src/schematron.c xmlFree(rules->context); rules 461 third_party/libxml/src/schematron.c if (rules->pattern) rules 462 third_party/libxml/src/schematron.c xmlFreePattern(rules->pattern); rules 463 third_party/libxml/src/schematron.c if (rules->report != NULL) rules 464 third_party/libxml/src/schematron.c xmlFree(rules->report); rules 465 third_party/libxml/src/schematron.c xmlFree(rules); rules 466 third_party/libxml/src/schematron.c rules = next; rules 572 third_party/libxml/src/schematron.c xmlSchematronFreeRules(schema->rules); rules 1672 third_party/libxml/src/schematron.c (ctxt->schema->rules == NULL) || (instance == NULL)) rules 1689 third_party/libxml/src/schematron.c rule = ctxt->schema->rules; rules 1720 third_party/libxml/src/schematron.c rule = pattern->rules; rules 240 ui/base/l10n/formatter.cc const icu::PluralRules& rules, rules 243 ui/base/l10n/formatter.cc if (rules.isKeyword(UNICODE_STRING_SIMPLE("one"))) rules 249 ui/base/l10n/formatter.cc new icu::PluralFormat(rules, pattern, error)); rules 266 ui/base/l10n/formatter.cc scoped_ptr<icu::PluralRules> rules(l10n_util::BuildPluralRules()); rules 267 ui/base/l10n/formatter.cc return CreateFallbackFormat(*rules, pluralities); rules 70 ui/base/l10n/formatter.h const icu::PluralRules& rules, rules 14 ui/base/l10n/l10n_util_plurals.cc scoped_ptr<icu::PluralRules> rules( rules 19 ui/base/l10n/l10n_util_plurals.cc rules.reset(icu::PluralRules::createRules(fallback_rules, err)); rules 22 ui/base/l10n/l10n_util_plurals.cc return rules.Pass(); rules 37 ui/base/l10n/l10n_util_plurals.cc scoped_ptr<icu::PluralRules> rules(BuildPluralRules()); rules 49 ui/base/l10n/l10n_util_plurals.cc (i == 0 || rules->isKeyword(kKeywords[i]))) { rules 57 ui/base/l10n/l10n_util_plurals.cc new icu::PluralFormat(*rules, pattern, err)); rules 40 ui/wm/core/focus_controller.cc FocusController::FocusController(FocusRules* rules) rules 45 ui/wm/core/focus_controller.cc rules_(rules), rules 47 ui/wm/core/focus_controller.cc DCHECK(rules); rules 43 ui/wm/core/focus_controller.h explicit FocusController(FocusRules* rules);