Lines Matching refs:currLoc

503     const char *currLoc, *resolvedLoc;  in TestLocaleStructure()  local
537 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
538 currentLocale = ures_open(NULL, currLoc, &errorCode); in TestLocaleStructure()
556 currLoc); in TestLocaleStructure()
560 currLoc); in TestLocaleStructure()
563 if (strcmp(resolvedLoc, currLoc) != 0) { in TestLocaleStructure()
567 currLoc, resolvedLoc); in TestLocaleStructure()
569 TestKeyInRootRecursive(root, "root", currentLocale, currLoc); in TestLocaleStructure()
571 testLCID(currentLocale, currLoc); in TestLocaleStructure()
741 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize, in findStringSetMismatch() argument
752 log_err("%s: error createFlattenSet returned %s\n", currLoc, u_errorName(errorCode)); in findStringSetMismatch()
886 const char *currLoc; in VerifyTranslation() local
905 currLoc = uloc_getAvailable(locIndex); in VerifyTranslation()
906 currentLocale = ures_open(NULL, currLoc, &errorCode); in VerifyTranslation()
923 ULocaleData * uld = ulocdata_open(currLoc, &exemplarStatus); in VerifyTranslation()
941 …_err("error ulocdata_getExemplarSet (main) for locale %s returned %s\n", currLoc, u_errorName(erro… in VerifyTranslation()
945 … log_err("error ulocdata_open for locale %s returned %s\n", currLoc, u_errorName(errorCode)); in VerifyTranslation()
949 log_verbose("skipping test for %s\n", currLoc); in VerifyTranslation()
959 …langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuf… in VerifyTranslation()
964 … strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, mergedExemplarSet, FALSE, &badChar); in VerifyTranslation()
967 currLoc, strIdx, badChar); in VerifyTranslation()
970 …langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuff… in VerifyTranslation()
998 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1001 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1027 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1030 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1040 … numScripts = uscript_getCode(currLoc, scripts, sizeof(scripts)/sizeof(scripts[0]), &errorCode); in VerifyTranslation()
1041 …if (strcmp(currLoc, "yi") == 0 && numScripts > 0 && log_knownIssue("11217", "Fix result of uscript… in VerifyTranslation()
1045 log_err("uscript_getCode(%s) doesn't work.\n", currLoc); in VerifyTranslation()
1047 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc); in VerifyTranslation()
1052 ULocaleData *uld = ulocdata_open(currLoc,&errorCode); in VerifyTranslation()
1055 findSetMatch(scripts, numScripts, exemplarSet, currLoc); in VerifyTranslation()
1063 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1065 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1067 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){ in VerifyTranslation()
1068 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1077 uloc_addLikelySubtags(currLoc, fullLoc, ULOC_FULLNAME_CAPACITY, &errorCode); in VerifyTranslation()
1080 measurementSystem = ulocdata_getMeasurementSystem(currLoc, &errorCode); in VerifyTranslation()
1082 …("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(erro… in VerifyTranslation()
1086 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1090 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1093 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1098 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1100 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1107 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1110 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()