/external/chromium/net/base/ |
H A D | host_mapping_rules_unittest.cc | 15 HostMappingRules rules; local 16 rules.SetRulesFromString( 20 EXPECT_FALSE(rules.RewriteHost(&host_port)); 25 EXPECT_TRUE(rules.RewriteHost(&host_port)); 30 EXPECT_TRUE(rules.RewriteHost(&host_port)); 35 EXPECT_FALSE(rules.RewriteHost(&host_port)); 41 HostMappingRules rules; local 42 rules.SetRulesFromString( 47 EXPECT_FALSE(rules.RewriteHost(&host_port)); 53 EXPECT_TRUE(rules 72 HostMappingRules rules; local [all...] |
/external/chromium_org/net/base/ |
H A D | host_mapping_rules_unittest.cc | 15 HostMappingRules rules; local 16 rules.SetRulesFromString( 20 EXPECT_FALSE(rules.RewriteHost(&host_port)); 25 EXPECT_TRUE(rules.RewriteHost(&host_port)); 30 EXPECT_TRUE(rules.RewriteHost(&host_port)); 35 EXPECT_FALSE(rules.RewriteHost(&host_port)); 41 HostMappingRules rules; local 42 rules.SetRulesFromString( 47 EXPECT_FALSE(rules.RewriteHost(&host_port)); 53 EXPECT_TRUE(rules 72 HostMappingRules rules; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | rbt_set.h | 31 * A set of rules for a <code>RuleBasedTransliterator</code>. 36 * Vector of rules, in the order added. This is used while the 38 * indexes the rules into rules[]. Any given rule is stored once 39 * in ruleVector, and one or more times in rules[]. ruleVector 40 * owns and deletes the rules. 45 * Sorted and indexed table of rules. This is created by freeze() 46 * from the rules in ruleVector. It contains alias pointers to 47 * the rules in ruleVector. It is zero before freeze() is called 50 TransliterationRule** rules; member in class:TransliterationRuleSet [all...] |
/external/icu4c/i18n/ |
H A D | rbt_set.h | 31 * A set of rules for a <code>RuleBasedTransliterator</code>. 36 * Vector of rules, in the order added. This is used while the 38 * indexes the rules into rules[]. Any given rule is stored once 39 * in ruleVector, and one or more times in rules[]. ruleVector 40 * owns and deletes the rules. 45 * Sorted and indexed table of rules. This is created by freeze() 46 * from the rules in ruleVector. It contains alias pointers to 47 * the rules in ruleVector. It is zero before freeze() is called 50 TransliterationRule** rules; member in class:TransliterationRuleSet [all...] |
/external/junit/src/org/junit/rules/ |
H A D | TestRule.java | 1 package org.junit.rules;
|
H A D | RuleChain.java | 4 package org.junit.rules; 72 private RuleChain(List<TestRule> rules) { argument 73 this.rulesStartingWithInnerMost= rules; 78 * the rules of the current {@code RuleChain}.
|
H A D | RunRules.java | 1 package org.junit.rules; 7 * Runs a collection of rules on a statement. 12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) { argument 13 statement= applyAll(base, rules, description); 21 private static Statement applyAll(Statement result, Iterable<TestRule> rules, argument 23 for (TestRule each : rules)
|
H A D | ExternalResource.java | 1 package org.junit.rules;
|
H A D | MethodRule.java | 1 package org.junit.rules;
|
H A D | TestName.java | 1 package org.junit.rules;
|
H A D | Timeout.java | 4 package org.junit.rules;
|
H A D | Verifier.java | 1 package org.junit.rules;
|
H A D | ErrorCollector.java | 4 package org.junit.rules;
|
/external/chromium/net/http/ |
H A D | http_auth_filter.h | 46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
|
/external/chromium/net/proxy/ |
H A D | proxy_bypass_rules.h | 17 // settings, as a list of rules. A URL is said to match the bypass rules 18 // if it matches any one of these rules. 31 // visualizing the rules, and also to test equality of a rules list. 51 // Returns the current list of rules. The rules list contains pointers 54 const RuleList& rules() const { return rules_; } function in class:net::ProxyBypassRules 56 // Returns true if |url| matches any of the proxy bypass rules. 60 // describe the same set of rules [all...] |
H A D | proxy_bypass_rules_unittest.cc | 17 ProxyBypassRules rules; local 18 rules.ParseFromString("wWw.gOogle.com"); 19 ASSERT_EQ(1u, rules.rules().size()); 20 EXPECT_EQ("www.google.com", rules.rules()[0]->ToString()); 24 EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); 25 EXPECT_TRUE(rules.Matches(GURL("ftp://www.google.com:99"))); 26 EXPECT_TRUE(rules.Matches(GURL("https://www.google.com:81"))); 29 EXPECT_FALSE(rules 36 ProxyBypassRules rules; local 56 ProxyBypassRules rules; local 76 ProxyBypassRules rules; local 87 ProxyBypassRules rules; local 101 ProxyBypassRules rules; local 114 ProxyBypassRules rules; local 127 ProxyBypassRules rules; local 141 ProxyBypassRules rules; local 153 ProxyBypassRules rules; local 169 ProxyBypassRules rules; local 185 ProxyBypassRules rules; local 204 ProxyBypassRules rules; local 216 ProxyBypassRules rules; local 275 ProxyBypassRules rules; local 286 ProxyBypassRules rules; local 303 ProxyBypassRules rules; local [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | dns_probe_test_util.cc | 30 MockDnsClientRuleList rules; local 31 rules.push_back( 34 return CreateMockDnsClient(config, rules).Pass();
|
/external/chromium_org/net/http/ |
H A D | http_auth_filter.h | 46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
|
/external/chromium_org/net/proxy/ |
H A D | proxy_bypass_rules.h | 17 // settings, as a list of rules. A URL is said to match the bypass rules 18 // if it matches any one of these rules. 31 // visualizing the rules, and also to test equality of a rules list. 51 // Returns the current list of rules. The rules list contains pointers 54 const RuleList& rules() const { return rules_; } function in class:net::ProxyBypassRules 56 // Returns true if |url| matches any of the proxy bypass rules. 60 // describe the same set of rules [all...] |
H A D | proxy_bypass_rules_unittest.cc | 17 ProxyBypassRules rules; local 18 rules.ParseFromString("wWw.gOogle.com"); 19 ASSERT_EQ(1u, rules.rules().size()); 20 EXPECT_EQ("www.google.com", rules.rules()[0]->ToString()); 24 EXPECT_TRUE(rules.Matches(GURL("http://www.google.com"))); 25 EXPECT_TRUE(rules.Matches(GURL("ftp://www.google.com:99"))); 26 EXPECT_TRUE(rules.Matches(GURL("https://www.google.com:81"))); 29 EXPECT_FALSE(rules 36 ProxyBypassRules rules; local 56 ProxyBypassRules rules; local 76 ProxyBypassRules rules; local 87 ProxyBypassRules rules; local 101 ProxyBypassRules rules; local 114 ProxyBypassRules rules; local 127 ProxyBypassRules rules; local 141 ProxyBypassRules rules; local 153 ProxyBypassRules rules; local 169 ProxyBypassRules rules; local 185 ProxyBypassRules rules; local 204 ProxyBypassRules rules; local 216 ProxyBypassRules rules; local 275 ProxyBypassRules rules; local 286 ProxyBypassRules rules; local 303 ProxyBypassRules rules; local [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
H A D | content_settings_rule_unittest.cc | 17 explicit ListIterator(const std::list<Rule>& rules) argument 18 : rules_(rules) {}
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
H A D | declarative_api.cc | 48 // there should never be a request for a nonexisting rules registry. 72 error_ = rules_registry_->AddRules(extension_id(), params->rules); 75 results_ = AddRules::Results::Create(params->rules); 98 std::vector<linked_ptr<Rule> > rules; local 102 &rules); 104 error_ = rules_registry_->GetAllRules(extension_id(), &rules); 108 results_ = GetRules::Results::Create(rules);
|
H A D | test_rules_registry.cc | 32 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) { 30 AddRulesImpl( const std::string& extension_id, const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) argument
|
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
H A D | content_rules_registry_unittest.cc | 68 std::vector<linked_ptr<RulesRegistry::Rule> > rules; local 69 rules.push_back(rule); 73 registry->AddRulesImpl(extension->id(), rules);
|
/external/chromium_org/net/tools/tld_cleanup/ |
H A D | tld_cleanup_util_unittest.cc | 28 RuleMap rules; local 29 NormalizeResult result = NormalizeDataToRuleMap(data, &rules); 31 ASSERT_EQ(2U, rules.size()); 32 RuleMap::const_iterator foo_iter = rules.find("foo"); 33 ASSERT_FALSE(rules.end() == foo_iter); 37 RuleMap::const_iterator bar_iter = rules.find("bar"); 38 ASSERT_FALSE(rules.end() == bar_iter); 48 RuleMap rules; local 49 NormalizeResult result = NormalizeDataToRuleMap(data, &rules); 51 ASSERT_EQ(2U, rules 69 RuleMap rules; local 94 RuleMap rules; local 115 RuleMap rules; local 146 RuleMap rules; local [all...] |