Home
last modified time | relevance | path

Searched refs:someCollators (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcapitst.c655 UCollator * someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local
670 someCollators[0] = ucol_open("en_US", &err); in TestSafeClone()
671 someCollators[1] = ucol_open("ko", &err); in TestSafeClone()
672 someCollators[2] = ucol_open("ja_JP", &err); in TestSafeClone()
673 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone()
676 ucol_close(someCollators[idx]); in TestSafeClone()
685 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, NULL)) in TestSafeClone()
691 …if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLO… in TestSafeClone()
698 if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], NULL, &err)) || U_FAILURE(err)) in TestSafeClone()
707 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || in TestSafeClone()
[all …]
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp398 Collator *someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local
407 someCollators[0] = Collator::createInstance("en_US", err); in TestSafeClone()
408 someCollators[1] = Collator::createInstance("ko", err); in TestSafeClone()
409 someCollators[2] = Collator::createInstance("ja_JP", err); in TestSafeClone()
412 delete someCollators[0]; in TestSafeClone()
413 delete someCollators[1]; in TestSafeClone()
414 delete someCollators[2]; in TestSafeClone()
422 col = someCollators[index]->safeClone(); in TestSafeClone()
428 someCollators[index]->setStrength(Collator::PRIMARY); in TestSafeClone()
430 someCollators[index]->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, err); in TestSafeClone()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java676 RuleBasedCollator someCollators[] = {
685 for (int index = 0; index < someCollators.length; index ++)
689 = (RuleBasedCollator)someCollators[index].clone();
695 someCollators[index].setStrength(Collator.PRIMARY);
697 someCollators[index].setCaseLevel(false);
701 doAssert(someCollators[index].compare(test1, test2) == 0,
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java673 RuleBasedCollator someCollators[] = {
682 for (int index = 0; index < someCollators.length; index ++)
686 = (RuleBasedCollator)someCollators[index].clone();
692 someCollators[index].setStrength(Collator.PRIMARY);
694 someCollators[index].setCaseLevel(false);
698 doAssert(someCollators[index].compare(test1, test2) == 0,