Lines Matching refs:coll
353 RuleBasedCollator *coll = new RuleBasedCollator(rule, status); in TestMaxExpansion() local
357 CollationElementIterator *iter = coll->createCollationElementIterator(str); in TestMaxExpansion()
384 delete coll; in TestMaxExpansion()
461 RuleBasedCollator *coll = in TestAssignment() local
464 if (coll == NULL || U_FAILURE(status)) in TestAssignment()
472 coll->createCollationElementIterator(source); in TestAssignment()
487 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestAssignment()
489 = coll->createCollationElementIterator(source); in TestAssignment()
532 delete coll; in TestAssignment()
541 RuleBasedCollator *coll = in TestConstructors() local
543 if (coll == NULL || U_FAILURE(status)) in TestConstructors()
552 coll->createCollationElementIterator(chariter); in TestConstructors()
558 coll->createCollationElementIterator(test1); in TestConstructors()
572 iter1 = coll->createCollationElementIterator(empty); in TestConstructors()
574 iter2 = coll->createCollationElementIterator(chariter); in TestConstructors()
587 delete coll; in TestConstructors()
598 RuleBasedCollator *coll = in TestStrengthOrder() local
600 if (coll == NULL || U_FAILURE(status)) in TestStrengthOrder()
606 coll->setStrength(Collator::PRIMARY); in TestStrengthOrder()
608 coll->createCollationElementIterator(test1); in TestStrengthOrder()
620 coll->setStrength(Collator::SECONDARY); in TestStrengthOrder()
626 coll->setStrength(Collator::TERTIARY); in TestStrengthOrder()
632 delete coll; in TestStrengthOrder()