Home
last modified time | relevance | path

Searched refs:oldLoc (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Daliastst.cpp61 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 …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleAliasTest.java74 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 …]
DLocaleAliasCollationTest.java64 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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java71 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 …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DLocaleAliasCollationTest.java61 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()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3009 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCalendar() local
3021 c1 = ucal_open(NULL, -1, oldLoc, UCAL_GREGORIAN, &status); in TestCalendar()
3025 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar()
3045 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestDateFormat() local
3055 df1 = udat_open(UDAT_FULL, UDAT_FULL,oldLoc, NULL, 0, NULL, -1, &status); in TestDateFormat()
3068 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat()
3088 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCollation() local
3103 c1 = ucol_open(oldLoc, &status); in TestCollation()
3111 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCollation()
3212 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestULocale() local
[all …]