• 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()
913 if (strcmp("ar_XB", currLoc) == 0) { in VerifyTranslation()
917 currentLocale = ures_open(NULL, currLoc, &errorCode); in VerifyTranslation()
934 ULocaleData * uld = ulocdata_open(currLoc, &exemplarStatus); in VerifyTranslation()
952 …_err("error ulocdata_getExemplarSet (main) for locale %s returned %s\n", currLoc, u_errorName(erro… in VerifyTranslation()
956 … log_err("error ulocdata_open for locale %s returned %s\n", currLoc, u_errorName(errorCode)); in VerifyTranslation()
960 log_verbose("skipping test for %s\n", currLoc); in VerifyTranslation()
970 …langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, UPRV_LENGTHOF(langBuffer), &error… in VerifyTranslation()
975 … strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, mergedExemplarSet, FALSE, &badChar); in VerifyTranslation()
978 currLoc, strIdx, badChar); in VerifyTranslation()
981 …langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, UPRV_LENGTHOF(langBuffer), &errorC… in VerifyTranslation()
1002 if ((uprv_strncmp(currLoc,"lrc",3) == 0 || uprv_strncmp(currLoc,"mzn",3) == 0) && in VerifyTranslation()
1013 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1016 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1042 …strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, mergedExemplarSet, TRUE, &badChar… in VerifyTranslation()
1045 currLoc, idx, strIdx, badChar); in VerifyTranslation()
1055 numScripts = uscript_getCode(currLoc, scripts, UPRV_LENGTHOF(scripts), &errorCode); in VerifyTranslation()
1056 …if (strcmp(currLoc, "yi") == 0 && numScripts > 0 && log_knownIssue("11217", "Fix result of uscript… in VerifyTranslation()
1060 log_err("uscript_getCode(%s) doesn't work.\n", currLoc); in VerifyTranslation()
1062 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc); in VerifyTranslation()
1067 ULocaleData *uld = ulocdata_open(currLoc,&errorCode); in VerifyTranslation()
1070 findSetMatch(scripts, numScripts, exemplarSet, currLoc); in VerifyTranslation()
1078 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1080 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1082 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){ in VerifyTranslation()
1083 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1092 uloc_addLikelySubtags(currLoc, fullLoc, ULOC_FULLNAME_CAPACITY, &errorCode); in VerifyTranslation()
1095 measurementSystem = ulocdata_getMeasurementSystem(currLoc, &errorCode); in VerifyTranslation()
1097 …("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(erro… in VerifyTranslation()
1101 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1105 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1108 … log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1113 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode); in VerifyTranslation()
1115 …log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(error… in VerifyTranslation()
1122 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()
1125 … log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc); in VerifyTranslation()