Lines Matching refs:someCollators
656 UCollator * someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone() local
671 someCollators[0] = ucol_open("en_US", &err); in TestSafeClone()
672 someCollators[1] = ucol_open("ko", &err); in TestSafeClone()
673 someCollators[2] = ucol_open("ja_JP", &err); in TestSafeClone()
674 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone()
677 ucol_close(someCollators[idx]); in TestSafeClone()
686 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, NULL)) in TestSafeClone()
692 …if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLO… in TestSafeClone()
699 if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], NULL, &err)) || U_FAILURE(err)) in TestSafeClone()
708 if (NULL != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || in TestSafeClone()
719 …if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err)) || U_FAILURE(er… in TestSafeClone()
728 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
738 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
771 ucol_setStrength(someCollators[idx], UCOL_IDENTICAL); in TestSafeClone()
774 ucol_close(ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err)); in TestSafeClone()
782 … someClonedCollators[idx] = ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err); in TestSafeClone()
787 if (!ucol_equals(someClonedCollators[idx], someCollators[idx])) { in TestSafeClone()
792 ucol_setStrength(someCollators[idx], UCOL_PRIMARY); in TestSafeClone()
793 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
795 …doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Resul… in TestSafeClone()
798 ucol_close(someCollators[idx]); in TestSafeClone()