/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 | 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);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ScriptAndLanguages | 13 ICU Version=58
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
Transliterator.properties | 11 # Default messages for the ICU transliterator input method. 14 name=ICU Transliterator 15 title=ICU Transliterator Input Method
|
/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());
|
/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 */ 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)) [all...] |
CharsetEncoderICU.java | 10 * A JNI interface for ICU converters. 21 import libcore.icu.ICU; 22 import libcore.icu.NativeConverter; 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)) [all...] |
/external/icu/icu4j/perf-tests/ |
collationperf.pl | 10 # ICU and Windows Collation performance test script 76 # Run ICU Test for this (locale, data file) pair. 78 $iStrCol = `java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -binsearch`; 80 doKeyTimes("java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -keygen", 90 $wStrCol = `java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -binsearch -java`; 92 doKeyTimes("java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -keygen -java", 125 -------- ICU -------- ------ JAVA ------- (JAVA - ICU)/ICU
|
perftests.pl | 12 use lib 'src/com/ibm/icu/dev/test/perf'; 69 my $testclass = 'com.ibm.icu.dev.test.perf.DateFormatPerformanceTest'; 117 my $testclass = 'com.ibm.icu.dev.test.perf.DecimalFormatPerformanceTest'; 203 # Run ICU Test for this (locale, data file) pair. 205 $iStrCol = `java -classpath $CLASSPATH com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -binsearch`; 206 print "java -classpath $CLASSPATH com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -binsearch\n"; 208 doKeyTimes("java -classpath $CLASSPATH com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -keygen", 217 my $wStrCol = `java -classpath $CLASSPATH com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -binsearch -java`; 219 doKeyTimes("java -classpath $CLASSPATH com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -file data/collation/$data -locale $locale -loop 1000 -keygen -java", 229 my $ICU = $doc->createElement("perfTestResult") [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/libcore/icu/ |
LocaleData.java | 17 package libcore.icu; 25 * Passes locale-specific from ICU native code to Java. 199 if (!ICU.initLocaleDataNative(locale.toLanguageTag(), localeData)) { 204 localeData.timeFormat_hm = ICU.getBestDateTimePattern("hm", locale); 205 localeData.timeFormat_Hm = ICU.getBestDateTimePattern("Hm", locale); 206 localeData.timeFormat_hms = ICU.getBestDateTimePattern("hms", locale); 207 localeData.timeFormat_Hms = ICU.getBestDateTimePattern("Hms", locale); 211 // There are some full time format patterns in ICU that use the pattern character 'v'.
|
/external/icu/icu4c/source/io/ |
ucln_io.cpp | 25 #error U_IO_IMPLEMENTATION not set - must be set for all ICU source files in io/ - see http://userguide.icu-project.org/howtouseicu 60 icu::Mutex m; // See ticket 10295 for discussion.
|
/external/icu/icu4c/source/samples/ |
defs.mk | 9 # Load ICU information. You can copy this to other makefiles ####### 11 CC=$(shell icu-config --cc) 12 CXX=$(shell icu-config --cxx) 13 CPPFLAGS=$(shell icu-config --cppflags) 14 CFLAGS=$(shell icu-config --cflags) 15 CXXFLAGS=$(shell icu-config --cxxflags) 16 LDFLAGS =$^ $(shell icu-config --ldflags) 17 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) 18 INVOKE=$(shell icu-config --invoke) 19 GENRB=$(shell icu-config --invoke=genrb [all...] |
readme.txt | 16 csdet - demonstrates using ICU's CharSet Detection API 22 layout - demonstrates the ICU LayoutEngine 24 legacy - demonstrates using two versions of ICU in one application 34 translit - demonstrates the use of ICU transliteration 38 ucnv - demonstrates the use of ICU codepage conversion 40 udata - demonstrates the use of ICU low level data routines (reader/writer in 'all' MSVC solution) 44 ugrep - demonstrates ICU Regular Expressions. 48 ustring - demonstrates ICU string manipulation functions 55 It is normally built with ICU, and is located in icu/source/extra/ucon [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 18 #define LOG_TAG "ICU" 123 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 133 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 189 icu::UnicodeString icuCurrencyCode(currencyCode.unicodeString()); 197 // ICU doesn't distinguish between falling back to the root locale and meeting a genuinely 204 // ICU's default is English. We want the ISO 4217 currency code instead. 230 icu::UnicodeString str; 245 icu::UnicodeString str; 260 icu::UnicodeString str; 275 icu::UnicodeString str [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsUpgradeReceiver.java | 29 import libcore.icu.ICU; 59 final String curIcuVersion = ICU.getIcuVersion();
|
/external/icu/icu4c/source/test/perf/collationperf/ |
CollPerf.pl | 80 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 83 my @icua = split( ' = ', $icu[2] ); 92 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 95 @icua = split( ' = ', $icu[2] ); 104 @icua = split( ' = ', $icu[3] ); 129 #store ICU result 150 my $title = "Collation: ICU " . $ICULatestVersion . " vs GLIBC"; 166 <link rel="stylesheet" href="../icu.css" type="text/css" /> 222 <li>For general information on ICU collation see <a href= 226 "/apiref/icu4j/com/ibm/icu/text/Collator.html">Java</a>.</li [all...] |
/libcore/libart/src/main/java/java/lang/ |
CaseMapper.java | 19 import android.icu.text.Transliterator; 21 import libcore.icu.ICU; 50 return ICU.toLowerCase(s, locale); 59 return ICU.toLowerCase(s, locale); 149 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/ojluni/src/main/java/java/text/ |
Collator.java | 44 import libcore.icu.ICU; 232 // Android-changed: Switched to ICU. 236 return new RuleBasedCollator((android.icu.text.RuleBasedCollator) 237 android.icu.text.Collator.getInstance(desiredLocale)); 321 // Android-changed: Switched to ICU. 322 // The value for IDENTICAL in ICU differs from that used in this class. 324 return (value == android.icu.text.Collator.IDENTICAL) ? IDENTICAL : value; 341 // Android-changed: Switched to ICU. 342 // The ICU value for IDENTICAL differs from that defined in this class [all...] |
/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 | 9 # for for the ICU sample program "ufortune". 22 # ICUDIR the location of ICU, used to locate the tools for
|
/external/harfbuzz_ng/win32/ |
info-msvc.mak | 14 !elseif "$(ICU)" == "1" 15 UNICODE_IMPL = ICU 101 @echo ICU: 102 @echo Enable build with ICU Unicode functions, requires the International 103 @echo Components for Unicode (ICU) libraries.
|
/external/icu/icu4c/packaging/rpm/ |
icu.spec | 6 # RPM specification file for ICU. 11 # This file can be freely redistributed under the same license as ICU. 13 Name: icu 21 Source: icu-%{version}.tgz 24 ICU is a set of C and C++ libraries that provides robust and full-featured 35 This package contains the runtime libraries for ICU. It does 37 `icu' and `icu-locales` packages. 43 ICU is a set of C and C++ libraries that provides robust and full-featured 44 Unicode support. This package contains the runtime libraries for ICU. It doe [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
dumpICUrules.bat | 23 # This perl script creates ICU transliterator data files, that live 24 # in icu/data, from ICU4J UTF8 transliterator data files, in 25 # icu4j/src/com/ibm/icu/impl/data/. 31 # The output files are named according to ICU conventions (see NAME_MAP 33 # checked and then copied into the icu/data/tranlit directory. 34 # An ICU build must 35 # then be initiated, and the standard suite of ICU transliterator tests 76 # Mapping from Java file names to ICU file names 106 # An ICU name of "" means the ICU name == the I [all...] |