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

1 2

  /external/junit/src/org/junit/
Rule.java 15 * annotated {@link Rule}s on a class, they will be applied in an order
24 * @Rule
45 public @interface Rule {
  /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/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
Rule.java 37 * ANTLR v3 Rule Information.
40 public class Rule extends DefaultListModel {
44 public Rule(String name) {
  /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/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
error_check.py 27 class Rule(object):
39 # Rule to raise all known errors.
54 'This includes ' + (', '.join(Rule.CLOSURE_RULES)) + '.')
58 ' - ' + Rule.ALL + ': enables all following errors.\n'
59 ' - ' + Rule.BLANK_LINES_AT_TOP_LEVEL + ': validates'
61 ' - ' + Rule.INDENTATION + ': checks correct '
63 ' - ' + Rule.WELL_FORMED_AUTHOR + ': validates the '
65 ' - ' + Rule.NO_BRACES_AROUND_INHERIT_DOC + ': '
67 ' - ' + Rule.BRACES_AROUND_TYPE + ': enforces braces '
69 ' - ' + Rule.OPTIONAL_TYPE_MARKER + ': checks correct
    [all...]
javascriptlintrules.py 42 Rule = error_check.Rule
97 if error_check.ShouldCheck(Rule.UNUSED_PRIVATE_MEMBERS):
135 if (error_check.ShouldCheck(Rule.OPTIONAL_TYPE_MARKER) and
189 if (error_check.ShouldCheck(Rule.BLANK_LINES_AT_TOP_LEVEL) and
467 if error_check.ShouldCheck(Rule.UNUSED_PRIVATE_MEMBERS):
ecmalintrules.py 55 Rule = error_check.Rule
92 """Initialize this lint rule object."""
96 """Initialize this lint rule object before parsing a new file."""
186 if error_check.ShouldCheck(Rule.BRACES_AROUND_TYPE) and (
253 if not self._is_html and error_check.ShouldCheck(Rule.INDENTATION):
462 elif (error_check.ShouldCheck(Rule.WELL_FORMED_AUTHOR) and
557 if (error_check.ShouldCheck(Rule.NO_BRACES_AROUND_INHERIT_DOC) and
    [all...]
  /frameworks/compile/mclinker/include/mcld/LD/
SectionRules.h 41 /// append - append a new mapping rule.
42 /// appendRule does not check if the appended rule is duplicated.
55 struct Rule {
57 Rule(const std::string& pSubStr, LDSection* pTarget);
65 typedef std::vector<Rule> RuleList;
  /frameworks/compile/mclinker/lib/LD/
SectionRules.cpp 26 // SectionRules::Rule
28 SectionRules::Rule::Rule(const std::string& pSubStr, LDSection* pSection)
48 RuleList::iterator rule, rEnd = m_RuleList.end(); local
49 for (rule = m_RuleList.begin(); rule != rEnd; ++rule) {
50 if (pName.size() < rule->substr.size())
52 if (!StringHash<ES>::may_include(rule->hash, hash))
55 if (0 == strncmp(pName.c_str(), rule->substr.c_str(), rule->substr.size())
64 RuleList::const_iterator rule, rEnd = m_RuleList.end(); local
    [all...]
  /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/v8/test/cctest/
test-date.cc 38 struct Rule {
42 DateCacheMock(int local_offset, Rule* rules, int rules_count)
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); local
52 return rule == NULL ? 0 : rule->offset_sec * 1000;
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
62 Rule* result = NULL;
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec)
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/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/clang/lib/StaticAnalyzer/Checkers/
GenericTaintChecker.cpp 143 /// Get the propagation rule for a given function.
168 /// taint rule.
207 TaintPropagationRule Rule = llvm::StringSwitch<TaintPropagationRule>(Name)
228 if (!Rule.isNull())
229 return Rule;
252 if (Rule.isNull()) {
304 // First, try generating a propagation rule for this function.
305 TaintPropagationRule Rule =
307 if (!Rule.isNull()) {
308 State = Rule.process(CE, C)
    [all...]
  /frameworks/base/services/java/com/android/server/firewall/
IntentFirewall.java 124 List<Rule> matchingRules = mActivityResolver.queryIntent(intent, resolvedType, false, 0);
129 Rule rule = matchingRules.get(i); local
130 if (rule.matches(this, intent, callerApp, callerUid, callerPid, resolvedType,
132 block |= rule.getBlock();
133 log |= rule.getLog();
266 Rule rule = new Rule(); local
270 // if we get an error while parsing a particular rule, we'll just ignor
388 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter
    [all...]
  /external/robolectric/lib/main/
commons-codec-1.6.jar 
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Rule.java 38 /** Combine the info associated with a rule. */
39 public class Rule {
46 /** This rule's options */
57 /** The AST representing the whole rule */
68 /** The return values of a rule and predefined rule attributes */
73 /** the attributes defined with "scope {...}" inside a rule */
76 /** A list of scope names (String) used by this rule */
79 /** Exceptions that this rule can throw */
94 /** A list of all LabelElementPair attached to rule references like f=field *
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-layout-gsubgpos-private.hh 1205 rule; \/* Array of Rule tables member in struct:OT::RuleSet
1766 rule; \/* Array of ChainRule tables member in struct:OT::ChainRuleSet
    [all...]
  /external/v8/tools/
test.py 1088 for rule in matches:
1089 outcomes = outcomes.union(rule.GetOutcomes(env, self.defs))
1090 unused_rules.discard(rule)
1107 def AddRule(self, rule):
1108 self.rules.append(rule)
1111 class Rule(object):
1112 """A single rule that specifies the expected outcome for a single
1160 current_section.AddRule(Rule(rule_match.group(1), path, value))
    [all...]
  /prebuilts/tools/common/asm-tools/
asm-xml-4.0.jar 
  /external/dexmaker/lib/
jarjar.jar 

Completed in 494 milliseconds

1 2