Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/base/i18n/
H A Drtl.cc114 std::string ICULocaleName(const std::string& locale_string) { in ICULocaleName() argument
116 if (locale_string.substr(0, 2) != "es") in ICULocaleName()
117 return locale_string; in ICULocaleName()
119 if (EqualsCaseInsensitiveASCII(locale_string, "es")) in ICULocaleName()
124 if (EqualsCaseInsensitiveASCII(locale_string, "es-419")) { in ICULocaleName()
138 return locale_string; in ICULocaleName()
141 void SetICUDefaultLocale(const std::string& locale_string) { in SetICUDefaultLocale() argument
146 base::debug::SetCrashKeyString(crash_key_locale, locale_string); in SetICUDefaultLocale()
148 icu::Locale locale(ICULocaleName(locale_string).c_str()); in SetICUDefaultLocale()
154 LOG(ERROR) << "Failed to set the ICU default locale to " << locale_string in SetICUDefaultLocale()
H A Drtl.h50 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/aosp_15_r20/external/libchrome/base/i18n/
H A 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()
H A Drtl.h52 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/2/external/libchrome/base/i18n/
Drtl.h55 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/i18n/
Drtl.h55 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A 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()
H A Dlistformattertest.h96 const char* locale_string,
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A 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()
H A Dlistformattertest.h96 const char* locale_string,
/aosp_15_r20/frameworks/minikin/tests/unittest/
H A DFontCollectionItemizeTest.cpp120 const LocaleList& registerAndGetLocaleList(const std::string& locale_string) { in registerAndGetLocaleList() argument
121 return LocaleListCache::getById(LocaleListCache::getId(locale_string)); in registerAndGetLocaleList()