Searched refs:nfkc (Results 1 - 12 of 12) sorted by relevance

/external/icu/icu4c/source/test/intltest/
H A Dtstnrapi.cpp57 UnicodeString tel, nfkc, nfkd; local
62 Normalizer::compose(tel, TRUE, 0, nfkc, errorCode);
67 nfkc!=UnicodeString("TE\\u0139TELTELTELTELTELTELTELTELTEL", "").unescape() ||
/external/icu/icu4c/source/common/
H A Duprops.cpp572 const Normalizer2 *nfkc=Normalizer2::getNFKCInstance(*pErrorCode); local
582 const Normalizer2Impl *nfkcImpl=Normalizer2Factory::getImpl(nfkc);
594 UnicodeString kc1=nfkc->normalize(folded1String, *pErrorCode);
597 UnicodeString kc2=nfkc->normalize(folded2String.foldCase(), *pErrorCode);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DNormalizer.java1475 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2;
1481 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl;
1491 String kc1=nfkc.normalize(folded);
1493 String kc2=nfkc.normalize(UCharacter.foldCase(kc1, 0));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNormalizer.java1441 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2;
1447 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl;
1457 String kc1=nfkc.normalize(folded);
1459 String kc2=nfkc.normalize(UCharacter.foldCase(kc1, 0));
/external/icu/icu4c/source/test/cintltst/
H A Dcnormtst.c1155 nfkc[]={ local
1198 _testIter(src, sizeof(src)/U_SIZEOF_UCHAR, &iter, UNORM_NFKC, TRUE, nfkc, sizeof(nfkc)/U_SIZEOF_UCHAR, nfkcIndexes, sizeof(nfkcIndexes)/4);
1209 _testIter(src, sizeof(src)/U_SIZEOF_UCHAR, &iter, UNORM_NFKC, FALSE, nfkc, sizeof(nfkc)/U_SIZEOF_UCHAR, nfkcIndexes, sizeof(nfkcIndexes)/4);
1535 log_err("unorm2_getDecomposition(nfkc, space) failed\n");
1540 log_err("unorm2_getDecomposition(nfkc, a-umlaut) failed\n");
1546 log_err("unorm2_getDecomposition(nfkc, c-cedilla-acute) failed\n");
1552 log_err("unorm2_getDecomposition(nfkc, angstrom sign) failed\n");
1557 log_err("unorm2_getDecomposition(nfkc, Hangu
[all...]
H A Dcucdtst.c939 const UNormalizer2 *nfkc;
973 const UNormalizer2 *nfc, *nfkc; local
1011 nfkc=((UnicodeDataContext *)context)->nfkc;
1012 if(value!=unorm2_getCombiningClass(nfkc, c)) {
1013 log_err("error: unorm2_getCombiningClass(nfkc, U+%04lx)==%hu instead of %lu\n", c, unorm2_getCombiningClass(nfkc, c), value);
1074 /* Expect Decomposition_Mapping=nfkc.getRawDecomposition(c). */
1075 length=unorm2_getRawDecomposition(nfkc, c, s, 32, pErrorCode);
1077 log_err("error: unorm2_getRawDecomposition(nfkc,
[all...]
/external/icu/icu4c/source/data/
H A Dmakedata.mak627 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) $(CNV_FILES) $(CNV_FILES_SPECIAL) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\nfkc.nrm" "$(ICUBLD_PKG)\nfkc_cf.nrm" "$(ICUBLD_PKG)\uts46.nrm" "$(ICUBLD_PKG)\$(ICUCOL)\ucadata.icu" $(CURR_RES_FILES) $(LANG_RES_FILES) $(REGION_RES_FILES) $(ZONE_RES_FILES) $(UNIT_RES_FILES) $(BRK_FILES) $(BRK_DICT_FILES) $(BRK_RES_FILES) $(ALL_RES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(TRANSLIT_RES_FILES) $(SPREP_FILES) "$(ICUBLD_PKG)\confusables.cfu"
635 nfkc.nrm
1019 "$(ICUBLD_PKG)\nfkc.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc.nrm
H A DMakefile.in249 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/normalizer/
H A DBasicTest.java1443 String nfkc, nfkd;
1447 nfkc=Normalizer.compose(tel.toString(), true);
1450 !nfkc.equals(Utility.unescape("TE\u0139TELTELTELTELTELTELTELTELTEL"))||
2545 assertEquals("nfkc.getRawDecomposition(space) failed", null, decomp);
2547 assertEquals("nfkc.getRawDecomposition(a-umlaut) failed", "a\u0308", decomp);
2550 assertEquals("nfkc.getRawDecomposition(c-cedilla-acute) failed", "\u00c7\u0301", decomp);
2553 assertEquals("nfkc.getRawDecomposition(angstrom sign) failed", "\u00c5", decomp);
2555 assertEquals("nfkc.getRawDecomposition(Hangul syllable U+AC00) failed", "\u1100\u1161", decomp);
2558 assertEquals("nfkc.getRawDecomposition(Hangul syllable U+AC01) failed", "\uac00\u11a8", decomp);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DBasicTest.java1439 String nfkc, nfkd;
1443 nfkc=Normalizer.compose(tel.toString(), true);
1446 !nfkc.equals(Utility.unescape("TE\u0139TELTELTELTELTELTELTELTELTEL"))||
2541 assertEquals("nfkc.getRawDecomposition(space) failed", null, decomp);
2543 assertEquals("nfkc.getRawDecomposition(a-umlaut) failed", "a\u0308", decomp);
2546 assertEquals("nfkc.getRawDecomposition(c-cedilla-acute) failed", "\u00c7\u0301", decomp);
2549 assertEquals("nfkc.getRawDecomposition(angstrom sign) failed", "\u00c5", decomp);
2551 assertEquals("nfkc.getRawDecomposition(Hangul syllable U+AC00) failed", "\u1100\u1161", decomp);
2554 assertEquals("nfkc.getRawDecomposition(Hangul syllable U+AC01) failed", "\uac00\u11a8", decomp);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
H A DUCharacterTest.java697 Normalizer2 nfkc = Normalizer2.getNFKCInstance();
745 if (nfkc.getCombiningClass(ch) != cc)
822 /* Expect Decomposition_Mapping=nfkc.getRawDecomposition(c). */
823 String mapping=nfkc.getRawDecomposition(ch);
825 String.format("error: nfkc.getRawDecomposition(U+%04x) is wrong", ch),
849 * so we can't just test nfkc.composePair(a, b) here without further data.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUCharacterTest.java693 Normalizer2 nfkc = Normalizer2.getNFKCInstance();
741 if (nfkc.getCombiningClass(ch) != cc)
818 /* Expect Decomposition_Mapping=nfkc.getRawDecomposition(c). */
819 String mapping=nfkc.getRawDecomposition(ch);
821 String.format("error: nfkc.getRawDecomposition(U+%04x) is wrong", ch),
845 * so we can't just test nfkc.composePair(a, b) here without further data.

Completed in 458 milliseconds