Lines Matching refs:coll
91 void UCAConformanceTest::setCollNonIgnorable(Collator *coll) in setCollNonIgnorable() argument
93 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollNonIgnorable()
94 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); in setCollNonIgnorable()
95 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status); in setCollNonIgnorable()
96 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status); in setCollNonIgnorable()
97 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, status); in setCollNonIgnorable()
100 void UCAConformanceTest::setCollShifted(Collator *coll) in setCollShifted() argument
102 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollShifted()
103 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); in setCollShifted()
104 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status); in setCollShifted()
105 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_QUATERNARY, status); in setCollShifted()
106 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status); in setCollShifted()
173 void UCAConformanceTest::testConformance(const Collator *coll) in testConformance() argument
179 if(coll->getAttribute(UCOL_ALTERNATE_HANDLING, status) == UCOL_SHIFTED) { in testConformance()
182 if(coll == rbUCA) { in testConformance()
225 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0; in testConformance()
230 int32_t cmpres = coll->compare(oldB, oldBlen, buffer, buflen, status); in testConformance()
231 int32_t cmpres2 = coll->compare(buffer, buflen, oldB, oldBlen, status); in testConformance()