HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 1 - 25 of 1332) 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/chromium_org/third_party/libaddressinput/src/cpp/src/
address_metadata.cc 24 #include "rule.h"
34 Rule rule; local
35 rule.CopyFrom(Rule::GetDefault());
36 if (!rule.ParseSerializedRule(
41 return std::find(rule.GetRequired().begin(),
42 rule.GetRequired().end(),
43 field) != rule.GetRequired().end();
51 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;
  /external/chromium_org/sandbox/win/src/
process_mitigations_win32k_policy.cc 13 PolicyRule rule(FAKE_SUCCESS);
14 if (!policy->AddRule(IPC_GDI_GDIDLLINITIALIZE_TAG, &rule))
16 if (!policy->AddRule(IPC_GDI_GETSTOCKOBJECT_TAG, &rule))
18 if (!policy->AddRule(IPC_USER_REGISTERCLASSW_TAG, &rule))
  /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));
  /external/chromium_org/third_party/libaddressinput/src/cpp/test/
post_box_matchers_test.cc 22 #include "rule.h"
34 using i18n::addressinput::Rule;
37 Rule rule; local
38 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
44 Rule rule; local
45 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"xx\"}"));
46 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
52 Rule rule local
61 Rule rule; local
70 Rule rule; local
79 Rule rule; local
    [all...]
rule_test.cc 15 #include "rule.h"
44 using i18n::addressinput::Rule;
48 Rule rule; local
49 ASSERT_TRUE(rule.ParseSerializedRule("{"
65 Rule copy;
66 EXPECT_NE(rule.GetFormat(), copy.GetFormat());
67 EXPECT_NE(rule.GetLatinFormat(), copy.GetLatinFormat());
68 EXPECT_NE(rule.GetId(), copy.GetId());
69 EXPECT_NE(rule.GetRequired(), copy.GetRequired())
104 Rule rule; local
143 Rule rule; local
149 Rule rule; local
155 Rule rule; local
164 Rule rule; local
173 Rule rule; local
183 Rule rule; local
193 Rule rule; local
199 Rule rule; local
205 Rule rule; local
212 Rule rule; local
218 Rule rule; local
226 Rule rule; local
232 Rule rule; local
237 Rule rule; local
360 Rule rule; local
    [all...]
  /external/chromium_org/sandbox/mac/
policy_unittest.cc 17 policy.rules["allow"] = Rule(POLICY_ALLOW);
18 policy.rules["deny_error"] = Rule(POLICY_DENY_ERROR);
19 policy.rules["deny_dummy"] = Rule(POLICY_DENY_DUMMY_PORT);
20 policy.rules["substitue"] = Rule(mach_task_self());
25 Rule rule; local
27 policy.rules["test"] = rule;
32 Rule rule(POLICY_SUBSTITUTE_PORT);
34 policy.rules["test"] = rule;
    [all...]
policy.cc 9 Rule::Rule()
14 Rule::Rule(PolicyDecision result)
19 Rule::Rule(mach_port_t override_port)
30 static bool IsRuleValid(const Rule& rule) {
31 if (!(rule.result > POLICY_DECISION_INVALID &&
32 rule.result < POLICY_DECISION_LAST))
    [all...]
  /external/chromium_org/net/base/
host_mapping_rules.cc 36 const ExclusionRule& rule = *it; local
37 if (MatchPattern(host_port->host(), rule.hostname_pattern))
44 const MapRule& rule = *it; local
46 // The rule's hostname_pattern will be something like:
53 if (!MatchPattern(host_port->host(), rule.hostname_pattern)) {
55 if (!MatchPattern(host_port_string, rule.hostname_pattern))
56 continue; // This rule doesn't apply.
59 host_port->set_host(rule.replacement_hostname);
60 if (rule.replacement_port != -1)
61 host_port->set_port(rule.replacement_port)
76 ExclusionRule rule; local
84 MapRule rule; local
    [all...]
  /external/chromium_org/third_party/icu/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/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...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/
bg.js 5 function matches(rule, item) {
6 if (rule.matcher == 'js')
7 return eval(rule.match_param);
8 if (rule.matcher == 'hostname') {
11 var host = (rule.match_param.indexOf(':') < 0) ? link.hostname : link.host;
12 return (host.indexOf(rule.match_param.toLowerCase()) ==
13 (host.length - rule.match_param.length));
15 if (rule.matcher == 'default')
16 return item.filename == rule.match_param;
17 if (rule.matcher == 'url-regex'
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
mathml_store.js 6 * @fileoverview Speech rule store for mathml and mathjax trees.
15 * Rule initialization.
27 * Adds a new MathML speech rule.
28 * @param {string} name Rule name which corresponds to the MathML tag name.
29 * @param {string} domain Domain annotation of the rule.
30 * @param {string} rule String version of the speech rule.
32 cvox.MathmlStore.prototype.defineMathmlRule = function(name, domain, rule) {
33 this.defineRule(name, domain, rule, 'self::mathml:' + name);
38 * Adds a new MathML speech rule for the default.default domain
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
StyleSheetOutlineDialog.js 73 var rule = this._cssParser.rules()[itemIndex];
74 return rule.selectorText || rule.atRule;
84 var rule = this._cssParser.rules()[itemIndex];
85 return -rule.lineNumber;
96 var rule = this._cssParser.rules()[itemIndex];
97 titleElement.textContent = rule.selectorText || rule.atRule;
99 subtitleElement.textContent = ":" + (rule.lineNumber + 1);
108 var rule = this._cssParser.rules()[itemIndex]
    [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>
  /external/chromium_org/tools/deep_memory_profiler/lib/
policy.py 33 class Rule(object):
34 """Represents one matching rule in a policy file."""
129 """Finds a rule whose name is |component_name|. """
130 for rule in self._rules:
131 if rule.name == component_name:
132 return rule
157 for rule in self._rules:
158 if (rule.allocator_type == 'malloc' and
159 (not rule.stackfunction_pattern or
160 rule.stackfunction_pattern.match(stackfunction)) an
    [all...]

Completed in 1237 milliseconds

1 2 3 4 5 6 7 8 91011>>