Home
last modified time | relevance | path

Searched refs:nfkc (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp59 UnicodeString tel, nfkc, nfkd; in TestNormalizerAPI() local
64 Normalizer::compose(tel, TRUE, 0, nfkc, errorCode); in TestNormalizerAPI()
69 nfkc!=UnicodeString("TE\\u0139TELTELTELTELTELTELTELTELTEL", "").unescape() || in TestNormalizerAPI()
Dtstnorm.cpp1768 const Normalizer2 *nfkc = Normalizer2::getNFKCInstance(errorCode); in TestComposeJamoTBase() local
1774 UnicodeString result = nfkc->normalize(s, errorCode); in TestComposeJamoTBase()
1777 assertFalse("isNormalized(LV+11A7)", nfkc->isNormalized(s, errorCode)); in TestComposeJamoTBase()
1778 assertTrue("isNormalized(normalized)", nfkc->isNormalized(result, errorCode)); in TestComposeJamoTBase()
1784 nfkc->normalizeUTF8(0, s8, sink, nullptr, errorCode); in TestComposeJamoTBase()
1787 assertFalse("isNormalizedUTF8(LV+11A7)", nfkc->isNormalizedUTF8(s8, errorCode)); in TestComposeJamoTBase()
1788 assertTrue("isNormalizedUTF8(normalized)", nfkc->isNormalizedUTF8(result8, errorCode)); in TestComposeJamoTBase()
1794 const Normalizer2 *nfkc = Normalizer2::getNFKCInstance(errorCode); in TestComposeBoundaryAfter() local
1801 UnicodeString result = nfkc->normalize(s, errorCode); in TestComposeBoundaryAfter()
1804 assertFalse("U+02DA boundary-after", nfkc->hasBoundaryAfter(0x2DA)); in TestComposeBoundaryAfter()
[all …]
Dnormconf.cpp44 nfkc = Normalizer2::getNFKCInstance(errorCode); in NormalizerConformanceTest()
321 pass &= checkNorm(UNORM_NFKC, options, nfkc, field[i], field[3], fieldNum); in checkConformance()
372 if(options==0 && !isNormalizedUTF8(*nfkc, field[3], status)) { in checkConformance()
381 if(options==0 && isNormalizedUTF8(*nfkc, field[0], status)) { in checkConformance()
Dnormconf.h25 const Normalizer2 *nfc, *nfd, *nfkc, *nfkd; variable
/external/icu/icu4c/source/common/
Duprops.cpp632 const Normalizer2 *nfkc=Normalizer2::getNFKCInstance(*pErrorCode); in u_getFC_NFKC_Closure() local
641 const Normalizer2Impl *nfkcImpl=Normalizer2Factory::getImpl(nfkc); in u_getFC_NFKC_Closure()
653 UnicodeString kc1=nfkc->normalize(folded1String, *pErrorCode); in u_getFC_NFKC_Closure()
656 UnicodeString kc2=nfkc->normalize(folded2String.foldCase(), *pErrorCode); in u_getFC_NFKC_Closure()
/external/icu/icu4c/source/data/translit/
DHan_Spacedhan.txt12 :: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ ��-����-����-������][:ideographic:][:sc=han:]] nfkc;
/external/cldr/tools/java/org/unicode/cldr/util/
DCollationMapMaker.java406 Set nfkc = new HashSet(); in addExpansionResults() local
411 nfkc.add(Normalizer.compose(source, true)); in addExpansionResults()
458 if (contractions.contains(result) || nfkc.contains(result)) { in addExpansionResults()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java1465 String nfkc, nfkd; in TestNormalizerAPI() local
1469 nfkc=Normalizer.compose(tel.toString(), true); in TestNormalizerAPI()
1472 !nfkc.equals(Utility.unescape("TE\u0139TELTELTELTELTELTELTELTELTEL"))|| in TestNormalizerAPI()
2874 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeJamoTBase() local
2877 String result = nfkc.normalize(s); in TestComposeJamoTBase()
2879 assertFalse("isNormalized(LV+11A7)", nfkc.isNormalized(s)); in TestComposeJamoTBase()
2880 assertTrue("isNormalized(normalized)", nfkc.isNormalized(result)); in TestComposeJamoTBase()
2885 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeBoundaryAfter() local
2889 String result = nfkc.normalize(s); in TestComposeBoundaryAfter()
2891 assertFalse("U+02DA boundary-after", nfkc.hasBoundaryAfter(0x2DA)); in TestComposeBoundaryAfter()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java1468 String nfkc, nfkd; in TestNormalizerAPI() local
1472 nfkc=Normalizer.compose(tel.toString(), true); in TestNormalizerAPI()
1475 !nfkc.equals(Utility.unescape("TE\u0139TELTELTELTELTELTELTELTELTEL"))|| in TestNormalizerAPI()
2877 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeJamoTBase() local
2880 String result = nfkc.normalize(s); in TestComposeJamoTBase()
2882 assertFalse("isNormalized(LV+11A7)", nfkc.isNormalized(s)); in TestComposeJamoTBase()
2883 assertTrue("isNormalized(normalized)", nfkc.isNormalized(result)); in TestComposeJamoTBase()
2888 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeBoundaryAfter() local
2892 String result = nfkc.normalize(s); in TestComposeBoundaryAfter()
2894 assertFalse("U+02DA boundary-after", nfkc.hasBoundaryAfter(0x2DA)); in TestComposeBoundaryAfter()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java1475 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2; in getFC_NFKC_Closure() local
1481 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
1491 String kc1=nfkc.normalize(folded); in getFC_NFKC_Closure()
1493 String kc2=nfkc.normalize(UCharacter.foldCase(kc1, 0)); in getFC_NFKC_Closure()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java1449 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2; in getFC_NFKC_Closure() local
1455 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
1465 String kc1=nfkc.normalize(folded); in getFC_NFKC_Closure()
1467 String kc2=nfkc.normalize(UCharacter.foldCase(kc1, 0)); in getFC_NFKC_Closure()
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c1158 nfkc[]={ in TestNextPrevious() local
1201 …_testIter(src, UPRV_LENGTHOF(src), &iter, UNORM_NFKC, TRUE, nfkc, UPRV_LENGTHOF(nfkc), nfkcIndexes… in TestNextPrevious()
1212 …_testIter(src, UPRV_LENGTHOF(src), &iter, UNORM_NFKC, FALSE, nfkc, UPRV_LENGTHOF(nfkc), nfkcIndexe… in TestNextPrevious()
Dcucdtst.c944 const UNormalizer2 *nfkc;
978 const UNormalizer2 *nfc, *nfkc; in unicodeDataLineFn() local
1016 nfkc=((UnicodeDataContext *)context)->nfkc; in unicodeDataLineFn()
1017 if(value!=unorm2_getCombiningClass(nfkc, c)) { in unicodeDataLineFn()
1018 …CombiningClass(nfkc, U+%04lx)==%hu instead of %lu\n", c, unorm2_getCombiningClass(nfkc, c), value); in unicodeDataLineFn()
1080 length=unorm2_getRawDecomposition(nfkc, c, s, 32, pErrorCode); in unicodeDataLineFn()
1342 context.nfkc=unorm2_getNFKCInstance(&errorCode); in TestUnicodeData()
/external/syzkaller/vendor/golang.org/x/text/unicode/norm/
Dmaketables.go848 nfkc := c.forms[FCompatibility]
849 if nfc.combinesBackward != nfkc.combinesBackward {
/external/icu/icu4c/source/data/misc/
DkeyTypeData.txt485 nfkc{""}
/external/icu/icu4c/source/data/unidata/
Dchanges.txt326 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt
327 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc_cf.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
718 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt
719 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc_cf.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1186 bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1187 bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1604 bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1605 bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1982 - bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1983 - bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBasic.java417 String nfkc = Normalizer.normalize(fishyCodepoint, in TestCurrencyFallback() local
419 if (!nfkc.equals(UTF16.valueOf(fishyCodepoint))) { in TestCurrencyFallback()
426 fallbackList.add(nfkc); in TestCurrencyFallback()
/external/icu/icu4c/source/data/
Dmakedata.mak700 …L) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\nfkc.nrm" "$(ICUBLD_PKG)…
708 nfkc.nrm
1093 "$(ICUBLD_PKG)\nfkc.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc.nrm
DMakefile.in253 DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java706 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestUnicodeData() local
754 if (nfkc.getCombiningClass(ch) != cc) in TestUnicodeData()
832 String mapping=nfkc.getRawDecomposition(ch); in TestUnicodeData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java703 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestUnicodeData() local
751 if (nfkc.getCombiningClass(ch) != cc) in TestUnicodeData()
829 String mapping=nfkc.getRawDecomposition(ch); in TestUnicodeData()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowLanguages.java2153 String nfkc = Normalizer.normalize(value, Normalizer.NFKC); in printCharacters() local
2168 } else if (substitute.equals(nfkc)) { in printCharacters()
/external/icu/icu4c/source/data/lang/
Den_XA.txt967 nfkc{"[Ţö Ûñîçöðé ÑƑĶÇ one two]"}
Den.txt964 nfkc{"To Unicode NFKC"}
Dar_XB.txt964 nfkc{"؜‮To‬؜ ؜‮Unicode‬؜ ؜‮NFKC‬؜"}

12