Home
last modified time | relevance | path

Searched refs:rules1 (Results 1 – 10 of 10) sorted by relevance

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEraRulesTest.java29 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs() local
30 if (rules1 == null) { in testAPIs()
38 int numEras1 = rules1.getNumberOfEras(); in testAPIs()
49 int currentIdx = rules1.getCurrentEraIndex(); in testAPIs()
51 … int idx = rules1.getEraIndex(currentYear, cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DATE)); in testAPIs()
57 int eraStartYear = rules1.getStartYear(currentIdx); in testAPIs()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DEraRulesTest.java32 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs() local
33 if (rules1 == null) { in testAPIs()
41 int numEras1 = rules1.getNumberOfEras(); in testAPIs()
52 int currentIdx = rules1.getCurrentEraIndex(); in testAPIs()
54 … int idx = rules1.getEraIndex(currentYear, cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DATE)); in testAPIs()
60 int eraStartYear = rules1.getStartYear(currentIdx); in testAPIs()
/third_party/icu/icu4c/source/test/intltest/
Derarulestest.cpp54 LocalPointer<EraRules> rules1(EraRules::createInstance(calId, false, status)); in testAPIs() local
66 int32_t numEras1 = rules1->getNumberOfEras(); in testAPIs()
82 int32_t currentIdx = rules1->getCurrentEraIndex(); in testAPIs()
84 int32_t idx = rules1->getEraIndex( in testAPIs()
96 int32_t eraStartYear = rules1->getStartYear(currentIdx, status); in testAPIs()
Dtranstst.cpp4573 UnicodeString rules1; in TestRegisterAlias() local
4576 t1->toRules(rules1, true); in TestRegisterAlias()
4578 if (rules1 != rules2) in TestRegisterAlias()
4612 t1->toRules(rules1, true); in TestRegisterAlias()
4614 if (rules1 != rules2) in TestRegisterAlias()
Dplurults.cpp1624 LocalPointer<PluralRules> rules1(PluralRules::forLocale(loc1, status)); in compareLocaleResults() local
1632 UnicodeString result1 = rules1->select(value); in compareLocaleResults()
/third_party/node/deps/icu-small/source/i18n/
Drbtz.cpp41 static UBool compareRules(UVector* rules1, UVector* rules2) { in compareRules() argument
42 if (rules1 == nullptr && rules2 == nullptr) { in compareRules()
44 } else if (rules1 == nullptr || rules2 == nullptr) { in compareRules()
47 int32_t size = rules1->size(); in compareRules()
52 TimeZoneRule *r1 = (TimeZoneRule*)rules1->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()
40 int32_t size = rules1->size(); in compareRules()
45 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i); in compareRules()
/third_party/icu/icu4c/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()
47 int32_t size = rules1->size(); in compareRules()
52 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i); in compareRules()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralRulesTest.java534 PluralRules rules1 = PluralRules.forLocale(new ULocale(loc1));
538 String result1 = rules1.select(value);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java678 PluralRules rules1 = PluralRules.forLocale(new ULocale(loc1));
682 String result1 = rules1.select(value);