Home
last modified time | relevance | path

Searched refs:rules2 (Results 1 – 12 of 12) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DEraRulesTest.java37 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs() local
38 if (rules2 == null) { in testAPIs()
45 int numEras2 = rules2.getNumberOfEras(); in testAPIs()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEraRulesTest.java34 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs() local
35 if (rules2 == null) { in testAPIs()
42 int numEras2 = rules2.getNumberOfEras(); in testAPIs()
/external/cldr/tools/java/org/unicode/cldr/draft/
DRegexTransform.java18 public RegexTransform(List<Rule> rules2) { in RegexTransform() argument
19 rules = new ArrayList<Rule>(rules2); in RegexTransform()
/external/icu/icu4c/source/test/intltest/
Derarulestest.cpp59 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, TRUE, status)); in testAPIs() local
70 int32_t numEras2 = rules2->getNumberOfEras(); in testAPIs()
Dtranstst.cpp3128 UnicodeString rules2; t2.toRules(rules2, TRUE); in checkRules() local
3130 rules2.findAndReplace(SPACE, EMPTY); in checkRules()
3131 rules2.findAndReplace(NEWLINE, EMPTY); in checkRules()
3132 rules2.findAndReplace(RETURN, EMPTY); in checkRules()
3136 if (rules2 != testRules) { in checkRules()
3138 logln((UnicodeString)"GENERATED RULES: " + rules2); in checkRules()
4480 UnicodeString rules2; in TestRegisterAlias() local
4483 t2->toRules(rules2, TRUE); in TestRegisterAlias()
4484 if (rules1 != rules2) in TestRegisterAlias()
4519 t2->toRules(rules2, TRUE); in TestRegisterAlias()
[all …]
/external/icu/icu4c/source/i18n/
Drbtz.cpp34 static UBool compareRules(UVector* rules1, UVector* rules2) { in compareRules() argument
35 if (rules1 == NULL && rules2 == NULL) { in compareRules()
37 } else if (rules1 == NULL || rules2 == NULL) { in compareRules()
41 if (size != rules2->size()) { in compareRules()
46 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPluralRuleGeneration.java74 PluralRules rules2 = PluralRules in TestAtoms() local
/external/icu/icu4c/source/test/cintltst/
Dutransts.c349 UTransliterator* rules=NULL, *rules2; in TestRegisterUnregister() local
378 rules2=utrans_clone(rules, &status); in TestRegisterUnregister()
413 utrans_register(rules2, &status); in TestRegisterUnregister()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java2399 String rules2 = t2.toRules(true); in checkRules() local
2401 rules2 = TestUtility.replace(rules2, " ", ""); in checkRules()
2402 rules2 = TestUtility.replace(rules2, "\n", ""); in checkRules()
2403 rules2 = TestUtility.replace(rules2, "\r", ""); in checkRules()
2406 if (!rules2.equals(testRulesForward)) { in checkRules()
2408 logln("GENERATED RULES: " + rules2); in checkRules()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java2396 String rules2 = t2.toRules(true); in checkRules() local
2398 rules2 = TestUtility.replace(rules2, " ", ""); in checkRules()
2399 rules2 = TestUtility.replace(rules2, "\n", ""); in checkRules()
2400 rules2 = TestUtility.replace(rules2, "\r", ""); in checkRules()
2403 if (!rules2.equals(testRulesForward)) { in checkRules()
2405 logln("GENERATED RULES: " + rules2); in checkRules()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java342 String rules2 = keyword + ":" + rules.getRules(keyword);
343 PluralRules singleRule = PluralRules.createRules(rules2);
345 errln("Can't generate single rule for " + rules2);
346 PluralRules.createRules(rules2); // for debugging
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java339 String rules2 = keyword + ":" + rules.getRules(keyword);
340 PluralRules singleRule = PluralRules.createRules(rules2);
342 errln("Can't generate single rule for " + rules2);
343 PluralRules.createRules(rules2); // for debugging