HomeSort by relevance Sort by last modified time
    Searched refs:ICU (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/libcore/libcore/icu/
ICUTest.java 17 package libcore.libcore.icu;
19 import android.icu.util.TimeZone;
28 import libcore.icu.ICU;
35 assertNotNull(ICU.getISOLanguages()[0]);
36 ICU.getISOLanguages()[0] = null;
37 assertNotNull(ICU.getISOLanguages()[0]);
42 assertNotNull(ICU.getISOCountries()[0]);
43 ICU.getISOCountries()[0] = null;
44 assertNotNull(ICU.getISOCountries()[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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowICUTest.java 11 import libcore.icu.ICU;
24 assertThat(ICU.getBestDateTimePattern("hm", null)).isEqualTo("hm");
29 assertThat(ICU.getBestDateTimePattern("jmm", Locale.US)).isEqualTo("h:mm a");
34 assertThat(ICU.getBestDateTimePattern("jmm", Locale.UK)).isEqualTo("H:mm");
39 assertThat(ICU.getBestDateTimePattern("jmm", new Locale("pt", "BR"))).isEqualTo("H:mm");
  /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());
  /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/java/nio/charset/
CharsetDecoderICU.java 10 * A JNI interface for ICU converters.
20 import libcore.icu.ICU;
21 import libcore.icu.NativeConverter;
37 /* Handle to the ICU converter that is opened, cleaned up via NativeAllocationRegistry. */
109 // ICU needs to see an empty input.
118 if (ICU.U_FAILURE(error)) {
119 if (error == ICU.U_BUFFER_OVERFLOW_ERROR) {
121 } else if (error == ICU.U_TRUNCATED_CHAR_FOUND) {
144 if (ICU.U_FAILURE(error))
    [all...]
CharsetEncoderICU.java 10 * A JNI interface for ICU converters.
22 import libcore.icu.ICU;
23 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 */
91 // We have our own map of RI-compatible default replacements (where ICU disagrees)...
96 // ...but fall back to asking ICU.
137 // ICU needs to see an empty input.
146 if (ICU.U_FAILURE(error))
    [all...]
  /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...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowICU.java 10 @Implements(value = libcore.icu.ICU.class, isInAndroidSdk = false)
  /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/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;
229 // Android-changed: Switched to ICU.
235 return new RuleBasedCollator((android.icu.text.RuleBasedCollator)
236 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/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/icu/icu4c/source/tools/tzcode/
zdump.c 29 /* Enable extensions and modifications for ICU. */
30 #define ICU
32 #ifdef ICU
239 #ifdef ICU
353 #ifdef ICU
381 #ifdef ICU
421 #ifdef ICU
491 #ifdef ICU
549 #ifdef ICU
580 #ifdef ICU
    [all...]
  /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...]

Completed in 696 milliseconds

1 2 3 4