Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java37 for (Locale inLocale : locales) { in TestLanguageNames()
38 if (TestUtil.isExcluded(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/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java529 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
530 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
540 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
541 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
559 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
560 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
576 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
577 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
584 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
585 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java538 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
539 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
548 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
549 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
566 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
567 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
582 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
583 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
589 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
590 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
DNumberingSystem.java100 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument
101 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
DTransliterator.java1167 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument
1168 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName()
1189 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument
1198 getBundleInstance(ICUResourceBundle.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java575 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
576 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
586 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
587 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
606 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
607 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
624 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
625 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
632 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
633 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()
444 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle … in getCDFLocaleStyleData() argument
449 const char* key = inLocale.getName(); in getCDFLocaleStyleData()
468 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.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()
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/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleCollationTest.java165 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
169 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
171 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
176inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
DICUResourceBundleTest.java761 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
765 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
767 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
772inLocale.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);
Ddatefmt.h878 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
Dtranslit.h754 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()

12