Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java37 for (Locale inLocale : locales) { in TestLanguageNames()
38 if (TestUtil.isProblematicIBMLocale(inLocale)) { in TestLanguageNames()
39 logln("Skipped " + inLocale); in TestLanguageNames()
43 ULocale inULocale = ULocale.forLocale(inLocale); in TestLanguageNames()
44 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale); in TestLanguageNames()
70 String name = forLocale.getDisplayLanguage(inLocale); in TestLanguageNames()
72 if (TestUtil.isICUExtendedLocale(inLocale)) { in TestLanguageNames()
76 + " for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
81 " by ICU, for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
101 for (Locale inLocale : locales) { in TestScriptNames()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java566 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
567 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
577 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
578 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
597 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
598 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
615 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
616 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
623 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
624 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
DNumberingSystem.java104 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument
105 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp145 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle …
148 static CDFLocaleData* loadCDFLocaleData(const Locale& inLocale, UErrorCode& status);
149 static void initCDFLocaleData(const Locale& inLocale, CDFLocaleData* result, UErrorCode& status);
179 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status) { in createInstance() argument
180 …LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECI… in createInstance()
184 LocalPointer<PluralRules> pluralRules(PluralRules::forLocale(inLocale, status)); in createInstance()
188 const CDFLocaleStyleData* data = getCDFLocaleStyleData(inLocale, style, status); in createInstance()
396 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle … in getCDFLocaleStyleData() argument
401 const char* key = inLocale.getName(); in getCDFLocaleStyleData()
420 result = loadCDFLocaleData(inLocale, status); in getCDFLocaleStyleData()
[all …]
Dnumsys.cpp106 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
115 int32_t count = inLocale.getKeywordValue("numbers",buffer, sizeof(buffer),status); in createInstance()
129 UResourceBundle *resource = ures_open(NULL, inLocale.getName(), &localStatus); in createInstance()
Dnumfmt.cpp776 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
778 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
794 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
796 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
812 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
814 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
830 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
832 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
Dtranslit.cpp733 const Locale& inLocale, in getDisplayName() argument
737 ResourceBundle bundle(U_ICUDATA_TRANSLIT, inLocale, status); in getDisplayName()
782 MessageFormat msg(resString, inLocale, status); in getDisplayName()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java161 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
165 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
167 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
172inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h696 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
731 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
746 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
760 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
774 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dnumsys.h86 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
Dcompactdecimalformat.h63 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
Dtranslit.h754 const Locale& inLocale,
Ddatefmt.h898 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
/external/icu/icu4c/source/test/cintltst/
Dcloctst.h82 static void doTestDisplayNames(const char* inLocale, int32_t compareIndex);
Dcreststn.c2591 const char *inLocale = testCases[i+1]; in TestGetFunctionalEquivalentOf() local
2596 … log_verbose("%d: %c %s\texpect %s\n",i/3, expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2598 resName, keyword, inLocale, in TestGetFunctionalEquivalentOf()
2603 i/3,expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2611 expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
Dcloctst.c1309 const char* inLocale [] = { "en_US", "zh_Hant"}; in TestSimpleDisplayNames() local
1323 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1327 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()
/external/icu/icu4c/source/test/intltest/
Dloctest.h118 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java1197 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument
1198 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName()
1220 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument
1229 getBundleInstance(ICUResourceBundle.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java757 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
761 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
763 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
768inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()