Searched refs:Rule (Results 1 - 25 of 251) sorted by relevance

1234567891011

/external/chromium_org/third_party/closure_linter/closure_linter/
H A Derror_check.py27 class Rule(object): class in inherits:object
41 # Rule to raise all known errors.
57 'This includes ' + (', '.join(Rule.CLOSURE_RULES)) + '.')
61 ' - ' + Rule.ALL + ': enables all following errors.\n'
62 ' - ' + Rule.BLANK_LINES_AT_TOP_LEVEL + ': validates'
64 ' - ' + Rule.INDENTATION + ': checks correct '
66 ' - ' + Rule.WELL_FORMED_AUTHOR + ': validates the '
68 ' - ' + Rule.NO_BRACES_AROUND_INHERIT_DOC + ': '
70 ' - ' + Rule.BRACES_AROUND_TYPE + ': enforces braces '
72 ' - ' + Rule
[all...]
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Derror_check.py27 class Rule(object): class in inherits: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
[all...]
/external/chromium_org/sandbox/mac/
H A Dpolicy.h28 // specified in the Rule.
33 // A Rule expresses the action to take when a service port is requested via
37 struct SANDBOX_EXPORT Rule { struct in namespace:sandbox
38 Rule();
39 explicit Rule(PolicyDecision result);
40 explicit Rule(mach_port_t override_port);
44 // The Rule does not take ownership of this port, but additional send rights
52 typedef std::map<std::string, Rule> NamedRules;
59 Rule default_rule;
H A Dpolicy.cc9 Rule::Rule() function in class:sandbox::Rule
14 Rule::Rule(PolicyDecision result) function in class:sandbox::Rule
19 Rule::Rule(mach_port_t override_port) function in class:sandbox::Rule
30 static bool IsRuleValid(const Rule& rule) {
H A Dpolicy_unittest.cc17 policy.rules["allow"] = Rule(POLICY_ALLOW);
18 policy.rules["deny_error"] = Rule(POLICY_DENY_ERROR);
19 policy.rules["deny_dummy"] = Rule(POLICY_DENY_DUMMY_PORT);
20 policy.rules["substitue"] = Rule(mach_task_self());
25 Rule rule;
32 Rule rule(POLICY_SUBSTITUTE_PORT);
39 Rule rule(POLICY_ALLOW);
47 Rule rule(POLICY_DENY_ERROR);
55 Rule rule(POLICY_DENY_DUMMY_PORT);
64 policy.default_rule = Rule();
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DRuleClosureTransition.java30 import org.antlr.tool.Rule;
40 public Rule rule;
45 public RuleClosureTransition(Rule rule,
/external/chromium_org/components/content_settings/core/browser/
H A Dcontent_settings_rule.h20 struct Rule { struct in namespace:content_settings
21 Rule();
22 // Rule takes ownership of |value|.
23 Rule(const ContentSettingsPattern& primary_pattern,
26 ~Rule();
37 virtual Rule Next() = 0;
44 virtual Rule Next() OVERRIDE;
55 virtual Rule Next() OVERRIDE;
H A Dcontent_settings_rule.cc10 Rule::Rule() {} function in class:content_settings::Rule
12 Rule::Rule( function in class:content_settings::Rule
22 Rule::~Rule() {}
32 Rule EmptyRuleIterator::Next() {
34 return Rule();
58 Rule ConcatenationIterator::Next() {
63 const Rule
[all...]
H A Dcontent_settings_rule_unittest.cc17 explicit ListIterator(const std::list<Rule>& rules)
26 virtual Rule Next() OVERRIDE {
30 Rule rule = rules_.front();
36 std::list<Rule> rules_;
42 std::list<Rule> rules1;
43 rules1.push_back(Rule(ContentSettingsPattern::FromString("a"),
46 rules1.push_back(Rule(ContentSettingsPattern::FromString("b"),
49 std::list<Rule> rules2;
50 rules2.push_back(Rule(ContentSettingsPattern::FromString("c"),
53 rules2.push_back(Rule(ContentSettingsPatter
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
H A DCombinedParser.h19 #pragma mark Dynamic Rule Scopes
20 #pragma mark Rule Return Scopes start
21 #pragma mark Rule return scopes end
H A DCombinedLexer.h14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
H A DTestSuite.java36 protected List<Rule> rules ;
44 rules = new ArrayList<Rule>();
52 public void addRule(Rule currentRule) {
58 public boolean hasRule(Rule rule) {
59 for(Rule r: rules) {
71 public void setRules(List<Rule> newRules) {
82 public Rule getRule(int index) { return rules.get(index); }
88 public Rule getRule(String name) {
89 for(Rule rule: rules) {
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
H A DTestLexer.h13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
H A DTestLexerLexer.h14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/output1/
H A DTestLexer.h13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
H A DTestLexerLexer.h13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
H A DTreeRewriteLexer.h14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
H A Dlanguage.h23 class Rule;
43 Language ChooseBestAddressLanguage(const Rule& address_region_rule,
H A Dpost_box_matchers.h27 class Rule;
34 static std::vector<const RE2ptr*> GetMatchers(const Rule& country_rule);
H A Daddress_metadata.cc34 Rule rule;
35 rule.CopyFrom(Rule::GetDefault());
51 Rule rule;
52 rule.CopyFrom(Rule::GetDefault());
/external/chromium_org/net/proxy/
H A Dproxy_bypass_rules.h22 class NET_EXPORT Rule { class in class:net::ProxyBypassRules
24 Rule();
25 virtual ~Rule();
35 virtual Rule* Clone() const = 0;
37 bool Equals(const Rule& rule) const;
40 DISALLOW_COPY_AND_ASSIGN(Rule);
43 typedef std::vector<const Rule*> RuleList;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DJavaTarget.java32 import org.antlr.tool.Rule;
50 for (Rule rule : grammar.getRules()) {
53 Set<Rule> delegatedRules = grammar.getDelegatedRules();
55 for (Rule rule : delegatedRules) {
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DRule.java19 public class Rule extends PatternElement class in inherits:PatternElement
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
H A DTLexer.h14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
H A DTreeRewriteLexer.h14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end

Completed in 2678 milliseconds

1234567891011