Searched refs:oldLoc (Results 1 – 6 of 6) sorted by relevance
/external/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 …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasTest.java | 68 ULocale oldLoc = _LOCALES[i][0]; in TestCalendar() local 74 Calendar c1 = Calendar.getInstance(oldLoc); in TestCalendar() 96 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar() 108 ULocale oldLoc = _LOCALES[i][0]; in TestDateFormat() local 114 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() 127 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat() 148 ULocale oldLoc = _LOCALES[i][0]; in TestULocale() local 154 ULocale ul1 = new ULocale(oldLoc.toString()); in TestULocale() 172 ULocale oldLoc = _LOCALES[i][0]; in TestDisplayName() local 176 String oldCountry = oldLoc.getDisplayCountry(available[j]); in TestDisplayName() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleAliasTest.java | 69 ULocale oldLoc = _LOCALES[i][0]; in TestCalendar() local 75 Calendar c1 = Calendar.getInstance(oldLoc); in TestCalendar() 97 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar() 109 ULocale oldLoc = _LOCALES[i][0]; in TestDateFormat() local 115 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() 128 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat() 149 ULocale oldLoc = _LOCALES[i][0]; in TestULocale() local 155 ULocale ul1 = new ULocale(oldLoc.toString()); in TestULocale() 173 ULocale oldLoc = _LOCALES[i][0]; in TestDisplayName() local 177 String oldCountry = oldLoc.getDisplayCountry(available[j]); in TestDisplayName() [all …]
|
D | LocaleAliasCollationTest.java | 59 ULocale oldLoc = _LOCALES[i][0]; in TestCollation() local 65 Collator c1 = Collator.getInstance(oldLoc); in TestCollation() 69 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation() 72 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasCollationTest.java | 58 ULocale oldLoc = _LOCALES[i][0]; in TestCollation() local 64 Collator c1 = Collator.getInstance(oldLoc); in TestCollation() 68 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation() 71 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 2896 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCalendar() local 2908 c1 = ucal_open(NULL, -1, oldLoc, UCAL_GREGORIAN, &status); in TestCalendar() 2912 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar() 2932 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestDateFormat() local 2942 df1 = udat_open(UDAT_FULL, UDAT_FULL,oldLoc, NULL, 0, NULL, -1, &status); in TestDateFormat() 2955 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat() 2975 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCollation() local 2990 c1 = ucol_open(oldLoc, &status); in TestCollation() 2998 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCollation() 3099 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestULocale() local [all …]
|