Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Drbtz.cpp32 static UBool compareRules(UVector* rules1, UVector* rules2) { in compareRules() argument
33 if (rules1 == NULL && rules2 == NULL) { in compareRules()
35 } else if (rules1 == NULL || rules2 == NULL) { in compareRules()
39 if (size != rules2->size()) { in compareRules()
44 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules()
/external/icu/icu4c/source/test/cintltst/
Dutransts.c344 UTransliterator* rules=NULL, *rules2; in TestRegisterUnregister() local
373 rules2=utrans_clone(rules, &status); in TestRegisterUnregister()
408 utrans_register(rules2, &status); in TestRegisterUnregister()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp3125 UnicodeString rules2; t2.toRules(rules2, TRUE); in checkRules() local
3127 rules2.findAndReplace(SPACE, EMPTY); in checkRules()
3128 rules2.findAndReplace(NEWLINE, EMPTY); in checkRules()
3129 rules2.findAndReplace(RETURN, EMPTY); in checkRules()
3133 if (rules2 != testRules) { in checkRules()
3135 logln((UnicodeString)"GENERATED RULES: " + rules2); in checkRules()
4465 UnicodeString rules2; in TestRegisterAlias() local
4468 t2->toRules(rules2, TRUE); in TestRegisterAlias()
4469 if (rules1 != rules2) in TestRegisterAlias()
4504 t2->toRules(rules2, TRUE); in TestRegisterAlias()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java329 String rules2 = keyword + ":" + rules.getRules(keyword);
330 PluralRules singleRule = PluralRules.createRules(rules2);
332 errln("Can't generate single rule for " + rules2);
333 PluralRules.createRules(rules2); // for debugging
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java2373 String rules2 = t2.toRules(true); in checkRules() local
2375 rules2 = TestUtility.replace(rules2, " ", ""); in checkRules()
2376 rules2 = TestUtility.replace(rules2, "\n", ""); in checkRules()
2377 rules2 = TestUtility.replace(rules2, "\r", ""); in checkRules()
2380 if (!rules2.equals(testRulesForward)) { in checkRules()
2382 logln("GENERATED RULES: " + rules2); in checkRules()