Home
last modified time | relevance | path

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

/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/icu/icu4c/source/test/cintltst/
Dutransts.c347 UTransliterator* rules=NULL, *rules2; in TestRegisterUnregister() local
376 rules2=utrans_clone(rules, &status); in TestRegisterUnregister()
411 utrans_register(rules2, &status); in TestRegisterUnregister()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp3127 UnicodeString rules2; t2.toRules(rules2, TRUE); in checkRules() local
3129 rules2.findAndReplace(SPACE, EMPTY); in checkRules()
3130 rules2.findAndReplace(NEWLINE, EMPTY); in checkRules()
3131 rules2.findAndReplace(RETURN, EMPTY); in checkRules()
3135 if (rules2 != testRules) { in checkRules()
3137 logln((UnicodeString)"GENERATED RULES: " + rules2); in checkRules()
4477 UnicodeString rules2; in TestRegisterAlias() local
4480 t2->toRules(rules2, TRUE); in TestRegisterAlias()
4481 if (rules1 != rules2) in TestRegisterAlias()
4516 t2->toRules(rules2, TRUE); in TestRegisterAlias()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java336 String rules2 = keyword + ":" + rules.getRules(keyword);
337 PluralRules singleRule = PluralRules.createRules(rules2);
339 errln("Can't generate single rule for " + rules2);
340 PluralRules.createRules(rules2); // for debugging
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java337 String rules2 = keyword + ":" + rules.getRules(keyword);
338 PluralRules singleRule = PluralRules.createRules(rules2);
340 errln("Can't generate single rule for " + rules2);
341 PluralRules.createRules(rules2); // for debugging
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java2438 String rules2 = t2.toRules(true); in checkRules() local
2440 rules2 = TestUtility.replace(rules2, " ", ""); in checkRules()
2441 rules2 = TestUtility.replace(rules2, "\n", ""); in checkRules()
2442 rules2 = TestUtility.replace(rules2, "\r", ""); in checkRules()
2445 if (!rules2.equals(testRulesForward)) { in checkRules()
2447 logln("GENERATED RULES: " + rules2); in checkRules()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java2437 String rules2 = t2.toRules(true); in checkRules() local
2439 rules2 = TestUtility.replace(rules2, " ", ""); in checkRules()
2440 rules2 = TestUtility.replace(rules2, "\n", ""); in checkRules()
2441 rules2 = TestUtility.replace(rules2, "\r", ""); in checkRules()
2444 if (!rules2.equals(testRulesForward)) { in checkRules()
2446 logln("GENERATED RULES: " + rules2); in checkRules()