/libcore/luni/src/test/java/libcore/icu/ |
D | ICUTest.java | 24 assertNotNull(ICU.getISOLanguages()[0]); in test_getISOLanguages() 25 ICU.getISOLanguages()[0] = null; in test_getISOLanguages() 26 assertNotNull(ICU.getISOLanguages()[0]); in test_getISOLanguages() 31 assertNotNull(ICU.getISOCountries()[0]); in test_getISOCountries() 32 ICU.getISOCountries()[0] = null; in test_getISOCountries() 33 assertNotNull(ICU.getISOCountries()[0]); in test_getISOCountries() 38 assertNotNull(ICU.getAvailableLocales()[0]); in test_getAvailableLocales() 39 ICU.getAvailableLocales()[0] = null; in test_getAvailableLocales() 40 assertNotNull(ICU.getAvailableLocales()[0]); in test_getAvailableLocales() 44 assertEquals("d MMMM", ICU.getBestDateTimePattern("MMMMd", "ca_ES")); in test_getBestDateTimePattern() [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | Currency.java | 21 import libcore.icu.ICU; 38 String symbol = ICU.getCurrencySymbol(Locale.US.toString(), currencyCode); in Currency() 79 String currencyCode = ICU.getCurrencyCode(country); in getInstance() 98 String[] currencyCodes = ICU.getAvailableCurrencyCodes(); in getAvailableCurrencies() 129 return ICU.getCurrencyDisplayName(locale.toString(), currencyCode); in getDisplayName() 163 String symbol = ICU.getCurrencySymbol(locale.toString(), currencyCode); in getSymbol() 180 return ICU.getCurrencyFractionDigits(currencyCode); in getDefaultFractionDigits()
|
D | Locale.java | 25 import libcore.icu.ICU; 342 return ICU.getAvailableLocales(); in getAvailableLocales() 380 String result = ICU.getDisplayCountryNative(toString(), locale.toString()); in getDisplayCountry() 382 result = ICU.getDisplayCountryNative(toString(), Locale.getDefault().toString()); in getDisplayCountry() 411 String result = ICU.getDisplayLanguageNative(localeString, locale.toString()); in getDisplayLanguage() 413 result = ICU.getDisplayLanguageNative(localeString, Locale.getDefault().toString()); in getDisplayLanguage() 490 String result = ICU.getDisplayVariantNative(toString(), locale.toString()); in getDisplayVariant() 492 result = ICU.getDisplayVariantNative(toString(), Locale.getDefault().toString()); in getDisplayVariant() 503 String code = ICU.getISO3CountryNative(toString()); in getISO3Country() 516 String code = ICU.getISO3LanguageNative(toString()); in getISO3Language() [all …]
|
D | Calendar.java | 26 import libcore.icu.ICU; 938 return ICU.getAvailableCalendarLocales(); in getAvailableLocales()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetDecoderICU.java | 19 import libcore.icu.ICU; 113 if (ICU.U_FAILURE(error)) { in implFlush() 114 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in implFlush() 116 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { in implFlush() 139 if (ICU.U_FAILURE(error)) { in decodeLoop() 140 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in decodeLoop() 142 } else if (error == ICU.U_INVALID_CHAR_FOUND) { in decodeLoop() 144 } else if (error == ICU.U_ILLEGAL_CHAR_FOUND) { in decodeLoop()
|
D | CharsetEncoderICU.java | 21 import libcore.icu.ICU; 141 if (ICU.U_FAILURE(error)) { in implFlush() 142 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in implFlush() 144 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { in implFlush() 168 if (ICU.U_FAILURE(error)) { in encodeLoop() 169 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { in encodeLoop() 171 } else if (error == ICU.U_INVALID_CHAR_FOUND) { in encodeLoop() 173 } else if (error == ICU.U_ILLEGAL_CHAR_FOUND) { in encodeLoop()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 723 NATIVE_METHOD(ICU, addLikelySubtags, "(Ljava/lang/String;)Ljava/lang/String;"), 724 NATIVE_METHOD(ICU, getAvailableBreakIteratorLocalesNative, "()[Ljava/lang/String;"), 725 NATIVE_METHOD(ICU, getAvailableCalendarLocalesNative, "()[Ljava/lang/String;"), 726 NATIVE_METHOD(ICU, getAvailableCollatorLocalesNative, "()[Ljava/lang/String;"), 727 NATIVE_METHOD(ICU, getAvailableCurrencyCodes, "()[Ljava/lang/String;"), 728 NATIVE_METHOD(ICU, getAvailableDateFormatLocalesNative, "()[Ljava/lang/String;"), 729 NATIVE_METHOD(ICU, getAvailableLocalesNative, "()[Ljava/lang/String;"), 730 NATIVE_METHOD(ICU, getAvailableNumberFormatLocalesNative, "()[Ljava/lang/String;"), 731 …NATIVE_METHOD(ICU, getBestDateTimePattern, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Strin… 732 NATIVE_METHOD(ICU, getCldrVersion, "()Ljava/lang/String;"), [all …]
|
/libcore/luni/src/main/java/java/lang/ |
D | CaseMapper.java | 20 import libcore.icu.ICU; 50 return ICU.toLowerCase(s, locale.toString()); in toLowerCase() 60 return ICU.toLowerCase(s, locale.toString()); in toLowerCase() 145 return ICU.toUpperCase(s, locale.toString()); in toUpperCase() 153 return ICU.toUpperCase(s, locale.toString()); in toUpperCase()
|
D | System.java | 53 import libcore.icu.ICU; 325 p.put("android.icu.library.version", ICU.getIcuVersion()); in initSystemProperties() 326 p.put("android.icu.unicode.version", ICU.getUnicodeVersion()); in initSystemProperties() 327 p.put("android.icu.cldr.version", ICU.getCldrVersion()); in initSystemProperties()
|
/libcore/luni/src/main/java/java/text/ |
D | BreakIterator.java | 21 import libcore.icu.ICU; 255 return ICU.getAvailableBreakIteratorLocales(); in getAvailableLocales()
|
D | Collator.java | 22 import libcore.icu.ICU; 251 return ICU.getAvailableCollatorLocales(); in getAvailableLocales()
|
D | DateFormatSymbols.java | 27 import libcore.icu.ICU; 150 return ICU.getAvailableDateFormatSymbolsLocales(); in getAvailableLocales()
|
D | DateFormat.java | 26 import libcore.icu.ICU; 336 return ICU.getAvailableDateFormatLocales(); in getAvailableLocales()
|
D | NumberFormat.java | 29 import libcore.icu.ICU; 313 return ICU.getAvailableNumberFormatLocales(); in getAvailableLocales()
|
D | DecimalFormatSymbols.java | 27 import libcore.icu.ICU; 142 return ICU.getAvailableDecimalFormatSymbolsLocales(); in getAvailableLocales()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringCaseMappingBenchmark.java | 101 libcore.icu.ICU.toUpperCase(s.value, Locale.US.toString()); in timeToUpperCase_ICU() 107 libcore.icu.ICU.toLowerCase(s.value, Locale.US.toString()); in timeToLowerCase_ICU()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 25 public final class ICU { class
|
D | LocaleData.java | 170 if (!ICU.initLocaleDataImpl(locale.toString(), localeData)) { in initLocaleData()
|
/libcore/expectations/ |
D | brokentests.txt | 536 description: "ICU doesn't like 3-letter names like CST because they're ambiguous. 538 consistent with ICU, since that seems least fragile. 777 …description: "ICU doesn't provide localized pattern characters, and these tests assume the locale … 783 …description: "ICU doesn't provide localized pattern characters, and these tests assume the locale … 789 …description: "ICU doesn't provide localized pattern characters, and these tests assume the locale …
|
D | knownfailures.txt | 124 description: "ICU seems to treat unknown and invalid locales differently",
|
/libcore/ |
D | NOTICE | 32 == NOTICE file for the ICU License. ==
|