Searched refs:someCollators (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/icu4c/source/test/cintltst/ |
D | capitst.c | 659 UCollator * someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local 674 someCollators[0] = ucol_open("en_US", &err); in TestSafeClone() 675 someCollators[1] = ucol_open("ko", &err); in TestSafeClone() 676 someCollators[2] = ucol_open("ja_JP", &err); in TestSafeClone() 677 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone() 680 ucol_close(someCollators[idx]); in TestSafeClone() 689 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, NULL)) in TestSafeClone() 695 …if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLO… in TestSafeClone() 702 if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], NULL, &err)) || U_FAILURE(err)) in TestSafeClone() 711 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || in TestSafeClone() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 398 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 …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationAPITest.java | 674 RuleBasedCollator someCollators[] = { 683 for (int index = 0; index < someCollators.length; index ++) 687 = (RuleBasedCollator)someCollators[index].clone(); 693 someCollators[index].setStrength(Collator.PRIMARY); 695 someCollators[index].setCaseLevel(false); 699 doAssert(someCollators[index].compare(test1, test2) == 0,
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 671 RuleBasedCollator someCollators[] = { 680 for (int index = 0; index < someCollators.length; index ++) 684 = (RuleBasedCollator)someCollators[index].clone(); 690 someCollators[index].setStrength(Collator.PRIMARY); 692 someCollators[index].setCaseLevel(false); 696 doAssert(someCollators[index].compare(test1, test2) == 0,
|