Lines Matching refs:Locale
68 // If no number pattern can be located for a locale, this is the last
186 SimpleNumberFormatFactory::SimpleNumberFormatFactory(const Locale& locale, UBool visible)
189 LocaleUtility::initNameFromLocale(locale, _id);
708 // Create a number style NumberFormat instance with the default locale.
713 return createInstance(Locale::getDefault(), UNUM_DECIMAL, status);
717 // Create a number style NumberFormat instance with the inLocale locale.
720 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status)
726 // Create a currency style NumberFormat instance with the default locale.
731 return createCurrencyInstance(Locale::getDefault(), status);
735 // Create a currency style NumberFormat instance with the inLocale locale.
738 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status)
744 // Create a percent style NumberFormat instance with the default locale.
749 return createInstance(Locale::getDefault(), UNUM_PERCENT, status);
753 // Create a percent style NumberFormat instance with the inLocale locale.
756 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status)
762 // Create a scientific style NumberFormat instance with the default locale.
767 return createInstance(Locale::getDefault(), UNUM_SCIENTIFIC, status);
771 // Create a scientific style NumberFormat instance with the inLocale locale.
774 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status)
781 const Locale* U_EXPORT2
784 return Locale::getAvailableLocales(count);
801 virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* /* service */, UErrorCode& status) const {
829 Locale loc;
891 Locale loc;
976 NumberFormat::createInstance(const Locale& loc, UNumberFormatStyle kind, UErrorCode& status)
1133 // or percent) for the desired locale.
1141 NumberFormat::makeInstance(const Locale& desiredLocale,
1148 NumberFormat::makeInstance(const Locale& desiredLocale,
1175 // if the locale has "@compat=host", create a host-specific NumberFormat
1267 // When the data is unavailable, and locale isn't passed in, last resort data is used.
1278 // Loads the decimal symbols of the desired locale.
1304 // Creates the specified decimal format style of the desired locale.
1323 Locale nsLoc;
1336 nsLoc = Locale::createFromName(nsLocID.data());