Searched defs:locale_string (Results 1 - 4 of 4) sorted by last modified time

/external/icu/icu4c/source/test/intltest/
H A Dlistformattertest.cpp37 void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString one, UnicodeString two, argument
40 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCode));
42 dataerrln("ListFormatter::createInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(errorCode));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dlistformattertest.cpp37 void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString one, UnicodeString two, argument
40 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCode));
42 dataerrln("ListFormatter::createInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(errorCode));
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ditunes_data_provider.cc80 // |result_path| is set if |locale_string| maps to a localized directory name
85 const std::string& locale_string,
89 DCHECK(!locale_string.empty());
93 localized_dir_names.find(locale_string);
82 CheckLocaleStringAutoAddPath( const base::FilePath& media_path, const std::map<std::string, std::string>& localized_dir_names, const std::string& locale_string, base::FilePath* result_path) argument
/external/chromium_org/base/i18n/
H A Drtl.cc82 std::string ICULocaleName(const std::string& locale_string) { argument
84 if (locale_string.substr(0, 2) != "es")
85 return locale_string;
87 if (LowerCaseEqualsASCII(locale_string, "es"))
92 if (LowerCaseEqualsASCII(locale_string, "es-419")) {
106 return locale_string;
109 void SetICUDefaultLocale(const std::string& locale_string) { argument
110 icu::Locale locale(ICULocaleName(locale_string).c_str());

Completed in 152 milliseconds