Home
last modified time | relevance | path

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

/external/chromium_org/base/i18n/
Drtl.cc82 std::string ICULocaleName(const std::string& locale_string) { in ICULocaleName() argument
84 if (locale_string.substr(0, 2) != "es") in ICULocaleName()
85 return locale_string; in ICULocaleName()
87 if (LowerCaseEqualsASCII(locale_string, "es")) in ICULocaleName()
92 if (LowerCaseEqualsASCII(locale_string, "es-419")) { in ICULocaleName()
106 return locale_string; in ICULocaleName()
109 void SetICUDefaultLocale(const std::string& locale_string) { in SetICUDefaultLocale() argument
110 icu::Locale locale(ICULocaleName(locale_string).c_str()); in SetICUDefaultLocale()
Drtl.h52 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
/external/chromium_org/third_party/icu/source/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.h43 const char* locale_string,
/external/icu/icu4c/source/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.h43 const char* locale_string,
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Ditunes_data_provider.cc85 const std::string& locale_string, in CheckLocaleStringAutoAddPath() argument
89 DCHECK(!locale_string.empty()); in CheckLocaleStringAutoAddPath()
93 localized_dir_names.find(locale_string); in CheckLocaleStringAutoAddPath()