• Home
  • Raw
  • Download

Lines Matching refs:currLoc

508     const char *currLoc, *resolvedLoc;  in TestLocaleStructure()  local
542 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
543 currentLocale = ures_open(NULL, currLoc, &errorCode); in TestLocaleStructure()
561 currLoc); in TestLocaleStructure()
566 currLoc); in TestLocaleStructure()
569 if (strcmp(resolvedLoc, currLoc) != 0) { in TestLocaleStructure()
571 currLoc, resolvedLoc); in TestLocaleStructure()
573 TestKeyInRootRecursive(root, "root", currentLocale, currLoc); in TestLocaleStructure()
575 testLCID(currentLocale, currLoc); in TestLocaleStructure()
745 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize, in findStringSetMismatch() argument
756 log_err("%s: error createFlattenSet returned %s\n", currLoc, u_errorName(errorCode)); in findStringSetMismatch()
892 const char *currLoc; in VerifyTranslation() local
911 currLoc = uloc_getAvailable(locIndex); in VerifyTranslation()
912 currentLocale = ures_open(NULL, currLoc, &errorCode); in VerifyTranslation()
929 ULocaleData * uld = ulocdata_open(currLoc, &exemplarStatus); in VerifyTranslation()
947 …_err("error ulocdata_getExemplarSet (main) for locale %s returned %s\n", currLoc, u_errorName(erro… in VerifyTranslation()
951 … log_err("error ulocdata_open for locale %s returned %s\n", currLoc, u_errorName(errorCode)); in VerifyTranslation()
955 log_verbose("skipping test for %s\n", currLoc); in VerifyTranslation()
965 …langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, UPRV_LENGTHOF(langBuffer), &error… in VerifyTranslation()
970 … strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, mergedExemplarSet, FALSE, &badChar); in VerifyTranslation()
973 currLoc, strIdx, badChar); in VerifyTranslation()
976 …langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, UPRV_LENGTHOF(langBuffer), &errorC… in VerifyTranslation()
997 if ((uprv_strncmp(currLoc,"lrc",3) == 0 || uprv_strncmp(currLoc,"mzn",3) == 0) && in VerifyTranslation()
1008 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1011 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1037 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1040 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1050 numScripts = uscript_getCode(currLoc, scripts, UPRV_LENGTHOF(scripts), &errorCode); in VerifyTranslation()
1051 …if (strcmp(currLoc, "yi") == 0 && numScripts > 0 && log_knownIssue("11217", "Fix result of uscript… in VerifyTranslation()
1055 log_err("uscript_getCode(%s) doesn't work.\n", currLoc); in VerifyTranslation()
1057 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc); in VerifyTranslation()
1062 ULocaleData *uld = ulocdata_open(currLoc,&errorCode); in VerifyTranslation()
1065 findSetMatch(scripts, numScripts, exemplarSet, currLoc); in VerifyTranslation()
1073 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1075 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1077 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){ in VerifyTranslation()
1078 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1087 uloc_addLikelySubtags(currLoc, fullLoc, ULOC_FULLNAME_CAPACITY, &errorCode); in VerifyTranslation()
1090 measurementSystem = ulocdata_getMeasurementSystem(currLoc, &errorCode); in VerifyTranslation()
1092 …("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(erro… in VerifyTranslation()
1096 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1100 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1103 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1108 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1110 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1117 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1120 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()