HomeSort by relevance Sort by last modified time
    Searched defs:rule (Results 51 - 75 of 360) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/text/
StringMatcher.java 263 StringBuffer rule = new StringBuffer("$"); local
264 Utility.appendNumber(rule, segmentNumber, 10, 1);
265 return rule.toString();
StringReplacer.java 267 StringBuffer rule = new StringBuffer(); local
275 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf);
282 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf);
288 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf);
293 Utility.appendToRule(rule, buf.toString(),
304 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf);
306 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf);
309 Utility.appendToRule(rule, -1,
312 return rule.toString();
CompoundTransliterator.java 257 * Create a rule string that can be passed to createFromRules()
263 * @return the rule string
267 // general. If we have several rule-based transliterators, this
279 String rule; local
286 rule = trans[i].toRules(escapeUnprintable);
288 rule = "::Null;" + rule;
295 rule = trans[i].toRules(escapeUnprintable);
299 rule = trans[i].baseToRules(escapeUnprintable);
302 rulesSource.append(rule);
    [all...]
TransliterationRule.java 13 * A transliteration rule used by
17 * <p>A rule consists of an input pattern and an output string. When
28 * <p>A rule may contain segments in its input string and segment
38 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
119 * An alias pointer to the data for this rule. The data provides
126 * Construct a new rule with the given input, output text, and other
143 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
148 * @param anchorStart true if the the rule is anchored on the left to
150 * @param anchorEnd true if the rule is anchored on the right to the
233 * Internal method. Returns 8-bit index value for this rule
491 StringBuffer rule = new StringBuffer(); local
    [all...]
  /external/icu/icu4c/source/i18n/
cpdtrans.cpp 395 // general. If we have several rule-based transliterators, this
408 UnicodeString rule; local
415 trans[i]->toRules(rule, escapeUnprintable);
417 rule = UNICODE_STRING_SIMPLE("::Null;") + rule;
424 trans[i]->toRules(rule, escapeUnprintable);
428 trans[i]->Transliterator::toRules(rule, escapeUnprintable);
431 rulesSource.append(rule);
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
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();
CompoundTransliterator.java 256 * Create a rule string that can be passed to createFromRules()
262 * @return the rule string
266 // general. If we have several rule-based transliterators, this
278 String rule; local
285 rule = trans[i].toRules(escapeUnprintable);
287 rule = "::Null;" + rule;
294 rule = trans[i].toRules(escapeUnprintable);
298 rule = trans[i].baseToRules(escapeUnprintable);
301 rulesSource.append(rule);
    [all...]
StringMatcher.java 262 StringBuffer rule = new StringBuffer("$"); local
263 Utility.appendNumber(rule, segmentNumber, 10, 1);
264 return rule.toString();
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...]
  /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
BundleCheckerTest.java 42 private List<Rule> rules;
48 rules = new ArrayList<Rule>();
58 assertMessage("Rule violated for bundle Test: instructions covered ratio is 0.50, but expected minimum is 0.75");
66 assertMessage("Rule violated for package org.jacoco.example: instructions covered ratio is 0.50, but expected minimum is 0.75");
74 assertMessage("Rule violated for source file org/jacoco/example/FooClass.java: instructions covered ratio is 0.50, but expected minimum is 0.75");
82 assertMessage("Rule violated for class org.jacoco.example.FooClass: instructions covered ratio is 0.50, but expected minimum is 0.75");
90 assertMessage("Rule violated for method org.jacoco.example.FooClass.fooMethod(): instructions covered ratio is 0.50, but expected minimum is 0.75");
103 final Rule rule = new Rule(); local
122 final Rule rule = new Rule(); local
    [all...]
  /external/v8/test/cctest/
