Lines Matching refs:Locale
86 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status);
98 Collator::createInstance(Locale::getGerman(), status));
113 index = new AlphabeticIndex(Locale::getEnglish(), status);
127 // addLabels(Locale)
130 index = new AlphabeticIndex(Locale::getEnglish(), status);
132 AlphabeticIndex &aip = index->addLabels(Locale::getJapanese(), status);
143 index = new AlphabeticIndex(Locale::getGerman(), status);
145 Collator *germanCol = Collator::createInstance(Locale::getGerman(), status);
184 index = new AlphabeticIndex(Locale::getEnglish(), status);
212 index = new AlphabeticIndex(Locale::getEnglish(), status);
260 index = new AlphabeticIndex(Locale::getEnglish(), status);
272 // Labels A - Z for English locale
289 index = new AlphabeticIndex(Locale::getEnglish(), status);
310 index = new AlphabeticIndex(Locale::createFromName("ru"), status);
357 Locale loc = Locale::createFromName(localeName);
379 assertEquals("bucket label vs. immutable: locale=" + UnicodeString(localeName) +
429 AlphabeticIndex aindex(Locale::createFromName("zh"), status);
479 Locale loc("root");
531 const char *locale = localeAndIndexCharacters[0];
534 AlphabeticIndex index(locale, status);
541 assertEquals(locale,
544 logln(locale + UnicodeString(": ") + actualIndexCharacters);
551 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getRoot(), status)));
563 index.addLabels(Locale::getEnglish(), status);
581 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getChinese(), status)));
591 index.addLabels(Locale::getChinese(), status);
608 AlphabeticIndex index(Locale::getGerman(), status);
652 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getRoot(), status)));
682 AlphabeticIndex index(Locale::getJapanese(), status);