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

1 2 3 4 5 6 7 8 91011>>

  /build/kati/testcase/
not_command_with_tab.mk 11 rule:=bar: macro
12 $(rule)
  /frameworks/base/tools/split-select/
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...]
SplitSelector_test.cpp 56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules();
59 sp<Rule> rule = rules[idx]; local
60 ASSERT_TRUE(rule != NULL);
65 Rule expectedRule(test::AndRule()
66 .add(test::GtRule(Rule::SDK_VERSION, 3))
67 .add(test::GtRule(Rule::SCREEN_DENSITY, 180))
68 .add(test::LtRule(Rule::SCREEN_DENSITY, 263)));
69 EXPECT_RULES_EQ(rule, expectedRule);
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...]
  /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/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/libnl/src/lib/
rule.c 2 * src/lib/rule.c CLI Routing Rule Helpers
20 #include <netlink/cli/rule.h>
24 struct rtnl_rule *rule; local
26 rule = rtnl_rule_alloc();
27 if (!rule)
28 nl_cli_fatal(ENOMEM, "Unable to allocate rule object");
30 return rule;
39 nl_cli_fatal(err, "Unable to allocate routing rule cache: %s\n",
47 void nl_cli_rule_parse_family(struct rtnl_rule *rule, char *arg
    [all...]
  /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
RuleTest.java 27 * Unit tests for {@link Rule}.
31 private Rule rule; field in class:RuleTest
35 rule = new Rule();
40 assertEquals(ElementType.BUNDLE, rule.getElement());
41 assertEquals(Collections.emptyList(), rule.getLimits());
42 assertEquals("*", rule.getIncludes());
43 assertEquals("", rule.getExcludes());
48 rule.setElement(ElementType.PACKAGE)
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeRewriter.h 43 - (id)rule;
53 ANTLRfptr *rule; variable
62 - (id) applyOnce:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule;
63 - (id) applyRepeatedly:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule;
77 @property (retain) ANTLRfptr *rule; variable
  /external/apache-harmony/jdwp/
Android_debug_config.mk 76 # Define a JDWP host rule
79 # $(2) rule name (ex: run-jdwp-tests-host32)
80 # $(3) extra dependency rule (ex: run-jdwp-tests-host-all64)
81 define define-jdwp-host-rule
95 define declare-jdwp-host-rule
96 # Declare standalone host rule for the given ABI.
97 $(eval $(call define-jdwp-host-rule,$(1),run-jdwp-tests-host$(1),))
99 # Declare variant host rule for run-jdwp-tests-host. It depends on the previous abi rule(s)
101 $(eval $(call define-jdwp-host-rule,$(1),run-jdwp-tests-host-all$(1),$(jdwp_tests_previous_host_rule))
    [all...]
  /external/jarjar/src/test/com/tonicsystems/jarjar/
PackageRemapperTest.java 29 Rule rule = new Rule(); local
30 rule.setPattern("org.**");
31 rule.setResult("foo.@1");
32 remapper = new PackageRemapper(Collections.singletonList(rule), false);
GenericsTest.java 28 Rule rule = new Rule(); local
29 rule.setPattern("java.lang.String");
30 rule.setResult("com.tonicsystems.String");
31 RemappingClassTransformer t = new RemappingClassTransformer(new PackageRemapper(Arrays.asList(rule), false));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 58 * The rule engine manages the layout rules and interacts with them.
73 * here on behalf of the currently executing rule.
129 * Invokes {@link IViewRule#getDisplayName()} on the rule matching the specified element.
132 * @return Null if the rule failed, there's no rule or the rule does not want to override
133 * the display name. Otherwise, a string as returned by the rule.
136 // try to find a rule for this element's FQCN
137 IViewRule rule = loadRule(element); local
139 if (rule != null)
163 IViewRule rule = loadRule(selectedNode.getNode()); local
191 IViewRule rule = loadRule(selectedNode.getNode()); local
222 IViewRule rule = loadRule(parentNode.getNode()); local
248 IViewRule rule = loadRule(parentNode.getNode()); local
267 IViewRule rule = loadRule(parentNode.getNode()); local
290 IViewRule rule = loadRule(targetNode.getNode()); local
316 IViewRule rule = loadRule(targetNode.getNode()); local
339 IViewRule rule = loadRule(targetNode.getNode()); local
362 IViewRule rule = loadRule(targetNode.getNode()); local
424 IViewRule rule = loadRule(targetNode.getNode()); local
446 IViewRule rule = loadRule(parent.getNode()); local
463 IViewRule rule = loadRule(parent.getNode()); local
477 IViewRule rule = loadRule(parent.getNode()); local
653 IViewRule rule = entry.getValue(); local
697 IViewRule rule = mRulesCache.get(targetDesc); local
765 IViewRule rule = mRulesCache.get(realFqcn); local
    [all...]
  /art/build/
Android.oat.mk 155 define create-core-oat-host-rule-combination
165 $(eval $(call create-core-oat-host-rule-combination,default,,,false))
166 $(eval $(call create-core-oat-host-rule-combination,optimizing,,,false))
167 $(eval $(call create-core-oat-host-rule-combination,interpreter,,,false))
168 $(eval $(call create-core-oat-host-rule-combination,interp-ac,,,false))
169 $(eval $(call create-core-oat-host-rule-combination,jit,,,false))
170 $(eval $(call create-core-oat-host-rule-combination,default,,,true))
171 $(eval $(call create-core-oat-host-rule-combination,optimizing,,,true))
172 $(eval $(call create-core-oat-host-rule-combination,interpreter,,,true))
173 $(eval $(call create-core-oat-host-rule-combination,interp-ac,,,true)
    [all...]
  /cts/tests/app/src/android/app/cts/
AutomaticZenRuleTest.java 45 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, local
47 assertEquals(expected, rule.describeContents());
51 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, local
54 rule.writeToParcel(parcel, 0);
63 rule.setName(null);
65 rule.writeToParcel(parcel, 0);
77 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, local
79 rule.setConditionId(newConditionId);
80 assertEquals(newConditionId, rule.getConditionId());
84 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId local
91 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, local
101 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeFilter.java 41 rule application strategy and a ``down then up'' tree traversal
42 strategy. Let's look at rule application first.
46 to the next node. In other words, we only look for a single rule
48 repeatedly apply rules). The following method applies a rule in a @cl
53 It uses reflection to lookup the appropriate rule within the generated
55 rule will not match the tree. To avoid issuing syntax errors and
57 failure, the invoked rule immediately returns. If you don't plan on
59 the details. This method boils down to ``call a rule to match a tree,
80 public void rule() throws RecognitionException; method in interface:TreeFilter.fptr
103 whichRule.rule();
    [all...]
  /build/core/
sdk_font.mk 47 # Define a macro to create rule for addititional fonts that we want to include
51 define sdk-extra-font-rule
63 $(eval $(call sdk-extra-font-rule,NanumGothic.ttf,external/naver-fonts/NanumGothic.ttf))
64 $(eval $(call sdk-extra-font-rule,DroidSansFallback.ttf,frameworks/base/data/fonts/DroidSansFallbackFull.ttf))
66 sdk-extra-font-rule :=
  /build/kati/
rule_parser.go 59 type rule struct { type
61 // outputs is output of the rule.
75 func (r *rule) cmdpos() srcpos {
113 func (r *rule) parseInputs(s []byte) {
143 func (r *rule) parseVar(s []byte, rhs expr) (*assignAST, error) {
173 // parse parses rule line.
174 // line is rule line until '=', or before ';'.
179 func (r *rule) parse(line []byte, assign *assignAST, rhs expr) (*assignAST, error) {
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
NotifiedTestExecuter.java 53 if(ruleName == null) throw new NullPointerException("Null rule name");
55 final Rule rule = testSuite.getRule(ruleName); local
56 final TestCase failCase = (TestCase) rule.getElementAt(failTest.getTestCaseIndex());
66 if(ruleName == null) throw new NullPointerException("Null rule name");
68 final Rule rule = testSuite.getRule(ruleName); local
69 final TestCase passCase = (TestCase) rule.getElementAt(passTest.getTestCaseIndex());
  /external/bison/src/
scan-code.h 62 * for the LHS symbol of the same rule.)
70 struct symbol_list *rule; member in struct:code_props
125 * - <tt>rule != NULL</tt>.
126 * - \c code is the untranslated action of the rule for which \c rule is the
128 * $2, etc referring to the values of the rule.
131 * - \c self has been overwritten to represent the specified rule action.
132 * - \c self does not claim responsibility for the memory of \c rule.
136 * - The caller frees \c rule.
139 location code_loc, struct symbol_list *rule,
    [all...]
  /external/icu/icu4c/source/test/intltest/
itrbnfp.cpp 54 // Try various rule parsing errors. Shouldn't crash.
105 "11: << x", // formating a multiple of 10 causes rollback rule to fail
121 const char* rule = rules[i]; local
122 logln("rule[%d] \"%s\"", i, rule);
125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status);
  /external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
RuleConfiguration.java 21 import org.jacoco.report.check.Rule;
24 * Wrapper for {@link Rule} objects to allow Maven style includes/excludes lists
29 final Rule rule; field in class:RuleConfiguration
35 rule = new Rule();
40 * element type this rule applies to
44 rule.setElement(ElementType.valueOf(element));
52 rule.setIncludes(StringUtils.join(includes.iterator(), ":"));
61 rule.setExcludes(StringUtils.join(excludes.iterator(), ":"))
    [all...]

Completed in 5893 milliseconds

1 2 3 4 5 6 7 8 91011>>