Home | History | Annotate | Download | only in intltest

Lines Matching refs:coll

89 void UCAConformanceTest::setCollNonIgnorable(Collator *coll) 
91 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
92 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status);
93 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status);
94 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status);
95 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, status);
98 void UCAConformanceTest::setCollShifted(Collator *coll)
100 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
101 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status);
102 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status);
103 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_QUATERNARY, status);
104 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status);
171 void UCAConformanceTest::testConformance(const Collator *coll)
177 if(coll->getAttribute(UCOL_ALTERNATE_HANDLING, status) == UCOL_SHIFTED) {
180 if(coll == rbUCA) {
223 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0;
228 int32_t cmpres = coll->compare(oldB, oldBlen, buffer, buflen, status);
229 int32_t cmpres2 = coll->compare(buffer, buflen, oldB, oldBlen, status);
241 errln("Difference between coll->compare (%d) and sortkey compare (%d) on line %i",