/external/chromium_org/net/proxy/ |
proxy_config_unittest.cc | 330 ProxyConfig::ProxyRules rules; local 333 rules.ParseFromString("http=httpproxy:80"); 334 rules.bypass_rules.AddRuleFromString(".com"); 336 rules.Apply(GURL("http://example.com"), &result); 340 rules.Apply(GURL("http://example.org"), &result); 344 // Try with reversed bypass rules. 345 rules.reverse_bypass = true; 347 rules.Apply(GURL("http://example.org"), &result); 351 rules.Apply(GURL("http://example.com"), &result);
|
/external/chromium_org/net/tools/tld_cleanup/ |
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.size()) 69 RuleMap rules; local 94 RuleMap rules; local 115 RuleMap rules; local 146 RuleMap rules; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSRuleList.h | 58 Vector<RefPtr<CSSRule> >& rules() { return m_rules; } function in class:WebCore::StaticCSSRuleList
|
StyleInvalidationAnalysis.cpp | 75 const Vector<RefPtr<StyleRuleBase> >& rules = styleSheetContents->childRules(); local 76 for (unsigned i = 0; i < rules.size(); i++) { 77 const StyleRuleBase* rule = rules[i].get(); 118 case StyleRule::Page: // Page rules apply only during printing, we force a full-recalc before printing. 145 // See if all rules on the sheet are scoped to some specific ids or classes. 163 const Vector<RefPtr<StyleRuleBase> >& rules = styleSheetContents->childRules(); local 164 for (unsigned i = 0; i < rules.size(); i++) { 165 StyleRuleBase* rule = rules[i].get();
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
itrbnfp.cpp | 58 // these rules make no sense but behave rationally 102 // these rules would throw exceptions when formatting, if we could throw exceptions 111 // none of these rules should crash the formatter 119 const char** rules = allrules[j]; local 120 for (int i = 0; rules[i]; ++i) { 121 const char* rule = rules[i];
|
/external/icu4c/test/intltest/ |
itrbnfp.cpp | 58 // these rules make no sense but behave rationally 102 // these rules would throw exceptions when formatting, if we could throw exceptions 111 // none of these rules should crash the formatter 119 const char** rules = allrules[j]; local 120 for (int i = 0; rules[i]; ++i) { 121 const char* rule = rules[i];
|
/external/junit/src/org/junit/rules/ |
RuleChain.java | 4 package org.junit.rules; 72 private RuleChain(List<TestRule> rules) { 73 this.rulesStartingWithInnerMost= rules; 78 * the rules of the current {@code RuleChain}.
|
ExpectedException.java | 1 package org.junit.rules;
|
TemporaryFolder.java | 1 package org.junit.rules;
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
InstanceTargets.java | 49 int rules[] = params.getRules(); local 50 if (rules[ALIGN_PARENT_RIGHT] != 0) {
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_policy_provider_unittest.cc | 31 typedef std::vector<Rule> Rules; 53 Rules rules; local
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_store_unittest.cc | 67 std::vector<content_settings::Rule>* rules) { 68 rules->clear(); 72 rules->push_back(rule_iterator->Next()); 193 std::vector<content_settings::Rule> rules; local 195 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); local 196 ASSERT_EQ(0u, rules.size()); 212 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); local 213 ASSERT_EQ(1u, rules.size()); 214 CheckRule(rules[0], pattern, pattern, CONTENT_SETTING_ALLOW); 230 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); local 240 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); local 248 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_api.cc | 92 // there should never be a request for a nonexisting rules registry. 116 error_ = rules_registry_->AddRules(extension_id(), params->rules); 119 results_ = AddRules::Results::Create(params->rules); 142 std::vector<linked_ptr<Rule> > rules; local 145 extension_id(), *params->rule_identifiers, &rules); local 147 rules_registry_->GetAllRules(extension_id(), &rules); local 150 results_ = GetRules::Results::Create(rules);
|
declarative_apitest.cc | 71 "var rules = [{\n" 94 " chrome.declarativeWebRequest.onRequest.addRules(rules, report);\n" 112 // Reports the number of rules registered for the |extension_id| with the 113 // non-webview rules registry. 121 std::vector<linked_ptr<RulesRegistry::Rule> > rules; local 126 &RulesRegistry::GetAllRules, rules_registry, extension_id, &rules)); 130 return rules.size(); 137 // Check that uninstalling the extension has removed all rules. 142 // to process this unloading. The next task to retrive all rules 147 // PersistRules test first installs an extension, which registers some rules [all...] |
rules_cache_delegate.cc | 20 // Returns the key to use for storing declarative rules in the state store. 48 // Returns the key to use for storing whether the rules have been stored. 59 // 1. calls no (in particular virtual) methods of the rules registry, and 61 // scoped_refptr might delete the rules registry before it is constructed.) 100 const base::ListValue* rules = NULL; local 101 CHECK(value->GetAsList(&rules)); 103 bool store_rules = !rules->empty(); 207 // Safe default -- if we don't know that the rules are not stored, we force
|
/external/chromium_org/third_party/icu/source/i18n/ |
nfrs.h | 34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status); 71 NFRuleList rules; member in class:NFRuleSet
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cg7coll.c | 17 * Sample Rules: & Z < p , P 20 * Sample Rules: & c < ch , cH, Ch, CH 25 * Sample Rules: & Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&' 28 * Sample Rules: & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' 116 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 118 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 120 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 122 /* analogous to Japanese rules " & aa ; a- & ee ; e- & ii ; i- & oo ; o- & uu ; u- " */ /* loop to TOTALTESTSET */ 191 static const char rules[] = "& Z < p, P"; local 192 int32_t len=(int32_t)strlen(rules); 222 static const char rules[] = "& C < ch , cH, Ch, CH"; local 251 static const char rules[] = "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'"; local 281 static const char rules[] = " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' "; local [all...] |
/external/icu4c/i18n/ |
nfrs.h | 34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status); 65 NFRuleList rules; member in class:NFRuleSet
|
/external/icu4c/test/cintltst/ |
cg7coll.c | 17 * Sample Rules: & Z < p , P 20 * Sample Rules: & c < ch , cH, Ch, CH 25 * Sample Rules: & Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&' 28 * Sample Rules: & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' 116 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 118 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 120 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 122 /* analogous to Japanese rules " & aa ; a- & ee ; e- & ii ; i- & oo ; o- & uu ; u- " */ /* loop to TOTALTESTSET */ 129 To save space, Android does not include the collation tailoring rules. 195 static const char rules[] = "& Z < p, P" local 226 static const char rules[] = "& C < ch , cH, Ch, CH"; local 255 static const char rules[] = "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'"; local 285 static const char rules[] = " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' "; local [all...] |
/external/bison/src/ |
parse-gram.y | 84 rules using "|". Therefore free the parser's original copy. */ 551 rules 559 rules: label
|
state.h | 28 particular positions in particular rules -- that are the possible 64 state whose number is in the number field. rules is an array of 65 num rules. lookahead_tokens is an array of bitsets, one per rule. 187 rule *rules[1]; member in struct:__anon74
|
/external/chromium/net/base/ |
mock_host_resolver.h | 26 // host_resolver->rules()->AddRule("foo.com", "1.2.3.4"); 27 // host_resolver->rules()->AddRule("bar.com", "2.3.4.5"); 29 // The above rules define a static mapping from hostnames to IP address 44 RuleBasedHostResolverProc* rules() { return rules_; } function in class:net::MockHostResolverBase 100 // RuleBasedHostResolverProc applies a set of rules to map a host string to
|
/external/icu4c/i18n/unicode/ |
msgfmt.h | 903 PluralRules* rules; member in class:MessageFormat::PluralSelectorProvider [all...] |
/external/junit/src/org/junit/internal/runners/rules/ |
RuleFieldValidator.java | 1 package org.junit.internal.runners.rules; 8 import org.junit.rules.TestRule; 82 return org.junit.rules.MethodRule.class.isAssignableFrom(target
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/ |
proxy_form_controller.js | 601 config.rules = {singleProxy: this.singleProxy}; 603 config.rules = { 707 // Evaluate the `rules` 708 if (c.rules) { 709 var rules = c.rules; 710 if (rules.singleProxy) { 711 this.singleProxy = rules.singleProxy; 714 this.httpProxy = rules.proxyForHttp; 715 this.httpsProxy = rules.proxyForHttps [all...] |