Searched refs:ICU (Results 1 - 16 of 16) sorted by relevance
/libcore/luni/src/test/java/libcore/icu/ |
H A D | ICUTest.java | 28 assertNotNull(ICU.getISOLanguages()[0]); 29 ICU.getISOLanguages()[0] = null; 30 assertNotNull(ICU.getISOLanguages()[0]); 35 assertNotNull(ICU.getISOCountries()[0]); 36 ICU.getISOCountries()[0] = null; 37 assertNotNull(ICU.getISOCountries()[0]); 42 assertNotNull(ICU.getAvailableLocales()[0]); 43 ICU.getAvailableLocales()[0] = null; 44 assertNotNull(ICU.getAvailableLocales()[0]); 48 assertEquals("d MMMM", ICU [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | IcuBenchmark.java | 20 import libcore.icu.ICU; 44 ICU.getBestDateTimePattern("dEEEMMM", new Locale("en", "US")); 51 ICU.toUpperCase(ASCII_LOWERCASE, Locale.US); 58 ICU.toLowerCase(ASCII_UPPERCASE, Locale.US); 65 ICU.toUpperCase(LAT_1_SUPPLEMENT, Locale.FRANCE); 72 ICU.toUpperCase(LAT_EXTENDED_A, CZECH_LOCALE); 79 ICU.toUpperCase(LAT_EXTENDED_B, PINYIN_LOCALE);
|
H A D | StringCaseMappingBenchmark.java | 108 libcore.icu.ICU.toUpperCase(s.value, Locale.US); 114 libcore.icu.ICU.toLowerCase(s.value, Locale.US);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | LocaleInternalsTest.java | 27 import libcore.icu.ICU; 117 assertEquals("de_DE", ICU.getDefaultLocale()); 127 assertEquals("und", ICU.getDefaultLocale());
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoderICU.java | 10 * A JNI interface for ICU converters. 19 import libcore.icu.ICU; 36 /* handle to the ICU converter that is opened */ 105 // ICU needs to see an empty input. 114 if (ICU.U_FAILURE(error)) { 115 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { 117 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { 140 if (ICU.U_FAILURE(error)) { 141 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { 143 } else if (error == ICU [all...] |
H A D | CharsetEncoderICU.java | 10 * A JNI interface for ICU converters. 21 import libcore.icu.ICU; 29 // ICU has different default replacements to the RI in some cases. There are many 52 /* handle to the ICU converter that is opened */ 86 // We have our own map of RI-compatible default replacements (where ICU disagrees)... 91 // ...but fall back to asking ICU. 134 // ICU needs to see an empty input. 143 if (ICU.U_FAILURE(error)) { 144 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { 146 } else if (error == ICU [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | LocaleData.java | 26 * Passes locale-specific from ICU native code to Java. 204 if (!ICU.initLocaleDataNative(locale.toLanguageTag(), localeData)) { 209 localeData.timeFormat_hm = ICU.getBestDateTimePattern("hm", locale); 210 localeData.timeFormat_Hm = ICU.getBestDateTimePattern("Hm", locale); 211 localeData.timeFormat_hms = ICU.getBestDateTimePattern("hms", locale); 212 localeData.timeFormat_Hms = ICU.getBestDateTimePattern("Hms", locale); 216 // There are some full time format patterns in ICU that use the pattern character 'v'.
|
H A D | ICU.java | 30 * Makes ICU data accessible to Java. 32 public final class ICU { class 43 * Returns an array of two-letter ISO 639-1 language codes, either from ICU or our cache. 53 * Returns an array of two-letter ISO 3166 country codes, either from ICU or our cache. 68 * Parse the {Language, Script, Region, Variant*} section of the ICU locale 101 // than 5. Assume that ICU won't hand us malformed tags, and therefore 173 // ICU sends us a semi-colon (ULOC_KEYWORD_ITEM_SEPARATOR) delimited string 174 // containing all "keywords" it could parse. An ICU keyword is a key-value pair 245 // Java needs the obsolete code, ICU needs the modern code, but we let ICU kno [all...] |
/libcore/luni/src/main/native/ |
H A D | libcore_icu_ICU.cpp | 17 #define LOG_TAG "ICU" 192 // ICU doesn't distinguish between falling back to the root locale and meeting a genuinely 199 // ICU's default is English. We want the ISO 4217 currency code instead. 364 ALOGE("Error setting String field %s from ICU resource (index %d): %s", fieldName, index, u_errorName(status)); 541 return JNI_FALSE; // ICU has a fixed-length limit. 559 ALOGE("Couldn't find ICU DateTimePatterns for %s", languageTag.c_str()); 572 ALOGE("Couldn't find ICU yesterday/today/tomorrow for %s", languageTag.c_str()); 585 ALOGE("Couldn't find ICU AmPmMarkersNarrow for %s", languageTag.c_str()); 790 NATIVE_METHOD(ICU, addLikelySubtags, "(Ljava/lang/String;)Ljava/lang/String;"), 791 NATIVE_METHOD(ICU, getAvailableBreakIteratorLocalesNativ [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | CaseMapper.java | 21 import libcore.icu.ICU; 50 return ICU.toLowerCase(s, locale); 59 return ICU.toLowerCase(s, locale); 148 return ICU.toUpperCase(s, locale); 160 return ICU.toUpperCase(s, locale);
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | Collator.java | 44 import libcore.icu.ICU; 275 return ICU.getAvailableCollatorLocales(); 378 // The value for IDENTICAL in ICU differs from that used in this class. 398 // The ICU value for IDENTICAL differs from that defined in this class.
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Currency.java | 31 import libcore.icu.ICU; 138 String currencyCode = ICU.getCurrencyCode(country);
|
H A D | Locale.java | 52 import libcore.icu.ICU; 402 * <p>Note that locale data comes solely from ICU. User-supplied locale service providers (using 405 * <p>Here are the versions of ICU (and the corresponding CLDR and Unicode versions) used in 409 * <td>ICU 3.8</td> 413 * <td>ICU 4.2</td> 417 * <td>ICU 4.4</td> 421 * <td><a href="http://site.icu-project.org/download/46">ICU 4.6</a></td> 425 * <td><a href="http://site.icu-project.org/download/48">ICU 4.8</a></td> 429 * <td><a href="http://site.icu-project.org/download/50">ICU 50</a></td> 433 * <td><a href="http://site.icu-project.org/download/51">ICU 5 [all...] |
/libcore/ojluni/src/main/java/sun/util/ |
H A D | LocaleServiceProviderPool.java | 46 import libcore.icu.ICU; 179 Locale[] allLocales = ICU.getAvailableLocales(); 268 Locale[] allLocales = ICU.getAvailableLocales();
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | System.java | 38 import libcore.icu.ICU; 971 p.put("android.icu.library.version", ICU.getIcuVersion()); 972 p.put("android.icu.unicode.version", ICU.getUnicodeVersion()); 973 p.put("android.icu.cldr.version", ICU.getCldrVersion());
|
/libcore/ |
H A D | non_openjdk_java_files.mk | 362 luni/src/main/java/libcore/icu/ICU.java \
|
Completed in 813 milliseconds