Searched refs:someCollators (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | capitst.c | 653 UCollator * someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local 668 someCollators[0] = ucol_open("en_US", &err); in TestSafeClone() 669 someCollators[1] = ucol_open("ko", &err); in TestSafeClone() 670 someCollators[2] = ucol_open("ja_JP", &err); in TestSafeClone() 671 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone() 674 ucol_close(someCollators[idx]); in TestSafeClone() 683 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, NULL)) in TestSafeClone() 689 …if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLO… in TestSafeClone() 696 if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], NULL, &err)) || U_FAILURE(err)) in TestSafeClone() 705 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || in TestSafeClone() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 379 Collator *someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local 388 someCollators[0] = Collator::createInstance("en_US", err); in TestSafeClone() 389 someCollators[1] = Collator::createInstance("ko", err); in TestSafeClone() 390 someCollators[2] = Collator::createInstance("ja_JP", err); in TestSafeClone() 393 delete someCollators[0]; in TestSafeClone() 394 delete someCollators[1]; in TestSafeClone() 395 delete someCollators[2]; in TestSafeClone() 403 col = someCollators[index]->safeClone(); in TestSafeClone() 409 someCollators[index]->setStrength(Collator::PRIMARY); in TestSafeClone() 411 someCollators[index]->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, err); in TestSafeClone() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationAPITest.java | 654 RuleBasedCollator someCollators[] = { 663 for (int index = 0; index < someCollators.length; index ++) 667 = (RuleBasedCollator)someCollators[index].clone(); 673 someCollators[index].setStrength(Collator.PRIMARY); 675 someCollators[index].setCaseLevel(false); 679 doAssert(someCollators[index].compare(test1, test2) == 0,
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 650 RuleBasedCollator someCollators[] = { 659 for (int index = 0; index < someCollators.length; index ++) 663 = (RuleBasedCollator)someCollators[index].clone(); 669 someCollators[index].setStrength(Collator.PRIMARY); 671 someCollators[index].setCaseLevel(false); 675 doAssert(someCollators[index].compare(test1, test2) == 0,
|