Searched refs:noCases (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationMiscTest.java | 86 int noCases = 0; in TestComposeDecompose() local 90 t[noCases].NFC = Normalizer.normalize(u, Normalizer.NFC); in TestComposeDecompose() 91 t[noCases].NFD = Normalizer.normalize(u, Normalizer.NFD); in TestComposeDecompose() 93 if (t[noCases].NFC.length() != t[noCases].NFD.length() in TestComposeDecompose() 94 || (t[noCases].NFC.compareTo(t[noCases].NFD) != 0) in TestComposeDecompose() 95 || (len != t[noCases].NFD.length()) in TestComposeDecompose() 96 || (comp.compareTo(t[noCases].NFD) != 0)) { in TestComposeDecompose() 97 t[noCases].u = u; in TestComposeDecompose() 98 if (len != t[noCases].NFD.length() in TestComposeDecompose() 99 || (comp.compareTo(t[noCases].NFD) != 0)) { in TestComposeDecompose() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationMiscTest.java | 89 int noCases = 0; in TestComposeDecompose() local 93 t[noCases].NFC = Normalizer.normalize(u, Normalizer.NFC); in TestComposeDecompose() 94 t[noCases].NFD = Normalizer.normalize(u, Normalizer.NFD); in TestComposeDecompose() 96 if (t[noCases].NFC.length() != t[noCases].NFD.length() in TestComposeDecompose() 97 || (t[noCases].NFC.compareTo(t[noCases].NFD) != 0) in TestComposeDecompose() 98 || (len != t[noCases].NFD.length()) in TestComposeDecompose() 99 || (comp.compareTo(t[noCases].NFD) != 0)) { in TestComposeDecompose() 100 t[noCases].u = u; in TestComposeDecompose() 101 if (len != t[noCases].NFD.length() in TestComposeDecompose() 102 || (comp.compareTo(t[noCases].NFD) != 0)) { in TestComposeDecompose() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsccoll.c | 577 uint32_t noCases = 0; in TestComposeDecompose() local 606 …nfcSize = unorm_normalize(comp, len, UNORM_NFC, 0, t[noCases]->NFC, NORM_BUFFER_TEST_LEN, &status); in TestComposeDecompose() 607 …nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status); in TestComposeDecompose() 609 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose() 610 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose() 611 t[noCases]->u = ch; in TestComposeDecompose() 612 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose() 613 u_strncpy(t[noCases]->NFC, comp, len); in TestComposeDecompose() 614 t[noCases]->NFC[len] = 0; in TestComposeDecompose() 616 noCases++; in TestComposeDecompose() [all …]
|