Lines Matching refs:collator
1202 * text with a collator). If there's no match, this is 0.
1216 // get the formatter's collator and use it to create two
1219 // exception if the collator we get back from the formatter
1223 const RuleBasedCollator* collator = formatter->getCollator();
1224 if (collator == NULL) {
1228 LocalPointer<CollationElementIterator> strIter(collator->createCollationElementIterator(str));
1229 LocalPointer<CollationElementIterator> prefixIter(collator->createCollationElementIterator(prefix));
1326 // ugly contortions. First, use the collator to compare the
1329 collator->setStrength(Collator::PRIMARY);
1333 if (collator->equals(temp, prefix)) {
1349 if (collator->equals(temp, prefix)) {
1480 * characters that the number formatter's collator says are
1496 const RuleBasedCollator* collator = formatter->getCollator();
1497 if (collator == NULL) {
1501 LocalPointer<CollationElementIterator> iter(collator->createCollationElementIterator(str));