Searched refs:new_locale (Results 1 – 2 of 2) sorted by relevance
186 locale_t uselocale(locale_t new_locale) { in uselocale() argument194 if (new_locale != nullptr) { in uselocale()195 *get_current_locale_ptr() = new_locale; in uselocale()
1351 void ScreenRecoveryUI::SetLocale(const std::string& new_locale) { in SetLocale() argument1352 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()