/libcore/luni/src/test/java/libcore/icu/ |
ICUTest.java | 17 package libcore.icu; 25 assertNotNull(ICU.getISOLanguages()[0]); 26 ICU.getISOLanguages()[0] = null; 27 assertNotNull(ICU.getISOLanguages()[0]); 32 assertNotNull(ICU.getISOCountries()[0]); 33 ICU.getISOCountries()[0] = null; 34 assertNotNull(ICU.getISOCountries()[0]); 39 assertNotNull(ICU.getAvailableLocales()[0]); 40 ICU.getAvailableLocales()[0] = null; 41 assertNotNull(ICU.getAvailableLocales()[0]) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
IcuBenchmark.java | 24 import libcore.icu.ICU; 29 ICU.getBestDateTimePattern("dEEEMMM", "US");
|
/libcore/luni/src/main/java/java/util/ |
Currency.java | 21 import libcore.icu.ICU; 22 import libcore.icu.LocaleData; 38 String symbol = ICU.getCurrencySymbol(Locale.US.toString(), currencyCode); 79 String currencyCode = ICU.getCurrencyCode(country); 97 String[] currencyCodes = ICU.getAvailableCurrencyCodes(); 126 return ICU.getCurrencyDisplayName(locale.toString(), currencyCode); 159 // Try ICU, and fall back to the currency code if ICU has nothing. 160 String symbol = ICU.getCurrencySymbol(locale.toString(), currencyCode) [all...] |
Locale.java | 25 import libcore.icu.ICU; 63 * <p>Note that locale data comes solely from ICU. User-supplied locale service providers (using 66 * <p>Here are the versions of ICU (and the corresponding CLDR and Unicode versions) used in 70 * <td>ICU 3.8</td> 74 * <td>ICU 4.2</td> 78 * <td>ICU 4.4</td> 82 * <td>ICU 4.6</td> 86 * <td>ICU 4.8</td> 90 * <td>ICU 50</td [all...] |
/external/v8/src/ |
ic.h | 39 // inline caching code. The argument for the macro, ICU, is the function name. 40 #define IC_UTIL_LIST(ICU) \ 41 ICU(LoadIC_Miss) \ 42 ICU(KeyedLoadIC_Miss) \ 43 ICU(KeyedLoadIC_MissForceGeneric) \ 44 ICU(CallIC_Miss) \ 45 ICU(KeyedCallIC_Miss) \ 46 ICU(StoreIC_Miss) \ 47 ICU(StoreIC_ArrayLength) \ 48 ICU(SharedStoreIC_ExtendStorage) [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 10 * A JNI interface for ICU converters. 19 import libcore.icu.ICU; 20 import libcore.icu.NativeConverter; 36 /* handle to the ICU converter that is opened */ 104 // ICU needs to see an empty input. 113 if (ICU.U_FAILURE(error)) { 114 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) { 116 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) { 139 if (ICU.U_FAILURE(error)) [all...] |
CharsetEncoderICU.java | 10 * A JNI interface for ICU converters. 21 import libcore.icu.ICU; 22 import libcore.icu.NativeConverter; 28 // ICU has different default replacements to the RI in some cases. There are many 51 /* handle to the ICU converter that is opened */ 85 // We have our own map of RI-compatible default replacements (where ICU disagrees)... 90 // ...but fall back to asking ICU. 132 // ICU needs to see an empty input. 141 if (ICU.U_FAILURE(error)) [all...] |
/libcore/luni/src/main/java/java/text/ |
BreakIterator.java | 21 import libcore.icu.ICU; 22 import libcore.icu.NativeBreakIterator; 233 // the wrapped ICU implementation 255 return ICU.getAvailableBreakIteratorLocales();
|
Collator.java | 22 import libcore.icu.ICU; 23 import libcore.icu.RuleBasedCollatorICU; 251 return ICU.getAvailableCollatorLocales();
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 17 #define LOG_TAG "ICU" 189 // ICU doesn't distinguish between falling back to the root locale and meeting a genuinely 196 // ICU's default is English. We want the ISO 4217 currency code instead. 317 ALOGE("Error setting String field %s from ICU resource (index %d): %s", fieldName, index, u_errorName(status)); 328 ALOGE("Error setting String field %s from ICU resource (key %s): %s", fieldName, key, u_errorName(status)); 476 return JNI_FALSE; // ICU has a fixed-length limit. 489 ALOGE("Couldn't find ICU DateTimePatterns for %s", localeName.c_str()); 502 ALOGE("Couldn't find ICU yesterday/today/tomorrow for %s", localeName.c_str()); 669 NATIVE_METHOD(ICU, addLikelySubtags, "(Ljava/lang/String;)Ljava/lang/String;"), 670 NATIVE_METHOD(ICU, getAvailableBreakIteratorLocalesNative, "()[Ljava/lang/String;") [all...] |
/external/icu4c/io/ |
ucln_io.c | 23 #error U_IO_IMPLEMENTATION not set - must be set for all ICU source files in io/ - see http://userguide.icu-project.org/howtouseicu
|
/external/icu4c/samples/ |
defs.mk | 6 # Load ICU information. You can copy this to other makefiles ####### 8 CC=$(shell icu-config --cc) 9 CXX=$(shell icu-config --cxx) 10 CPPFLAGS=$(shell icu-config --cppflags) 11 CFLAGS=$(shell icu-config --cflags) 12 CXXFLAGS=$(shell icu-config --cxxflags) 13 LDFLAGS =$^ $(shell icu-config --ldflags) 14 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) 15 INVOKE=$(shell icu-config --invoke) 16 GENRB=$(shell icu-config --invoke=genrb [all...] |
readme.txt | 13 csdet - demonstrates using ICU's CharSet Detection API 19 layout - demonstrates the ICU LayoutEngine 21 legacy - demonstrates using two versions of ICU in one application 31 translit - demonstrates the use of ICU transliteration 35 ucnv - demonstrates the use of ICU codepage conversion 37 udata - demonstrates the use of ICU low level data routines (reader/writer in 'all' MSVC solution) 41 ugrep - demonstrates ICU Regular Expressions. 45 ustring - demonstrates ICU string manipulation functions 52 It is normally built with ICU, and is located in icu/source/extra/ucon [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsUpgradeReceiver.java | 29 import libcore.icu.ICU; 57 final String curIcuVersion = ICU.getIcuVersion();
|
/external/chromium_org/v8/src/ |
ic.h | 39 // inline caching code. The argument for the macro, ICU, is the function name. 40 #define IC_UTIL_LIST(ICU) \ 41 ICU(LoadIC_Miss) \ 42 ICU(KeyedLoadIC_Miss) \ 43 ICU(KeyedLoadIC_MissForceGeneric) \ 44 ICU(CallIC_Miss) \ 45 ICU(KeyedCallIC_Miss) \ 46 ICU(StoreIC_Miss) \ 47 ICU(StoreIC_ArrayLength) \ 48 ICU(StoreIC_Slow) [all...] |
/external/chromium_org/third_party/icu/source/test/perf/collationperf/ |
CollPerf.pl | 77 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 80 my @icua = split( ' = ', $icu[2] ); 89 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 92 @icua = split( ' = ', $icu[2] ); 101 @icua = split( ' = ', $icu[3] ); 126 #store ICU result 147 my $title = "Collation: ICU " . $ICULatestVersion . " vs GLIBC"; 163 <link rel="stylesheet" href="../icu.css" type="text/css" /> 219 <li>For general information on ICU collation see <a href= 223 "/apiref/icu4j/com/ibm/icu/text/Collator.html">Java</a>.</li [all...] |
/external/icu4c/test/perf/collationperf/ |
CollPerf.pl | 77 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 80 my @icua = split( ' = ', $icu[2] ); 89 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 92 @icua = split( ' = ', $icu[2] ); 101 @icua = split( ' = ', $icu[3] ); 126 #store ICU result 147 my $title = "Collation: ICU " . $ICULatestVersion . " vs GLIBC"; 163 <link rel="stylesheet" href="../icu.css" type="text/css" /> 219 <li>For general information on ICU collation see <a href= 223 "/apiref/icu4j/com/ibm/icu/text/Collator.html">Java</a>.</li [all...] |
/libcore/luni/src/main/java/java/lang/ |
CaseMapper.java | 20 import libcore.icu.ICU; 50 return ICU.toLowerCase(s, locale.toString()); 60 return ICU.toLowerCase(s, locale.toString()); 145 return ICU.toUpperCase(s, locale.toString()); 153 return ICU.toUpperCase(s, locale.toString());
|
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 17 package libcore.icu; 26 * Passes locale-specific from ICU native code to Java. 174 if (!ICU.initLocaleDataNative(locale.toString(), localeData)) { 179 localeData.timeFormat12 = ICU.getBestDateTimePattern("hm", locale.toString()); 180 localeData.timeFormat24 = ICU.getBestDateTimePattern("Hm", locale.toString()); 184 // There are some full time format patterns in ICU that use the pattern character 'v'.
|
/external/chromium_org/third_party/icu/source/data/translit/ |
trnsfiles.mk | 11 # configure the ICU.
|
/external/icu4c/data/translit/ |
trnsfiles.mk | 11 # configure the ICU.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 35 import libcore.icu.ICU; 93 final String fmt = ICU.getBestDateTimePattern(dateFormat, l.toString());
|
/external/icu4c/samples/ufortune/resources/ |
fortune_resources.mak | 6 # for for the ICU sample program "ufortune". 19 # ICUDIR the location of ICU, used to locate the tools for
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
zdump.c | 10 * ICU note: Mr. Arthur David Olson (olsona@dc37a.nci.nih.gov) stated that 12 * This version of zdump.c is modified by ICU team to change output format 25 /* Enable extensions and modifications for ICU. */ 26 #define ICU 28 #ifdef ICU 173 #ifdef ICU 293 #ifdef ICU 321 #ifdef ICU 400 #ifdef ICU 460 #ifdef ICU [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 10 * ICU note: Mr. Arthur David Olson (olsona@dc37a.nci.nih.gov) stated that 12 * This version of zdump.c is modified by ICU team to change output format 25 /* Enable extensions and modifications for ICU. */ 26 #define ICU 28 #ifdef ICU 173 #ifdef ICU 293 #ifdef ICU 321 #ifdef ICU 400 #ifdef ICU 460 #ifdef ICU [all...] |