/external/chromium/net/base/ |
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.RewriteHost(&host_port)) 72 HostMappingRules rules; local [all...] |
/external/chromium_org/net/base/ |
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.RewriteHost(&host_port)) 72 HostMappingRules rules; local [all...] |
/external/junit/src/org/junit/rules/ |
MethodRule.java | 1 package org.junit.rules;
|
TestRule.java | 1 package org.junit.rules;
|
TestName.java | 1 package org.junit.rules;
|
Timeout.java | 4 package org.junit.rules;
|
Verifier.java | 1 package org.junit.rules; 7 * Verifier is a base class for Rules like ErrorCollector, which can turn
|
ErrorCollector.java | 4 package org.junit.rules;
|
ExternalResource.java | 1 package org.junit.rules; 7 * A base class for Rules (like TemporaryFolder) that set up an external
|
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) { 13 statement= applyAll(base, rules, description); 21 private static Statement applyAll(Statement result, Iterable<TestRule> rules, 23 for (TestRule each : rules)
|
TestWatcher.java | 1 package org.junit.rules; 8 * TestWatcher is a base class for Rules that take note of the testing
|
TestWatchman.java | 1 package org.junit.rules; 8 * TestWatchman is a base class for Rules that take note of the testing
|
/external/chromium/net/proxy/ |
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...] |
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.Matches(GURL("http://foo.www.google.com"))) 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/ |
dns_probe_test_util.cc | 30 MockDnsClientRuleList rules; local 31 rules.push_back(MockDnsClientRule(DnsProbeRunner::kKnownGoodHostname, kTypeA, 34 return scoped_ptr<DnsClient>(new net::MockDnsClient(config, rules));
|
/external/chromium_org/net/proxy/ |
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...] |
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.Matches(GURL("http://foo.www.google.com"))) 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/third_party/icu/source/i18n/ |
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/ |
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/chromium/net/http/ |
http_auth_filter.h | 46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
|
/external/chromium_org/net/http/ |
http_auth_filter.h | 46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuite.java | 36 protected List<Rule> rules ; field in class:TestSuite 44 rules = new ArrayList<Rule>(); 54 rules.add(currentRule); 59 for(Rule r: rules) { 68 return rules.size(); 72 rules.clear(); 73 rules.addAll(newRules); 82 public Rule getRule(int index) { return rules.get(index); } 89 for(Rule rule: rules) { 98 public List getRulesForStringTemplate() {return rules;} [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
PluralResourceLoader.java | 26 PluralRules rules = plurals.get(name); local 27 if (rules != null) { 28 Plural p = rules.find(quantity); 39 PluralRules rules = new PluralRules(); local 46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem))); 48 rules.add(new Plural(quantity, value)); 51 plurals.put("plurals/" + name, rules);
|
/external/chromium_org/chrome/browser/chromeos/ |
ui_proxy_config.cc | 45 void UIProxyConfig::SetBypassRules(const net::ProxyBypassRules& rules) { 48 NOTREACHED() << "Cannot set bypass rules for proxy mode [" << mode << "]"; 51 bypass_rules = rules; 56 const net::ProxyConfig::ProxyRules& rules = net_config.proxy_rules(); local 57 switch (rules.type) { 71 if (rules.single_proxies.IsEmpty()) 74 single_proxy.server = rules.single_proxies.Get(); 75 bypass_rules = rules.bypass_rules; 79 if (rules.proxies_for_http.IsEmpty() && 80 rules.proxies_for_https.IsEmpty() & [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
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);
|