Home
last modified time | relevance | path

Searched refs:noCases (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java86 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/
DCollationMiscTest.java89 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/
Dcmsccoll.c577 uint32_t noCases = 0; in TestComposeDecompose() local
608 …nfcSize = unorm_normalize(comp, len, UNORM_NFC, 0, t[noCases]->NFC, NORM_BUFFER_TEST_LEN, &status); in TestComposeDecompose()
609 …nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status); in TestComposeDecompose()
611 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose()
612 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose()
613 t[noCases]->u = ch; in TestComposeDecompose()
614 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose()
615 u_strncpy(t[noCases]->NFC, comp, len); in TestComposeDecompose()
616 t[noCases]->NFC[len] = 0; in TestComposeDecompose()
618 noCases++; in TestComposeDecompose()
[all …]