Home | History | Annotate | Download | only in i18n

Lines Matching defs:collator

1120 * text with a collator).  If there's no match, this is 0.
1134 // get the formatter's collator and use it to create two
1137 // exception if the collator we get back from the formatter
1141 RuleBasedCollator* collator = (RuleBasedCollator*)formatter->getCollator();
1142 CollationElementIterator* strIter = collator->createCollationElementIterator(str);
1143 CollationElementIterator* prefixIter = collator->createCollationElementIterator(prefix);
1145 if (collator == NULL || strIter == NULL || prefixIter == NULL) {
1146 delete collator;
1250 // ugly contortions. First, use the collator to compare the
1253 collator->setStrength(Collator::PRIMARY);
1257 if (collator->equals(temp, prefix)) {
1273 if (collator->equals(temp, prefix)) {
1371 //RuleBasedCollator collator = (RuleBasedCollator)formatter.getCollator();
1373 //CollationElementIterator strIter = collator.getCollationElementIterator(str);
1374 //CollationElementIterator keyIter = collator.getCollationElementIterator(key);
1427 * characters that the number formatter's collator says are
1443 RuleBasedCollator* collator = (RuleBasedCollator*)(formatter->getCollator());
1444 CollationElementIterator* iter = collator->createCollationElementIterator(str);
1447 if (collator == NULL || iter == NULL) {
1448 delete collator;