• Home
  • Raw
  • Download

Lines Matching refs:Locale

66 static Locale   *gLocaleCache = NULL;
72 static Locale *gDefaultLocale = NULL;
115 delete (icu::Locale *) obj; in deleteLocale()
139 gLocaleCache = new Locale[(int)eMAX_LOCALES]; in locale_init()
145 gLocaleCache[eROOT] = Locale(""); in locale_init()
146 gLocaleCache[eENGLISH] = Locale("en"); in locale_init()
147 gLocaleCache[eFRENCH] = Locale("fr"); in locale_init()
148 gLocaleCache[eGERMAN] = Locale("de"); in locale_init()
149 gLocaleCache[eITALIAN] = Locale("it"); in locale_init()
150 gLocaleCache[eJAPANESE] = Locale("ja"); in locale_init()
151 gLocaleCache[eKOREAN] = Locale("ko"); in locale_init()
152 gLocaleCache[eCHINESE] = Locale("zh"); in locale_init()
153 gLocaleCache[eFRANCE] = Locale("fr", "FR"); in locale_init()
154 gLocaleCache[eGERMANY] = Locale("de", "DE"); in locale_init()
155 gLocaleCache[eITALY] = Locale("it", "IT"); in locale_init()
156 gLocaleCache[eJAPAN] = Locale("ja", "JP"); in locale_init()
157 gLocaleCache[eKOREA] = Locale("ko", "KR"); in locale_init()
158 gLocaleCache[eCHINA] = Locale("zh", "CN"); in locale_init()
159 gLocaleCache[eTAIWAN] = Locale("zh", "TW"); in locale_init()
160 gLocaleCache[eUK] = Locale("en", "GB"); in locale_init()
161 gLocaleCache[eUS] = Locale("en", "US"); in locale_init()
162 gLocaleCache[eCANADA] = Locale("en", "CA"); in locale_init()
163 gLocaleCache[eCANADA_FRENCH] = Locale("fr", "CA"); in locale_init()
170 Locale *locale_set_default_internal(const char *id, UErrorCode& status) { in locale_set_default_internal()
208 Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf.data()); in locale_set_default_internal()
210 newDefault = new Locale(Locale::eBOGUS); in locale_set_default_internal()
241 return Locale::getDefault().getName(); in locale_get_default()
247 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Locale) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
255 Locale::~Locale() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
269 Locale::Locale() in Locale() function in Locale
280 Locale::Locale(Locale::ELocaleType) in Locale() function in Locale
287 Locale::Locale( const char * newLanguage, in Locale() function in Locale
404 Locale::Locale(const Locale &other) in Locale() function in Locale
410 Locale::Locale(Locale&& other) U_NOEXCEPT in Locale() function in Locale
415 Locale& Locale::operator=(const Locale& other) { in operator =()
448 Locale& Locale::operator=(Locale&& other) U_NOEXCEPT { in operator =()
481 Locale *
482 Locale::clone() const { in clone()
483 return new Locale(*this); in clone()
487 Locale::operator==( const Locale& other) const in operator ==()
761 Locale test(type); in readLanguageAlias()
1080 const Locale& locale, CharString& out, UErrorCode& status);
1395 Locale l = LocaleBuilder() in replaceTerritory()
1534 Locale tlang = LocaleBuilder() in replaceTransformedExtensions()
1623 Locale tmpLocale(tmp.data()); in outputToString()
1632 AliasReplacer::replace(const Locale& locale, CharString& out, UErrorCode& status) in replace()
1725 Locale temp(locale); in replace()
1777 canonicalizeLocale(const Locale& locale, CharString& out, UErrorCode& status) in canonicalizeLocale()
1818 Locale l(localeName); in ulocimp_isCanonicalizedLocaleForTest()
1825 Locale& Locale::init(const char* localeID, UBool canonicalize) in init()
1980 Locale::initBaseName(UErrorCode &status) { in initBaseName()
2011 Locale::hashCode() const in hashCode()
2017 Locale::setToBogus() { in setToBogus()
2035 const Locale& U_EXPORT2
2036 Locale::getDefault() in getDefault()
2051 Locale::setDefault( const Locale& newLocale, in setDefault()
2066 Locale::addLikelySubtags(UErrorCode& status) { in addLikelySubtags()
2088 Locale::minimizeSubtags(UErrorCode& status) { in minimizeSubtags()
2110 Locale::canonicalize(UErrorCode& status) { in canonicalize()
2128 Locale U_EXPORT2
2129 Locale::forLanguageTag(StringPiece tag, UErrorCode& status) in forLanguageTag()
2131 Locale result(Locale::eBOGUS); in forLanguageTag()
2177 Locale::toLanguageTag(ByteSink& sink, UErrorCode& status) const in toLanguageTag()
2191 Locale U_EXPORT2
2192 Locale::createFromName (const char *name) in createFromName()
2195 Locale l(""); in createFromName()
2204 Locale U_EXPORT2
2205 Locale::createCanonical(const char* name) { in createCanonical()
2206 Locale loc(""); in createCanonical()
2212 Locale::getISO3Language() const in getISO3Language()
2219 Locale::getISO3Country() const in getISO3Country()
2232 Locale::getLCID() const in getLCID()
2237 const char* const* U_EXPORT2 Locale::getISOCountries() in getISOCountries()
2242 const char* const* U_EXPORT2 Locale::getISOLanguages() in getISOLanguages()
2248 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID()
2253 const Locale & U_EXPORT2
2254 Locale::getRoot(void) in getRoot()
2259 const Locale & U_EXPORT2
2260 Locale::getEnglish(void) in getEnglish()
2265 const Locale & U_EXPORT2
2266 Locale::getFrench(void) in getFrench()
2271 const Locale & U_EXPORT2
2272 Locale::getGerman(void) in getGerman()
2277 const Locale & U_EXPORT2
2278 Locale::getItalian(void) in getItalian()
2283 const Locale & U_EXPORT2
2284 Locale::getJapanese(void) in getJapanese()
2289 const Locale & U_EXPORT2
2290 Locale::getKorean(void) in getKorean()
2295 const Locale & U_EXPORT2
2296 Locale::getChinese(void) in getChinese()
2301 const Locale & U_EXPORT2
2302 Locale::getSimplifiedChinese(void) in getSimplifiedChinese()
2307 const Locale & U_EXPORT2
2308 Locale::getTraditionalChinese(void) in getTraditionalChinese()
2314 const Locale & U_EXPORT2
2315 Locale::getFrance(void) in getFrance()
2320 const Locale & U_EXPORT2
2321 Locale::getGermany(void) in getGermany()
2326 const Locale & U_EXPORT2
2327 Locale::getItaly(void) in getItaly()
2332 const Locale & U_EXPORT2
2333 Locale::getJapan(void) in getJapan()
2338 const Locale & U_EXPORT2
2339 Locale::getKorea(void) in getKorea()
2344 const Locale & U_EXPORT2
2345 Locale::getChina(void) in getChina()
2350 const Locale & U_EXPORT2
2351 Locale::getPRC(void) in getPRC()
2356 const Locale & U_EXPORT2
2357 Locale::getTaiwan(void) in getTaiwan()
2362 const Locale & U_EXPORT2
2363 Locale::getUK(void) in getUK()
2368 const Locale & U_EXPORT2
2369 Locale::getUS(void) in getUS()
2374 const Locale & U_EXPORT2
2375 Locale::getCanada(void) in getCanada()
2380 const Locale & U_EXPORT2
2381 Locale::getCanadaFrench(void) in getCanadaFrench()
2386 const Locale &
2387 Locale::getLocale(int locid) in getLocale()
2389 Locale *localeCache = getLocaleCache(); in getLocale()
2403 Locale *
2404 Locale::getLocaleCache(void) in getLocaleCache()
2526 Locale::createKeywords(UErrorCode &status) const in createKeywords()
2555 Locale::createUnicodeKeywords(UErrorCode &status) const in createUnicodeKeywords()
2584 Locale::getKeywordValue(const char* keywordName, char *buffer, int32_t bufLen, UErrorCode &status) … in getKeywordValue()
2590 Locale::getKeywordValue(StringPiece keywordName, ByteSink& sink, UErrorCode& status) const { in getKeywordValue()
2610 Locale::getUnicodeKeywordValue(StringPiece keywordName, in getUnicodeKeywordValue()
2648 Locale::setKeywordValue(const char* keywordName, const char* keywordValue, UErrorCode &status) in setKeywordValue()
2690 Locale::setKeywordValue(StringPiece keywordName, in setKeywordValue()
2700 Locale::setUnicodeKeywordValue(StringPiece keywordName, in setUnicodeKeywordValue()
2734 Locale::getBaseName() const { in getBaseName()
2738 Locale::Iterator::~Iterator() = default;