Home
last modified time | relevance | path

Searched refs:NFKC (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_normalization.py22 def NFKC(str): function
75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \
76 NFKC(c3) == NFKC(c4) == NFKC(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.java192 out = Normalizer.normalize(field[i], Normalizer.NFKC,options); in checkConformance()
195 out = iterativeNorm(field[i], Normalizer.NFKC, buf, +1,options); in checkConformance()
198 out = iterativeNorm(field[i], Normalizer.NFKC, buf, -1,options); in checkConformance()
201 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, +1,options); in checkConformance()
204 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, -1,options); in checkConformance()
223 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC); in checkConformance()
239 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
256 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { in checkConformance()
260 … if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { in checkConformance()
DBasicTest.java126 staticTest(Normalizer.NFKC, hangulCompat, 2); in TestHangulCompose()
194 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); in TestCompatCompose()
196 staticTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
197 composeTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
221 staticTest(Normalizer.NFKC, compat, 2); in TestExplodingBase()
242 staticTest(Normalizer.NFKC,compose, 2); in TestTibetan()
341 String b = Normalizer.normalize(a, Normalizer.NFKC); in TestZeroIndex()
435 Normalizer.NFKC,0) !=Normalizer.NO) in TestQuickCheckResultNO()
443 Normalizer.NFKC) !=Normalizer.NO) in TestQuickCheckResultNO()
492 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
[all …]
DNormalizationMonkeyTest.java79 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java191 out = Normalizer.normalize(field[i], Normalizer.NFKC,options); in checkConformance()
194 out = iterativeNorm(field[i], Normalizer.NFKC, buf, +1,options); in checkConformance()
197 out = iterativeNorm(field[i], Normalizer.NFKC, buf, -1,options); in checkConformance()
200 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, +1,options); in checkConformance()
203 … out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, -1,options); in checkConformance()
222 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC); in checkConformance()
238 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
255 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { in checkConformance()
259 … if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { in checkConformance()
DBasicTest.java125 staticTest(Normalizer.NFKC, hangulCompat, 2); in TestHangulCompose()
193 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); in TestCompatCompose()
195 staticTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
196 composeTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
220 staticTest(Normalizer.NFKC, compat, 2); in TestExplodingBase()
241 staticTest(Normalizer.NFKC,compose, 2); in TestTibetan()
340 String b = Normalizer.normalize(a, Normalizer.NFKC); in TestZeroIndex()
434 Normalizer.NFKC,0) !=Normalizer.NO) in TestQuickCheckResultNO()
442 Normalizer.NFKC) !=Normalizer.NO) in TestQuickCheckResultNO()
491 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
[all …]
DNormalizationMonkeyTest.java78 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCjkBreakEngine.java103 … boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
104 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
118 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); in divideUpDictionaryRange()
121 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
DNormalizer.java344 public static final Mode NFKC =new NFKCMode(); field in Normalizer
411 public static final Mode COMPOSE_COMPAT = NFKC;
671 return (compat ? NFKC : NFC).getNormalizer2(options); in getComposeNormalizer2()
DStringPrep.java433 Normalizer.NFKC, in normalize()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java102 … boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
103 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
117 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); in divideUpDictionaryRange()
120 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
DNormalizer.java334 public static final Mode NFKC =new NFKCMode(); field in Normalizer
397 public static final Mode COMPOSE_COMPAT = NFKC;
658 return (compat ? NFKC : NFC).getNormalizer2(options); in getComposeNormalizer2()
DStringPrep.java450 Normalizer.NFKC, in normalize()
/external/icu/icu4c/source/data/translit/
DHira_Kana.txt10 :: NFKC ();
181 :: (NFKC) ;
Dsi_si_Latn.txt10 ::NFKC;
/external/icu/icu4c/source/data/unidata/norm2/
Dnfkc.txt8 # Data for Unicode NFKC normalization.
11 # to NFKC one-way mappings.
70 0385>00A8 0301 # NFC round-trip, NFKC one-way
74 03D3>03D2 0301 # NFC round-trip, NFKC one-way
75 03D4>03D2 0308 # NFC round-trip, NFKC one-way
196 1E9B>017F 0307 # NFC round-trip, NFKC one-way
200 1FC1>00A8 0342 # NFC round-trip, NFKC one-way
201 1FCD>1FBF 0300 # NFC round-trip, NFKC one-way
202 1FCE>1FBF 0301 # NFC round-trip, NFKC one-way
203 1FCF>1FBF 0342 # NFC round-trip, NFKC one-way
[all …]
/external/python/cpython2/Doc/library/
Dunicodedata.rst104 *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
126 (NFKC) first applies the compatibility decomposition, followed by the canonical
Dstringprep.rst54 case-folding used with NFKC).
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetClosure.java101 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC};
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp1480 … Transliterator* NFKC = Transliterator::createInstance("NFKC", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator() local
1481 if (!NFKD || !NFKC) { in TestNormalizationTransliterator()
1484 delete NFKC; in TestNormalizationTransliterator()
1492 expect(*NFKC, in, expkc); in TestNormalizationTransliterator()
1495 delete NFKC; in TestNormalizationTransliterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java1138 Transliterator NFKC = Transliterator.getInstance("NFKC"); in TestNormalizationTransliterator() local
1144 expect(NFKC, in, expkc); in TestNormalizationTransliterator()
2713 …NFKC")) target = android.icu.text.Normalizer.normalize(source, android.icu.text.Normalizer.NFKC); in TestSpecialCases()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java1137 Transliterator NFKC = Transliterator.getInstance("NFKC"); in TestNormalizationTransliterator() local
1143 expect(NFKC, in, expkc); in TestNormalizationTransliterator()
2712 …NFKC")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.NFKC); in TestSpecialCases()
/external/icu/icu4c/source/data/lang/
Den.txt945 nfkc{"To Unicode NFKC"}
Dar_XB.txt945 nfkc{"‮To‬ ‮Unicode‬ ‮NFKC‬"}
/external/icu/icu4c/source/test/testdata/
Didna_rules.txt1500 "::[:AGE=3.2:]NFKC;"

12