HomeSort by relevance Sort by last modified time
    Searched defs:Rule (Results 1 - 14 of 14) sorted by null

  /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...]
  /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
  /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
  /external/webkit/Source/WebCore/html/parser/
CSSPreloadScanner.h 53 Rule,
  /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...]
  /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_;
  /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/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...]
  /external/v8/tools/
test.py 1050 for rule in matches:
1051 outcomes = outcomes.union(rule.GetOutcomes(env, self.defs))
1052 unused_rules.discard(rule)
1069 def AddRule(self, rule):
1070 self.rules.append(rule)
1073 class Rule(object):
1074 """A single rule that specifies the expected outcome for a single
1122 current_section.AddRule(Rule(rule_match.group(1), path, value))
    [all...]
  /prebuilt/common/jarjar/
jarjar-1.0rc8.jar 
  /cts/tools/signature-tools/lib/
antlr-2.7.7.jar 
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 

Completed in 306 milliseconds