Home
last modified time | relevance | path

Searched refs:Rule (Results 1 – 25 of 218) sorted by relevance

123456789

/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Derror_check.py27 class Rule(object): class
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 '
71 ' - ' + Rule.UNUSED_PRIVATE_MEMBERS + ': checks for '
[all …]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuite.java36 protected List<Rule> rules ;
44 rules = new ArrayList<Rule>(); in TestSuite()
52 public void addRule(Rule currentRule) { in addRule()
58 public boolean hasRule(Rule rule) { in hasRule()
59 for(Rule r: rules) { in hasRule()
71 public void setRules(List<Rule> newRules) { in setRules()
82 public Rule getRule(int index) { return rules.get(index); } in getRule()
88 public Rule getRule(String name) { in getRule()
89 for(Rule rule: rules) { in getRule()
DTestSuiteFactory.java90 private static List<Rule> loadRulesFromGrammar(File grammarFile) { in loadRulesFromGrammar()
107 final List<Rule> ruleList = new ArrayList<Rule>(); in loadRulesFromGrammar()
109 ruleList.add(new Rule(str)); in loadRulesFromGrammar()
175 final List<Rule> completeRuleList = loadRulesFromGrammar(grammarFile); in loadTestSuite()
176 for(Rule rule: completeRuleList) { in loadTestSuite()
/external/owasp/sanitizer/tools/findbugs/lib/
Dasm-xml-3.3.jarMETA-INF/MANIFEST.MF org/objectweb/asm/xml/ASMContentHandler$AnnotationDefaultRule. ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSanity.java46 protected Set<Rule> visitedDuringRecursionCheck = null;
58 public List<Set<Rule>> checkAllRulesForLeftRecursion() { in checkAllRulesForLeftRecursion()
61 List<Set<Rule>> listOfRecursiveCycles = new ArrayList(); in checkAllRulesForLeftRecursion()
63 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); in checkAllRulesForLeftRecursion()
91 List<Set<Rule>> listOfRecursiveCycles) in traceStatesLookingForLeftRecursion()
107 Rule refRuleDef = refTrans.rule; in traceStatesLookingForLeftRecursion()
163 protected void addRulesToCycle(Rule targetRule, in addRulesToCycle()
164 Rule enclosingRule, in addRulesToCycle()
165 List<Set<Rule>> listOfRecursiveCycles) in addRulesToCycle()
169 Set<Rule> rulesInCycle = listOfRecursiveCycles.get(i); in addRulesToCycle()
[all …]
DCompositeGrammar.java114 protected Vector<Rule> ruleIndexToRuleList = new Vector<Rule>();
157 public Rule getRule(String ruleName) { in getRule()
255 public Set<Rule> getDelegatedRules(Grammar g) { in getDelegatedRules()
259 Set<Rule> rules = getAllImportedRules(g); in getDelegatedRules()
261 Rule r = (Rule) it.next(); in getDelegatedRules()
262 Rule localRule = g.getLocallyDefinedRule(r.name); in getDelegatedRules()
275 public Set<Rule> getAllImportedRules(Grammar g) { in getAllImportedRules()
277 Set<Rule> rules = new HashSet(); in getAllImportedRules()
287 Rule r = (Rule)it.next(); in getAllImportedRules()
404 for (Rule r : p.grammar.getRules()) { in _minimizeRuleSet()
DNameSpaceChecker.java46 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); in checkConflicts()
79 protected void checkForRuleArgumentAndReturnValueConflicts(Rule r) { in checkForRuleArgumentAndReturnValueConflicts()
96 protected void checkForRuleDefinitionProblems(Rule r) { in checkForRuleDefinitionProblems()
132 Rule localRule = grammar.getLocallyDefinedRule(ruleName); in lookForReferencesToUndefinedSymbols()
133 Rule rule = grammar.getRule(ruleName); in lookForReferencesToUndefinedSymbols()
175 Rule rule = grammar.getRule(scopeG.name, ruleName); in lookForReferencesToUndefinedSymbols()
197 public void checkForRuleScopeAttributeConflict(Rule r, Attribute attribute) { in checkForRuleScopeAttributeConflict()
221 protected void checkForLabelConflict(Rule r, Token label) { in checkForLabelConflict()
250 public boolean checkForLabelTypeMismatch(Rule r, Token label, int type) { in checkForLabelTypeMismatch()
DGrammar.java176 public Rule getReferencedRule() { in getReferencedRule()
344 protected Set<Rule> leftRecursiveRules;
383 protected LinkedHashMap<String,Rule> nameToRuleMap = new LinkedHashMap<String,Rule>();
397 protected Set<Rule> delegatedRuleReferences = new HashSet();
976 Rule r = (Rule) itr.next(); in createRuleStartAndStopNFAStates()
1062 Rule r = decisionStartState.enclosingRule; in createLookaheadDFAs()
1127 Rule r = d.startState.enclosingRule; in createLL_1_LookaheadDFA()
1302 Rule r = d.startState.enclosingRule; in createLookaheadDFA()
1433 Rule r = new Rule(this, ruleName, composite.ruleIndex, numAlts); in defineRule()
1655 public Rule getLocallyDefinedRule(String ruleName) { in getLocallyDefinedRule()
[all …]
/external/google-breakpad/src/common/
Ddwarf_cfi_to_module_unittest.cc132 class Rule: public RuleFixture, public Test { }; class
134 TEST_F(Rule, UndefinedRule) { in TEST_F() argument
144 TEST_F(Rule, RegisterWithEmptyName) { in TEST_F() argument
155 TEST_F(Rule, SameValueRule) { in TEST_F() argument
166 TEST_F(Rule, OffsetRule) { in TEST_F() argument
179 TEST_F(Rule, OffsetRuleNegative) { in TEST_F() argument
191 TEST_F(Rule, ValOffsetRule) { in TEST_F() argument
207 TEST_F(Rule, RegisterRule) { in TEST_F() argument
218 TEST_F(Rule, ExpressionRule) { in TEST_F() argument
229 TEST_F(Rule, ValExpressionRule) { in TEST_F() argument
[all …]
/external/icu/icu4c/source/data/brkitr/
Dsent.txt52 # Rule 3 - break after separators. Keep CR/LF together.
57 # Rule 4 - Break after $Sep.
58 # Rule 5 - Ignore $Format and $Extend
63 # Rule 6
66 # Rule 7
69 #Rule 8
73 # Rule 8a
76 #Rule 9, 10, 11
79 #Rule 12
Dsent_el.txt52 # Rule 3 - break after separators. Keep CR/LF together.
57 # Rule 4 - Break after $Sep.
58 # Rule 5 - Ignore $Format and $Extend
63 # Rule 6
66 # Rule 7
69 #Rule 8
73 # Rule 8a
76 #Rule 9, 10, 11
79 #Rule 12
/external/v8/test/cctest/
Dtest-date.cc38 struct Rule { struct in DateCacheMock
42 DateCacheMock(int local_offset, Rule* rules, int rules_count) in DateCacheMock()
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); in GetDaylightSavingsOffsetFromOS()
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { in FindRuleFor()
62 Rule* result = NULL; in FindRuleFor()
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { in Match()
98 Rule* rules_;
125 DateCacheMock::Rule rules[] = { in TEST()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DJavaTarget.java32 import org.antlr.tool.Rule;
50 for (Rule rule : grammar.getRules()) { in performGrammarAnalysis()
53 Set<Rule> delegatedRules = grammar.getDelegatedRules(); in performGrammarAnalysis()
55 for (Rule rule : delegatedRules) { in performGrammarAnalysis()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.cc869 class CallFrameInfo::Rule { class in dwarf2reader::CallFrameInfo
871 virtual ~Rule() { } in ~Rule()
882 virtual bool operator==(const Rule &rhs) const = 0;
884 bool operator!=(const Rule &rhs) const { return ! (*this == rhs); } in operator !=()
887 virtual Rule *Copy() const = 0;
899 class CallFrameInfo::UndefinedRule: public CallFrameInfo::Rule {
906 bool operator==(const Rule &rhs) const { in operator ==()
912 Rule *Copy() const { return new UndefinedRule(*this); } in Copy()
916 class CallFrameInfo::SameValueRule: public CallFrameInfo::Rule {
923 bool operator==(const Rule &rhs) const { in operator ==()
[all …]
/external/robolectric/lib/main/
Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DRuleClosureTransition.java30 import org.antlr.tool.Rule;
40 public Rule rule;
45 public RuleClosureTransition(Rule rule, in RuleClosureTransition()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
DCombinedParser.h19 #pragma mark Dynamic Rule Scopes
20 #pragma mark Rule Return Scopes start
21 #pragma mark Rule return scopes end
/external/messageformat/java/com/ibm/icu/simple/
DPluralRules.java360 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1340 private static Rule parseRule(String description) throws ParseException { in parseRule()
1398 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1416 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1594 private static class Rule implements Serializable { class in PluralRules
1601 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() method in PluralRules.Rule
1609 public Rule and(Constraint c) { in and()
1610 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1614 public Rule or(Constraint c) { in or()
1615 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java373 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1350 private static Rule parseRule(String description) throws ParseException { in parseRule()
1408 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1426 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1604 private static class Rule implements Serializable { class in PluralRules
1611 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() method in PluralRules.Rule
1619 public Rule and(Constraint c) { in and()
1620 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1624 public Rule or(Constraint c) { in or()
1625 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/
DSymbolTableParser.h44 #pragma mark Dynamic Rule Scopes
45 #pragma mark Rule Return Scopes start
46 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
DTreeRewriteParser.h17 #pragma mark Dynamic Rule Scopes
18 #pragma mark Rule Return Scopes start
48 #pragma mark Rule return scopes end
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMainProcessor.java34 List<Rule> ruleList = new ArrayList<Rule>(); in MainProcessor()
39 } else if (pattern instanceof Rule) { in MainProcessor()
40 ruleList.add((Rule) pattern); in MainProcessor()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java47 class Rule { class in SerializedGrammar
50 public Rule(String name, Block block) { in Rule() method in SerializedGrammar.Rule
115 Rule r = readRule(in); in readRules()
121 protected Rule readRule(DataInputStream in) throws IOException { in readRule()
130 return new Rule(name, b); in readRule()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DRuleListController.java32 import org.antlr.gunit.swingui.model.Rule;
121 if(value instanceof Rule) { in getListCellRendererComponent()
122 final Rule item = (Rule) value; in getListCellRendererComponent()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCTP.h57 #pragma mark Dynamic Rule Scopes
58 #pragma mark Rule Return Scopes start
70 #pragma mark Rule return scopes end

123456789