/libcore/luni/src/test/java/libcore/icu/ |
ICUTest.java | 17 package libcore.icu; 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]) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
IcuBenchmark.java | 24 import libcore.icu.ICU; 29 ICU.getBestDateTimePattern("dEEEMMM", new Locale("en", "US"));
|
StringCaseMappingBenchmark.java | 109 libcore.icu.ICU.toUpperCase(s.value, Locale.US); 115 libcore.icu.ICU.toLowerCase(s.value, Locale.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, currencyCode); 82 String currencyCode = ICU.getCurrencyCode(country); 100 String[] currencyCodes = ICU.getAvailableCurrencyCodes(); 129 return ICU.getCurrencyDisplayName(locale, currencyCode); 161 // Try ICU, and fall back to the currency code if ICU has nothing. 162 String symbol = ICU.getCurrencySymbol(locale, currencyCode) [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
ICU.java | 3 public class ICU { 6 * This method is directly copied from {@link libcore.icu.ICU}. The method is simple enough
|
/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...] |
/external/v8/src/ic/ |
ic.h | 16 // inline caching code. The argument for the macro, ICU, is the function name. 17 #define IC_UTIL_LIST(ICU) \ 18 ICU(LoadIC_Miss) \ 19 ICU(KeyedLoadIC_Miss) \ 20 ICU(CallIC_Miss) \ 21 ICU(CallIC_Customization_Miss) \ 22 ICU(StoreIC_Miss) \ 23 ICU(StoreIC_Slow) \ 24 ICU(SharedStoreIC_ExtendStorage) \ 25 ICU(KeyedStoreIC_Miss) [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 17 package libcore.icu; 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'.
|
/external/icu/icu4c/source/io/ |
ucln_io.cpp | 23 #error U_IO_IMPLEMENTATION not set - must be set for all ICU source files in io/ - see http://userguide.icu-project.org/howtouseicu 58 icu::Mutex m; // See ticket 10295 for discussion.
|
/external/icu/icu4c/source/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...] |
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 17 #define LOG_TAG "ICU" 118 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 128 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 184 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 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. 225 icu::UnicodeString str; 240 icu::UnicodeString str; 255 icu::UnicodeString str; 270 icu::UnicodeString str [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsUpgradeReceiver.java | 29 import libcore.icu.ICU; 57 final String curIcuVersion = ICU.getIcuVersion();
|
/external/icu/icu4c/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...] |
/libcore/libart/src/main/java/java/lang/ |
CaseMapper.java | 20 import libcore.icu.ICU; 21 import libcore.icu.Transliterator; 50 return ICU.toLowerCase(s, locale); 59 return ICU.toLowerCase(s, locale); 148 return ICU.toUpperCase(s, locale); 160 return ICU.toUpperCase(s, locale);
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
ICU_Delegate.java | 17 package libcore.icu; 21 import android.icu.text.DateTimePatternGenerator; 22 import android.icu.util.Currency; 23 import android.icu.util.ULocale; 24 import android.icu.util.VersionInfo; 29 * Delegate implementing the native methods of libcore.icu.ICU 31 * Through the layoutlib_create tool, the original native methods of ICU have been replaced 49 // --- Native methods accessing ICU's database. 251 ICU.setDefaultLocale(locale) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleInternalsTest.java | 27 import libcore.icu.ICU; 117 assertEquals("de_DE", ICU.getDefaultLocale()); 127 assertEquals("und", ICU.getDefaultLocale());
|
/external/icu/icu4c/source/data/translit/ |
trnsfiles.mk | 11 # configure the ICU.
|
/libcore/luni/src/main/java/java/text/ |
Collator.java | 22 import libcore.icu.ICU; 23 import libcore.icu.RuleBasedCollatorICU; 251 return ICU.getAvailableCollatorLocales();
|
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 29 /* Enable extensions and modifications for ICU. */ 30 #define ICU 32 #ifdef ICU 238 #ifdef ICU 352 #ifdef ICU 380 #ifdef ICU 420 #ifdef ICU 431 #endif ICU 490 #ifdef ICU 549 #ifdef ICU [all...] |
/external/icu/icu4c/source/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/icu/icu4c/source/data/misc/ |
miscfiles.mk | 11 # configure ICU.
|
/external/icu/icu4c/source/data/sprep/ |
sprepfiles.mk | 11 # reconfigure ICU.
|
/external/icu/icu4c/source/allinone/ |
icucheck.bat | 33 echo testing ICU in %ICU_ICUDIR% arch=%ICU_ARCH% type=%ICU_DBRL%
117 echo Summary: ICU in %ICU_ICUDIR% arch=%ICU_ARCH% type=%ICU_DBRL%
|