Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/icu/icu4c/source/test/intltest/
Derarulestest.cpp60 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, TRUE, status)); in testAPIs() local
71 int32_t numEras2 = rules2->getNumberOfEras(); in testAPIs()
Dtranstst.cpp3206 UnicodeString rules2; t2.toRules(rules2, TRUE); in checkRules() local
3208 rules2.findAndReplace(SPACE, EMPTY); in checkRules()
3209 rules2.findAndReplace(NEWLINE, EMPTY); in checkRules()
3210 rules2.findAndReplace(RETURN, EMPTY); in checkRules()
3214 if (rules2 != testRules) { in checkRules()
3216 logln((UnicodeString)"GENERATED RULES: " + rules2); in checkRules()
4555 UnicodeString rules2; in TestRegisterAlias() local
4558 t2->toRules(rules2, TRUE); in TestRegisterAlias()
4559 if (rules1 != rules2) in TestRegisterAlias()
4594 t2->toRules(rules2, TRUE); in TestRegisterAlias()
[all …]
Dplurults.cpp1410 LocalPointer<PluralRules> rules2(PluralRules::forLocale(loc2, status)); in compareLocaleResults() local
1418 UnicodeString result2 = rules2->select(value); in compareLocaleResults()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/node/deps/icu-small/source/i18n/
Drbtz.cpp41 static UBool compareRules(UVector* rules1, UVector* rules2) { in compareRules() argument
42 if (rules1 == NULL && rules2 == NULL) { in compareRules()
44 } else if (rules1 == NULL || rules2 == NULL) { in compareRules()
48 if (size != rules2->size()) { in compareRules()
53 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules()
/third_party/skia/third_party/externals/icu/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralRulesTest.java347 String rules2 = keyword + ":" + rules.getRules(keyword);
348 PluralRules singleRule = PluralRules.createRules(rules2);
350 errln("Can't generate single rule for " + rules2);
351 PluralRules.createRules(rules2); // for debugging
535 PluralRules rules2 = PluralRules.forLocale(new ULocale(loc2));
539 String result2 = rules2.select(value);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java406 String rules2 = keyword + ":" + rules.getRules(keyword);
407 PluralRules singleRule = PluralRules.createRules(rules2);
409 errln("Can't generate single rule for " + rules2);
410 PluralRules.createRules(rules2); // for debugging
597 PluralRules rules2 = PluralRules.forLocale(new ULocale(loc2));
601 String result2 = rules2.select(value);
/third_party/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()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()