Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java3385 int[] equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.GOTHIC); in TestEquivalentReorderingScripts() local
3386 if (equivalentScripts.length != 1 || equivalentScripts[0] != UScript.GOTHIC) { in TestEquivalentReorderingScripts()
3389 equivalentScripts.length, UScript.GOTHIC, equivalentScripts[0])); in TestEquivalentReorderingScripts()
3392 equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.HIRAGANA); in TestEquivalentReorderingScripts()
3393 if (equivalentScripts.length != expectedScripts.length) { in TestEquivalentReorderingScripts()
3396 expectedScripts.length, equivalentScripts.length)); in TestEquivalentReorderingScripts()
3399 for (int i = 0; i < equivalentScripts.length; ++i) { in TestEquivalentReorderingScripts()
3400 int script = equivalentScripts[i]; in TestEquivalentReorderingScripts()
3407 if (!containsExpectedScript(equivalentScripts, code)) { in TestEquivalentReorderingScripts()
3412 equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.KATAKANA); in TestEquivalentReorderingScripts()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMiscTest.java3388 int[] equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.GOTHIC); in TestEquivalentReorderingScripts() local
3389 if (equivalentScripts.length != 1 || equivalentScripts[0] != UScript.GOTHIC) { in TestEquivalentReorderingScripts()
3392 equivalentScripts.length, UScript.GOTHIC, equivalentScripts[0])); in TestEquivalentReorderingScripts()
3395 equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.HIRAGANA); in TestEquivalentReorderingScripts()
3396 if (equivalentScripts.length != expectedScripts.length) { in TestEquivalentReorderingScripts()
3399 expectedScripts.length, equivalentScripts.length)); in TestEquivalentReorderingScripts()
3402 for (int i = 0; i < equivalentScripts.length; ++i) { in TestEquivalentReorderingScripts()
3403 int script = equivalentScripts[i]; in TestEquivalentReorderingScripts()
3410 if (!containsExpectedScript(equivalentScripts, code)) { in TestEquivalentReorderingScripts()
3415 equivalentScripts = RuleBasedCollator.getEquivalentReorderCodes(UScript.KATAKANA); in TestEquivalentReorderingScripts()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c4957 int32_t equivalentScripts[100]; in TestEquivalentReorderingScripts() local
4968 equivalentScripts[0] = 0; in TestEquivalentReorderingScripts()
4970 USCRIPT_GOTHIC, equivalentScripts, UPRV_LENGTHOF(equivalentScripts), &status); in TestEquivalentReorderingScripts()
4975 if (length != 1 || equivalentScripts[0] != USCRIPT_GOTHIC) { in TestEquivalentReorderingScripts()
4978 length, USCRIPT_GOTHIC, equivalentScripts[0]); in TestEquivalentReorderingScripts()
4982 USCRIPT_HIRAGANA, equivalentScripts, UPRV_LENGTHOF(equivalentScripts), &status); in TestEquivalentReorderingScripts()
4994 int32_t script = equivalentScripts[i]; in TestEquivalentReorderingScripts()
5001 if (!containsExpectedScript(equivalentScripts, length, expectedScripts[i])) { in TestEquivalentReorderingScripts()
5008 USCRIPT_KATAKANA, equivalentScripts, UPRV_LENGTHOF(equivalentScripts), &status); in TestEquivalentReorderingScripts()
5019 if (!containsExpectedScript(equivalentScripts, length, expectedScripts[i])) { in TestEquivalentReorderingScripts()
[all …]