Home | History | Annotate | Download | only in cintltst

Lines Matching refs:currLoc

491     const char *currLoc, *resolvedLoc;
526 currLoc = uloc_getAvailable(locIndex);
527 currentLocale = ures_open(NULL, currLoc, &errorCode);
545 currLoc);
549 currLoc);
552 if ( strcmp(resolvedLoc, currLoc) != 0 &&
553 ( strcmp(currLoc,"vai_LR") != 0 || isICUVersionAtLeast(icu48))) {
558 currLoc, resolvedLoc);
560 TestKeyInRootRecursive(root, "root", currentLocale, currLoc);
562 testLCID(currentLocale, currLoc);
731 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize,
740 log_err("%s: error uset_openPattern returned %s\n", currLoc, u_errorName(errorCode));
877 const char *currLoc;
895 currLoc = uloc_getAvailable(locIndex);
896 currentLocale = ures_open(NULL, currLoc, &errorCode);
916 log_verbose("skipping test for %s\n", currLoc);
918 else if (uprv_strncmp(currLoc,"bem",3) == 0) {
919 log_verbose("skipping test for %s, some month and country names known to use aux exemplars\n", currLoc);
926 langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
931 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
934 currLoc, strIdx, badChar);
937 langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
941 else if (uprv_strstr(currLoc, "ti_") != currLoc || isICUVersionAtLeast(icu49)) { /* TODO: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) */
942 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
945 currLoc, strIdx, badChar);
972 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
975 currLoc, idx, strIdx, badChar);
1001 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
1004 currLoc, idx, strIdx, badChar);
1014 numScripts = uscript_getCode(currLoc, scripts, sizeof(scripts)/sizeof(scripts[0]), &errorCode);
1016 log_err("uscript_getCode(%s) doesn't work.\n", currLoc);
1018 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc);
1023 ULocaleData *uld = ulocdata_open(currLoc,&errorCode);
1026 findSetMatch(scripts, numScripts, exemplarSet, currLoc);
1034 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode);
1036 log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1038 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){
1039 log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc);
1044 UMeasurementSystem measurementSystem = ulocdata_getMeasurementSystem(currLoc, &errorCode);
1046 log_err("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1048 if(strstr(currLoc, "_US")!=NULL || strstr(currLoc, "_MM")!=NULL || strstr(currLoc, "_LR")!=NULL){
1050 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);
1053 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);