Searched refs:oldLoc (Results 1 – 7 of 7) sorted by relevance
/third_party/icu/icu4c/source/test/intltest/ |
D | aliastst.cpp | 61 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCalendar() local 67 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar() 68 Calendar* c1 = Calendar::createInstance(oldLoc, status); in TestCalendar() 81 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestCalendar() 93 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDateFormat() local 99 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat() 101 DateFormat* df1 = DateFormat::createDateInstance(DateFormat::FULL, oldLoc); in TestDateFormat() 114 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestDateFormat() 127 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCollation() local 133 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCollation() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasTest.java | 71 ULocale oldLoc = _LOCALES[i][0]; in TestCalendar() local 77 Calendar c1 = Calendar.getInstance(oldLoc); in TestCalendar() 99 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar() 111 ULocale oldLoc = _LOCALES[i][0]; in TestDateFormat() local 117 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() 130 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat() 151 ULocale oldLoc = _LOCALES[i][0]; in TestULocale() local 157 ULocale ul1 = new ULocale(oldLoc.toString()); in TestULocale() 175 ULocale oldLoc = _LOCALES[i][0]; in TestDisplayName() local 179 String oldCountry = oldLoc.getDisplayCountry(available[j]); in TestDisplayName() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | LocaleAliasTest.java | 74 ULocale oldLoc = _LOCALES[i][0]; in TestCalendar() local 80 Calendar c1 = Calendar.getInstance(oldLoc); in TestCalendar() 102 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar() 114 ULocale oldLoc = _LOCALES[i][0]; in TestDateFormat() local 120 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() 133 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat() 154 ULocale oldLoc = _LOCALES[i][0]; in TestULocale() local 160 ULocale ul1 = new ULocale(oldLoc.toString()); in TestULocale() 178 ULocale oldLoc = _LOCALES[i][0]; in TestDisplayName() local 182 String oldCountry = oldLoc.getDisplayCountry(available[j]); in TestDisplayName() [all …]
|
D | LocaleAliasCollationTest.java | 64 ULocale oldLoc = _LOCALES[i][0]; in TestCollation() local 70 Collator c1 = Collator.getInstance(oldLoc); in TestCollation() 74 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation() 77 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasCollationTest.java | 61 ULocale oldLoc = _LOCALES[i][0]; in TestCollation() local 67 Collator c1 = Collator.getInstance(oldLoc); in TestCollation() 71 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation() 74 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 3259 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCalendar() local 3271 c1 = ucal_open(NULL, -1, oldLoc, UCAL_GREGORIAN, &status); in TestCalendar() 3275 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar() 3295 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestDateFormat() local 3305 df1 = udat_open(UDAT_FULL, UDAT_FULL,oldLoc, NULL, 0, NULL, -1, &status); in TestDateFormat() 3318 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat() 3338 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCollation() local 3353 c1 = ucol_open(oldLoc, &status); in TestCollation() 3361 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCollation() 3462 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestULocale() local [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
D | time_test.cpp | 302 locale_t oldLoc = uselocale(loc); variable 307 uselocale(oldLoc);
|