/external/icu4c/common/unicode/ |
D | locid.h | 181 class U_COMMON_API Locale : public UObject { 184 static const Locale &U_EXPORT2 getRoot(void); 186 static const Locale &U_EXPORT2 getEnglish(void); 188 static const Locale &U_EXPORT2 getFrench(void); 190 static const Locale &U_EXPORT2 getGerman(void); 192 static const Locale &U_EXPORT2 getItalian(void); 194 static const Locale &U_EXPORT2 getJapanese(void); 196 static const Locale &U_EXPORT2 getKorean(void); 198 static const Locale &U_EXPORT2 getChinese(void); 200 static const Locale &U_EXPORT2 getSimplifiedChinese(void); [all …]
|
D | brkiter.h | 306 createWordInstance(const Locale& where, UErrorCode& status); 330 createLineInstance(const Locale& where, UErrorCode& status); 352 createCharacterInstance(const Locale& where, UErrorCode& status); 373 createSentenceInstance(const Locale& where, UErrorCode& status); 398 createTitleInstance(const Locale& where, UErrorCode& status); 409 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count); 420 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 421 const Locale& displayLocale, 432 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 478 const Locale& locale, [all …]
|
/external/chromium/third_party/icu/public/common/unicode/ |
D | locid.h | 181 class U_COMMON_API Locale : public UObject { 184 static const Locale &U_EXPORT2 getEnglish(void); 186 static const Locale &U_EXPORT2 getFrench(void); 188 static const Locale &U_EXPORT2 getGerman(void); 190 static const Locale &U_EXPORT2 getItalian(void); 192 static const Locale &U_EXPORT2 getJapanese(void); 194 static const Locale &U_EXPORT2 getKorean(void); 196 static const Locale &U_EXPORT2 getChinese(void); 198 static const Locale &U_EXPORT2 getSimplifiedChinese(void); 200 static const Locale &U_EXPORT2 getTraditionalChinese(void); [all …]
|
D | brkiter.h | 306 createWordInstance(const Locale& where, UErrorCode& status); 330 createLineInstance(const Locale& where, UErrorCode& status); 352 createCharacterInstance(const Locale& where, UErrorCode& status); 373 createSentenceInstance(const Locale& where, UErrorCode& status); 398 createTitleInstance(const Locale& where, UErrorCode& status); 409 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count); 420 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 421 const Locale& displayLocale, 432 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 478 const Locale& locale, [all …]
|
/external/icu4c/common/ |
D | locid.cpp | 78 static U_NAMESPACE_QUALIFIER Locale *gLocaleCache = NULL; 79 static U_NAMESPACE_QUALIFIER Locale *gDefaultLocale = NULL; 88 delete (U_NAMESPACE_QUALIFIER Locale *) obj; in deleteLocale() 156 Locale *newFirstDefault = new Locale(Locale::eBOGUS); in locale_set_default_internal() 201 Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf); in locale_set_default_internal() 211 newDefault = new Locale(Locale::eBOGUS); in locale_set_default_internal() 222 Locale *hashTableVal = (Locale *)uhash_get(gDefaultLocalesHashT, key); in locale_set_default_internal() 259 return Locale::getDefault().getName(); in locale_get_default() 265 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Locale) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 272 Locale::~Locale() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
D | servloc.h | 132 virtual Locale& canonicalLocale(Locale& result) const; 137 virtual Locale& currentLocale(Locale& result) const; 254 …virtual UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString… 261 …virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCo… 313 const Locale& locale, 401 …virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCo… 426 Locale fallbackLocale; 464 UObject* get(const Locale& locale, UErrorCode& status) const; 470 UObject* get(const Locale& locale, int32_t kind, UErrorCode& status) const; 476 UObject* get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const; [all …]
|
/external/chromium/third_party/icu/source/common/ |
D | locid.cpp | 44 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL; 79 static U_NAMESPACE_QUALIFIER Locale *gLocaleCache = NULL; 80 static U_NAMESPACE_QUALIFIER Locale *gDefaultLocale = NULL; 89 delete (U_NAMESPACE_QUALIFIER Locale *) obj; in deleteLocale() 163 Locale *newFirstDefault = new Locale(Locale::eBOGUS); in locale_set_default_internal() 208 Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf); in locale_set_default_internal() 218 newDefault = new Locale(Locale::eBOGUS); in locale_set_default_internal() 229 Locale *hashTableVal = (Locale *)uhash_get(gDefaultLocalesHashT, key); in locale_set_default_internal() 266 return Locale::getDefault().getName(); in locale_get_default() 272 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Locale) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument [all …]
|
D | servloc.h | 132 virtual Locale& canonicalLocale(Locale& result) const; 137 virtual Locale& currentLocale(Locale& result) const; 254 …virtual UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString… 261 …virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCo… 313 const Locale& locale, 401 …virtual UObject* handleCreate(const Locale& loc, int32_t kind, const ICUService* service, UErrorCo… 426 Locale fallbackLocale; 464 UObject* get(const Locale& locale, UErrorCode& status) const; 470 UObject* get(const Locale& locale, int32_t kind, UErrorCode& status) const; 476 UObject* get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const; [all …]
|
D | brkiter.cpp | 51 BreakIterator::buildInstance(const Locale& loc, const char *type, int32_t kind, UErrorCode &status) in buildInstance() 149 BreakIterator::createWordInstance(const Locale& key, UErrorCode& status) in createWordInstance() 158 BreakIterator::createLineInstance(const Locale& key, UErrorCode& status) in createLineInstance() 167 BreakIterator::createCharacterInstance(const Locale& key, UErrorCode& status) in createCharacterInstance() 176 BreakIterator::createSentenceInstance(const Locale& key, UErrorCode& status) in createSentenceInstance() 185 BreakIterator::createTitleInstance(const Locale& key, UErrorCode& status) in createTitleInstance() 193 const Locale* U_EXPORT2 196 return Locale::getAvailableLocales(count); in getAvailableLocales() 202 BreakIterator::getDisplayName(const Locale& objectLocale, in getDisplayName() 211 BreakIterator::getDisplayName(const Locale& objectLocale, in getDisplayName() [all …]
|
/external/chromium/third_party/icu/source/test/intltest/ |
D | tzfmttst.cpp | 86 const Locale testLocales[] = { in TestTimeZoneRoundTrip() 87 Locale("en"), in TestTimeZoneRoundTrip() 88 Locale("en_CA"), in TestTimeZoneRoundTrip() 89 Locale("fr"), in TestTimeZoneRoundTrip() 90 Locale("zh_Hant") in TestTimeZoneRoundTrip() 93 const Locale *LOCALES; in TestTimeZoneRoundTrip() 98 nLocales = sizeof(testLocales)/sizeof(Locale); in TestTimeZoneRoundTrip() 100 LOCALES = Locale::getAvailableLocales(nLocales); in TestTimeZoneRoundTrip() 288 const Locale locales1[] = { in TestTimeRoundTrip() 289 Locale("en") in TestTimeRoundTrip() [all …]
|
D | loctest.cpp | 238 Locale testLocale(""); in TestBasicGetters() 240 … testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 243 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 266 Locale testLocale(""); in TestBasicGetters() 268 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i]); in TestBasicGetters() 271 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i]); in TestBasicGetters() 289 Locale test8 = Locale::createFromName("x-klingon-latn-zx.utf32be@special"); in TestBasicGetters() 310 if (Locale::getDefault() != Locale::createFromName(NULL)) in TestBasicGetters() 319 Locale bogusLang("THISISABOGUSLANGUAGE"); // Jitterbug 2864: language code too long in TestBasicGetters() 324 bogusLang=Locale("eo"); in TestBasicGetters() [all …]
|
D | tmsgfmt.cpp | 64 Locale locale[] = { in testBug3() 65 Locale("ar", "", ""), in testBug3() 66 Locale("be", "", ""), in testBug3() 67 Locale("bg", "", ""), in testBug3() 68 Locale("ca", "", ""), in testBug3() 69 Locale("cs", "", ""), in testBug3() 70 Locale("da", "", ""), in testBug3() 71 Locale("de", "", ""), in testBug3() 72 Locale("de", "AT", ""), in testBug3() 73 Locale("de", "CH", ""), in testBug3() [all …]
|
D | svccoll.cpp | 36 const Locale& FR = Locale::getFrance(); in TestRegister() 37 const Locale& US = Locale::getUS(); in TestRegister() 38 const Locale US_FOO("en", "US", "FOO"); in TestRegister() 59 Locale loc = frcol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister() 100 Locale fu_FU_FOO("fu", "FU", "FOO"); in TestRegister() 101 Locale fu_FU("fu", "FU", ""); in TestRegister() 180 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister() 210 Locale locale; 214 CollatorInfo(const Locale& locale, Collator* collatorToAdopt, Hashtable* displayNamesToAdopt); 216 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const; [all …]
|
D | aliastst.cpp | 59 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCalendar() 60 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCalendar() 91 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDateFormat() 92 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDateFormat() 125 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCollation() 126 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCollation() 136 Locale l1 = c1->getLocale(ULOC_VALID_LOCALE, status); in TestCollation() 137 Locale l2 = c2->getLocale(ULOC_VALID_LOCALE, status); in TestCollation() 156 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestULocale() 157 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestULocale() [all …]
|
/external/icu4c/test/intltest/ |
D | tzfmttst.cpp | 87 const Locale testLocales[] = { in TestTimeZoneRoundTrip() 88 Locale("en"), in TestTimeZoneRoundTrip() 89 Locale("en_CA"), in TestTimeZoneRoundTrip() 90 Locale("fr"), in TestTimeZoneRoundTrip() 91 Locale("zh_Hant") in TestTimeZoneRoundTrip() 94 const Locale *LOCALES; in TestTimeZoneRoundTrip() 99 nLocales = sizeof(testLocales)/sizeof(Locale); in TestTimeZoneRoundTrip() 101 LOCALES = Locale::getAvailableLocales(nLocales); in TestTimeZoneRoundTrip() 246 const Locale* locales; // Static 445 const Locale *LOCALES; in TestTimeRoundTrip() [all …]
|
D | loctest.cpp | 242 Locale testLocale(""); in TestBasicGetters() 244 … testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 247 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 270 Locale testLocale(""); in TestBasicGetters() 272 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i]); in TestBasicGetters() 275 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i]); in TestBasicGetters() 293 Locale test8 = Locale::createFromName("x-klingon-latn-zx.utf32be@special"); in TestBasicGetters() 314 if (Locale::getDefault() != Locale::createFromName(NULL)) in TestBasicGetters() 323 Locale bogusLang("THISISABOGUSLANGUAGE"); // Jitterbug 2864: language code too long in TestBasicGetters() 328 bogusLang=Locale("eo"); in TestBasicGetters() [all …]
|
D | tmsgfmt.cpp | 72 Locale locale[] = { in testBug3() 73 Locale("ar", "", ""), in testBug3() 74 Locale("be", "", ""), in testBug3() 75 Locale("bg", "", ""), in testBug3() 76 Locale("ca", "", ""), in testBug3() 77 Locale("cs", "", ""), in testBug3() 78 Locale("da", "", ""), in testBug3() 79 Locale("de", "", ""), in testBug3() 80 Locale("de", "AT", ""), in testBug3() 81 Locale("de", "CH", ""), in testBug3() [all …]
|
D | svccoll.cpp | 36 const Locale& FR = Locale::getFrance(); in TestRegister() 37 const Locale& US = Locale::getUS(); in TestRegister() 38 const Locale US_FOO("en", "US", "FOO"); in TestRegister() 59 Locale loc = frcol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister() 100 Locale fu_FU_FOO("fu", "FU", "FOO"); in TestRegister() 101 Locale fu_FU("fu", "FU", ""); in TestRegister() 180 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister() 208 Locale locale; 212 CollatorInfo(const Locale& locale, Collator* collatorToAdopt, Hashtable* displayNamesToAdopt); 214 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const; [all …]
|
D | aliastst.cpp | 59 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCalendar() 60 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCalendar() 91 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDateFormat() 92 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDateFormat() 125 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCollation() 126 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCollation() 136 Locale l1 = c1->getLocale(ULOC_VALID_LOCALE, status); in TestCollation() 137 Locale l2 = c2->getLocale(ULOC_VALID_LOCALE, status); in TestCollation() 156 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestULocale() 157 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestULocale() [all …]
|
/external/chromium/third_party/icu/source/i18n/ |
D | coll.cpp | 55 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL; 104 CollatorFactory::getDisplayName(const Locale& objectLocale, in getDisplayName() 105 const Locale& displayLocale, in getDisplayName() 124 Locale loc; in create() 158 Locale loc(""); in handleDefault() 177 Locale canonicalLocale(""); in getKey() 178 Locale currentLocale(""); in getKey() 236 Locale desiredLocale(loc); in createUCollator() 261 Locale * temp; in isAvailableLocaleListInitialized() 271 temp = new Locale[localeCount]; in isAvailableLocaleListInitialized() [all …]
|
/external/icu4c/i18n/ |
D | coll.cpp | 55 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL; 104 CollatorFactory::getDisplayName(const Locale& objectLocale, in getDisplayName() 105 const Locale& displayLocale, in getDisplayName() 124 Locale loc; in create() 158 Locale loc(""); in handleDefault() 177 Locale canonicalLocale(""); in getKey() 178 Locale currentLocale(""); in getKey() 236 Locale desiredLocale(loc); in createUCollator() 261 Locale * temp; in isAvailableLocaleListInitialized() 271 temp = new Locale[localeCount]; in isAvailableLocaleListInitialized() [all …]
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
D | coll.h | 310 static Collator* U_EXPORT2 createInstance(const Locale& loc, UErrorCode& err); 336 static Collator *createInstance(const Locale &loc, UVersionInfo version, UErrorCode &err); 531 virtual const Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const = 0; 609 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 610 const Locale& displayLocale, 621 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 635 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count); 687 …static StringEnumeration* U_EXPORT2 getKeywordValuesForLocale(const char* keyword, const Locale& l… 717 static Locale U_EXPORT2 getFunctionalEquivalent(const char* keyword, const Locale& locale, 729 …static URegistryKey U_EXPORT2 registerInstance(Collator* toAdopt, const Locale& locale, UErrorCode… [all …]
|
/external/icu4c/i18n/unicode/ |
D | coll.h | 310 static Collator* U_EXPORT2 createInstance(const Locale& loc, UErrorCode& err); 336 static Collator *createInstance(const Locale &loc, UVersionInfo version, UErrorCode &err); 531 virtual const Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const = 0; 609 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 610 const Locale& displayLocale, 621 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 635 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count); 687 …static StringEnumeration* U_EXPORT2 getKeywordValuesForLocale(const char* keyword, const Locale& l… 717 static Locale U_EXPORT2 getFunctionalEquivalent(const char* keyword, const Locale& locale, 729 …static URegistryKey U_EXPORT2 registerInstance(Collator* toAdopt, const Locale& locale, UErrorCode… [all …]
|
/external/guava/src/com/google/common/base/ |
D | CaseFormat.java | 19 import java.util.Locale; 88 case UPPER_UNDERSCORE: return s.replace("-", "_").toUpperCase(Locale.US); in to() 94 case UPPER_UNDERSCORE: return s.toUpperCase(Locale.US); in to() 99 case LOWER_HYPHEN: return s.replace("_", "-").toLowerCase(Locale.US); in to() 100 case LOWER_UNDERSCORE: return s.toLowerCase(Locale.US); in to() 129 case LOWER_CAMEL: return word.toLowerCase(Locale.US); in normalizeFirstWord() 136 case LOWER_HYPHEN: return word.toLowerCase(Locale.US); in normalizeWord() 137 case LOWER_UNDERSCORE: return word.toLowerCase(Locale.US); in normalizeWord() 140 case UPPER_UNDERSCORE: return word.toUpperCase(Locale.US); in normalizeWord() 146 return (word.length() < 2) ? word.toUpperCase(Locale.US) in toTitleCase() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLanguage.java | 31 import java.util.Locale; 92 protected Locale locale; 134 … this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); in setLanguageTag() 136 this.locale = new Locale(languageTag); in setLanguageTag() 148 public Locale getContentLanguage() { in getContentLanguage() 160 public void setContentLanguage(Locale language) { in setContentLanguage() 167 retval.locale = (Locale) this.locale.clone(); in clone()
|