/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | LocaleNameTest.java | 38 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/ |
D | NumberFormat.java | 531 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/ |
D | NumberFormat.java | 542 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 …]
|
D | NumberingSystem.java | 103 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument 104 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
|
D | Transliterator.java | 1173 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/ |
D | NumberFormat.java | 579 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 …]
|
D | NumberingSystem.java | 107 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument 108 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
|
/external/icu/icu4c/source/i18n/ |
D | compactdecimalformat.cpp | 156 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 …]
|
D | numsys.cpp | 108 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()
|
D | numfmt.cpp | 785 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()
|
D | translit.cpp | 735 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/ |
D | ICUResourceBundleCollationTest.java | 167 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() 178 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|
D | ICUResourceBundleTest.java | 799 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() 810 …inLocale.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/ |
D | ICUResourceBundleCollationTest.java | 166 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() 177 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 689 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,
|
D | numsys.h | 88 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
|
D | compactdecimalformat.h | 65 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
|
D | datefmt.h | 878 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
D | translit.h | 756 const Locale& inLocale,
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.h | 84 static void doTestDisplayNames(const char* inLocale, int32_t compareIndex);
|
D | creststn.c | 2594 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()
|
D | cloctst.c | 1314 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/ |
D | loctest.h | 120 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | Transliterator.java | 1203 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/ |
D | ICUResourceBundleTest.java | 798 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() 809 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|