Home
last modified time | relevance | path

Searched refs:locale_string (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/i18n/
Drtl.cc106 std::string ICULocaleName(const std::string& locale_string) { in ICULocaleName() argument
108 if (locale_string.substr(0, 2) != "es") in ICULocaleName()
109 return locale_string; in ICULocaleName()
111 if (LowerCaseEqualsASCII(locale_string, "es")) in ICULocaleName()
116 if (LowerCaseEqualsASCII(locale_string, "es-419")) { in ICULocaleName()
130 return locale_string; in ICULocaleName()
133 void SetICUDefaultLocale(const std::string& locale_string) { in SetICUDefaultLocale() argument
138 base::debug::SetCrashKeyString(crash_key_locale, locale_string); in SetICUDefaultLocale()
140 icu::Locale locale(ICULocaleName(locale_string).c_str()); in SetICUDefaultLocale()
146 LOG(ERROR) << "Failed to set the ICU default locale to " << locale_string in SetICUDefaultLocale()
Drtl.h52 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/external/icu/icu4c/source/test/intltest/
Dlistformattertest.h96 const char* locale_string,
Dlistformattertest.cpp129 void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString one, UnicodeString … in CheckFourCases() argument
132 …LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCo… in CheckFourCases()
134 …ateInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(e… in CheckFourCases()