Home | History | Annotate | Download | only in cintltst

Lines Matching refs:someCollators

661     UCollator * someCollators [CLONETEST_COLLATOR_COUNT];
681 someCollators[0] = ucol_open("en_US", &err);
682 someCollators[1] = ucol_open("ko", &err);
683 someCollators[2] = ucol_open("ja_JP", &err);
684 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err);
687 ucol_close(someCollators[index]);
696 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, 0))
702 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLOCATION_ERROR)
709 if (0 != ucol_safeClone(someCollators[0], buffer[0], 0, &err) || err != U_ILLEGAL_ARGUMENT_ERROR)
717 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || U_FAILURE(err) || bufferSize <= 0)
727 if (0 == (col = ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err)) || U_FAILURE(err))
734 if (0 == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
744 if (0 == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
777 ucol_setStrength(someCollators[index], UCOL_IDENTICAL);
780 ucol_close(ucol_safeClone(someCollators[index], buffer[index], &bufferSize, &err));
788 someClonedCollators[index] = ucol_safeClone(someCollators[index], buffer[index], &bufferSize, &err);
796 if (!ucol_equals(someClonedCollators[index], someCollators[index])) {
801 ucol_setStrength(someCollators[index], UCOL_PRIMARY);
802 ucol_setAttribute(someCollators[index], UCOL_CASE_LEVEL, UCOL_OFF, &err);
804 doAssert( (ucol_equal(someCollators[index], test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"abcda\" == \"abCda\"");
807 ucol_close(someCollators[index]);