Lines Matching refs:collator
384 const std::string GetSortKey(const icu::Collator& collator,
466 const icu::Collator* collator = GetCollatorForLocale(locale); in AddLocalizedNamesForLocale() local
479 std::string sort_key = GetSortKey(*collator, in AddLocalizedNamesForLocale()
495 icu::Collator* collator = GetCollatorForLocale(locale); in GetCountryCodeForLocalizedName() local
502 std::string sort_key = GetSortKey(*collator, in GetCountryCodeForLocalizedName()
522 icu::Collator* collator(icu::Collator::createInstance(icu_locale, ignored)); in GetCollatorForLocale() local
526 collator->setAttribute(UCOL_STRENGTH, UCOL_SECONDARY, ignored); in GetCollatorForLocale()
528 collator->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, ignored); in GetCollatorForLocale()
530 collators_.insert(std::make_pair(locale, collator)); in GetCollatorForLocale()
536 const std::string CountryNames::GetSortKey(const icu::Collator& collator, in GetSortKey() argument
543 int32_t expected_size = collator.getSortKey(str, buffer->get(), *buffer_size); in GetSortKey()
550 expected_size = collator.getSortKey(str, buffer->get(), *buffer_size); in GetSortKey()