Lines Matching full:newloc
2666 const char* newLoc = LOCALE_ALIAS[i][1];
2674 if(!isLocaleAvailable(resIndex, newLoc)){
2678 c2 = ucal_open(NULL, -1, newLoc, UCAL_GREGORIAN, &status);
2680 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0 || status!=U_ZERO_ERROR) {
2681 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2702 const char* newLoc = LOCALE_ALIAS[i][1];
2708 if(!isLocaleAvailable(resIndex, newLoc)){
2712 df2 = udat_open(UDAT_FULL, UDAT_FULL,newLoc, NULL, 0, NULL, -1, &status);
2723 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) {
2724 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2745 const char* newLoc = LOCALE_ALIAS[i][1];
2752 if(!isLocaleAvailable(resIndex, newLoc)){
2760 c2 = ucol_open(newLoc, &status);
2766 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) {
2767 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2869 const char* newLoc = LOCALE_ALIAS[i][1];
2875 if(!isLocaleAvailable(resIndex, newLoc)){
2883 uloc_getDisplayName(newLoc, ULOC_US, name2, capacity, &status);
2885 log_err("uloc_getDisplayName(%s) failed %s\n", newLoc, u_errorName(status));
2889 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2916 const char* newLoc = LOCALE_ALIAS[i][1];
2917 if(!isLocaleAvailable(resIndex, newLoc)){
2928 rb2 = ures_open(NULL, newLoc, &status);
2934 if (strcmp(us1,newLoc)!=0 || strcmp(us1,us2)!=0 ) {
2935 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc);
2960 const char* newLoc = LOCALE_ALIAS[i][1];
2968 int32_t newCountryLen = uloc_getDisplayCountry(newLoc, dispLoc, newCountry, capacity, &status);
2970 int32_t newLangLen = uloc_getDisplayLanguage(newLoc, dispLoc, newLang, capacity, &status );
2972 int32_t countryLen = uloc_getCountry(newLoc, country, capacity, &status);
2973 int32_t langLen = uloc_getLanguage(newLoc, language, capacity, &status);