• Home
  • Raw
  • Download

Lines Matching refs:coll

62               coll(NULL) {}  in CollationTest()
65 delete coll; in ~CollationTest()
128 Collator *coll; member in CollationTest
161 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll); in TestMinMax()
294 coll->setAttribute(UCOL_STRENGTH, UCOL_IDENTICAL, errorCode); in TestIllegalUTF8()
310 UCollationResult order = coll->compareUTF8(fffd, illegal, errorCode); in TestIllegalUTF8()
898 LocalPointer<Collator> coll(Collator::createInstance(localeWithType, errorCode)); in TestTailoredElements() local
903 Locale actual = coll->getLocale(ULOC_ACTUAL_LOCALE, errorCode); in TestTailoredElements()
911 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll.getAlias()); in TestTailoredElements()
923 LocalPointer<UnicodeSet> tailored(coll->getTailoredSet(errorCode)); in TestTailoredElements()
1146 if(coll != NULL) { in parseAndSetAttribute()
1147 coll->setMaxVariable(max, errorCode); in parseAndSetAttribute()
1187 if(coll != NULL) { in parseAndSetAttribute()
1188 coll->setAttribute(attr, value, errorCode); in parseAndSetAttribute()
1221 if(coll != NULL) { in parseAndSetReorderCodes()
1222 coll->setReorderCodes(reorderCodes.getBuffer(), reorderCodes.size(), errorCode); in parseAndSetReorderCodes()
1243 delete coll; in buildTailoring()
1244 coll = new RuleBasedCollator(rules, parseError, reason, errorCode); in buildTailoring()
1245 if(coll == NULL) { in buildTailoring()
1258 delete coll; in buildTailoring()
1259 coll = NULL; in buildTailoring()
1269 delete coll; in setRootCollator()
1270 coll = Collator::createInstance(Locale::getRoot(), errorCode); in setRootCollator()
1279 delete coll; in setLocaleCollator()
1280 coll = NULL; in setLocaleCollator()
1299 coll = Collator::createInstance(locale, errorCode); in setLocaleCollator()
1304 delete coll; in setLocaleCollator()
1305 coll = NULL; in setLocaleCollator()
1336 int32_t partLength = coll->internalNextSortKeyPart(&iter, state, part, partSize, errorCode); in getSortKeyParts()
1353 coll->getCollationKey(s, length, key, errorCode); in getCollationKey()
1372 int32_t numLevels = coll->getAttribute(UCOL_STRENGTH, errorCode); in getCollationKey()
1378 if(coll->getAttribute(UCOL_CASE_LEVEL, errorCode) == UCOL_ON) { in getCollationKey()
1454 coll->getCollationKey(s + segmentStart, i - segmentStart, key2, errorCode); in getMergedCollationKey()
1557 UCollationResult order = coll->compare(prevString, s, errorCode); in checkCompareTwo()
1568 order = coll->compare(s, prevString, errorCode); in checkCompareTwo()
1582 order = coll->compare(prevString.getBuffer(), -1, s.getBuffer(), -1, errorCode); in checkCompareTwo()
1593 order = coll->compare(s.getBuffer(), -1, prevString.getBuffer(), -1, errorCode); in checkCompareTwo()
1620 expectedUTF8Order = coll->compare(prevValid, sValid, errorCode); in checkCompareTwo()
1623 order = coll->compareUTF8(prevUTF8, sUTF8, errorCode); in checkCompareTwo()
1634 order = coll->compareUTF8(sUTF8, prevUTF8, errorCode); in checkCompareTwo()
1647 order = coll->internalCompareUTF8(prevUTF8.c_str(), -1, sUTF8.c_str(), -1, errorCode); in checkCompareTwo()
1658 order = coll->internalCompareUTF8(sUTF8.c_str(), -1, prevUTF8.c_str(), -1, errorCode); in checkCompareTwo()
1675 order = coll->compare(leftIter, rightIter, errorCode); in checkCompareTwo()
1699 UBool collHasCaseLevel = coll->getAttribute(UCOL_CASE_LEVEL, errorCode) == UCOL_ON; in checkCompareTwo()
1768 if(coll == NULL) { in checkCompareStrings()
1779 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_OFF, errorCode); in checkCompareStrings()
1784 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, errorCode); in checkCompareStrings()