Home | History | Annotate | Download | only in cintltst

Lines Matching defs:currLoc

493     const char *currLoc, *resolvedLoc;
527 currLoc = uloc_getAvailable(locIndex);
528 currentLocale = ures_open(NULL, currLoc, &errorCode);
546 currLoc);
550 currLoc);
553 if (strcmp(resolvedLoc, currLoc) != 0) {
557 if (!(strcmp(currLoc, "tl_PH")==0 && strcmp(resolvedLoc, "fil_PH")==0) &&
558 !(strcmp(currLoc, "tl")==0 && strcmp(resolvedLoc, "fil")==0))
560 currLoc, resolvedLoc);
562 TestKeyInRootRecursive(root, "root", currentLocale, currLoc);
564 testLCID(currentLocale, currLoc);
734 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize,
743 log_err("%s: error uset_openPattern returned %s\n", currLoc, u_errorName(errorCode));
879 const char *currLoc;
897 currLoc = uloc_getAvailable(locIndex);
898 currentLocale = ures_open(NULL, currLoc, &errorCode);
918 log_verbose("skipping test for %s\n", currLoc);
920 else if (uprv_strncmp(currLoc,"bem",3) == 0 || uprv_strncmp(currLoc,"mgo",3) == 0 || uprv_strncmp(currLoc,"nl",2) == 0) {
921 log_verbose("skipping test for %s, some month and country names known to use aux exemplars\n", currLoc);
928 langSize = uloc_getDisplayLanguage(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
933 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
936 currLoc, strIdx, badChar);
939 langSize = uloc_getDisplayCountry(currLoc, currLoc, langBuffer, sizeof(langBuffer)/sizeof(langBuffer[0]), &errorCode);
943 else if (uprv_strstr(currLoc, "ti_") != currLoc || isICUVersionAtLeast(52, 0, 1)) { /* TODO: FIX or REMOVE this test! Was: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) - but CldrBug:3058 is wontfix */
944 strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
947 currLoc, strIdx, badChar);
974 if (uprv_strstr(currLoc, "uz_Arab") != currLoc || isICUVersionAtLeast(52, 0, 1)) { /* TODO: FIX or REMOVE this test! */
975 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
978 currLoc, idx, strIdx, badChar);
1005 if (uprv_strstr(currLoc, "uz_Arab") != currLoc || isICUVersionAtLeast(52, 0, 1)) { /* TODO: FIX or REMOVE this test! */
1006 strIdx = findStringSetMismatch(currLoc, fromBundleStr, langSize, exemplarCharacters, exemplarLen, TRUE, &badChar);
1009 currLoc, idx, strIdx, badChar);
1020 numScripts = uscript_getCode(currLoc, scripts, sizeof(scripts)/sizeof(scripts[0]), &errorCode);
1022 log_err("uscript_getCode(%s) doesn't work.\n", currLoc);
1024 log_err("uscript_getCode(%s) returned USCRIPT_COMMON.\n", currLoc);
1029 ULocaleData *uld = ulocdata_open(currLoc,&errorCode);
1032 findSetMatch(scripts, numScripts, exemplarSet, currLoc);
1040 ulocdata_getPaperSize(currLoc, &height, &width, &errorCode);
1042 log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1044 if(strstr(currLoc, "_US")!=NULL && height != 279 && width != 216 ){
1045 log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc);
1050 UMeasurementSystem measurementSystem = ulocdata_getMeasurementSystem(currLoc, &errorCode);
1052 log_err("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1054 if(strstr(currLoc, "_US")!=NULL || strstr(currLoc, "_MM")!=NULL || strstr(currLoc, "_LR")!=NULL){
1056 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);
1059 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);