Lines Matching refs:someCollators
655 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()
718 …if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err)) || U_FAILURE(er… in TestSafeClone()
727 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
737 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
770 ucol_setStrength(someCollators[idx], UCOL_IDENTICAL); in TestSafeClone()
773 ucol_close(ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err)); in TestSafeClone()
781 … someClonedCollators[idx] = ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err); in TestSafeClone()
786 if (!ucol_equals(someClonedCollators[idx], someCollators[idx])) { in TestSafeClone()
791 ucol_setStrength(someCollators[idx], UCOL_PRIMARY); in TestSafeClone()
792 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
794 …doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Resul… in TestSafeClone()
797 ucol_close(someCollators[idx]); in TestSafeClone()