Lines Matching full:collator
29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status);
33 errcheckln(status, "Collator creation failed with %s", u_errorName(status));
149 Collator *c4 = Collator::createInstance(Locale("th", "TH", ""), status);
151 errln("Couldn't create a collator");
159 Collator *c5 = Collator::createInstance(Locale("ja", "JP", ""), status);
163 errln("Couldn't create Japanese collator\n");
407 (RuleBasedCollator *)Collator::createInstance(status);
411 errln("Couldn't create a default collator.");
487 (RuleBasedCollator *)Collator::createInstance(status);
490 errln("Couldn't create a default collator.");
544 (RuleBasedCollator *)Collator::createInstance(status);
547 errln("Couldn't create a default collator.");
551 coll->setStrength(Collator::PRIMARY);
556 errln("Couldn't create a collation element iterator from default collator");
561 errln("Strength order for a primary strength collator should be the first 2 bytes");
565 coll->setStrength(Collator::SECONDARY);
567 errln("Strength order for a secondary strength collator should be the third byte");
571 coll->setStrength(Collator::TERTIARY);
573 errln("Strength order for a tertiary strength collator should be the third byte");