/external/chromium_org/ui/base/l10n/ |
D | l10n_util.cc | 188 bool IsDuplicateName(const std::string& locale_name) { in IsDuplicateName() argument 203 if (LowerCaseEqualsASCII(locale_name.substr(0, 3), "es_")) in IsDuplicateName() 206 if (base::strcasecmp(kDuplicateNames[i], locale_name.c_str()) == 0) in IsDuplicateName() 216 bool IsLocalePartiallyPopulated(const std::string& locale_name) { in IsLocalePartiallyPopulated() argument 221 return !l10n_util::IsLocaleNameTranslated("en", locale_name); in IsLocalePartiallyPopulated() 280 std::string locale_name = uloc_getAvailable(i); in New() local 282 if (IsDuplicateName(locale_name)) in New() 286 if (IsLocalePartiallyPopulated(locale_name)) in New() 288 if (!l10n_util::IsLocaleSupportedByOS(locale_name)) in New() 292 std::replace(locale_name.begin(), locale_name.end(), '_', '-'); in New() [all …]
|
/external/chromium/chrome/common/extensions/ |
D | extension_l10n_util.cc | 158 const std::string& locale_name, in AddLocale() argument 163 if (locale_name.find(".") == 0) in AddLocale() 165 if (chrome_locales.find(locale_name) == chrome_locales.end()) { in AddLocale() 169 locale_name.c_str()); in AddLocale() 175 valid_locales->insert(locale_name); in AddLocale() 178 locale_name.c_str()); in AddLocale() 217 std::string locale_name = locale_folder.BaseName().MaybeAsASCII(); in GetValidLocales() local 218 if (locale_name.empty()) { in GetValidLocales() 224 locale_name, in GetValidLocales()
|
D | extension_l10n_util.h | 58 const std::string& locale_name,
|
/external/chromium_org/chrome/common/extensions/ |
D | extension_l10n_util.cc | 284 const std::string& locale_name, in AddLocale() argument 289 if (locale_name.find(".") == 0) in AddLocale() 291 if (chrome_locales.find(locale_name) == chrome_locales.end()) { in AddLocale() 295 locale_name.c_str()); in AddLocale() 301 valid_locales->insert(locale_name); in AddLocale() 304 locale_name.c_str()); in AddLocale() 352 std::string locale_name = locale_folder.BaseName().MaybeAsASCII(); in GetValidLocales() local 353 if (locale_name.empty()) { in GetValidLocales() 359 locale_name, in GetValidLocales()
|
D | extension_l10n_util.h | 59 const std::string& locale_name,
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | language_list.cc | 39 base::string16 locale_name = locale_names_[index]; in GetLanguageNameAt() local 40 base::i18n::AdjustStringForLocaleDirection(&locale_name); in GetLanguageNameAt() 50 UTF16ToUTF8(locale_name).c_str(), in GetLanguageNameAt()
|
/external/chromium/chrome/browser/ |
D | language_combobox_model.cc | 93 string16 locale_name = locale_names_[index]; in GetLanguageNameAt() local 94 base::i18n::AdjustStringForLocaleDirection(&locale_name); in GetLanguageNameAt() 104 UTF16ToUTF8(locale_name).c_str(), in GetLanguageNameAt()
|
/external/chromium_org/base/i18n/ |
D | rtl.h | 65 const char* locale_name);
|
D | rtl.cc | 142 TextDirection GetTextDirectionForLocale(const char* locale_name) { in GetTextDirectionForLocale() argument 144 ULayoutType layout_dir = uloc_getCharacterOrientation(locale_name, &status); in GetTextDirectionForLocale()
|
/external/chromium/base/i18n/ |
D | rtl.h | 61 TextDirection GetTextDirectionForLocale(const char* locale_name);
|
D | rtl_unittest.cc | 17 base::i18n::TextDirection GetTextDirection(const char* locale_name) { in GetTextDirection() argument 18 return base::i18n::GetTextDirectionForLocale(locale_name); in GetTextDirection()
|
D | rtl.cc | 123 TextDirection GetTextDirectionForLocale(const char* locale_name) { in GetTextDirectionForLocale() argument 125 ULayoutType layout_dir = uloc_getCharacterOrientation(locale_name, &status); in GetTextDirectionForLocale()
|
/external/chromium_org/chrome/tools/mac_helpers/ |
D | infoplist_strings_util.mm | 60 const char* locale_name) { 64 dir_path, branding_strings_name, locale_name];
|