HomeSort by relevance Sort by last modified time
    Searched defs:rules (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /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/chromium_org/third_party/WebKit/Source/core/css/
RuleSetTest.cpp 45 const TerminatedArray<RuleData>* rules = ruleSet.shadowPseudoElementRules(str); local
46 ASSERT_EQ(1u, rules->size());
47 ASSERT_EQ(str, rules->at(0).selector().value());
57 const TerminatedArray<RuleData>* rules = ruleSet.idRules(str); local
58 ASSERT_EQ(1u, rules->size());
59 ASSERT_EQ(str, rules->at(0).selector().value());
69 const TerminatedArray<RuleData>* rules = ruleSet.tagRules(str); local
70 ASSERT_EQ(1u, rules->size());
71 ASSERT_EQ(str, rules->at(0).selector().tagQName().localName());
82 const TerminatedArray<RuleData>* rules = ruleSet.idRules(str) local
95 const TerminatedArray<RuleData>* rules = ruleSet.idRules(str); local
107 const TerminatedArray<RuleData>* rules = ruleSet.idRules(str); local
120 const TerminatedArray<RuleData>* rules = ruleSet.idRules(str); local
133 const TerminatedArray<RuleData>* rules = ruleSet.tagRules(str); 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_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/chromium_org/tools/memory_inspector/memory_inspector/classification/
rules_unittest.py 7 from memory_inspector.classification import rules namespace
62 rt = rules.Load(_TEST_RULE, MockRule)
94 class MockRule(rules.Rule):
results.py 7 This complements the structure defined in the rules module. Symmetrically, the
13 - The rules define how to "match" a trace_record (e.g., a mmap line or a native
46 from memory_inspector.classification import rules namespace
53 """Initializes the bucket tree using the structure of the rules tree.
57 assert(isinstance(rule_tree, rules.Rule))
97 assert(isinstance(rule, rules.Rule))
results_unittest.py 9 from memory_inspector.classification import rules namespace
31 rule = rules.Load(str(rules_dict), MockRegexMatchingRule)
57 class MockRegexMatchingRule(rules.Rule):
  /external/icu/icu4c/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...]
  /art/build/
Android.oat.mk 18 # Rules to build a smaller "core" image to support core libraries
21 # The main rules to build the default "boot" image are in
28 define create-core-oat-host-rules
44 endef # create-core-oat-host-rules
46 $(eval $(call create-core-oat-host-rules,))
48 $(eval $(call create-core-oat-host-rules,2ND_))
51 define create-core-oat-target-rules
67 endef # create-core-oat-target-rules
70 $(eval $(call create-core-oat-target-rules,2ND_))
72 $(eval $(call create-core-oat-target-rules,))
    [all...]
  /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...]
  /dalvik/dx/
Android.mk 30 # the mainDexClasses rules
36 LOCAL_MODULE := mainDexClasses.rules
41 $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/etc/mainDexClasses.rules | $(ACP)
47 installed_mainDexClasses.rules := $(LOCAL_INSTALLED_MODULE)
88 $(LOCAL_INSTALLED_MODULE): | $(installed_shrinkedAndroid) $(installed_mainDexClasses.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...]

Completed in 883 milliseconds

1 2 3 4 5 6 7 8 9