Searched defs:locale_name (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/base/i18n/
H A Drtl.cc133 TextDirection GetTextDirectionForLocale(const char* locale_name) { argument
135 ULayoutType layout_dir = uloc_getCharacterOrientation(locale_name, &status);
/external/chromium_org/extensions/common/
H A Dextension_l10n_util.cc281 const std::string& locale_name,
286 if (locale_name.find(".") == 0)
288 if (chrome_locales.find(locale_name) == chrome_locales.end()) {
292 locale_name.c_str());
297 valid_locales->insert(locale_name);
300 locale_name.c_str());
347 std::string locale_name = locale_folder.BaseName().MaybeAsASCII(); local
348 if (locale_name.empty()) {
353 chrome_locales, locale_folder, locale_name, valid_locales, error)) {
279 AddLocale(const std::set<std::string>& chrome_locales, const base::FilePath& locale_folder, const std::string& locale_name, std::set<std::string>* valid_locales, std::string* error) argument
/external/chromium_org/ui/base/l10n/
H A Dl10n_util.cc187 // Returns true if |locale_name| has an alias in the ICU data file.
188 bool IsDuplicateName(const std::string& locale_name) { argument
204 if (LowerCaseEqualsASCII(locale_name.substr(0, 3), "es_"))
207 if (base::strcasecmp(kDuplicateNames[i], locale_name.c_str()) == 0)
217 bool IsLocalePartiallyPopulated(const std::string& locale_name) { argument
222 return !l10n_util::IsLocaleNameTranslated("en", locale_name);
275 std::string locale_name = uloc_getAvailable(i); local
277 if (IsDuplicateName(locale_name))
281 if (IsLocalePartiallyPopulated(locale_name))
283 if (!l10n_util::IsLocaleSupportedByOS(locale_name))
[all...]

Completed in 134 milliseconds