Searched refs:newLoc (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/test/intltest/ |
D | aliastst.cpp | 60 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCalendar() local 62 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestCalendar() 65 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar() 67 Calendar* c2 = Calendar::createInstance(newLoc, status); in TestCalendar() 72 if (strcmp(newLoc.getName(), l1)!=0) { in TestCalendar() 73 …errln("CalendarTest: newLoc!=l1: newLoc= "+UnicodeString(newLoc.getName()) +" l1= "+UnicodeString(… in TestCalendar() 79 …errln("CalendarTest: c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeStrin… in TestCalendar() 92 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDateFormat() local 94 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestDateFormat() 97 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat() [all …]
|
/external/icu4c/test/cintltst/ |
D | cloctst.c | 2448 const char* newLoc = LOCALE_ALIAS[i][1]; in TestCalendar() local 2456 if(!isLocaleAvailable(resIndex, newLoc)){ in TestCalendar() 2460 c2 = ucal_open(NULL, -1, newLoc, UCAL_GREGORIAN, &status); in TestCalendar() 2462 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0 || status!=U_ZERO_ERROR) { in TestCalendar() 2463 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar() 2484 const char* newLoc = LOCALE_ALIAS[i][1]; in TestDateFormat() local 2490 if(!isLocaleAvailable(resIndex, newLoc)){ in TestDateFormat() 2494 df2 = udat_open(UDAT_FULL, UDAT_FULL,newLoc, NULL, 0, NULL, -1, &status); in TestDateFormat() 2505 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) { in TestDateFormat() 2506 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat() [all …]
|