Searched defs:rules (Results 1 - 25 of 228) sorted by relevance

12345678910

/external/chromium/net/base/
H A Dhost_mapping_rules_unittest.cc15 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 Dhost_mapping_rules_unittest.cc15 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 Drbt_set.h31 * 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 Drbt_set.h31 * 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 DTestRule.java1 package org.junit.rules;
H A DRuleChain.java4 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 DRunRules.java1 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 DExternalResource.java1 package org.junit.rules;
H A DMethodRule.java1 package org.junit.rules;
H A DTestName.java1 package org.junit.rules;
H A DTimeout.java4 package org.junit.rules;
H A DVerifier.java1 package org.junit.rules;
H A DErrorCollector.java4 package org.junit.rules;
/external/chromium/net/http/
H A Dhttp_auth_filter.h46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
/external/chromium/net/proxy/
H A Dproxy_bypass_rules.h17 // 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 Dproxy_bypass_rules_unittest.cc17 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 Ddns_probe_test_util.cc30 MockDnsClientRuleList rules; local
31 rules.push_back(
34 return CreateMockDnsClient(config, rules).Pass();
/external/chromium_org/net/http/
H A Dhttp_auth_filter.h46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
/external/chromium_org/net/proxy/
H A Dproxy_bypass_rules.h17 // 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 Dproxy_bypass_rules_unittest.cc17 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 Dcontent_settings_rule_unittest.cc17 explicit ListIterator(const std::list<Rule>& rules) argument
18 : rules_(rules) {}
/external/chromium_org/chrome/browser/extensions/api/declarative/
H A Ddeclarative_api.cc48 // 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 Dtest_rules_registry.cc32 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 Dcontent_rules_registry_unittest.cc68 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 Dtld_cleanup_util_unittest.cc28 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...]

Completed in 4776 milliseconds

12345678910