Home
last modified time | relevance | path

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

123

/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/python/cpython3/Lib/test/
Dtest_normalization.py21 def NFKC(str): function
84 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \
85 NFKC(c3) == NFKC(c4) == NFKC(c5),
100 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java101 … boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
102 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
116 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); in divideUpDictionaryRange()
119 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()
/external/icu/android_icu4j/src/main/java/android/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.java345 public static final Mode NFKC =new NFKCMode(); field in Normalizer
412 public static final Mode COMPOSE_COMPAT = NFKC;
672 return (compat ? NFKC : NFC).getNormalizer2(options); in getComposeNormalizer2()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java165 pass &= checkNorm(Normalizer.NFKC, options, field[i], field[3], fieldNum); in checkConformance()
167 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC); in checkConformance()
183 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
200 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { in checkConformance()
204 … if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { in checkConformance()
283 if (mode == Normalizer.NFKC) { return 3; } in getModeNumber()
DBasicTest.java128 staticTest(Normalizer.NFKC, hangulCompat, 2); in TestHangulCompose()
196 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); in TestCompatCompose()
198 staticTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
199 composeTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
223 staticTest(Normalizer.NFKC, compat, 2); in TestExplodingBase()
244 staticTest(Normalizer.NFKC,compose, 2); in TestTibetan()
343 String b = Normalizer.normalize(a, Normalizer.NFKC); in TestZeroIndex()
437 Normalizer.NFKC,0) !=Normalizer.NO) in TestQuickCheckResultNO()
445 Normalizer.NFKC) !=Normalizer.NO) in TestQuickCheckResultNO()
494 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
[all …]
DNormalizationMonkeyTest.java81 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DConformanceTest.java168 pass &= checkNorm(Normalizer.NFKC, options, field[i], field[3], fieldNum); in checkConformance()
170 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC); in checkConformance()
186 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
203 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { in checkConformance()
207 … if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { in checkConformance()
286 if (mode == Normalizer.NFKC) { return 3; } in getModeNumber()
DBasicTest.java131 staticTest(Normalizer.NFKC, hangulCompat, 2); in TestHangulCompose()
199 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); in TestCompatCompose()
201 staticTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
202 composeTest(Normalizer.NFKC,compatTests, 2); in TestCompatCompose()
226 staticTest(Normalizer.NFKC, compat, 2); in TestExplodingBase()
247 staticTest(Normalizer.NFKC,compose, 2); in TestTibetan()
346 String b = Normalizer.normalize(a, Normalizer.NFKC); in TestZeroIndex()
440 Normalizer.NFKC,0) !=Normalizer.NO) in TestQuickCheckResultNO()
448 Normalizer.NFKC) !=Normalizer.NO) in TestQuickCheckResultNO()
497 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
[all …]
DNormalizationMonkeyTest.java84 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleXMLSource.java149 static final Normalizer2 NFKC = Normalizer2.getNFKCInstance(); field in SimpleXMLSource
159 return replace(NON_ALPHANUM, NFKC.normalize(valueToMatch), ""); in normalizeCaseSensitive()
DCollationMapMaker.java194 result = Normalizer.normalize(result, Normalizer.NFKC); in getSpecialFolded()
197 result = Normalizer.normalize(result, Normalizer.NFKC); in getSpecialFolded()
/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.txt10 # Data for Unicode NFKC normalization.
13 # to NFKC one-way mappings.
72 0385>00A8 0301 # NFC round-trip, NFKC one-way
76 03D3>03D2 0301 # NFC round-trip, NFKC one-way
77 03D4>03D2 0308 # NFC round-trip, NFKC one-way
198 1E9B>017F 0307 # NFC round-trip, NFKC one-way
202 1FC1>00A8 0342 # NFC round-trip, NFKC one-way
203 1FCD>1FBF 0300 # NFC round-trip, NFKC one-way
204 1FCE>1FBF 0301 # NFC round-trip, NFKC one-way
205 1FCF>1FBF 0342 # NFC round-trip, NFKC one-way
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DFilterCharacterFallbacks.java52 String toNFKC = Normalizer.normalize(srcChar, Normalizer.NFKC); in main()
/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/python/cpython3/Doc/library/
Dunicodedata.rst107 *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
129 (NFKC) first applies the compatibility decomposition, followed by the canonical
Dstringprep.rst55 case-folding used with NFKC).
/external/syzkaller/vendor/golang.org/x/text/unicode/norm/
Dforminfo.go72 form: 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/cldr/tools/java/org/unicode/cldr/draft/
DnormalizeForMatchExceptions.txt23 # ok it is ok to use the basic mapping (NFKC+caseFolding)
58 # Change almost characters and whitespace (by default) using NFKC+case

123