/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...] |
/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...] |
/external/dbus/bus/ |
signals.c | 34 DBusConnection *matches_go_to; /**< Owner of the rule */ 58 BusMatchRule *rule; local 60 rule = dbus_new0 (BusMatchRule, 1); 61 if (rule == NULL) 64 rule->refcount = 1; 65 rule->matches_go_to = matches_go_to; 68 _dbus_assert (rule->matches_go_to != NULL); 71 return rule; 75 bus_match_rule_ref (BusMatchRule *rule) 77 _dbus_assert (rule->refcount > 0) 880 BusMatchRule *rule; local 1149 BusMatchRule *rule; local 1445 BusMatchRule *rule = link->data; local 1524 BusMatchRule *rule; local 1562 BusMatchRule *rule; local 1957 BusMatchRule *rule; local 2067 BusMatchRule *rule; local 2129 BusMatchRule *rule; local 2544 BusMatchRule *rule; local 2698 BusMatchRule *rule; local [all...] |
policy.c | 37 BusPolicyRule *rule; local 39 rule = dbus_new0 (BusPolicyRule, 1); 40 if (rule == NULL) 43 rule->type = type; 44 rule->refcount = 1; 45 rule->allow = allow; 47 switch (rule->type) 50 rule->d.user.uid = DBUS_UID_UNSET; 53 rule->d.group.gid = DBUS_GID_UNSET; 56 rule->d.send.message_type = DBUS_MESSAGE_TYPE_INVALID 141 BusPolicyRule *rule = data; local 247 BusPolicyRule *rule = link->data; local 391 BusPolicyRule *rule = link->data; local 726 BusPolicyRule *rule = data; local 760 BusPolicyRule *rule = link->data; local 798 BusPolicyRule *rule; local 888 BusPolicyRule *rule = link->data; local 1075 BusPolicyRule *rule = link->data; local 1260 BusPolicyRule *rule = link->data; local [all...] |
signals.h | 46 BusMatchRule* bus_match_rule_ref (BusMatchRule *rule); 47 void bus_match_rule_unref (BusMatchRule *rule); 49 dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule, 51 dbus_bool_t bus_match_rule_set_interface (BusMatchRule *rule, 53 dbus_bool_t bus_match_rule_set_member (BusMatchRule *rule, 55 dbus_bool_t bus_match_rule_set_sender (BusMatchRule *rule, 57 dbus_bool_t bus_match_rule_set_destination (BusMatchRule *rule, 59 dbus_bool_t bus_match_rule_set_path (BusMatchRule *rule, 62 dbus_bool_t bus_match_rule_set_arg (BusMatchRule *rule, 68 /* Calling this methods a client declares that it is creating a rule whic [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));
|
/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...] |
/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...] |
/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...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
FunctionReplacer.java | 67 StringBuilder rule = new StringBuilder("&"); local 68 rule.append(translit.getID()); 69 rule.append("( "); 70 rule.append(replacer.toReplacerPattern(escapeUnprintable)); 71 rule.append(" )"); 72 return rule.toString();
|
/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/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 | 73 return rule.firstAfter(start); 90 return rule.firstBetween(start, end); 104 return rule.isOn(date); 113 return rule.isBetween(start, end); 124 * @param rule The date rules used for determining when this holiday 129 protected Holiday(String name, DateRule rule) 132 this.rule = rule; 188 return rule; 194 public void setRule(DateRule rule) { 199 private DateRule rule; field in class:Holiday [all...] |
RangeDateRule.java | 41 public void add(DateRule rule) { 42 add(new Date(Long.MIN_VALUE), rule); 48 public void add(Date start, DateRule rule) { 51 ranges.add(new Range(start, rule)); 70 if (r != null && r.rule != null) 73 result = r.rule.firstBetween(start, e.start); 75 result = r.rule.firstAfter(start); 100 if (r.rule != null) { 103 result = r.rule.firstBetween(start, e); 114 return r != null && r.rule != null && r.rule.isOn(date) 161 public DateRule rule; field in class:Range [all...] |
/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...] |
/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"); 120 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { 121 if (rule == null || rule.conditionId == null) return; 122 final Uri id = rule.conditionId; 127 rule.component = sp.getComponent(); 132 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component); 133 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id); 135 mConditionProviders.ensureRecordExists(rule.component, id, cp); 138 if (rule.component == null) [all...] |