Lines Matching refs:gLocaleCache
56 static Locale *gLocaleCache = NULL; variable
119 delete [] gLocaleCache; in locale_cleanup()
120 gLocaleCache = NULL; in locale_cleanup()
135 U_ASSERT(gLocaleCache == NULL); in locale_init()
136 gLocaleCache = new Locale[(int)eMAX_LOCALES]; in locale_init()
137 if (gLocaleCache == NULL) { in locale_init()
142 gLocaleCache[eROOT] = Locale(""); in locale_init()
143 gLocaleCache[eENGLISH] = Locale("en"); in locale_init()
144 gLocaleCache[eFRENCH] = Locale("fr"); in locale_init()
145 gLocaleCache[eGERMAN] = Locale("de"); in locale_init()
146 gLocaleCache[eITALIAN] = Locale("it"); in locale_init()
147 gLocaleCache[eJAPANESE] = Locale("ja"); in locale_init()
148 gLocaleCache[eKOREAN] = Locale("ko"); in locale_init()
149 gLocaleCache[eCHINESE] = Locale("zh"); in locale_init()
150 gLocaleCache[eFRANCE] = Locale("fr", "FR"); in locale_init()
151 gLocaleCache[eGERMANY] = Locale("de", "DE"); in locale_init()
152 gLocaleCache[eITALY] = Locale("it", "IT"); in locale_init()
153 gLocaleCache[eJAPAN] = Locale("ja", "JP"); in locale_init()
154 gLocaleCache[eKOREA] = Locale("ko", "KR"); in locale_init()
155 gLocaleCache[eCHINA] = Locale("zh", "CN"); in locale_init()
156 gLocaleCache[eTAIWAN] = Locale("zh", "TW"); in locale_init()
157 gLocaleCache[eUK] = Locale("en", "GB"); in locale_init()
158 gLocaleCache[eUS] = Locale("en", "US"); in locale_init()
159 gLocaleCache[eCANADA] = Locale("en", "CA"); in locale_init()
160 gLocaleCache[eCANADA_FRENCH] = Locale("fr", "CA"); in locale_init()
924 return gLocaleCache; in getLocaleCache()