/external/python/cpython2/Lib/test/ |
D | test_normalization.py | 28 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/ |
D | ConformanceTest.java | 208 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()
|
D | BasicTest.java | 132 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 …]
|
D | NormalizationMonkeyTest.java | 71 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | ConformanceTest.java | 207 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()
|
D | BasicTest.java | 131 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 …]
|
D | NormalizationMonkeyTest.java | 70 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
|
/external/icu/icu4c/source/data/translit/ |
D | Hang_Latn.txt | 9 ::NFKD;
|
D | Arab_Latn.txt | 21 :: NFKD (NFC);
|
D | fa_fa_Latn_BGN.txt | 22 :: NFKD (NFC) ;
|
D | ar_ar_Latn_BGN.txt | 25 :: NFKD (NFC) ;
|
D | Latin_ASCII.txt | 12 # 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/ |
D | genIndexFilters.java | 41 m = Normalizer.NFKD; in main()
|
D | SourceSet.java | 60 m = Normalizer.NFKD; in main()
|
D | genIndexFilters.bat | 31 # For transliterators using NFKD, or not using Lower in this way, you
|
D | UnicodeSetClosure.java | 101 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC};
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | Demo.java | 790 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/ |
D | WriteCharts.java | 210 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()
|
D | TransliteratorTest.java | 1137 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/ |
D | WriteCharts.java | 209 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()
|
D | TransliteratorTest.java | 1136 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/ |
D | unicodedata.rst | 104 *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/ |
D | Normalizer.java | 317 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/ |
D | Normalizer.java | 310 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/ |
D | transtst.cpp | 1479 … 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()
|