Lines Matching defs:fromLocale
582 UResourceBundle *fromArray, const char *fromLocale,
594 fromLocale,
606 fromLocale,
615 compareConsistentCountryInfo(const char *fromLocale, const char *toLocale) {
618 UResourceBundle *fromLocaleBund = ures_open(NULL, fromLocale, &errorCode);
623 log_err("Can't open resource bundle %s or %s - %s\n", fromLocale, toLocale, u_errorName(errorCode));
634 if (strcmp(fromLocale, "en_CA") != 0)
637 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2);
644 if (strcmp(fromLocale, "en_CA") != 0)
646 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3);
656 compareArrays("DateTimePatterns", fromArray, fromLocale, toArray, toLocale);
663 if (strcmp(fromLocale, "en_CA") != 0)
665 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 0, 3);
667 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 5, 10);
682 /* UResourceBundle *fromLocale, *toLocale;*/
695 const char *fromLocale = uloc_getAvailable(fromLocIndex);
698 fromCountryLen = uloc_getCountry(fromLocale, fromCountry, ULOC_FULLNAME_CAPACITY, &errorCode);
703 fromVariantLen = uloc_getVariant(fromLocale, fromVariant, ULOC_FULLNAME_CAPACITY, &errorCode);
716 log_err("Unknown failure fromLocale=%s toLocale=%s errorCode=%s\n",
717 fromLocale, toLocale, u_errorName(errorCode));
732 log_verbose("comparing fromLocale=%s toLocale=%s\n",
733 fromLocale, toLocale);
734 compareConsistentCountryInfo(fromLocale, toLocale);