HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 1 - 25 of 575) 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/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;
gram.h 36 The rules receive rule numbers 1 to NRULES in the order they are
38 initial rule, `$accept: START-SYMBOL $end', which is numbered 1,
39 all the user rules are 2, 3 etc. Each time a rule number is
40 presented to the user, we subtract 1, so *displayed* rule numbers
43 Internally, we cannot use the number 0 for a rule because for
44 instance RITEM stores both symbol (the RHS) and rule numbers: the
45 symbols are shorts >= 0, and rule number are stored negative.
46 Therefore 0 cannot be used, since it would be both the rule number
49 Actions are accessed via the rule number.
56 RULES[R].lhs -- the symbol of the left hand side of rule R
200 } rule; typedef in typeref:struct:__anon4727
    [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...]
  /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...]
  /external/libnl/lib/route/
rule.c 2 * lib/route/rule.c Routing Rules
14 * @defgroup rule Routing Rules
23 #include <netlink/route/rule.h>
47 struct rtnl_rule *rule = nl_object_priv(c); local
49 if (!rule)
52 nl_addr_put(rule->r_src);
53 nl_addr_put(rule->r_dst);
83 struct rtnl_rule *rule; local
88 rule = rtnl_rule_alloc();
89 if (!rule) {
215 struct rtnl_rule *rule = (struct rtnl_rule *) obj; local
232 struct rtnl_rule *rule = (struct rtnl_rule *) obj; local
    [all...]
  /frameworks/base/media/java/android/media/audiopolicy/
AudioMixingRule.java 31 * Here's an example of creating a mixing rule for all media playback:
50 * A rule requiring the usage information of the {@link AudioAttributes} to match.
55 * A rule requiring the capture preset information of the {@link AudioAttributes} to match.
63 * A rule requiring the usage information of the {@link AudioAttributes} to differ.
69 * A rule requiring the capture preset information of the {@link AudioAttributes} to differ.
79 AttributeMatchCriterion(AudioAttributes attributes, int rule) {
81 mRule = rule;
94 // capture preset rule
110 private static boolean isValidSystemApiRule(int rule) {
111 switch(rule) {
271 int rule = in.readInt(); local
    [all...]
  /ndk/sources/host-tools/make-3.81/
rule.h 21 struct rule struct
23 struct rule *next;
24 char **targets; /* Targets of the rule. */
27 struct dep *deps; /* Dependencies of the rule. */
40 extern struct rule *pattern_rules;
41 extern struct rule *last_pattern_rule;
53 extern int new_pattern_rule PARAMS ((struct rule *rule, int override));
rule.c 1 /* Pattern and suffix rule internals for GNU Make.
25 #include "rule.h"
27 static void freerule PARAMS ((struct rule *rule, struct rule *lastrule));
32 struct rule *pattern_rules;
34 /* Pointer to last rule in the chain, so we can add onto the end. */
36 struct rule *last_pattern_rule;
42 /* Maximum number of target patterns of any pattern rule. */
46 /* Maximum number of dependencies of any pattern rule. *
72 register struct rule *rule, *lastrule; local
    [all...]
  /external/icu/icu4c/source/i18n/
zrule.cpp 10 * \brief C API: Time zone rule classes
31 zrule_close(ZRule* rule) {
32 delete (TimeZoneRule*)rule;
41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) {
43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s);
50 zrule_getRawOffset(ZRule* rule) {
51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset();
55 zrule_getDSTSavings(ZRule* rule) {
56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings();
75 izrule_close(IZRule* rule) {
    [all...]
zrule.h 12 * \brief C API: Time zone rule classes
54 zrule_close(ZRule* rule);
68 * @param rule, the Zrule to use
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
77 * @param rule, the Zrule to use
81 zrule_getRawOffset(ZRule* rule);
85 * @param rule, the Zrule to use
86 * @return The amount of daylight saving offset used by this rule
90 zrule_getDSTSavings(ZRule* rule);
93 * Returns if this rule represents the same rule and offsets as another
    [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...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
FunctionReplacer.java 66 StringBuilder rule = new StringBuilder("&"); local
67 rule.append(translit.getID());
68 rule.append("( ");
69 rule.append(replacer.toReplacerPattern(escapeUnprintable));
70 rule.append(" )");
71 return rule.toString();
  /external/icu/icu4j/main/classes/core/src/com/ibm/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
136 protected Holiday(String name, DateRule rule)
139 this.rule = rule;
199 return rule;
206 public void setRule(DateRule rule) {
211 private DateRule rule; field in class:Holiday
    [all...]
RangeDateRule.java 42 public void add(DateRule rule) {
43 add(new Date(Long.MIN_VALUE), rule);
50 public void add(Date start, DateRule rule) {
53 ranges.add(new Range(start, rule));
73 if (r != null && r.rule != null)
76 result = r.rule.firstBetween(start, e.start);
78 result = r.rule.firstAfter(start);
104 if (r.rule != null) {
107 result = r.rule.firstBetween(start, e);
119 return r != null && r.rule != null && r.rule.isOn(date)
167 public DateRule rule; field in class:Range
    [all...]
  /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));
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);
  /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 70 if (DEBUG) Log.d(TAG, "evaluateConfig: clearing manual rule");
127 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) {
128 if (rule == null || rule.conditionId == null) return;
129 final Uri id = rule.conditionId;
134 rule.component = sp.getComponent();
139 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component);
140 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id);
142 mConditionProviders.ensureRecordExists(rule.component, id, cp);
145 if (rule.component == null)
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
construction.rb 375 rule = opts[ :rule ]
379 message = opts[ :message ] || rule.to_s #"should parse %p with rule %s and make tree %s" % [input, rule, expected_tree]
385 result = parser.send( rule, *args )
394 ast_test :input => "1 + 2", :rule => :r1, :ast => "(+ 1 2)"
396 ast_test :input => "assert 2+3", :rule => :r2, :ast => "(assert (+ 2 3))"
398 ast_test :input => "assert 2+3 : 5", :rule => :r2, :ast => "(assert (+ 2 3) 5)"
400 ast_test :input => "if 1 fooze", :rule => :r3, :ast => "(if 1 fooze)
    [all...]
  /external/libnl/src/
nl-rule-list.c 2 * src/nl-rule-dump.c Dump rule attributes
13 #include <netlink/cli/rule.h>
19 "Usage: nl-rule-list [OPTION]... [ROUTE]\n"
27 "Rule Options\n"
36 struct rtnl_rule *rule; local
47 rule = nl_cli_rule_alloc();
70 case ARG_FAMILY: nl_cli_rule_parse_family(rule, optarg); break;
74 nl_cache_dump_filter(rule_cache, &params, OBJ_CAST(rule));
  /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...]
  /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/jarjar/src/main/com/tonicsystems/jarjar/
JarJarTask.java 29 public void addConfiguredRule(Rule rule) {
30 if (rule.getPattern() == null || rule.getResult() == null)
31 throw new IllegalArgumentException("The <rule> element requires both \"pattern\" and \"result\" attributes.");
32 patterns.add(rule);

Completed in 1470 milliseconds

1 2 3 4 5 6 7 8 91011>>