Home
last modified time | relevance | path

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

12345678910>>...16

/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DBundleChecker.java34 private final Collection<Rule> bundleRules;
35 private final Collection<Rule> packageRules;
36 private final Collection<Rule> classRules;
37 private final Collection<Rule> sourceFileRules;
38 private final Collection<Rule> methodRules;
45 public BundleChecker(final Collection<Rule> rules, in BundleChecker()
49 this.bundleRules = new ArrayList<Rule>(); in BundleChecker()
50 this.packageRules = new ArrayList<Rule>(); in BundleChecker()
51 this.classRules = new ArrayList<Rule>(); in BundleChecker()
52 this.sourceFileRules = new ArrayList<Rule>(); in BundleChecker()
[all …]
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DIcu4jTransform.java26 import com.google.currysrc.api.process.Rule;
624 private final List<Rule> rules;
641 public List<Rule> getRuleList(File ignored) { in getRuleList()
657 static Rule[] getRepackagingRules() { in getRepackagingRules()
658 return new Rule[] { in getRepackagingRules()
672 private static List<Rule> createTransformRules() throws IOException { in createTransformRules()
675 Rule[] repackageRules = getRepackagingRules(); in createTransformRules()
678 Rule[] apiDocsRules = new Rule[] { in createTransformRules()
714 List<Rule> rulesList = Lists.newArrayList(repackageRules); in createTransformRules()
719 private static Rule createTranslateJciteInclusionRule() { in createTranslateJciteInclusionRule()
[all …]
DIcu4jBasicTransform.java23 import com.google.currysrc.api.process.Rule;
56 private final List<Rule> rules;
74 public List<Rule> getRuleList(File ignored) { in getRuleList()
88 private static List<Rule> createTransformRules() { in createTransformRules()
89 List<Rule> rules = in createTransformRules()
DIcu4jTestsTransform.java23 import com.google.currysrc.api.process.Rule;
56 private final List<Rule> rules;
74 public List<Rule> getRuleList(File ignored) { in getRuleList()
88 private static List<Rule> createTransformRules() { in createTransformRules()
89 List<Rule> rules = in createTransformRules()
/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()
/external/junit-params/src/test/java/junitparams/
DRulesTest.java3 import org.junit.Rule;
20 @Rule
22 @Rule
24 @Rule
26 @Rule
28 @Rule
31 @Rule
52 @Rule
/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/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DBundleCheckerTest.java42 private List<Rule> rules;
48 rules = new ArrayList<Rule>(); in setup()
103 final Rule rule = new Rule(); in testLimitOk()
121 private Rule addRule(ElementType elementType) { in addRule()
122 final Rule rule = new Rule(); in addRule()
155 public void onViolation(ICoverageNode node, Rule rule, Limit limit, in onViolation()
DRulesCheckerTest.java47 Rule rule = new Rule(); in testSetRules()
60 Rule rule = new Rule(); in testSetLanguageNames()
98 public void onViolation(ICoverageNode node, Rule rule, Limit limit, in onViolation()
/external/icu/icu4c/source/data/brkitr/rules/
Dsent.txt55 # Rule 3 - break after separators. Keep CR/LF together.
60 # Rule 4 - Break after $Sep.
61 # Rule 5 - Ignore $Format and $Extend
66 # Rule 6
69 # Rule 7
72 #Rule 8
76 # Rule 8a
79 #Rule 9, 10, 11
82 #Rule 12
Dsent_el.txt56 # Rule 3 - break after separators. Keep CR/LF together.
61 # Rule 4 - Break after $Sep.
62 # Rule 5 - Ignore $Format and $Extend
67 # Rule 6
70 # Rule 7
73 #Rule 8
77 # Rule 8a
80 #Rule 9, 10, 11
83 #Rule 12
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp277 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex() argument
279 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
282 C.advance(Rule.size()); in maybeLexIndex()
290 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName() argument
292 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
295 C.advance(Rule.size()); in maybeLexIndexAndName()
300 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName()
331 const StringRef Rule = "%subreg."; in maybeLexSubRegisterIndex() local
332 if (!C.remaining().startswith(Rule)) in maybeLexSubRegisterIndex()
334 return lexName(C, Token, MIToken::SubRegisterIndex, Rule.size(), in maybeLexSubRegisterIndex()
[all …]
/external/icu/icu4c/source/data/translit/
Dru_ru_Latn_BGN.txt72 # BGN Page 94 Rule 1:
91 # End of Rule 1
94 # BGN Page 94 Rule 2:
116 # End of Rule 2
122 # BGN Page 94 Rule 3.4
132 # End of Rule 3.4
137 # BGN Page 94 Rule 3:
144 # BGN Page 94 Rule 3.1
152 # End Rule 3.1
171 # BGN Page 94 Rule 3.5
[all …]
Duk_uk_Latn_BGN.txt105 # BGN Page 105 Rule 1
124 # End Rule 1
141 # BGN Page 105 Rule 1
156 # End Rule 1
176 # BGN Page 105 Rule 1
191 # End Rule 1
197 # BGN Page 105 Rule 1
212 # End Rule 1
227 # BGN Page 105 Rule 1
243 # End Rule 1
[all …]
Dsi_si_FONIPA.txt123 # Rule #1
130 # Rule #2
135 # Rule #3
142 ə } $c $c → a; # Rule #4
143 ə } [rbɖʈ] $s → ə; # Rule #5 exception
144 ə } $c $s → a; # Rule #5
145 ə } ji $s → a; # Rule #6
146 k { ə } [rl] u → a; # Rule #7
147 # Rule #8
/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/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/annotation-tools/asmx/src/org/objectweb/asm/xml/
DASMContentHandler.java381 Rule r = (Rule) RULES.match(match); in startElement()
409 Rule r = (Rule) RULES.match(match); in endElement()
525 protected abstract class Rule { class in ASMContentHandler
705 private final class ClassRule extends Rule {
725 private final class SourceRule extends Rule {
738 private final class InterfaceRule extends Rule {
749 private final class InterfacesRule extends Rule {
769 private final class OuterClassRule extends Rule {
783 private final class InnerClassRule extends Rule {
798 private final class FieldRule extends Rule {
[all …]
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DCheckAndroidIcu4jSourceRules.java23 import com.google.currysrc.api.process.Rule;
38 private final List<Rule> rules;
45 rules = Lists.<Rule>newArrayList( in CheckAndroidIcu4jSourceRules()
51 public List<Rule> getRuleList(File file) { in getRuleList()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java376 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1511 private static Rule parseRule(String description) throws ParseException { in parseRule()
1569 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1587 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1774 private static class Rule implements Serializable { class in PluralRules
1783 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() method in PluralRules.Rule
1791 public Rule and(Constraint c) { in and()
1792 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1796 public Rule or(Constraint c) { in or()
1797 … 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.java377 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1450 private static Rule parseRule(String description) throws ParseException { in parseRule()
1508 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1526 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1713 private static class Rule implements Serializable { class in PluralRules
1722 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() method in PluralRules.Rule
1730 public Rule and(Constraint c) { in and()
1731 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1735 public Rule or(Constraint c) { in or()
1736 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]

12345678910>>...16