Home | History | Annotate | Download | only in cintltst

Lines Matching refs:NFC

553 The largest normalization form is 18 for NFKC/NFKD, 4 for NFD and 3 for NFC
554 We're only using NFC/NFD in this test.
559 UChar NFC[NORM_BUFFER_TEST_LEN];
607 nfcSize = unorm_normalize(comp, len, UNORM_NFC, 0, t[noCases]->NFC, NORM_BUFFER_TEST_LEN, &status);
610 if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) != 0)
614 u_strncpy(t[noCases]->NFC, comp, len);
615 t[noCases]->NFC[len] = 0;
627 if(!ucol_equal(coll, t[u]->NFC, -1, t[u]->NFD, -1)) {
629 doTest(coll, t[u]->NFC, t[u]->NFD, UCOL_EQUAL);
642 nfcSize = unorm_normalize(comp, len, UNORM_NFC, 0, t[noCases]->NFC, NORM_BUFFER_TEST_LEN, &status);
645 doTest(coll, comp, t[noCases]->NFC, UCOL_EQUAL);
671 if(!ucol_equal(coll, t[u]->NFC, -1, t[u]->NFD, -1)) {
673 doTest(coll, t[u]->NFC, t[u]->NFD, UCOL_EQUAL);
674 log_verbose("Testing NFC\n");
675 ucol_setText(iter, t[u]->NFC, u_strlen(t[u]->NFC), &status);