/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...] |
H A D | 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
|
H A D | escape_unittest.cc | 28 UnescapeRule::Type rules; member in struct:__anon2068::UnescapeURLCase 34 UnescapeRule::Type rules; member in struct:__anon2068::UnescapeURLCaseASCII 196 UnescapeURLComponent(str, unescape_cases[i].rules)); 264 UnescapeURLComponent(str, unescape_cases[i].rules));
|
/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...] |
H A D | nfrs.h | 34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status); 71 NFRuleList rules; member in class:NFRuleSet
|
H A D | rbt.cpp | 30 void RuleBasedTransliterator::_construct(const UnicodeString& rules, argument 41 parser.parse(rules, direction, parseError, status); 58 * Constructs a new transliterator from the given rules. 60 * @param rules rules, separated by ';' 66 * @exception IllegalArgumentException if rules are malformed 71 const UnicodeString& rules, 77 _construct(rules, direction,parseError,status); 81 * Constructs a new transliterator from the given rules. 83 * @param rules rule 69 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) argument [all...] |
H A D | utrans.cpp | 135 const UChar *rules, 154 if(rules==NULL){ 166 rules, 182 const UChar* rules, /* may be Null */ 188 rules, rulesLength, 132 utrans_openU(const UChar *id, int32_t idLength, UTransDirection dir, const UChar *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) argument
|
/external/chromium/net/http/ |
H A D | http_auth_filter.h | 46 const ProxyBypassRules& rules() const { return rules_; } function in class:net::HttpAuthFilterWhitelist
|
H A D | http_stream_factory.cc | 124 void HttpStreamFactory::SetHostMappingRules(const std::string& rules) { argument 126 host_mapping_rules->SetRulesFromString(rules);
|
/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...] |
H A D | init_proxy_resolver_unittest.cc | 94 explicit RuleBasedProxyScriptFetcher(const Rules* rules) : rules_(rules) {} argument 118 RuleBasedProxyResolver(const Rules* rules, bool expects_pac_bytes) argument 119 : ProxyResolver(expects_pac_bytes), rules_(rules) {} 174 Rules rules; local 175 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); 176 RuleBasedProxyScriptFetcher fetcher(&rules); 181 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); 210 Rules rules; local 211 RuleBasedProxyResolver resolver(&rules, tru 243 Rules rules; local 261 Rules rules; local 276 Rules rules; local 293 Rules rules; local 312 Rules rules; local 373 Rules rules; local 393 Rules rules; local 415 Rules rules; local 436 Rules rules; local 478 Rules rules; local [all...] |
/external/bison/src/ |
H A D | parse-gram.y | 406 rules 414 rules: label
|
H A D | state.h | 30 particular positions in particular rules -- that are the possible 67 nreds rules, represented by their rule numbers. first_reduction 189 rule *rules[1]; member in struct:__anon27
|
/external/webkit/Source/WebCore/css/ |
H A D | CSSMediaRule.h | 38 static PassRefPtr<CSSMediaRule> create(CSSStyleSheet* parent, PassRefPtr<MediaList> media, PassRefPtr<CSSRuleList> rules) argument 40 return adoptRef(new CSSMediaRule(parent, media, rules));
|
H A D | CSSMediaRule.cpp | 31 CSSMediaRule::CSSMediaRule(CSSStyleSheet* parent, PassRefPtr<MediaList> media, PassRefPtr<CSSRuleList> rules) argument 34 , m_lstCSSRules(rules)
|
H A D | CSSStyleSheet.h | 72 PassRefPtr<CSSRuleList> rules() { return cssRules(true); } function in class:WebCore::CSSStyleSheet
|
/external/icu4c/test/intltest/ |
H A D | 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/antlr/src/org/antlr/runtime/ |
H A D | SerializedGrammar.java | 45 public List rules; field in class:SerializedGrammar 108 System.out.println("num rules = "+numRules); 109 rules = readRules(in, numRules); 113 List rules = new ArrayList(); 116 rules.add(r); 118 return rules; 195 buf.append(rules);
|
/external/icu4c/common/ |
H A D | rbbirb.cpp | 8 // building (compiling) break rules into the tables required by the runtime 45 RBBIRuleBuilder::RBBIRuleBuilder(const UnicodeString &rules, argument 48 : fRules(rules) 148 // Remove comments and whitespace from the rules to make it smaller. 226 // createRuleBasedBreakIterator construct from source rules that are passed in 231 RBBIRuleBuilder::createRuleBasedBreakIterator( const UnicodeString &rules, argument 238 // Read the input rules, generate a parse tree, symbol table, 239 // and list of all Unicode Sets referenced by the rules. 241 RBBIRuleBuilder builder(rules, parseError, status); 306 // Create a break iterator from the compiled rules [all...] |
H A D | rbbistbl.cpp | 41 RBBISymbolTable::RBBISymbolTable(RBBIRuleScanner *rs, const UnicodeString &rules, UErrorCode &status) argument 42 :fRules(rules), fRuleScanner(rs), ffffString(UChar(0xffff)) 135 // from the rules based transliterator implementation.
|
H A D | ubrk.cpp | 89 // ubrk_openRules open a break iterator from a set of break rules. 94 ubrk_openRules( const UChar *rules, argument 106 UnicodeString ruleString(rules, rulesLength);
|
/external/icu4c/test/cintltst/ |
H A D | cg7coll.c | 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 196 int32_t len=(int32_t)strlen(rules); 197 UChar temp[sizeof(rules)]; 199 u_uastrcpy(temp, rules); 201 log_verbose("Demo Test 1 : Create a new table collation with rules \" 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/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/ |
H A D | 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 [all...] |
/external/chromium/net/tools/tld_cleanup/ |
H A D | tld_cleanup.cc | 17 // * Strips blank lines and comments, as well as notes for individual rules. 23 // * Adds explicit rules for true TLDs found in any rule. 52 // Writes the list of domain rules contained in the 'rules' set to the 55 bool WriteRules(const RuleMap& rules, FilePath outfile) { argument 72 for (RuleMap::const_iterator i = rules.begin(); i != rules.end(); ++i) { 162 // the most severe of the result codes encountered when normalizing the rules. 178 RuleMap rules; local 200 // Check the existing rules t [all...] |