Lines Matching refs:someCollators
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()
716 …if (NULL == (col = ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err)) || U_FAILURE(er… in TestSafeClone()
725 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
735 …if (NULL == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_A… in TestSafeClone()
768 ucol_setStrength(someCollators[idx], UCOL_IDENTICAL); in TestSafeClone()
771 ucol_close(ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err)); in TestSafeClone()
779 … someClonedCollators[idx] = ucol_safeClone(someCollators[idx], buffer[idx], &bufferSize, &err); in TestSafeClone()
784 if (!ucol_equals(someClonedCollators[idx], someCollators[idx])) { in TestSafeClone()
789 ucol_setStrength(someCollators[idx], UCOL_PRIMARY); in TestSafeClone()
790 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
792 …doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Resul… in TestSafeClone()
795 ucol_close(someCollators[idx]); in TestSafeClone()