Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Daliastst.cpp59 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCalendar() local
65 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar()
66 Calendar* c1 = Calendar::createInstance(oldLoc, status); in TestCalendar()
79 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestCalendar()
91 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDateFormat() local
97 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat()
99 DateFormat* df1 = DateFormat::createDateInstance(DateFormat::FULL, oldLoc); in TestDateFormat()
112 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestDateFormat()
125 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCollation() local
131 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/
DLocaleAliasTest.java61 ULocale oldLoc = _LOCALES[i][0]; in TestCalendar() local
67 Calendar c1 = Calendar.getInstance(oldLoc); in TestCalendar()
89 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar()
100 ULocale oldLoc = _LOCALES[i][0]; in TestDateFormat() local
106 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat()
119 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat()
139 ULocale oldLoc = _LOCALES[i][0]; in TestULocale() local
145 ULocale ul1 = new ULocale(oldLoc.toString()); in TestULocale()
162 ULocale oldLoc = _LOCALES[i][0]; in TestDisplayName() local
166 String oldCountry = oldLoc.getDisplayCountry(available[j]); in TestDisplayName()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestCollision.java274 Vector3f oldLoc = selectedCollisionObject.getLocalTranslation().clone();
276 testCollision(oldLoc);
278 Vector3f oldLoc = selectedCollisionObject.getLocalTranslation().clone();
280 testCollision(oldLoc);
282 Vector3f oldLoc = selectedCollisionObject.getLocalTranslation().clone();
284 testCollision(oldLoc);
286 Vector3f oldLoc = selectedCollisionObject.getLocalTranslation().clone();
288 testCollision(oldLoc);
290 Vector3f oldLoc = selectedCollisionObject.getLocalTranslation().clone();
292 testCollision(oldLoc);
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DLocaleAliasCollationTest.java55 ULocale oldLoc = _LOCALES[i][0]; in TestCollation() local
61 Collator c1 = Collator.getInstance(oldLoc); in TestCollation()
65 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation()
68 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c2789 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCalendar() local
2801 c1 = ucal_open(NULL, -1, oldLoc, UCAL_GREGORIAN, &status); in TestCalendar()
2805 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar()
2825 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestDateFormat() local
2835 df1 = udat_open(UDAT_FULL, UDAT_FULL,oldLoc, NULL, 0, NULL, -1, &status); in TestDateFormat()
2848 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat()
2868 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestCollation() local
2883 c1 = ucol_open(oldLoc, &status); in TestCollation()
2891 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCollation()
2992 const char* oldLoc = LOCALE_ALIAS[i][0]; in TestULocale() local
[all …]