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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tools/split-select/
TestRules.h 20 #include "Rule.h"
27 struct AndRule : public Rule {
29 op = Rule::AND_SUBRULES;
32 AndRule& add(const Rule& rhs) {
33 subrules.add(new Rule(rhs));
38 struct OrRule : public Rule {
40 op = Rule::OR_SUBRULES;
43 OrRule& add(const Rule& rhs) {
44 subrules.add(new Rule(rhs));
49 const Rule EqRule(Rule::Key key, long value)
    [all...]
TestRules.cpp 27 const Rule EqRule(Rule::Key key, long value) {
28 Rule rule; local
29 rule.op = Rule::EQUALS;
30 rule.key = key;
31 rule.longArgs.add(value);
32 return rule;
35 const Rule GtRule(Rule::Key key, long value)
36 Rule rule; local
44 Rule rule; local
52 Rule rule; local
60 Rule rule; local
69 Rule rule; local
    [all...]
Rule_test.cpp 17 #include "Rule.h"
33 Rule rule(AndRule()
34 .add(EqRule(Rule::SDK_VERSION, 7))
36 .add(GtRule(Rule::SCREEN_DENSITY, 10))
37 .add(LtRule(Rule::SCREEN_DENSITY, 5))
71 std::string result(rule.toJson().string());
78 sp<Rule> rule = new Rule(AndRule( local
86 sp<Rule> rule = new Rule(AndRule() local
    [all...]
RuleGenerator.h 21 #include "Rule.h"
31 static android::sp<Rule> generate(const android::SortedVector<SplitDescription>& group, size_t index);
33 static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t index);
34 static android::sp<Rule> generateDensity(const android::Vector<int>& allDensities, size_t index);
Rule.h 29 struct Rule : public virtual android::RefBase {
30 inline Rule();
31 Rule(const Rule& rhs);
65 android::Vector<android::sp<Rule> > subrules;
69 static android::sp<Rule> simplify(android::sp<Rule> rule);
72 Rule::Rule()
    [all...]
RuleGenerator.cpp 35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) {
37 sp<Rule> densityRule = new Rule();
38 densityRule->op = Rule::AND_SUBRULES;
44 sp<Rule> version = new Rule();
45 version->op = Rule::LESS_THAN;
46 version->key = Rule::SDK_VERSION;
52 sp<Rule> gt = new Rule();
    [all...]
RuleGenerator_test.cpp 37 ContainsAnyRule(Rule::NATIVE_PLATFORM, "armeabi")
41 ContainsAnyRule(Rule::NATIVE_PLATFORM, "armeabi-v7a", "arm64-v8a")
45 ContainsAnyRule(Rule::NATIVE_PLATFORM, "x86", "x86_64")
64 .add(LtRule(Rule::SCREEN_DENSITY, 263))
69 .add(GtRule(Rule::SCREEN_DENSITY, 262))
70 .add(LtRule(Rule::SCREEN_DENSITY, 363))
75 .add(GtRule(Rule::SCREEN_DENSITY, 362))
88 .add(LtRule(Rule::SDK_VERSION, SDK_LOLLIPOP))
89 .add(LtRule(Rule::SCREEN_DENSITY, 263))
94 .add(LtRule(Rule::SDK_VERSION, SDK_LOLLIPOP)
    [all...]
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
error_check.py 27 class Rule(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.OPTIONAL_TYPE_MARKER + ': checks correct
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
RuleClosureTransition.java 30 import org.antlr.tool.Rule;
32 /** A transition used to reference another rule. It tracks two targets
34 * state that refers to the other rule. Conversion of an NFA that
35 * falls off the end of a rule will be able to figure out who invoked
36 * that rule because of these special transitions.
39 /** Ptr to the rule definition object for this rule ref */
40 public Rule rule; field in class:RuleClosureTransition
42 /** What node to begin computations following ref to rule */
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
CombinedParser.h 19 #pragma mark Dynamic Rule Scopes
20 #pragma mark Rule Return Scopes start
21 #pragma mark Rule return scopes end
CombinedLexer.h 14 #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/
TestSuite.java 36 protected List<Rule> rules ;
44 rules = new ArrayList<Rule>();
52 public void addRule(Rule currentRule) {
53 if(currentRule == null) throw new IllegalArgumentException("Null rule");
57 // test rule name
58 public boolean hasRule(Rule rule) {
59 for(Rule r: rules) {
60 if(r.getName().equals(rule.getName())) {
71 public void setRules(List<Rule> newRules)
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
TestLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
TestLexerLexer.h 14 #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/
TestLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
TestLexerLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
TreeRewriteLexer.h 14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
  /frameworks/support/transition/tests/src/android/support/transition/
BaseTest.java 19 import android.support.test.rule.ActivityTestRule;
22 import org.junit.Rule;
29 @Rule
30 public final ActivityTestRule<TransitionActivity> rule; field in class:BaseTest
33 rule = new ActivityTestRule(TransitionActivity.class);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
JavaTarget.java 32 import org.antlr.tool.Rule;
50 for (Rule rule : grammar.getRules()) {
51 rule.throwsSpec.add("RecognitionException");
53 Set<Rule> delegatedRules = grammar.getDelegatedRules();
55 for (Rule rule : delegatedRules) {
56 rule.throwsSpec.add("RecognitionException");
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/rules/
rule.py 17 class Rule(object):
18 """An optional base class for rule implementations.
25 """Returns True if the name matches this rule."""
29 """Invokes this rule with the given args.
32 return_value: the prior rule's return_value (if any).
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
IViolationsOutput.java 17 * Call-back interface which is used to report rule violations to.
23 * Called for every rule violation.
26 * node which violates a rule
27 * @param rule
28 * rule which is violated
34 void onViolation(ICoverageNode node, Rule rule, Limit limit, String message);
  /external/jarjar/src/main/com/tonicsystems/jarjar/
Rule.java 19 public class Rule extends PatternElement
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
TLexer.h 14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
TreeRewriteLexer.h 14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
  /external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/
Rules.java 20 import com.google.currysrc.api.process.Rule;
32 List<Rule> getRuleList(File file);

Completed in 276 milliseconds

1 2 3 4 5 6 7 8 91011>>