Home
last modified time | relevance | path

Searched refs:inLocale (Results 1 – 25 of 51) sorted by relevance

123

/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java41 for (Locale inLocale : locales) { in TestLanguageNames()
42 if (TestUtil.isExcluded(inLocale)) { in TestLanguageNames()
43 logln("Skipped " + inLocale); in TestLanguageNames()
47 ULocale inULocale = ULocale.forLocale(inLocale); in TestLanguageNames()
48 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale); in TestLanguageNames()
74 String name = forLocale.getDisplayLanguage(inLocale); in TestLanguageNames()
76 if (TestUtil.isICUExtendedLocale(inLocale)) { in TestLanguageNames()
80 + " for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
85 " by ICU, for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
106 for (Locale inLocale : locales) { in TestScriptNames()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java615 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
616 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
629 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
630 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
655 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
656 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
679 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
680 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
690 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
691 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNumberFormat.java578 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
579 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
591 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
592 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
615 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
616 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
637 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
638 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
647 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
648 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcompactdecimalformat.cpp23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 return new CompactDecimalFormat(inLocale, style, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument
30 : DecimalFormat(new DecimalFormatSymbols(inLocale, status), status) { in CompactDecimalFormat()
Dnumsys.cpp113 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
122 int32_t count = inLocale.getKeywordValue("numbers", buffer, sizeof(buffer), status); in createInstance()
142 LocalUResourceBundlePointer resource(ures_open(nullptr, inLocale.getName(), &localStatus)); in createInstance()
Dnumfmt.cpp782 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
784 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
800 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
802 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
818 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
820 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
836 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
838 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcompactdecimalformat.cpp23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 return new CompactDecimalFormat(inLocale, style, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument
30 : DecimalFormat(new DecimalFormatSymbols(inLocale, status), status) { in CompactDecimalFormat()
Dnumsys.cpp113 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
122 int32_t count = inLocale.getKeywordValue("numbers", buffer, sizeof(buffer), status); in createInstance()
142 LocalUResourceBundlePointer resource(ures_open(nullptr, inLocale.getName(), &localStatus)); in createInstance()
Dnumfmt.cpp782 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
784 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
800 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
802 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
818 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
820 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
836 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
838 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
/third_party/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 return new CompactDecimalFormat(inLocale, style, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument
30 : DecimalFormat(new DecimalFormatSymbols(inLocale, status), status) { in CompactDecimalFormat()
Dnumsys.cpp113 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
122 int32_t count = inLocale.getKeywordValue("numbers", buffer, sizeof(buffer), status); in createInstance()
142 LocalUResourceBundlePointer resource(ures_open(nullptr, inLocale.getName(), &localStatus)); in createInstance()
Dnumfmt.cpp782 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
784 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
800 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
802 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
818 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
820 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
836 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
838 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcompactdecimalformat.cpp23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 return new CompactDecimalFormat(inLocale, style, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument
30 : DecimalFormat(new DecimalFormatSymbols(inLocale, status), status) { in CompactDecimalFormat()
Dnumsys.cpp111 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
120 int32_t count = inLocale.getKeywordValue("numbers", buffer, sizeof(buffer), status); in createInstance()
140 LocalUResourceBundlePointer resource(ures_open(nullptr, inLocale.getName(), &localStatus)); in createInstance()
Dnumfmt.cpp783 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
785 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
801 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
803 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
819 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
821 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
837 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
839 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUResourceBundleCollationTest.java172 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
176 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
178 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
183inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java169 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
173 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
175 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
180inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/third_party/icu/icu4c/source/i18n/unicode/
Dnumfmt.h742 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
780 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
801 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
821 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
841 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dcompactdecimalformat.h77 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
186 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dnumfmt.h726 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
764 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
785 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
805 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
825 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dcompactdecimalformat.h74 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
183 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dnumfmt.h742 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
780 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
801 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
821 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
841 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dcompactdecimalformat.h77 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
186 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumfmt.h742 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
780 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
801 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
821 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
841 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dcompactdecimalformat.h77 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
186 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);

123