Home
last modified time | relevance | path

Searched refs:NFKC (Results 1 - 18 of 18) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DConformanceTest.java150 * c4 == NFKC(c1) == NFKC(c2) == NFKC(c3) == NFKC(c4) == NFKC(c5)
168 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()
171 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
186 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,option in checkConformance()
[all...]
H A 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()
442 errln("ERROR in NFKC quick check at U+"+ in TestQuickCheckResultNO()
448 Normalizer.NFKC) ! in TestQuickCheckResultNO()
[all...]
H A DNormalizationMonkeyTest.java82 //NFKC in TestNormalize()
84 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
88 errln("NFKC: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm); in TestNormalize()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DConformanceTest.java147 * c4 == NFKC(c1) == NFKC(c2) == NFKC(c3) == NFKC(c4) == NFKC(c5)
165 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()
168 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD); in checkConformance()
183 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,option in checkConformance()
[all...]
H A 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()
439 errln("ERROR in NFKC quick check at U+"+ in TestQuickCheckResultNO()
445 Normalizer.NFKC) ! in TestQuickCheckResultNO()
[all...]
H A DNormalizationMonkeyTest.java79 //NFKC in TestNormalize()
81 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
85 errln("NFKC: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm); in TestNormalize()
/third_party/python/Lib/test/
H A Dtest_unicodedata.py362 def NFKC(str): function
363 return unicodedata.normalize("NFKC", str)
387 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \
388 NFKC(c3) == NFKC(c4) == NFKC(c5),
400 self.assertTrue(unicodedata.is_normalized("NFKC", c4))
412 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
417 self.assertEqual(unicodedata.normalize('NFKC', ''), '')
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
H A DCjkBreakEngine.java126 boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
127 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
141 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); in divideUpDictionaryRange()
144 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A 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()
H A DStringPrep.java433 Normalizer.NFKC, in normalize()
484 * Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC),
566 * Prepare the input String for use in applications with the given profile. This operation maps, normalizes(NFKC),
H A DNormalizer.java345 public static final Mode NFKC =new NFKCMode(); field in Normalizer
407 * @deprecated ICU 2.8. Use Normalizer.NFKC
408 * @see #NFKC
412 public static final Mode COMPOSE_COMPAT = NFKC;
672 return (compat ? NFKC : NFC).getNormalizer2(options); in getComposeNormalizer2()
683 * NFKC rules and if false will be composed according to
699 * NFKC rules and if false will be composed according to
717 * NFKC rules and if false will be composed according to
742 * NFKC rules and if false will be composed according to
873 * Normalizer.NFD, Normalizer.NFC, Normalizer.NFKC,
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DStringPrep.java450 Normalizer.NFKC, in normalize()
501 * Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC),
584 * Prepare the input String for use in applications with the given profile. This operation maps, normalizes(NFKC),
H A DNormalizer.java334 public static final Mode NFKC =new NFKCMode(); field in Normalizer
393 * @deprecated ICU 2.8. Use Normalizer.NFKC
394 * @see #NFKC
397 public static final Mode COMPOSE_COMPAT = NFKC;
658 return (compat ? NFKC : NFC).getNormalizer2(options); in getComposeNormalizer2()
669 * NFKC rules and if false will be composed according to
684 * NFKC rules and if false will be composed according to
701 * NFKC rules and if false will be composed according to
725 * NFKC rules and if false will be composed according to
850 * Normalizer.NFD, Normalizer.NFC, Normalizer.NFKC,
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DUnicodeSetClosure.java101 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC};
103 "NoNF", "NFD", "NFC", "NFKD", "NFKC"};
175 print("NFKC", test); in test()
/third_party/icu/icu4c/source/test/intltest/
H A Dtranstst.cpp1482 Transliterator* NFKC = Transliterator::createInstance("NFKC", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator() local
1483 if (!NFKD || !NFKC) { in TestNormalizationTransliterator()
1486 delete NFKC; in TestNormalizationTransliterator()
1494 expect(*NFKC, in, expkc); in TestNormalizationTransliterator()
1497 delete NFKC; in TestNormalizationTransliterator()
1521 u"\u0124\u00E9 find x", // NFKC in TestBasicTransliteratorEvenWithoutData()
1538 "NFKC", in TestBasicTransliteratorEvenWithoutData()
1659 UnicodeString id("Upper(Lower);(NFKC)", ""); in TestCompoundRBT()
1678 exp = "NFKC();Lowe in TestCompoundRBT()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DTransliteratorTest.java1097 Transliterator NFKC = Transliterator.getInstance("NFKC"); in TestNormalizationTransliterator()
1103 expect(NFKC, in, expkc); in TestNormalizationTransliterator()
1173 String id = "Upper(Lower);(NFKC)"; in TestCompoundRBT()
1191 exp = "NFKC();Lower(Upper)"; in TestCompoundRBT()
2350 "Any-NFKD", null, "Any-NFKC", in TestIDForms()
2424 + "::NFKC (NFD);" in TestToRulesMark()
2434 + "::NFKC(NFD);" in TestToRulesMark()
2441 + "::NFD(NFKC);" in TestToRulesMark()
2614 {"NFKC", "
[all...]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTransliteratorTest.java1094 Transliterator NFKC = Transliterator.getInstance("NFKC"); in TestNormalizationTransliterator()
1100 expect(NFKC, in, expkc); in TestNormalizationTransliterator()
1170 String id = "Upper(Lower);(NFKC)"; in TestCompoundRBT()
1188 exp = "NFKC();Lower(Upper)"; in TestCompoundRBT()
2347 "Any-NFKD", null, "Any-NFKC", in TestIDForms()
2421 + "::NFKC (NFD);" in TestToRulesMark()
2431 + "::NFKC(NFD);" in TestToRulesMark()
2438 + "::NFD(NFKC);" in TestToRulesMark()
2611 {"NFKC", "
[all...]
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 31 milliseconds