Home | History | Annotate | Download | only in cintltst

Lines Matching defs:NFD

552 The largest normalization form is 18 for NFKC/NFKD, 4 for NFD and 3 for NFC
553 We're only using NFC/NFD in this test.
559 UChar NFD[NORM_BUFFER_TEST_LEN];
607 nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status);
609 if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) != 0)
610 || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) {
612 if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) {
626 if(!ucol_equal(coll, t[u]->NFC, -1, t[u]->NFD, -1)) {
628 doTest(coll, t[u]->NFC, t[u]->NFD, UCOL_EQUAL);
642 nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status);
643 doTest(coll, comp, t[noCases]->NFD, UCOL_EQUAL);
667 iter = ucol_openElements(coll, t[u]->NFD, u_strlen(t[u]->NFD), &status);
670 if(!ucol_equal(coll, t[u]->NFC, -1, t[u]->NFD, -1)) {
672 doTest(coll, t[u]->NFC, t[u]->NFD, UCOL_EQUAL);
676 log_verbose("Testing NFD\n");
677 ucol_setText(iter, t[u]->NFD, u_strlen(t[u]->NFD), &status);