Lines Matching refs:collator
213 // Get the collator normalization flag. Default is UCOL_OFF.
288 // Open a collator and StringSearch based on the parameters
292 LocalUCollatorPointer collator(ucol_open(clocale, &status));
293 ucol_setStrength(collator.getAlias(), collatorStrength);
294 ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status);
295 ucol_setAttribute(collator.getAlias(), UCOL_ALTERNATE_HANDLING, alternateHandling, &status);
298 collator.getAlias(),
336 collator.getAlias(),
442 errln("Could not open collator for %s", testCases[t].locale);
551 // Get the collator normalization flag. Default is UCOL_OFF.
626 // Open a collator and StringSearch based on the parameters
630 UCollator *collator = ucol_open(clocale, &status);
631 ucol_setStrength(collator, collatorStrength);
632 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, normalize, &status);
633 ucol_setAttribute(collator, UCOL_ALTERNATE_HANDLING, alternateHandling, &status);
634 UCD *ucd = ucd_open(collator, &status);
641 ucol_close(collator);
665 ucol_close(collator);
972 RuleBasedCollator *col = (RuleBasedCollator *) Collator::createInstance(Locale::getEnglish(), status);
974 errcheckln(status, "Failed to create collator in offsetTest! - %s", u_errorName(status));
1243 errcheckln(status, "Could not open collator. - %s", u_errorName(status));
1391 errcheckln(status, "Could not open collator. - %s", u_errorName(status));
1461 errcheckln(status, "Couldn't open collator. - %s", u_errorName(status));
1604 LocalUCollatorPointer collator(ucol_open("en", &status));
1605 CollData *data = CollData::open(collator.getAlias(), status);
1606 if (U_FAILURE(status) || collator.isNull() || data == NULL) {
1610 //ucol_setStrength(collator.getAlias(), collatorStrength);
1611 //ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status);
1616 collator.getAlias(),
2203 errcheckln(status, "Failed to create collator in MonkeyTest! - %s", u_errorName(status));
2342 errcheckln(status, "Failed to create collator in MonkeyTest! - %s", u_errorName(status));