Home | History | Annotate | Download | only in cintltst

Lines Matching defs:newLoc

2698         const char* newLoc = LOCALE_ALIAS[i][1];
2706 if(!isLocaleAvailable(resIndex, newLoc)){
2710 c2 = ucal_open(NULL, -1, newLoc, UCAL_GREGORIAN, &status);
2712 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0 || status!=U_ZERO_ERROR) {
2713 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2734 const char* newLoc = LOCALE_ALIAS[i][1];
2740 if(!isLocaleAvailable(resIndex, newLoc)){
2744 df2 = udat_open(UDAT_FULL, UDAT_FULL,newLoc, NULL, 0, NULL, -1, &status);
2755 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) {
2756 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2777 const char* newLoc = LOCALE_ALIAS[i][1];
2784 if(!isLocaleAvailable(resIndex, newLoc)){
2792 c2 = ucol_open(newLoc, &status);
2798 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) {
2799 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2901 const char* newLoc = LOCALE_ALIAS[i][1];
2907 if(!isLocaleAvailable(resIndex, newLoc)){
2915 uloc_getDisplayName(newLoc, ULOC_US, name2, capacity, &status);
2917 log_err("uloc_getDisplayName(%s) failed %s\n", newLoc, u_errorName(status));
2921 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2948 const char* newLoc = LOCALE_ALIAS[i][1];
2949 if(!isLocaleAvailable(resIndex, newLoc)){
2960 rb2 = ures_open(NULL, newLoc, &status);
2966 if (strcmp(us1,newLoc)!=0 || strcmp(us1,us2)!=0 ) {
2967 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2992 const char* newLoc = LOCALE_ALIAS[i][1];
3000 int32_t newCountryLen = uloc_getDisplayCountry(newLoc, dispLoc, newCountry, capacity, &status);
3002 int32_t newLangLen = uloc_getDisplayLanguage(newLoc, dispLoc, newLang, capacity, &status );
3004 int32_t countryLen = uloc_getCountry(newLoc, country, capacity, &status);
3005 int32_t langLen = uloc_getLanguage(newLoc, language, capacity, &status);