test-date.cc 37 struct Rule {
41 DateCacheMock(int local_offset, Rule* rules, int rules_count)
50 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); local
51 return rule == NULL ? 0 : rule->offset_sec * 1000;
60 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
61 Rule* result = NULL;
70 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
CollatorTest.java 96 String rule = "&9 < a < b < c < d < e"; local
97 RuleBasedCollator coll = new RuleBasedCollator(rule);
101 RuleBasedCollator other = new RuleBasedCollator(rule);
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
WorkSpaceController.java 158 private void OnSelectRule(Rule rule) {
159 if(rule == null) throw new IllegalArgumentException("Null");
160 this.view.paneEditor.OnLoadRule(rule);
161 this.view.paneStatus.setRule(rule.getName());
164 this.runner.OnShowRuleResult(rule);
217 /** Event handler for rule list selection. */
222 final Rule rule = (Rule) list.getSelectedValue() local
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeAutomationSettings.java 113 AutomaticZenRule rule = new AutomaticZenRule(ruleName, ri.serviceComponent, local
116 String savedRuleId = addZenRule(rule);
189 private String computeRuleSummary(AutomaticZenRule rule, boolean isSystemRule,
191 final String mode = computeZenModeCaption(getResources(), rule.getInterruptionFilter());
192 final String ruleState = (rule == null || !rule.isEnabled())
268 private String key(AutomaticZenRule rule) {
269 final int type = ZenModeConfig.isValidScheduleConditionId(rule.getConditionId()) ? 1
270 : ZenModeConfig.isValidEventConditionId(rule.getConditionId()) ? 2
272 return type + rule.getName().toString()
285 final AutomaticZenRule rule = ruleEntry.getValue(); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/firewall/
IntentFirewall.java 153 List<Rule> candidateRules;
156 candidateRules = new ArrayList<Rule>();
161 // rule against the intent
163 Rule rule = candidateRules.get(i); local
164 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType,
166 block |= rule.getBlock();
167 log |= rule.getLog();
302 List<List<Rule>> rulesByType = new ArrayList<List<Rule>>(3)
336 Rule rule = new Rule(); local
373 Rule rule = rules.get(ruleIndex); local
378 resolver.addComponentFilter(rule.getComponentFilter(i), rule); local
487 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter
    [all...]
  /art/build/
Android.gtest.mk 451 # Define a make rule for a target device gtest.
455 define define-art-gtest-rule-target
488 endef # define-art-gtest-rule-target
503 define define-art-gtest-rule-host
543 endef # define-art-gtest-rule-host
610 $$(eval $$(call define-art-gtest-rule-target,$$(art_gtest_name),2ND_,$$(2nd_library_path)))
612 $$(eval $$(call define-art-gtest-rule-target,$$(art_gtest_name),,$$(library_path)))
614 # A rule to run the different architecture versions of the gtest.
637 $$(eval $$(call define-art-gtest-rule-host,$$(art_gtest_name),2ND_))
639 $$(eval $$(call define-art-gtest-rule-host,$$(art_gtest_name),)
    [all...]
  /build/kati/
eval.cc 27 #include "rule.h"
115 Error("*** missing rule before commands.");
119 Rule* rule; local
121 ParseRule(loc_, expr, stmt->term, &rule, &rule_var);
123 if (rule) {
125 rule->cmds.push_back(stmt->after_term);
128 LOG("Rule: %s", rule->DebugString().c_str());
129 rules_.push_back(rule);
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Strip.java 81 wiz.visit(t, ANTLRv3Parser.AT, // ^('@' id ACTION) rule actions
95 wiz.visit(t, ANTLRv3Parser.ARG, // wipe rule arguments
104 wiz.visit(t, ANTLRv3Parser.RET, // wipe rule return declarations
210 CommonTree root = (CommonTree)t.getAncestor(ANTLRv3Parser.RULE);
212 CommonTree rule = (CommonTree)root.getChild(0); local
213 //System.out.println("rule: "+rule);
214 if ( !Character.isUpperCase(rule.getText().charAt(0)) ) {
  /external/deqp/modules/egl/
teglChooseConfigReference.cpp 331 const AttribRule rule = iter->second; local
333 if (rule.value == EGL_DONT_CARE)
335 else if (rule.name == EGL_MATCH_NATIVE_PIXMAP)
336 TCU_CHECK(rule.value == EGL_NONE); // Not supported
337 else if (rule.name == EGL_TRANSPARENT_RED_VALUE || rule.name == EGL_TRANSPARENT_GREEN_VALUE || rule.name == EGL_TRANSPARENT_BLUE_VALUE)
341 const EGLint cfgValue = config.getAttribute(rule.name);
343 switch (rule.criteria)
346 if (rule.value != cfgValue
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationFrenchTest.java 175 String rule = "&0x2f00 << 0x2f01"; local
177 RuleBasedCollator collator = new RuleBasedCollator(rule);
CollationThaiTest.java 291 String rule = "& c < ab"; local
294 collator = new RuleBasedCollator(rule);
296 errln("Error: could not construct collator with rule " + rule);
  /external/icu/icu4c/source/test/intltest/
thcoll.cpp 458 const char *rule = "& c < ab"; local
461 parseChars(rules, rule);
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationFrenchTest.java 171 String rule = "&0x2f00 << 0x2f01"; local
173 RuleBasedCollator collator = new RuleBasedCollator(rule);
CollationThaiTest.java 287 String rule = "& c < ab"; local
290 collator = new RuleBasedCollator(rule);
292 errln("Error: could not construct collator with rule " + rule);
  /external/iw/
coalesce.c 202 struct nlattr *pattern, *rule; local
217 nla_for_each_nested(rule, attrs[NL80211_ATTR_COALESCE_RULE], rem_rule) {
221 nla_data(rule), nla_len(rule), NULL);
227 printf("Rule - max coalescing delay: %dmsec condition:", delay);

Completed in 5163 milliseconds

1 23 4 5 6 7 8 91011>>