/external/chromium/net/proxy/ |
proxy_bypass_rules.h | 21 // Interface for an individual proxy bypass rule. 22 class Rule { 24 Rule(); 25 virtual ~Rule(); 27 // Returns true if |url| matches the rule. 30 // Returns a string representation of this rule. This is used both for 34 // Creates a copy of this rule. (Caller is responsible for deleting it) 35 virtual Rule* Clone() const = 0; 37 bool Equals(const Rule& rule) const [all...] |
proxy_bypass_rules.cc | 17 class HostnamePatternRule : public ProxyBypassRules::Rule { 49 virtual Rule* Clone() const { 61 class BypassLocalRule : public ProxyBypassRules::Rule { 74 virtual Rule* Clone() const { 79 // Rule for matching a URL that is an IP address, if that IP address falls 80 // within a certain numeric range. For example, you could use this rule to 82 class BypassIPBlockRule : public ProxyBypassRules::Rule { 116 virtual Rule* Clone() const { 143 ProxyBypassRules::Rule::Rule() { [all...] |
init_proxy_resolver_unittest.cc | 29 struct Rule { 30 Rule(const GURL& url, 51 Rule AddSuccessRule(const char* url) { 52 Rule rule(GURL(url), OK /*fetch_error*/, OK /*set_pac_error*/); 53 rules_.push_back(rule); 54 return rule; 58 rules_.push_back(Rule(GURL(url), kFailedDownloading /*fetch_error*/, 63 rules_.push_back(Rule(GURL(url), OK /*fetch_error*/, 67 const Rule& GetRuleByUrl(const GURL& url) const 100 const Rules::Rule& rule = rules_->GetRuleByUrl(url); local 147 const Rules::Rule& rule = expects_pac_bytes() ? local 181 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local 283 Rules::Rule rule = rules.AddSuccessRule("http:\/\/wpad\/wpad.dat"); local 302 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local 322 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local 424 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local [all...] |
/external/chromium/chrome/browser/content_settings/ |
content_settings_provider.h | 52 struct Rule { 53 Rule() {} 54 Rule(const ContentSettingsPattern& requesting_pattern, 66 typedef std::vector<Rule> Rules; 76 // |embedding_url| pair or CONTENT_SETTING_DEFAULT, if no rule applies. For
|
content_settings_notification_provider.cc | 151 content_setting_rules->push_back(Rule( 161 content_setting_rules->push_back(Rule(
|
content_settings_base_provider.cc | 171 content_setting_rules->push_back(Rule(ContentSettingsPattern(i->first),
|
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/rules/ |
Rule.java | 23 * Interface that define an analysis rule. 25 public interface Rule { 27 * Returns the name of the rule. 34 * Runs the rule for the specified node. The rule must add any detected
|
GroovyRule.java | 33 * Implementation of a rule using a Groovy script. 35 public class GroovyRule implements Rule {
|
/external/chromium/net/base/ |
mock_host_resolver.cc | 122 struct RuleBasedHostResolverProc::Rule { 137 Rule(ResolverType resolver_type, 170 Rule rule(Rule::kResolverTypeSystem, host_pattern, address_family, flags, 172 rules_.push_back(rule); 187 Rule rule(Rule::kResolverTypeIPLiteral, host_pattern, 190 rules_.push_back(rule); [all...] |
mock_host_resolver.h | 146 struct Rule; 147 typedef std::list<Rule> RuleList;
|
/external/webkit/Source/WebCore/html/parser/ |
CSSPreloadScanner.h | 53 Rule,
|
CSSPreloadScanner.cpp | 99 m_state = Rule; 103 case Rule:
|
/external/chromium/third_party/libjingle/source/talk/base/ |
firewallsocketserver.h | 39 // This SocketServer shim simulates a rule-based firewall server. 97 struct Rule { 104 std::vector<Rule> rules_;
|
firewallsocketserver.cc | 158 Rule r; 177 const Rule& r = rules_[i];
|
/external/antlr/src/org/antlr/runtime/ |
SerializedGrammar.java | 47 class Rule { 50 public Rule(String name, Block block) { 115 Rule r = readRule(in); 121 protected Rule readRule(DataInputStream in) throws IOException { 123 if ( R!='R' ) throw new IOException("missing R on start of rule"); 125 System.out.println("rule: "+name); 129 if ( period!='.' ) throw new IOException("missing . on end of rule"); 130 return new Rule(name, b); 160 //System.out.println("read rule "+gr.getRuleName(ruleIndex));
|
/external/chromium/net/tools/tld_cleanup/ |
tld_cleanup.cc | 18 // * Strips a single leading and/or trailing dot from each rule, if present. 19 // * Logs a warning if a rule contains '!' or '*.' other than at the beginning 20 // of the rule. (This also catches multiple ! or *. at the start of a rule.) 21 // * Logs a warning if GURL reports a rule as invalid, but keeps the rule. 22 // * Canonicalizes each rule's domain by converting it to a GURL and back. 23 // * Adds explicit rules for true TLDs found in any rule. 43 struct Rule { 48 typedef std::map<std::string, Rule> RuleMap 195 Rule rule; local 230 Rule rule; local [all...] |
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/ |
LayoutAnalyzer.java | 39 import com.android.layoutopt.uix.rules.Rule; 57 private final List<Rule> mRules = new ArrayList<Rule>(); 101 System.err.println("Could not load rule " + name + ":"); 108 public void addRule(Rule rule) { 109 if (rule == null) { 110 throw new IllegalArgumentException("A rule must be non-null"); 112 mRules.add(rule); 245 for (Rule rule : mRules) [all...] |
/frameworks/compile/libbcc/runtime/make/ |
AppleBI.mk | 40 # Rule to make fat libcompiler_rt.a. 47 # Rule to add project info so that "what /usr/lib/libSystem.B.dylib" will work.
|
/external/bison/data/ |
lalr1.cc | 204 /// For a state, default rule to reduce. 215 /// - if negative, reduce the rule which number is the opposite. 225 /// For a rule, its LHS. 227 /// For a rule, its RHS length. 245 /// For each rule, the index of the first RHS symbol in \a yyrhs_. 247 /// For each rule, its source line number. 251 /// Report on the debug stream that the rule \a r is going to be reduced. 353 # define YY_REDUCE_PRINT(Rule) \ 356 yy_reduce_print_ (Rule); \ 368 # define YY_REDUCE_PRINT(Rule) [all...] |
yacc.c | 101 # b4_rhs_value(RULE-LENGTH, NUM, [TYPE]) 103 # Expansion of $<TYPE>NUM, where the current rule has RULE-LENGTH 121 # b4_rhs_location(RULE-LENGTH, NUM) 123 # Expansion of @NUM, where the current rule has RULE-LENGTH symbols 451 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 464 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 489 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 495 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. * [all...] |
glr.c | 109 # b4_rhs_value(RULE-LENGTH, NUM, [TYPE]) 111 # Expansion of $<TYPE>NUM, where the current rule has RULE-LENGTH 129 # b4_rhs_location(RULE-LENGTH, NUM) 131 # Expansion of @NUM, where the current rule has RULE-LENGTH symbols 334 /* YYMAXRHS -- Maximum number of symbols on right-hand side of rule. */ 337 accessed by $0, $-1, etc., in any rule. */ 355 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 368 /* YYRLINE[YYN] -- source line where rule number YYN was defined. * [all...] |
/external/libpcap/ |
grammar.c | 674 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 752 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 825 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 849 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 873 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
glslang_tab.cpp | 642 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 729 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 826 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 851 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 876 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state [all...] |
/system/core/sh/ |
arith.c | 360 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 384 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 418 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 426 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 434 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state 473 positive, shift that token. If negative, reduce the rule which 680 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 688 # define YY_REDUCE_PRINT(Rule) \ 691 yy_reduce_print (Rule); \ 702 # define YY_REDUCE_PRINT(Rule) [all...] |
/external/bison/src/ |
parse-gram.c | 586 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 627 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 683 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 697 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 711 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state 766 positive, shift that token. If negative, reduce the rule which [all...] |