Home
last modified time | relevance | path

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

/aosp12/bionic/libc/bionic/
H A Dlocale.cpp186 locale_t uselocale(locale_t new_locale) { in uselocale() argument
194 if (new_locale != nullptr) { in uselocale()
195 *get_current_locale_ptr() = new_locale; in uselocale()
/aosp12/bootable/recovery/recovery_ui/
H A Dscreen_ui.cpp1351 void ScreenRecoveryUI::SetLocale(const std::string& new_locale) { in SetLocale() argument
1352 locale_ = new_locale; in SetLocale()
1355 if (!new_locale.empty()) { in SetLocale()
1356 size_t separator = new_locale.find('-'); in SetLocale()
1358 std::string lang = new_locale.substr(0, separator); in SetLocale()