Home
last modified time | relevance | path

Searched refs:NFKD (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_normalization.py28 def NFKD(str): function
78 self.assertTrue(c5 == NFKD(c1) == NFKD(c2) == \
79 NFKD(c3) == NFKD(c4) == NFKD(c5),
91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DConformanceTest.java208 out = Normalizer.normalize(field[i], Normalizer.NFKD,options); in checkConformance()
211 out = iterativeNorm(field[i], Normalizer.NFKD, buf, +1,options); in checkConformance()
214 out = iterativeNorm(field[i], Normalizer.NFKD, buf, -1,options); in checkConformance()
217 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKD, buf, +1,options); in checkConformance()
220 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKD, buf, -1,options); in checkConformance()
224 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
243 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
DBasicTest.java132 norm.setMode(Normalizer.NFKD); in TestHangulCompose()
147 staticTest(Normalizer.NFKD, hangulCompat, 1); in TestHangulDecomp()
154 norm.setMode(Normalizer.NFKD); in TestHangulDecomp()
178 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); in TestCompatDecomp()
180 staticTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
181 decomposeTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
220 staticTest(Normalizer.NFKD, compat, 1); in TestExplodingBase()
240 staticTest(Normalizer.NFKD,decomp, 2); in TestTibetan()
274 String b = Normalizer.normalize(a, Normalizer.NFKD); in TestCompositionExclusion()
428 Normalizer.NFKD,0) != Normalizer.NO) in TestQuickCheckResultNO()
[all …]
DNormalizationMonkeyTest.java71 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java207 out = Normalizer.normalize(field[i], Normalizer.NFKD,options); in checkConformance()
210 out = iterativeNorm(field[i], Normalizer.NFKD, buf, +1,options); in checkConformance()
213 out = iterativeNorm(field[i], Normalizer.NFKD, buf, -1,options); in checkConformance()
216 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKD, buf, +1,options); in checkConformance()
219 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKD, buf, -1,options); in checkConformance()
223 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
242 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
DBasicTest.java131 norm.setMode(Normalizer.NFKD); in TestHangulCompose()
146 staticTest(Normalizer.NFKD, hangulCompat, 1); in TestHangulDecomp()
153 norm.setMode(Normalizer.NFKD); in TestHangulDecomp()
177 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); in TestCompatDecomp()
179 staticTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
180 decomposeTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
219 staticTest(Normalizer.NFKD, compat, 1); in TestExplodingBase()
239 staticTest(Normalizer.NFKD,decomp, 2); in TestTibetan()
273 String b = Normalizer.normalize(a, Normalizer.NFKD); in TestCompositionExclusion()
427 Normalizer.NFKD,0) != Normalizer.NO) in TestQuickCheckResultNO()
[all …]
DNormalizationMonkeyTest.java70 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
/external/icu/icu4c/source/data/translit/
DHang_Latn.txt9 ::NFKD;
DArab_Latn.txt21 :: NFKD (NFC);
Dfa_fa_Latn_BGN.txt22 :: NFKD (NFC) ;
Dar_ar_Latn_BGN.txt25 :: NFKD (NFC) ;
DLatin_ASCII.txt12 # Don't want NFKD, because that would convert things like superscripts and
14 # include an appropriate subset of the NFKD ones.
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DgenIndexFilters.java41 m = Normalizer.NFKD; in main()
DSourceSet.java60 m = Normalizer.NFKD; in main()
DgenIndexFilters.bat31 # For transliterators using NFKD, or not using Lower in this way, you
DUnicodeSetClosure.java101 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC};
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java790 String NFKDSentence = Normalizer.normalize(sentence, Normalizer.NFKD); in addSentenceToTable()
791 String NFKDLatin = Normalizer.normalize(latin, Normalizer.NFKD); in addSentenceToTable()
792 String NFKDReverse = Normalizer.normalize(reverse, Normalizer.NFKD); in addSentenceToTable()
953 if (Normalizer.isNormalized(base, Normalizer.NFKD,0)) continue; in closeUnicodeSet()
954 String decomp = Normalizer.normalize(base, Normalizer.NFKD); in closeUnicodeSet()
962 if (Normalizer.isNormalized(cp, Normalizer.NFKD,0)) continue; in closeUnicodeSet()
965 String decomp = Normalizer.normalize(cp, Normalizer.NFKD); in closeUnicodeSet()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DWriteCharts.java210 map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ss, Normalizer.NFKD)) in print()
274 … map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ts, Normalizer.NFKD)) + ts, in print()
DTransliteratorTest.java1137 Transliterator NFKD = Transliterator.getInstance("NFKD"); in TestNormalizationTransliterator() local
1143 expect(NFKD, in, expkd); in TestNormalizationTransliterator()
2712 …NFKD")) target = android.icu.text.Normalizer.normalize(source, android.icu.text.Normalizer.NFKD); in TestSpecialCases()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DWriteCharts.java209 map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ss, Normalizer.NFKD)) in print()
273 … map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ts, Normalizer.NFKD)) + ts, in print()
DTransliteratorTest.java1136 Transliterator NFKD = Transliterator.getInstance("NFKD"); in TestNormalizationTransliterator() local
1142 expect(NFKD, in, expkd); in TestNormalizationTransliterator()
2711 …NFKD")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.NFKD); in TestSpecialCases()
/external/python/cpython2/Doc/library/
Dunicodedata.rst104 *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
124 The normal form KD (NFKD) will apply the compatibility decomposition, i.e.
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java317 public static final Mode NFKD = new NFKDMode(); field in Normalizer
451 public static final Mode DECOMP_COMPAT = NFKD;
674 return (compat ? NFKD : NFD).getNormalizer2(options); in getDecomposeNormalizer2()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java310 public static final Mode NFKD = new NFKDMode(); field in Normalizer
435 public static final Mode DECOMP_COMPAT = NFKD;
661 return (compat ? NFKD : NFD).getNormalizer2(options); in getDecomposeNormalizer2()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp1479 … Transliterator* NFKD = Transliterator::createInstance("NFKD", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator() local
1481 if (!NFKD || !NFKC) { in TestNormalizationTransliterator()
1483 delete NFKD; in TestNormalizationTransliterator()
1491 expect(*NFKD, in, expkd); in TestNormalizationTransliterator()
1494 delete NFKD; in TestNormalizationTransliterator()

12