Home
last modified time | relevance | path

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

/external/chromium/base/i18n/
Drtl.cc58 std::string ICULocaleName(const std::string& locale_string) { in ICULocaleName() argument
60 if (locale_string.substr(0, 2) != "es") in ICULocaleName()
61 return locale_string; in ICULocaleName()
63 if (LowerCaseEqualsASCII(locale_string, "es")) in ICULocaleName()
68 if (LowerCaseEqualsASCII(locale_string, "es-419")) { in ICULocaleName()
82 return locale_string; in ICULocaleName()
85 void SetICUDefaultLocale(const std::string& locale_string) { in SetICUDefaultLocale() argument
86 icu::Locale locale(ICULocaleName(locale_string).c_str()); in SetICUDefaultLocale()
Drtl.h49 void SetICUDefaultLocale(const std::string& locale_string);
/external/chromium_org/base/i18n/
Drtl.cc86 std::string ICULocaleName(const std::string& locale_string) { in ICULocaleName() argument
88 if (locale_string.substr(0, 2) != "es") in ICULocaleName()
89 return locale_string; in ICULocaleName()
91 if (LowerCaseEqualsASCII(locale_string, "es")) in ICULocaleName()
96 if (LowerCaseEqualsASCII(locale_string, "es-419")) { in ICULocaleName()
110 return locale_string; in ICULocaleName()
113 void SetICUDefaultLocale(const std::string& locale_string) { in SetICUDefaultLocale() argument
114 icu::Locale locale(ICULocaleName(locale_string).c_str()); in SetICUDefaultLocale()
Drtl.h52 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/external/icu4c/test/intltest/
Dlistformattertest.cpp37 void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString one, UnicodeString … in CheckFourCases() argument
40 …LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCo… in CheckFourCases()
42 …ateInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(e… in CheckFourCases()
Dlistformattertest.h42 const char* locale_string,
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Ditunes_data_provider.cc86 const std::string& locale_string, in CheckLocaleStringAutoAddPath() argument
90 DCHECK(!locale_string.empty()); in CheckLocaleStringAutoAddPath()
94 localized_dir_names.find(locale_string); in CheckLocaleStringAutoAddPath()