/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | LocaleNameTest.java | 41 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 …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 615 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 …]
|
D | NumberingSystem.java | 116 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument 117 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 572 public static NumberFormat getInstance(Locale inLocale) { in getInstance() argument 573 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE); in getInstance() 582 public static NumberFormat getInstance(ULocale inLocale) { in getInstance() argument 583 return getInstance(inLocale, NUMBERSTYLE); in getInstance() 600 public static NumberFormat getInstance(Locale inLocale, int style) { in getInstance() argument 601 return getInstance(ULocale.forLocale(inLocale), style); in getInstance() 616 public static NumberFormat getNumberInstance(Locale inLocale) { in getNumberInstance() argument 617 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 …]
|
D | NumberingSystem.java | 109 public static NumberingSystem getInstance(Locale inLocale) { in getInstance() argument 110 return getInstance(ULocale.forLocale(inLocale)); in getInstance()
|
D | Transliterator.java | 1394 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument 1395 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName() 1416 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument 1425 getBundleInstance(ICUData.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
|
/external/icu/icu4c/source/i18n/ |
D | compactdecimalformat.cpp | 23 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()
|
D | numsys.cpp | 113 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()
|
D | numfmt.cpp | 782 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()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 171 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local 175 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases() 177 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases() 182 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 174 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local 178 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases() 180 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases() 185 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|
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()
|
/external/icu/libicu/cts_headers/unicode/ |
D | numfmt.h | 742 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,
|
D | compactdecimalformat.h | 77 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status); 186 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
|
D | numsys.h | 94 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
|
D | datefmt.h | 893 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 742 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,
|
D | compactdecimalformat.h | 77 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status); 186 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
|
D | numsys.h | 94 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.h | 87 static void doTestDisplayNames(const char* inLocale, int32_t compareIndex);
|
D | cloctst.c | 1508 const char* inLocale [] = { "en_US", "zh_Hant"}; in TestSimpleDisplayNames() local 1522 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames() 1526 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames() 6693 static void checkTerminating(const char* locale, const char* inLocale) in checkTerminating() argument 6697 locale, inLocale, NULL, 0, &status); in checkTerminating() 6700 locale, inLocale); in checkTerminating() 6716 locale, inLocale, buff, preflight_length + 1, &status); in checkTerminating() 6722 locale, inLocale, length, preflight_length, result); in checkTerminating() 6727 locale, inLocale, status, myErrorName(status), result); in checkTerminating() 6733 locale, inLocale, result); in checkTerminating() [all …]
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | NumberFormat.java.patch | 60 * @param inLocale the specific locale. 81 public static NumberFormat getNumberInstance(Locale inLocale) { 91 public static NumberFormat getNumberInstance(ULocale inLocale) {
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | Transliterator.java | 1447 public static String getDisplayName(String id, Locale inLocale) { in getDisplayName() argument 1448 return getDisplayName(id, ULocale.forLocale(inLocale)); in getDisplayName() 1470 public static String getDisplayName(String id, ULocale inLocale) { in getDisplayName() argument 1479 getBundleInstance(ICUData.ICU_TRANSLIT_BASE_NAME, inLocale); in getDisplayName()
|
/external/icu/icu4c/source/test/intltest/ |
D | loctest.h | 169 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 795 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() local 799 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases() 801 …= ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncat… in getFunctionalEquivalentTestCases() 806 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
|