/libcore/luni/src/test/java/libcore/icu/ |
D | ICUTest.java | 28 assertNotNull(ICU.getISOLanguages()[0]); in test_getISOLanguages() 29 ICU.getISOLanguages()[0] = null; in test_getISOLanguages() 30 assertNotNull(ICU.getISOLanguages()[0]); in test_getISOLanguages() 35 assertNotNull(ICU.getISOCountries()[0]); in test_getISOCountries() 36 ICU.getISOCountries()[0] = null; in test_getISOCountries() 37 assertNotNull(ICU.getISOCountries()[0]); in test_getISOCountries() 42 assertNotNull(ICU.getAvailableLocales()[0]); in test_getAvailableLocales() 43 ICU.getAvailableLocales()[0] = null; in test_getAvailableLocales() 44 assertNotNull(ICU.getAvailableLocales()[0]); in test_getAvailableLocales() 48 assertEquals("d MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("ca", "ES"))); in test_getBestDateTimePattern() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | IcuBenchmark.java | 20 import libcore.icu.ICU; 44 ICU.getBestDateTimePattern("dEEEMMM", new Locale("en", "US")); in time_getBestDateTimePattern() 51 ICU.toUpperCase(ASCII_LOWERCASE, Locale.US); in time_toUpperCaseAsciiUS() 58 ICU.toLowerCase(ASCII_UPPERCASE, Locale.US); in time_toLowerCaseAsciiUs() 65 ICU.toUpperCase(LAT_1_SUPPLEMENT, Locale.FRANCE); in time_toUpperCaseLat1SuplFr() 72 ICU.toUpperCase(LAT_EXTENDED_A, CZECH_LOCALE); in time_toUpperCaseLatExtACz() 79 ICU.toUpperCase(LAT_EXTENDED_B, PINYIN_LOCALE); in time_toUpperCaseLatExtBPinyin()
|
D | StringCaseMappingBenchmark.java | 108 libcore.icu.ICU.toUpperCase(s.value, Locale.US); in timeToUpperCase_ICU() 114 libcore.icu.ICU.toLowerCase(s.value, Locale.US); in timeToLowerCase_ICU()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetDecoderICU.java | 19 import libcore.icu.ICU; 114 if (ICU.U_FAILURE(error)) { in implFlush() 115 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in implFlush() 117 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { in implFlush() 140 if (ICU.U_FAILURE(error)) { in decodeLoop() 141 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in decodeLoop() 143 } else if (error == ICU.U_INVALID_CHAR_FOUND) { in decodeLoop() 145 } else if (error == ICU.U_ILLEGAL_CHAR_FOUND) { in decodeLoop()
|
D | CharsetEncoderICU.java | 21 import libcore.icu.ICU; 143 if (ICU.U_FAILURE(error)) { in implFlush() 144 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in implFlush() 146 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { in implFlush() 170 if (ICU.U_FAILURE(error)) { in encodeLoop() 171 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in encodeLoop() 173 } else if (error == ICU.U_INVALID_CHAR_FOUND) { in encodeLoop() 175 } else if (error == ICU.U_ILLEGAL_CHAR_FOUND) { in encodeLoop()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 790 NATIVE_METHOD(ICU, addLikelySubtags, "(Ljava/lang/String;)Ljava/lang/String;"), 791 NATIVE_METHOD(ICU, getAvailableBreakIteratorLocalesNative, "()[Ljava/lang/String;"), 792 NATIVE_METHOD(ICU, getAvailableCalendarLocalesNative, "()[Ljava/lang/String;"), 793 NATIVE_METHOD(ICU, getAvailableCollatorLocalesNative, "()[Ljava/lang/String;"), 794 NATIVE_METHOD(ICU, getAvailableCurrencyCodes, "()[Ljava/lang/String;"), 795 NATIVE_METHOD(ICU, getAvailableDateFormatLocalesNative, "()[Ljava/lang/String;"), 796 NATIVE_METHOD(ICU, getAvailableLocalesNative, "()[Ljava/lang/String;"), 797 NATIVE_METHOD(ICU, getAvailableNumberFormatLocalesNative, "()[Ljava/lang/String;"), 798 …NATIVE_METHOD(ICU, getBestDateTimePatternNative, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang… 799 NATIVE_METHOD(ICU, getCldrVersion, "()Ljava/lang/String;"), [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 204 if (!ICU.initLocaleDataNative(locale.toLanguageTag(), localeData)) { in initLocaleData() 209 localeData.timeFormat_hm = ICU.getBestDateTimePattern("hm", locale); in initLocaleData() 210 localeData.timeFormat_Hm = ICU.getBestDateTimePattern("Hm", locale); in initLocaleData() 211 localeData.timeFormat_hms = ICU.getBestDateTimePattern("hms", locale); in initLocaleData() 212 localeData.timeFormat_Hms = ICU.getBestDateTimePattern("Hms", locale); in initLocaleData()
|
D | ICU.java | 32 public final class ICU { class
|
/libcore/libart/src/main/java/java/lang/ |
D | CaseMapper.java | 21 import libcore.icu.ICU; 50 return ICU.toLowerCase(s, locale); in toLowerCase() 59 return ICU.toLowerCase(s, locale); in toLowerCase() 148 return ICU.toUpperCase(s, locale); in toUpperCase() 160 return ICU.toUpperCase(s, locale); in toUpperCase()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 52 import libcore.icu.ICU; 940 ICU.setDefaultLocale(newLocale.toLanguageTag()); in setDefault() 1018 return ICU.getISOCountries(); in getISOCountries() 1037 return ICU.getISOLanguages(); in getISOLanguages() 1554 String language3 = ICU.getISO3Language(lang); in getISO3Language() 1587 String country3 = ICU.getISO3Country("en-" + region); in getISO3Country() 1636 String result = ICU.getDisplayLanguage(this, locale); in getDisplayLanguage() 1638 result = ICU.getDisplayLanguage(this, Locale.getDefault()); in getDisplayLanguage() 1701 String result = ICU.getDisplayScript(this, locale); in getDisplayScript() 1703 result = ICU.getDisplayScript(this, Locale.getDefault()); in getDisplayScript() [all …]
|
D | Currency.java | 31 import libcore.icu.ICU; 138 String currencyCode = ICU.getCurrencyCode(country); in getInstance()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleInternalsTest.java | 27 import libcore.icu.ICU;
|
/libcore/ojluni/src/main/java/java/text/ |
D | Collator.java | 44 import libcore.icu.ICU; 275 return ICU.getAvailableCollatorLocales(); in getAvailableLocales()
|
/libcore/ojluni/src/main/java/sun/util/ |
D | LocaleServiceProviderPool.java | 46 import libcore.icu.ICU; 179 Locale[] allLocales = ICU.getAvailableLocales(); 268 Locale[] allLocales = ICU.getAvailableLocales(); in getJRELocales()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 38 import libcore.icu.ICU; 971 p.put("android.icu.library.version", ICU.getIcuVersion()); in initUnchangeableSystemProperties() 972 p.put("android.icu.unicode.version", ICU.getUnicodeVersion()); in initUnchangeableSystemProperties() 973 p.put("android.icu.cldr.version", ICU.getCldrVersion()); in initUnchangeableSystemProperties()
|
/libcore/expectations/ |
D | brokentests.txt | 45 …description: "Some tests depend on ICU data, which has changed. Others make assumptions about floa…
|
D | knownfailures.txt | 27 description: "ICU seems to treat unknown and invalid locales differently",
|
/libcore/ |
D | NOTICE | 32 == NOTICE file for the ICU License. ==
|
D | non_openjdk_java_files.mk | 362 luni/src/main/java/libcore/icu/ICU.java \
|
/libcore/ojluni/ |
D | NOTICE | 110 This locale data is based on the ICU's Vietnamese locale data (rev. 1.38) 1503 @stable ICU 2.0 1518 @stable ICU 2.0
|