HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 76 - 100 of 575) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/icu/icu4c/source/i18n/
strrepl.cpp 240 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule,
242 rule.truncate(0);
250 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
257 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
263 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf);
269 ICU_Utility::appendToRule(rule, buf,
280 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
282 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
285 ICU_Utility::appendToRule(rule, -1,
288 return rule;
    [all...]
rbt_rule.cpp 32 * Construct a new rule with the given input, output text, and other
51 * @param anchorStart TRUE if the the rule is anchored on the left to
53 * @param anchorEnd TRUE if the rule is anchored on the right to the
214 * Internal method. Returns 8-bit index value for this rule.
230 * Internal method. Returns true if this rule matches the given
233 * It matches this rule if it matches the first character of the
236 * value. If the rule contains only ante context, as in foo)>bar,
247 * Return true if this rule masks another rule. If r1 masks r2 then
253 /* Rule r1 masks rule r2 if the string formed of th
    [all...]
funcrepl.h 90 virtual UnicodeString& toReplacerPattern(UnicodeString& rule,
rbt_pars.h 40 * of rules in the rule set
46 * A Vector of UnicodeStrings containing all of the ID blocks in the rule set
89 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
96 * parsing of a single rule.
184 * MAIN PARSER. Parse the next rule in the given rule string, starting
192 * parses the end-of-rule character. It recognizes context and cursor
193 * indicators. Once it does a lexical breakdown of the rule at pos, it
194 * creates a rule object and adds it to our rule list
    [all...]
  /external/v8/tools/testrunner/local/
testsuite.py 130 for rule in self.wildcards:
131 assert rule[-1] == '*'
132 if testname.startswith(rule[:-1]):
133 used_rules.add(rule)
134 t.outcomes = self.wildcards[rule]
137 break # "for rule in self.wildcards"
151 for rule in self.rules:
152 if rule not in used_rules:
153 print("Unused rule: %s -> %s" % (rule, self.rules[rule])
    [all...]
  /external/svox/pico/tts/
Android.mk 5 # to the rule below / except that it builds a shared
32 # Build Pico Shared Library. This rule is used by the
34 # using dlsym. This is essentially the same as the rule
  /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/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
ASTParser.stg 35 * token, set, rule, wildcard
128 // RULE REF AST
130 /** rule when output=AST */
131 ruleRef(rule,label,elementIndex,args,scope) ::= <<
136 /** rule! is same as normal rule ref */
137 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
139 /** rule^ */
140 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
145 /** x+=rule when output=AST *
    [all...]
  /external/elfutils/src/libdw/
dwarf_frame_register.c 62 switch (reg->rule)
66 /* Use the default rule for registers not yet mentioned in CFI. */
86 if (reg->rule == reg_val_offset)
115 true, reg->rule == reg_val_expression,
  /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/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
TransliterationRule.java 12 * A transliteration rule used by
16 * <p>A rule consists of an input pattern and an output string. When
27 * <p>A rule may contain segments in its input string and segment
37 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
118 * An alias pointer to the data for this rule. The data provides
125 * Construct a new rule with the given input, output text, and other
142 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
147 * @param anchorStart true if the the rule is anchored on the left to
149 * @param anchorEnd true if the rule is anchored on the right to the
232 * Internal method. Returns 8-bit index value for this rule
490 StringBuffer rule = new StringBuffer(); local
    [all...]
StringReplacer.java 266 StringBuffer rule = new StringBuffer(); local
274 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf);
281 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf);
287 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf);
292 Utility.appendToRule(rule, buf.toString(),
303 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf);
305 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf);
308 Utility.appendToRule(rule, -1,
311 return rule.toString();
  /frameworks/base/tools/aapt2/data/
Makefile 18 LOCAL_PROGUARD := out/proguard.rule
51 define make-collect-rule
57 $(foreach d,$(PRIVATE_RESOURCE_TYPES),$(eval $(call make-collect-rule,$d)))
  /frameworks/base/tools/split-select/
SplitSelector.cpp 22 #include "Rule.h"
68 KeyedVector<SplitDescription, sp<Rule> > SplitSelector::getRules() const {
69 KeyedVector<SplitDescription, sp<Rule> > rules;
76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); local
77 if (rule != NULL) {
78 rules.add(splits[j], rule);
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);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
rbacrule.py 21 from . import rule namespace
27 """Factory function for creating RBAC rule objects."""
38 """Validate RBAC rule types."""
41 raise exception.InvalidRBACRuleType("{0} is not a valid RBAC rule type.".format(t))
44 class RoleAllow(rule.PolicyRule):
46 """A role allow rule."""
53 """The rule's source role."""
58 """The rule's target role."""
63 """The rule's object class."""
68 """The rule's default role.""
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/policyrep/
rbacrule.py 21 from . import rule namespace
27 """Factory function for creating RBAC rule objects."""
38 """Validate RBAC rule types."""
41 raise exception.InvalidRBACRuleType("{0} is not a valid RBAC rule type.".format(t))
44 class RoleAllow(rule.PolicyRule):
46 """A role allow rule."""
53 """The rule's source role."""
58 """The rule's target role."""
63 """The rule's object class."""
68 """The rule's default role.""
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeRewriter.java 36 public Object rule() throws RecognitionException; method in interface:TreeRewriter.fptr
61 TreeRuleReturnScope r = (TreeRuleReturnScope)whichRule.rule();
108 public Object rule() throws RecognitionException { return topdown(); }
112 public Object rule() throws RecognitionException { return bottomup(); }
116 // to override, just define tree grammar rule topdown and turn on
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
SimpleHoliday.java 144 private static DateRule rangeRule(int startYear, int endYear, DateRule rule)
147 return rule;
154 rangeRule.add(start.getTime(), rule); local
156 rangeRule.add(rule);
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
UtilityExtensions.java 20 * Append the given string to the rule. Calls the single-character
23 public static void appendToRule(StringBuffer rule,
30 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf);
37 * pattern as a literal to the given rule.
39 public static void appendToRule(StringBuffer rule,
44 appendToRule(rule, matcher.toPattern(escapeUnprintable),
  /external/selinux/sepolgen/src/sepolgen/
policygen.py 157 rule = refpolicy.AVRule(av)
159 rule.rule_type = rule.DONTAUDIT
160 rule.comment = ""
162 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
164 rule.comment += "\n#!!!! This avc is allowed in the current policy"
166 rule.comment += "\n#!!!! This avc has a dontaudit rule in the current policy"
170 rule.comment += "\n#!!!! This avc can be allowed using one of the these booleans:\n# %s" % ", ".join(map(lambda x: x[0], av.data))
172 rule.comment += "\n#!!!! This avc can be allowed using the boolean '%s'" % av.data[0][0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
policygen.py 157 rule = refpolicy.AVRule(av)
159 rule.rule_type = rule.DONTAUDIT
160 rule.comment = ""
162 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
164 rule.comment += "\n#!!!! This avc is allowed in the current policy"
166 rule.comment += "\n#!!!! This avc has a dontaudit rule in the current policy"
170 rule.comment += "\n#!!!! This avc can be allowed using one of the these booleans:\n# %s" % ", ".join(map(lambda x: x[0], av.data))
172 rule.comment += "\n#!!!! This avc can be allowed using the boolean '%s'" % av.data[0][0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/sepolgen/
policygen.py 157 rule = refpolicy.AVRule(av)
159 rule.rule_type = rule.DONTAUDIT
160 rule.comment = ""
162 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
164 rule.comment += "\n#!!!! This avc is allowed in the current policy"
166 rule.comment += "\n#!!!! This avc has a dontaudit rule in the current policy"
170 rule.comment += "\n#!!!! This avc can be allowed using one of the these booleans:\n# %s" % ", ".join(map(lambda x: x[0], av.data))
172 rule.comment += "\n#!!!! This avc can be allowed using the boolean '%s'" % av.data[0][0
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
HierarchyViewerPluginDirector.java 57 public boolean contains(ISchedulingRule rule) {
58 return rule == this;
62 public boolean isConflicting(ISchedulingRule rule) {
63 return rule == this;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java 49 IViewRule rule = new LinearLayoutRule(); local
59 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements);
64 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint);
97 rule.onDropped(targetNode, elements, feedback, dropPoint);
127 LinearLayoutRule rule = new LinearLayoutRule(); local
128 initialize(rule, "android.widget.LinearLayout");
132 rule.addContextMenuActions(contextMenu, node);
147 LinearLayoutRule rule = new LinearLayoutRule(); local
148 initialize(rule, "android.widget.LinearLayout");
154 rule.addContextMenuActions(contextMenu, node)
173 LinearLayoutRule rule = new LinearLayoutRule(); local
207 LinearLayoutRule rule = new LinearLayoutRule(); local
    [all...]

Completed in 710 milliseconds

1 2 34 5 6 7 8 91011>>