Home
last modified time | relevance | path

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

/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.cpp1735 const Normalizer2 *nfkc = Normalizer2::getNFKCInstance(errorCode); in TestComposeJamoTBase() local
1741 UnicodeString result = nfkc->normalize(s, errorCode); in TestComposeJamoTBase()
1744 assertFalse("isNormalized(LV+11A7)", nfkc->isNormalized(s, errorCode)); in TestComposeJamoTBase()
1745 assertTrue("isNormalized(normalized)", nfkc->isNormalized(result, errorCode)); in TestComposeJamoTBase()
1751 nfkc->normalizeUTF8(0, s8, sink, nullptr, errorCode); in TestComposeJamoTBase()
1754 assertFalse("isNormalizedUTF8(LV+11A7)", nfkc->isNormalizedUTF8(s8, errorCode)); in TestComposeJamoTBase()
1755 assertTrue("isNormalizedUTF8(normalized)", nfkc->isNormalizedUTF8(result8, errorCode)); in TestComposeJamoTBase()
1761 const Normalizer2 *nfkc = Normalizer2::getNFKCInstance(errorCode); in TestComposeBoundaryAfter() local
1768 UnicodeString result = nfkc->normalize(s, errorCode); in TestComposeBoundaryAfter()
1771 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.cpp585 const Normalizer2 *nfkc=Normalizer2::getNFKCInstance(*pErrorCode); in u_getFC_NFKC_Closure() local
594 const Normalizer2Impl *nfkcImpl=Normalizer2Factory::getImpl(nfkc); in u_getFC_NFKC_Closure()
606 UnicodeString kc1=nfkc->normalize(folded1String, *pErrorCode); in u_getFC_NFKC_Closure()
609 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/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()
2864 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeJamoTBase() local
2867 String result = nfkc.normalize(s); in TestComposeJamoTBase()
2869 assertFalse("isNormalized(LV+11A7)", nfkc.isNormalized(s)); in TestComposeJamoTBase()
2870 assertTrue("isNormalized(normalized)", nfkc.isNormalized(result)); in TestComposeJamoTBase()
2875 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeBoundaryAfter() local
2879 String result = nfkc.normalize(s); in TestComposeBoundaryAfter()
2881 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()
2867 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeJamoTBase() local
2870 String result = nfkc.normalize(s); in TestComposeJamoTBase()
2872 assertFalse("isNormalized(LV+11A7)", nfkc.isNormalized(s)); in TestComposeJamoTBase()
2873 assertTrue("isNormalized(normalized)", nfkc.isNormalized(result)); in TestComposeJamoTBase()
2878 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestComposeBoundaryAfter() local
2882 String result = nfkc.normalize(s); in TestComposeBoundaryAfter()
2884 assertFalse("U+02DA boundary-after", nfkc.hasBoundaryAfter(0x2DA)); in TestComposeBoundaryAfter()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java1474 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2; in getFC_NFKC_Closure() local
1480 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
1490 String kc1=nfkc.normalize(folded); in getFC_NFKC_Closure()
1492 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.c940 const UNormalizer2 *nfkc;
974 const UNormalizer2 *nfc, *nfkc; in unicodeDataLineFn() local
1012 nfkc=((UnicodeDataContext *)context)->nfkc; in unicodeDataLineFn()
1013 if(value!=unorm2_getCombiningClass(nfkc, c)) { in unicodeDataLineFn()
1014 …CombiningClass(nfkc, U+%04lx)==%hu instead of %lu\n", c, unorm2_getCombiningClass(nfkc, c), value); in unicodeDataLineFn()
1076 length=unorm2_getRawDecomposition(nfkc, c, s, 32, pErrorCode); in unicodeDataLineFn()
1330 context.nfkc=unorm2_getNFKCInstance(&errorCode); in TestUnicodeData()
/external/icu/icu4c/source/data/unidata/
Dchanges.txt214 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt
215 bin/gennorm2 -o $ICU4C_DATA_IN/nfkc_cf.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
682 bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
683 bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1100 bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1101 bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1478 - bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1479 - bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
1743 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
1744 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt …
[all …]
/external/icu/icu4c/source/data/misc/
DkeyTypeData.txt482 nfkc{""}
/external/icu/icu4c/source/data/
Dmakedata.mak692 …L) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\nfkc.nrm" "$(ICUBLD_PKG)…
700 nfkc.nrm
1085 "$(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.java704 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestUnicodeData() local
752 if (nfkc.getCombiningClass(ch) != cc) in TestUnicodeData()
830 String mapping=nfkc.getRawDecomposition(ch); in TestUnicodeData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java701 Normalizer2 nfkc = Normalizer2.getNFKCInstance(); in TestUnicodeData() local
749 if (nfkc.getCombiningClass(ch) != cc) in TestUnicodeData()
827 String mapping=nfkc.getRawDecomposition(ch); in TestUnicodeData()
/external/icu/icu4c/source/data/lang/
Den_XA.txt958 nfkc{"[Ţö Ûñîçöðé ÑƑĶÇ one two]"}
Den.txt955 nfkc{"To Unicode NFKC"}
Dar_XB.txt955 nfkc{"؜‮To‬؜ ؜‮Unicode‬؜ ؜‮NFKC‬؜"}
/external/icu/icu4c/source/data/unidata/norm2/
Dnfkc.txt6 # file name: nfkc.txt
Dnfkc_cf.txt13 # Use this file as the third gennorm2 input file after nfc.txt and nfkc.txt.