Home
last modified time | relevance | path

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

/external/v8/src/objects/
Dintl-objects.cc1062 std::string shortened_locale; in GetAvailableLocales() local
1063 if (Intl::RemoveLocaleScriptTag(locale_str, &shortened_locale)) { in GetAvailableLocales()
1064 std::replace(shortened_locale.begin(), shortened_locale.end(), '_', in GetAvailableLocales()
1066 locales.insert(shortened_locale); in GetAvailableLocales()
1116 std::string shortened_locale; in GetAvailableLocales() local
1117 if (Intl::RemoveLocaleScriptTag(icu_name, &shortened_locale)) { in GetAvailableLocales()
1118 std::replace(shortened_locale.begin(), shortened_locale.end(), '_', '-'); in GetAvailableLocales()
1119 locales.insert(shortened_locale); in GetAvailableLocales()