Home
last modified time | relevance | path

Searched refs:Normalizer2 (Results 1 – 25 of 102) sorted by relevance

12345

/external/icu/icu4c/source/common/
Dnormalizer2.cpp47 Normalizer2::~Normalizer2() {} in ~Normalizer2()
50 Normalizer2::normalizeUTF8(uint32_t /*options*/, StringPiece src, ByteSink &sink, in normalizeUTF8()
64 Normalizer2::getRawDecomposition(UChar32, UnicodeString &) const { in getRawDecomposition()
69 Normalizer2::composePair(UChar32, UChar32) const { in composePair()
74 Normalizer2::getCombiningClass(UChar32 /*c*/) const { in getCombiningClass()
79 Normalizer2::isNormalizedUTF8(StringPiece s, UErrorCode &errorCode) const { in isNormalizedUTF8()
84 class NoopNormalizer2 : public Normalizer2 {
185 static Normalizer2 *noopSingleton;
200 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) { in getNoopInstance()
207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl()
[all …]
Dloadednormalizer2impl.cpp217 const Normalizer2 *
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
223 const Normalizer2 *
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) { in getNFDInstance()
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) { in getFCDInstance()
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) { in getFCCInstance()
246 const Normalizer2 *
247 Normalizer2::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
252 const Normalizer2 *
253 Normalizer2::getNFKDInstance(UErrorCode &errorCode) { in getNFKDInstance()
[all …]
Dunorm.cpp51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheck()
59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheckWithOptions()
63 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_quickCheckWithOptions()
74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalized()
82 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalizedWithOptions()
86 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_isNormalizedWithOptions()
101 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_normalize()
105 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_normalize()
119 const Normalizer2 *n2, in _iterate()
182 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_iterate()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizationTransliterator.java25 private final Normalizer2 norm2;
34 return new NormalizationTransliterator("NFC", Normalizer2.getNFCInstance()); in register()
40 return new NormalizationTransliterator("NFD", Normalizer2.getNFDInstance()); in register()
46 return new NormalizationTransliterator("NFKC", Normalizer2.getNFKCInstance()); in register()
52 return new NormalizationTransliterator("NFKD", Normalizer2.getNFKDInstance()); in register()
76 private NormalizationTransliterator(String id, Normalizer2 n2) { in NormalizationTransliterator()
140 …static final Map<Normalizer2, SourceTargetUtility> SOURCE_CACHE = new HashMap<Normalizer2, SourceT…
144 final Normalizer2 norm2;
145 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform()
DNormalizer2.java63 public abstract class Normalizer2 { class
116 public static Normalizer2 getNFCInstance() { in getNFCInstance()
126 public static Normalizer2 getNFDInstance() { in getNFDInstance()
136 public static Normalizer2 getNFKCInstance() { in getNFKCInstance()
146 public static Normalizer2 getNFKDInstance() { in getNFKDInstance()
156 public static Normalizer2 getNFKCCasefoldInstance() { in getNFKCCasefoldInstance()
181 public static Normalizer2 getInstance(InputStream data, String name, Mode mode) { in getInstance()
422 protected Normalizer2() { in Normalizer2() method in Normalizer2
DNormalizer.java135 private Normalizer2 norm2;
150 private ModeImpl(Normalizer2 n2) { in ModeImpl()
153 private final Normalizer2 normalizer2;
156 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance());
159 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance());
162 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance());
165 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance());
176 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFDInstance(),
181 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFKDInstance(),
186 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFCInstance(),
[all …]
DSourceTargetUtility.java25 static Normalizer2 NFC = Normalizer2.getNFCInstance();
32 public SourceTargetUtility(Transform<String, String> transform, Normalizer2 normalizer) { in SourceTargetUtility()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java24 private final Normalizer2 norm2;
33 return new NormalizationTransliterator("NFC", Normalizer2.getNFCInstance()); in register()
39 return new NormalizationTransliterator("NFD", Normalizer2.getNFDInstance()); in register()
45 return new NormalizationTransliterator("NFKC", Normalizer2.getNFKCInstance()); in register()
51 return new NormalizationTransliterator("NFKD", Normalizer2.getNFKDInstance()); in register()
75 private NormalizationTransliterator(String id, Normalizer2 n2) { in NormalizationTransliterator()
139 …static final Map<Normalizer2, SourceTargetUtility> SOURCE_CACHE = new HashMap<Normalizer2, SourceT…
143 final Normalizer2 norm2;
144 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform()
DSourceTargetUtility.java24 static Normalizer2 NFC = Normalizer2.getNFCInstance();
31 public SourceTargetUtility(Transform<String, String> transform, Normalizer2 normalizer) { in SourceTargetUtility()
/external/icu/icu4c/source/common/unicode/
Dnormalizer2.h83 class U_COMMON_API Normalizer2 : public UObject {
89 ~Normalizer2();
102 static const Normalizer2 *
116 static const Normalizer2 *
130 static const Normalizer2 *
144 static const Normalizer2 *
158 static const Normalizer2 *
182 static const Normalizer2 *
501 class U_COMMON_API FilteredNormalizer2 : public Normalizer2 {
513 FilteredNormalizer2(const Normalizer2 &n2, const UnicodeSet &filterSet) : in FilteredNormalizer2()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer2.java63 public abstract class Normalizer2 { class
122 public static Normalizer2 getNFCInstance() { in getNFCInstance()
133 public static Normalizer2 getNFDInstance() { in getNFDInstance()
144 public static Normalizer2 getNFKCInstance() { in getNFKCInstance()
155 public static Normalizer2 getNFKDInstance() { in getNFKDInstance()
166 public static Normalizer2 getNFKCCasefoldInstance() { in getNFKCCasefoldInstance()
192 public static Normalizer2 getInstance(InputStream data, String name, Mode mode) { in getInstance()
447 protected Normalizer2() { in Normalizer2() method in Normalizer2
DNormalizer.java136 private Normalizer2 norm2;
151 private ModeImpl(Normalizer2 n2) { in ModeImpl()
154 private final Normalizer2 normalizer2;
157 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance());
160 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance());
163 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance());
166 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance());
177 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFDInstance(),
182 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFKDInstance(),
187 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFCInstance(),
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java17 import android.icu.text.Normalizer2;
41 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll()
42 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll()
203 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java16 import com.ibm.icu.text.Normalizer2;
38 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll()
39 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll()
200 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2()
/external/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp19 using icu::Normalizer2;
236 NormalizeUTF16(const Normalizer2 &n2, const UnicodeString &text) : in NormalizeUTF16()
242 const Normalizer2 &norm2;
267 NormalizeUTF8(const Normalizer2 &n2, const UnicodeString &text) : norm2(n2), sink(&dest) { in NormalizeUTF8()
275 const Normalizer2 &norm2;
310 const Normalizer2 *nfc = Normalizer2::getNFCInstance(errorCode); in main()
311 const Normalizer2 *nfkc_cf = Normalizer2::getNFKCCasefoldInstance(errorCode); in main()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java29 import com.ibm.icu.text.Normalizer2;
2078 Normalizer2 nfcNorm2 = Normalizer2.getNFCInstance(); in TestCompare()
2390 Normalizer2 norm2=Normalizer2.getNFCInstance(); in initSkippables()
2598 Normalizer2 n2=Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE_CONTIGUOUS); in TestGetDecomposition()
2609 Normalizer2 n2=Normalizer2.getNFKCInstance(); in TestGetRawDecomposition()
2649 Normalizer2 customNorm2; in TestCustomComp()
2651 Normalizer2.getInstance( in TestCustomComp()
2654 Normalizer2.Mode.COMPOSE); in TestCustomComp()
2685 Normalizer2 customNorm2; in TestCustomFCC()
2687 Normalizer2.getInstance( in TestCustomFCC()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java30 import android.icu.text.Normalizer2;
2081 Normalizer2 nfcNorm2 = Normalizer2.getNFCInstance(); in TestCompare()
2393 Normalizer2 norm2=Normalizer2.getNFCInstance(); in initSkippables()
2601 Normalizer2 n2=Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE_CONTIGUOUS); in TestGetDecomposition()
2612 Normalizer2 n2=Normalizer2.getNFKCInstance(); in TestGetRawDecomposition()
2652 Normalizer2 customNorm2; in TestCustomComp()
2654 Normalizer2.getInstance( in TestCustomComp()
2657 Normalizer2.Mode.COMPOSE); in TestCustomComp()
2688 Normalizer2 customNorm2; in TestCustomFCC()
2690 Normalizer2.getInstance( in TestCustomFCC()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DExemplarInfo.java22 import com.ibm.icu.text.Normalizer2;
23 import com.ibm.icu.text.Normalizer2.Mode;
36 public static final Normalizer2 nfkd = Normalizer2.getInstance(null, "nfkc", Mode.DECOMPOSE);
38 public static final Normalizer2 nfd = Normalizer2.getInstance(null, "nfc", Mode.DECOMPOSE);
40 public static final Normalizer2 nfc = Normalizer2.getInstance(null, "nfc", Mode.COMPOSE);
42 private static final Normalizer2 nfkdMinus = new FilteredNormalizer2(nfkd, new UnicodeSet("[" +
DMisc.java39 import com.ibm.icu.text.Normalizer2;
285 static final Normalizer2 nfc = Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE);
286 static final Normalizer2 nfd = Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.DECOMPOSE);
447 …private static void time(Normalizer2 nfx, String test, int iterations, String name, long[] times) {
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleXMLSource.java14 import com.ibm.icu.text.Normalizer2;
148 static final Normalizer2 NFKCCF = Normalizer2.getNFKCCasefoldInstance();
149 static final Normalizer2 NFKC = Normalizer2.getNFKCInstance();
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp1155 const Normalizer2 *nfcNorm2=Normalizer2::getNFCInstance(errorCode); in TestCompare()
1377 const Normalizer2 *norm2=Normalizer2::getNFCInstance(errorCode); in initExpectedSkippables()
1473 const Normalizer2 *customNorm2= in TestCustomComp()
1474 Normalizer2::getInstance(loadTestData(errorCode), "testnorm", in TestCustomComp()
1510 const Normalizer2 *customNorm2= in TestCustomFCC()
1511 Normalizer2::getInstance(loadTestData(errorCode), "testnorm", in TestCustomFCC()
1531 const Normalizer2 *nfcNorm2=Normalizer2::getNFCInstance(errorCode); in TestFilteredNormalizer2Coverage()
1572 const Normalizer2 *nfkc_cf=Normalizer2::getNFKCCasefoldInstance(errorCode); in TestNormalizeUTF8WithEdits()
1675 const Normalizer2 *n2 = Normalizer2::getInstance( in TestLowMappingToEmpty_D()
1697 const Normalizer2 *n2 = Normalizer2::getInstance( in TestLowMappingToEmpty_FCD()
[all …]
Dnormconf.h25 const Normalizer2 *nfc, *nfd, *nfkc, *nfkd;
69 const Normalizer2 *norm2,
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateDecompCollationRules.java23 import com.ibm.icu.text.Normalizer2;
75 final Normalizer2 nfkd = Normalizer2.getNFKDInstance(); in main()
76 final Normalizer2 nfc = Normalizer2.getNFCInstance(); in main()
/external/icu/icu4c/source/i18n/
Dnortrans.cpp65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); in _create()
77 const Normalizer2 &norm2) : in NormalizationTransliterator()
Dnortrans.h29 const Normalizer2 &fNorm2;
89 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);

12345