Lines Matching refs:Locale
35 const Locale& FR = Locale::getFrance(); in TestRegister()
36 const Locale& US = Locale::getUS(); in TestRegister()
37 const Locale US_FOO("en", "US", "FOO"); in TestRegister()
64 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister()
96 Locale fu_FU_FOO("fu", "FU", "FOO"); in TestRegister()
97 Locale fu_FU("fu", "FU", ""); in TestRegister()
157 const Locale& defaultLocale = Locale::getDefault(); in TestRegister()
159 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
160 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
166 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
167 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
188 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister()
216 Locale locale;
220 CollatorInfo(const Locale& locale, Collator* collatorToAdopt, Hashtable* displayNamesToAdopt);
222 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
225 CollatorInfo::CollatorInfo(const Locale& _locale, Collator* _collator, Hashtable* _displayNames) in CollatorInfo()
239 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const { in getDisplayName()
258 const CollatorInfo* getInfo(const Locale& loc) const { in getInfo()
286 virtual Collator* createCollator(const Locale& loc) { in createCollator()
294 virtual UnicodeString& getDisplayName(const Locale& objectLocale, in getDisplayName()
295 const Locale& displayLocale, in getDisplayName()
347 Locale fu_FU("fu", "FU", ""); in TestRegisterFactory()
348 Locale fu_FU_FOO("fu", "FU", "FOO"); in TestRegisterFactory()
361 … fuFUNames->put(Locale::getDefault().getName(), new UnicodeString("little bunny Foo Foo"), status); in TestRegisterFactory()
363 Collator* frcol = Collator::createInstance(Locale::getFrance(), status); in TestRegisterFactory()
364 Collator* gecol = Collator::createInstance(Locale::getGermany(), status); in TestRegisterFactory()
365 Collator* jpcol = Collator::createInstance(Locale::getJapan(), status); in TestRegisterFactory()
381 info[0] = new CollatorInfo(Locale::getUS(), frcol, NULL); in TestRegisterFactory()
382 info[1] = new CollatorInfo(Locale::getFrance(), gecol, NULL); in TestRegisterFactory()
392 Collator* uscol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory()
403 Collator* ncol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory()
416 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegisterFactory()
579 Locale equiv = Collator::getFunctionalEquivalent("collation", in TestSeparateTree()
580 Locale::createFromName("de"), in TestSeparateTree()
588 Locale::createFromName("de_DE"), in TestSeparateTree()
596 Locale::createFromName("sv"), in TestSeparateTree()
604 Locale::createFromName("sv_SE"), in TestSeparateTree()