/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 10 package android.icu.dev.test.normalizer; 21 import android.icu.text.Normalizer; 34 // instantiate a Normalizer from a CharacterIterator 39 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); 41 errln("error in Normalizer(CharacterIterator).next()"); 43 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0) [all...] |
BasicTest.java | 11 package android.icu.dev.test.normalizer; 29 import android.icu.text.Normalizer; 129 staticTest(Normalizer.NFC, hangulCanon, 2); 131 staticTest(Normalizer.NFKC, hangulCompat, 2); 134 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 137 norm.setMode(Normalizer.NFKD); 142 norm.setMode(Normalizer.NFC); 150 staticTest(Normalizer.NFD, hangulCanon, 1) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 9 package com.ibm.icu.dev.test.normalizer; 20 import com.ibm.icu.text.Normalizer; 31 // instantiate a Normalizer from a CharacterIterator 36 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); 38 errln("error in Normalizer(CharacterIterator).next()"); 40 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0) [all...] |
BasicTest.java | 10 package com.ibm.icu.dev.test.normalizer; 28 import com.ibm.icu.text.Normalizer; 126 staticTest(Normalizer.NFC, hangulCanon, 2); 128 staticTest(Normalizer.NFKC, hangulCompat, 2); 131 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 134 norm.setMode(Normalizer.NFKD); 139 norm.setMode(Normalizer.NFC); 147 staticTest(Normalizer.NFD, hangulCanon, 1) [all...] |
/external/icu/icu4c/source/common/unicode/ |
normlzr.h | 35 * There is one exception: The new API does not provide a replacement for Normalizer::compare(). 37 * The Normalizer class supports the standard normalization forms described in 41 * The Normalizer class consists of two parts: 43 * - a Normalizer object is an iterator that takes any kind of text and 46 * The Normalizer class is not suitable for subclassing. 51 * The iterator API with the Normalizer constructors and the non-static functions 60 * A possible use of the Normalizer iterator is also to report an index into the 67 * Normalizer allows to start normalizing from anywhere in the input text by 103 * Internally, the Normalizer iterator normalizes a small piece of text 129 * It is for this reason that Normalizer does not implement the CharacterIterator interface [all...] |
/external/icu/icu4c/source/common/ |
normlzr.cpp | 34 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Normalizer) 40 Normalizer::Normalizer(const UnicodeString& str, UNormalizationMode mode) : 49 Normalizer::Normalizer(ConstChar16Ptr str, int32_t length, UNormalizationMode mode) : 58 Normalizer::Normalizer(const CharacterIterator& iter, UNormalizationMode mode) : 67 Normalizer::Normalizer(const Normalizer ©) [all...] |
/external/perf_data_converter/src/ |
perf_data_handler.cc | 29 // Normalizer processes a PerfDataProto and maintains tables to the 32 class Normalizer { 34 Normalizer(const PerfDataProto& perf_proto, PerfDataHandler* handler) 65 Normalizer(const Normalizer&) = delete; 66 Normalizer& operator=(const Normalizer&) = delete; 68 ~Normalizer() {} 152 void Normalizer::UpdateMapsWithForkEvent( 187 void Normalizer::Normalize() [all...] |
/external/cldr/tools/java/org/unicode/cldr/tool/ |
GenerateTransform.java | 20 import com.ibm.icu.text.Normalizer; 75 final String source = Normalizer.decompose(sourceIn, false); 76 final String target = falloff < 0 ? Normalizer.decompose(targetIn, false) 77 : Normalizer.decompose(targetIn + FALLOFFS.charAt(falloff), false); 196 String decompose = Normalizer.decompose(it.getString(), true); 198 result.addAll(Normalizer.decompose(decompose, true));
|
GenerateSidewaysView.java | 59 import com.ibm.icu.text.Normalizer; 348 extras.addAll(Normalizer.normalize(item, Normalizer.NFD)); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutTest.java | 66 import java.text.Normalizer; 613 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { 617 for (Normalizer.Form form: forms) { 618 normalizedStrings.add(Normalizer.normalize(testString, form)); 633 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { 635 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { 637 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
CollationMapMaker.java | 30 import com.ibm.icu.text.Normalizer; 58 int n1 = Normalizer.isNormalized(s1, Normalizer.DECOMP_COMPAT, 0) ? 0 : 1; 59 int n2 = Normalizer.isNormalized(s2, Normalizer.DECOMP_COMPAT, 0) ? 0 : 1; 194 result = Normalizer.normalize(result, Normalizer.NFKC); 197 result = Normalizer.normalize(result, Normalizer.NFKC); 411 nfkc.add(Normalizer.compose(source, true)) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Normalizer.java | 123 * <p>Note: The Normalizer class also provides API for iterative normalization. 130 * It is for this reason that Normalizer does not implement the CharacterIterator interface. 132 public final class Normalizer implements Cloneable { 225 * Only the Mode constants provided by the Normalizer class should be used, 357 * Null operation for use with the {@link android.icu.text.Normalizer constructors} 359 * the <tt>Normalizer</tt> to do nothing but return unprocessed characters 363 * than having a separate code path that bypasses <tt>Normalizer</tt> 376 * {@link android.icu.text.Normalizer constructors} and the static 396 * Used with the {@link android.icu.text.Normalizer constructors} and the static 407 * @deprecated ICU 2.8. Use Normalizer.NFK [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Normalizer.java | 122 * <p>Note: The Normalizer class also provides API for iterative normalization. 129 * It is for this reason that Normalizer does not implement the CharacterIterator interface. 133 public final class Normalizer implements Cloneable { 224 * Only the Mode constants provided by the Normalizer class should be used, 345 * Null operation for use with the {@link com.ibm.icu.text.Normalizer constructors} 347 * the <tt>Normalizer</tt> to do nothing but return unprocessed characters 351 * than having a separate code path that bypasses <tt>Normalizer</tt> 363 * {@link com.ibm.icu.text.Normalizer constructors} and the static 382 * Used with the {@link com.ibm.icu.text.Normalizer constructors} and the static 393 * @deprecated ICU 2.8. Use Normalizer.NFK [all...] |
/external/cldr/tools/java/libs/ |
icu4j.jar | |