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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tools/split-select/
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...]
  /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/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/bison/src/
derives.h 28 extern rule ***derives;
  /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...]
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
ndrdic.c 43 NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type) {
46 if (rule == NULL) {
52 return V2_F_HINSI(rule);
54 return BUN_B_HINSI(rule);
56 return TAN_F_HINSI(rule);
58 return TAN_B_HINSI(rule);
60 return SUUJI_B_HINSI(rule);
62 return MEISI_F_HINSI(rule);
64 return MEISI_B_HINSI(rule);
66 return JINMEI_F_HINSI(rule);
    [all...]
  /build/kati/testcase/
not_command_with_tab.mk 11 rule:=bar: macro
12 $(rule)
  /frameworks/base/media/java/android/media/audiopolicy/
AudioMixingRule.java 32 * Here's an example of creating a mixing rule for all media playback:
51 * A rule requiring the usage information of the {@link AudioAttributes} to match.
52 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or
59 * A rule requiring the capture preset information of the {@link AudioAttributes} to match.
60 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or
67 * A rule requiring the UID of the audio stream to match that specified.
68 * This mixing rule can be added with {@link Builder#addMixRule(int, Object)} where the Object
77 * A rule requiring the usage information of the {@link AudioAttributes} to differ.
83 * A rule requiring the capture preset information of the {@link AudioAttributes} to differ.
89 * A rule requiring the UID information to differ
447 final int rule = in.readInt(); local
    [all...]
  /frameworks/support/transition/tests/src/android/support/transition/
BaseTest.java 19 import android.support.test.rule.ActivityTestRule;
22 import org.junit.Rule;
28 @Rule
29 public final ActivityTestRule<TransitionActivity> rule; field in class:BaseTest
32 rule = new ActivityTestRule<>(TransitionActivity.class);
  /external/icu/icu4c/source/i18n/
zrule.cpp 12 * \brief C API: Time zone rule classes
33 zrule_close(ZRule* rule) {
34 delete (TimeZoneRule*)rule;
43 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) {
45 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s);
52 zrule_getRawOffset(ZRule* rule) {
53 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset();
57 zrule_getDSTSavings(ZRule* rule) {
58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings();
77 izrule_close(IZRule* rule) {
    [all...]
  /external/libnl/lib/route/
rule.c 2 * lib/route/rule.c Routing Rules
14 * @defgroup rule Routing Rules
23 #include <netlink/route/rule.h>
48 struct rtnl_rule *rule = nl_object_priv(c); local
50 if (!rule)
53 nl_addr_put(rule->r_src);
54 nl_addr_put(rule->r_dst);
87 struct rtnl_rule *rule; local
92 rule = rtnl_rule_alloc();
93 if (!rule) {
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitTestSuite.java 30 /** A class which wraps all testsuites for an individual rule */
35 protected String rule = null; // paeser rule name for unit testing field in class:gUnitTestSuite
36 protected String lexicalRule = null; // lexical rule name
37 protected String treeRule = null; // optional, required for testing tree grammar rule
49 public gUnitTestSuite(String rule) {
50 this.rule = rule;
53 public gUnitTestSuite(String treeRule, String rule) {
54 this.rule = rule
    [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...]
  /cts/tests/fragment/src/android/fragment/cts/
FragmentTestUtil.java 28 import android.support.test.rule.ActivityTestRule;
38 public static void waitForExecution(final ActivityTestRule<? extends Activity> rule) {
44 rule.runOnUiThread(() -> {
46 rule.runOnUiThread(() -> {
53 private static void runOnUiThreadRethrow(ActivityTestRule<? extends Activity> rule,
59 rule.runOnUiThread(r);
67 final ActivityTestRule<? extends Activity> rule) {
68 return executePendingTransactions(rule, rule.getActivity().getFragmentManager());
72 final ActivityTestRule<? extends Activity> rule, final FragmentManager fm)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
FunctionReplacer.java 71 StringBuilder rule = new StringBuilder("&"); local
72 rule.append(translit.getID());
73 rule.append("( ");
74 rule.append(replacer.toReplacerPattern(escapeUnprintable));
75 rule.append(" )");
76 return rule.toString();
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
FunctionReplacer.java 70 StringBuilder rule = new StringBuilder("&"); local
71 rule.append(translit.getID());
72 rule.append("( ");
73 rule.append(replacer.toReplacerPattern(escapeUnprintable));
74 rule.append(" )");
75 return rule.toString();
  /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...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
Holiday.java 76 return rule.firstAfter(start);
94 return rule.firstBetween(start, end);
109 return rule.isOn(date);
119 return rule.isBetween(start, end);
130 * @param rule The date rules used for determining when this holiday
135 protected Holiday(String name, DateRule rule)
138 this.rule = rule;
194 return rule;
200 public void setRule(DateRule rule) {
205 private DateRule rule; field in class:Holiday
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
Holiday.java 79 return rule.firstAfter(start);
98 return rule.firstBetween(start, end);
114 return rule.isOn(date);
125 return rule.isBetween(start, end);
136 * @param rule The date rules used for determining when this holiday
142 protected Holiday(String name, DateRule rule)
145 this.rule = rule;
205 return rule;
212 public void setRule(DateRule rule) {
217 private DateRule rule; field in class:Holiday
    [all...]
  /external/ImageMagick/PerlMagick/demo/
tree.pl 8 %rule = (
33 lsys_execute('A', 10, "tree.gif", %rule);
  /external/jarjar/src/test/com/tonicsystems/jarjar/
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));
  /external/libnl/include/netlink/cli/
rule.h 2 * netlink/cli/rule.h CLI Routing Rule Helpers
15 #include <netlink/route/rule.h>
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeConditions.java 66 if (DEBUG) Log.d(TAG, "evaluateConfig: clearing manual rule");
123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) {
124 if (rule == null || rule.conditionId == null) return;
125 final Uri id = rule.conditionId;
130 rule.component = sp.getComponent();
135 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component);
136 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id);
138 mConditionProviders.ensureRecordExists(rule.component, id, cp);
141 if (rule.component == null)
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/rule/
IRule.java 16 package com.android.loganalysis.rule;
  /prebuilts/go/darwin-x86/test/
opt_branchlikely.go 14 for i := 0; i < x; i++ { // ERROR "Branch prediction rule stay in loop"
15 for j := 0; j < y; j++ { // ERROR "Branch prediction rule stay in loop"
18 for k := 0; k < z; k++ { // ERROR "Branch prediction rule stay in loop"
27 if y == 0 { // ERROR "Branch prediction rule default < call"
32 if y == x { // ERROR "Branch prediction rule default < call"
36 if y == 2 { // ERROR "Branch prediction rule default < call"
41 if y+z == 3 { // ERROR "Branch prediction rule call < exit"
46 if x != 0 { // ERROR "Branch prediction rule default < ret"
47 for i := 0; i < x; i++ { // ERROR "Branch prediction rule stay in loop"
48 if x == 4 { // ERROR "Branch prediction rule stay in loop
    [all...]

Completed in 4027 milliseconds

1 2 3 4 5 6 7 8 91011>>