• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/test/intltest/

Lines Matching refs:collator

30                   dataerrln(__FILE__ " cannot test - failed to create collator.");  \
180 RuleBasedCollator * StringSearchTest::getCollator(const char *collator)
182 if (collator == NULL) {
185 if (strcmp(collator, "fr") == 0) {
188 else if (strcmp(collator, "de") == 0) {
191 else if (strcmp(collator, "es") == 0) {
464 Collator *collator = getCollator(search->collator);
486 collator->setStrength(getECollationStrength(search->strength));
487 strsrch = new StringSearch(pattern, text, (RuleBasedCollator *)collator,
495 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
506 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
513 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
521 Collator *collator = getCollator(search->collator);
545 collator->setStrength(getECollationStrength(search->strength));
546 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
547 strsrch = new StringSearch(pattern, text, (RuleBasedCollator *)collator,
562 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
563 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_OFF, status);
574 Collator *collator = getCollator(search->collator);
598 collator->setStrength(getECollationStrength(search->strength));
599 strsrch = new StringSearch(pattern, text, (RuleBasedCollator *)collator,
610 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
614 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
908 RuleBasedCollator *collator = getCollator(search->collator);
919 collator->setStrength(getECollationStrength(search->strength));
921 strsrch = new StringSearch(pattern, text, collator, breaker, status);
930 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
1011 RuleBasedCollator *collator = getCollator(search->collator);
1014 collator, NULL,
1046 // test collator that thinks "o" and "p" are the same thing
1075 errln("Error opening rule based collator %s", u_errorName(status));
1083 errln("Error setting rule based collator");
1097 errln("Error setting rule based collator");
1102 errln("Error searching collator test");
1601 RuleBasedCollator *collator = new RuleBasedCollator(rules,
1604 errln("Error opening collator %s", u_errorName(status));
1608 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL,
1628 delete collator;
1639 RuleBasedCollator *collator = new RuleBasedCollator(rules,
1643 errln("Error opening collator %s", u_errorName(status));
1648 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL,
1652 delete collator;
1669 delete collator;
1687 coll = getCollator(search->collator);
1763 RuleBasedCollator *collator = getCollator(search->collator);
1764 collator->setStrength(getECollationStrength(search->strength));
1767 StringSearch *strsrch = new StringSearch(pattern, text, collator,
1781 collator->setStrength(getECollationStrength(UCOL_TERTIARY));
1869 RuleBasedCollator *collator = getCollator(search->collator);
1870 StringSearch *strsrch = new StringSearch(pattern, text, collator,
1901 /* test collator that thinks "o" and "p" are the same thing */
1930 errln("Error opening rule based collator %s", u_errorName(status));
1935 errln("Error setting rule based collator");
1951 errln("Error setting rule based collator");
2108 Collator *collator = strsrch->getCollator();
2110 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
2182 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_OFF, status);
2206 RuleBasedCollator *collator = new RuleBasedCollator(rules,
2209 errln("Error opening collator %s", u_errorName(status));
2213 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL,
2235 delete collator;