Home
last modified time | relevance | path

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

123

/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/python/cpython3/Lib/test/
Dtest_normalization.py27 def NFKD(str): function
87 self.assertTrue(c5 == NFKD(c1) == NFKD(c2) == \
88 NFKD(c3) == NFKD(c4) == NFKD(c5),
100 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java134 norm.setMode(Normalizer.NFKD); in TestHangulCompose()
149 staticTest(Normalizer.NFKD, hangulCompat, 1); in TestHangulDecomp()
156 norm.setMode(Normalizer.NFKD); in TestHangulDecomp()
180 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); in TestCompatDecomp()
182 staticTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
183 decomposeTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
222 staticTest(Normalizer.NFKD, compat, 1); in TestExplodingBase()
242 staticTest(Normalizer.NFKD,decomp, 2); in TestTibetan()
276 String b = Normalizer.normalize(a, Normalizer.NFKD); in TestCompositionExclusion()
430 Normalizer.NFKD,0) != Normalizer.NO) in TestQuickCheckResultNO()
[all …]
DConformanceTest.java166 pass &= checkNorm(Normalizer.NFKD, options, field[i], field[4], fieldNum); in checkConformance()
168 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
187 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
281 if (mode == Normalizer.NFKD) { return 1; } in getModeNumber()
DNormalizationMonkeyTest.java73 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java137 norm.setMode(Normalizer.NFKD); in TestHangulCompose()
152 staticTest(Normalizer.NFKD, hangulCompat, 1); in TestHangulDecomp()
159 norm.setMode(Normalizer.NFKD); in TestHangulDecomp()
183 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); in TestCompatDecomp()
185 staticTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
186 decomposeTest(Normalizer.NFKD,compatTests, 1); in TestCompatDecomp()
225 staticTest(Normalizer.NFKD, compat, 1); in TestExplodingBase()
245 staticTest(Normalizer.NFKD,decomp, 2); in TestTibetan()
279 String b = Normalizer.normalize(a, Normalizer.NFKD); in TestCompositionExclusion()
433 Normalizer.NFKD,0) != Normalizer.NO) in TestQuickCheckResultNO()
[all …]
DConformanceTest.java169 pass &= checkNorm(Normalizer.NFKD, options, field[i], field[4], fieldNum); in checkConformance()
171 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
190 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
284 if (mode == Normalizer.NFKD) { return 1; } in getModeNumber()
DNormalizationMonkeyTest.java76 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
/external/icu/icu4c/source/data/translit/
DHang_Latn.txt9 ::NFKD;
DArab_Latn.txt21 :: NFKD (NFC);
Dar_ar_Latn_BGN.txt25 :: NFKD (NFC) ;
Dfa_fa_Latn_BGN.txt22 :: NFKD (NFC) ;
/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.java212 map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ss, Normalizer.NFKD)) in print()
276 … map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ts, Normalizer.NFKD)) + ts, in print()
/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()
/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/python/cpython3/Doc/library/
Dunicodedata.rst107 *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
127 The normal form KD (NFKD) will apply the compatibility decomposition, i.e.
/external/syzkaller/vendor/golang.org/x/text/unicode/norm/
Dforminfo.go78 form: NFKD,
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java318 public static final Mode NFKD = new NFKDMode(); field in Normalizer
452 public static final Mode DECOMP_COMPAT = NFKD;
675 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.cpp1480 … Transliterator* NFKD = Transliterator::createInstance("NFKD", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator() local
1482 if (!NFKD || !NFKC) { in TestNormalizationTransliterator()
1484 delete NFKD; in TestNormalizationTransliterator()
1492 expect(*NFKD, in, expkd); in TestNormalizationTransliterator()
1495 delete NFKD; in TestNormalizationTransliterator()

123