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.java38 for (Locale inLocale : locales) { in TestLanguageNames()
39 if (TestUtil.isExcluded(inLocale)) { in TestLanguageNames()
40 logln("Skipped " + inLocale); in TestLanguageNames()
44 ULocale inULocale = ULocale.forLocale(inLocale); in TestLanguageNames()
45 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale); in TestLanguageNames()
71 String name = forLocale.getDisplayLanguage(inLocale); in TestLanguageNames()
73 if (TestUtil.isICUExtendedLocale(inLocale)) { in TestLanguageNames()
77 + " for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
82 " by ICU, for locale " + forLocale + " in locale " + inLocale); in TestLanguageNames()
103 for (Locale inLocale : locales) { in TestScriptNames()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java531 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
532 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
542 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
543 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
561 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
562 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
578 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
579 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
586 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
587 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java542 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
543 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
552 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
553 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
570 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
571 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
586 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
587 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
593 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
594 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
DNumberingSystem.java103 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument
104 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
DTransliterator.java1173 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument
1174 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName()
1195 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument
1204 getBundleInstance(ICUData.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java579 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument
580 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance()
590 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument
591 return getInstance(inLocale, NUMBERSTYLE); in getInstance()
610 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument
611 return getInstance(ULocale.forLocale(inLocale), style); in getInstance()
628 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument
629 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getNumberInstance()
636 public static NumberFormat getNumberInstance(ULocale inLocale) { in getNumberInstance() argument
637 return getInstance(inLocale, NUMBERSTYLE); in getNumberInstance()
[all …]
DNumberingSystem.java107 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument
108 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp156 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle …
159 static CDFLocaleData* loadCDFLocaleData(const Locale& inLocale, UErrorCode& status);
160 static void load(const Locale& inLocale, CDFLocaleData* result, UErrorCode& status);
187 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status) { in createInstance() argument
188 …LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECI… in createInstance()
192 LocalPointer<PluralRules> pluralRules(PluralRules::forLocale(inLocale, status)); in createInstance()
196 const CDFLocaleStyleData* data = getCDFLocaleStyleData(inLocale, style, status); in createInstance()
452 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle … in getCDFLocaleStyleData() argument
457 const char* key = inLocale.getName(); in getCDFLocaleStyleData()
476 result = loadCDFLocaleData(inLocale, status); in getCDFLocaleStyleData()
[all …]
Dnumsys.cpp108 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() argument
117 int32_t count = inLocale.getKeywordValue("numbers",buffer, sizeof(buffer),status); in createInstance()
131 UResourceBundle *resource = ures_open(NULL, inLocale.getName(), &localStatus); in createInstance()
Dnumfmt.cpp785 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status) in createInstance() argument
787 return createInstance(inLocale, UNUM_DECIMAL, status); in createInstance()
803 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status) in createCurrencyInstance() argument
805 return createInstance(inLocale, UNUM_CURRENCY, status); in createCurrencyInstance()
821 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status) in createPercentInstance() argument
823 return createInstance(inLocale, UNUM_PERCENT, status); in createPercentInstance()
839 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status) in createScientificInstance() argument
841 return createInstance(inLocale, UNUM_SCIENTIFIC, status); in createScientificInstance()
Dtranslit.cpp735 const Locale& inLocale, in getDisplayName() argument
739 ResourceBundle bundle(U_ICUDATA_TRANSLIT, inLocale, status); in getDisplayName()
784 MessageFormat msg(resString, inLocale, status); in getDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleCollationTest.java167 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
171 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
173 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
178inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
DICUResourceBundleTest.java799 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
803 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
805 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
810inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java166 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
170 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
172 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
177inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h689 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
724 const Locale& inLocale, UNumberFormatStyle style, UErrorCode& status);
739 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
753 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
767 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
Dnumsys.h88 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
Dcompactdecimalformat.h65 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
Ddatefmt.h878 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
Dtranslit.h756 const Locale& inLocale,
/external/icu/icu4c/source/test/cintltst/
Dcloctst.h84 static void doTestDisplayNames(const char* inLocale, int32_t compareIndex);
Dcreststn.c2594 const char *inLocale = testCases[i+1]; in TestGetFunctionalEquivalentOf() local
2599 … log_verbose("%d: %c %s\texpect %s\n",i/3, expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2601 resName, keyword, inLocale, in TestGetFunctionalEquivalentOf()
2606 i/3,expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2614 expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
Dcloctst.c1314 const char* inLocale [] = { "en_US", "zh_Hant"}; in TestSimpleDisplayNames() local
1328 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1332 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()
/external/icu/icu4c/source/test/intltest/
Dloctest.h120 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java1203 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument
1204 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName()
1226 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument
1235 getBundleInstance(ICUData.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java798 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local
802 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
804 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases()
809inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()

12