Lines Matching defs:currLoc
489 const char *currLoc, *resolvedLoc;
523 currLoc = uloc_getAvailable(locIndex);
524 currentLocale = ures_open(NULL, currLoc, &errorCode);
542 currLoc);
546 currLoc);
549 if (strcmp(resolvedLoc, currLoc) != 0) {
553 currLoc, resolvedLoc);
555 TestKeyInRootRecursive(root, "root", currentLocale, currLoc);
557 testLCID(currentLocale, currLoc);
802 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize,
811 log_err("%s: error uset_openPattern returned %s\n", currLoc, u_errorName(errorCode));
948 const char *currLoc;
966 currLoc = uloc_getAvailable(locIndex);
967 currentLocale = ures_open(NULL, currLoc, &errorCode);
987 log_verbose("skipping test for %s\n", currLoc);
989 else if (uprv_strncmp(currLoc,"bem",3) == 0) {
990 log_verbose("skipping test for %s, some month and country names known to use aux exemplars\n", currLoc);
997 langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
1002 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
1005 currLoc, strIdx, badChar);
1008 langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
1012 else if (uprv_strstr(currLoc, "ti_") != currLoc || isICUVersionAtLeast(icu47)) { /* TODO: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) */
1013 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
1016 currLoc, strIdx, badChar);
1043 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
1046 currLoc, idx, strIdx, badChar);
1072 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
1075 currLoc, idx, strIdx, badChar);
1085 numScripts = uscript_getCode(currLoc, scripts, sizeof(scripts)/sizeof(scripts[0]), &errorCode);
1087 log_err("uscript_getCode(%s) doesn't work.\n", currLoc);
1089 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc);
1094 ULocaleData *uld = ulocdata_open(currLoc,&errorCode);
1097 findSetMatch(scripts, numScripts, exemplarSet, currLoc);
1105 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode);
1107 log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1109 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){
1110 log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc);
1115 UMeasurementSystem measurementSystem = ulocdata_getMeasurementSystem(currLoc
1117 log_err("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1119 if(strstr(currLoc, "_US")!=NULL || strstr(currLoc, "_MM")!=NULL || strstr(currLoc, "_LR")!=NULL){
1121 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);
1124 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);