Searched refs:saved_locale (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Modules/ |
D | readline.c | 1197 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline() local 1198 if (!saved_locale) { in setup_readline() 1293 RESTORE_LOCALE(saved_locale) in setup_readline() 1382 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline() local 1383 if (!saved_locale) in call_readline() 1400 RESTORE_LOCALE(saved_locale) in call_readline() 1409 RESTORE_LOCALE(saved_locale) in call_readline() 1441 RESTORE_LOCALE(saved_locale) in call_readline()
|
/third_party/python/Lib/test/ |
D | test_strftime.py | 62 saved_locale = setlocale(LC_TIME) 64 self.addCleanup(setlocale, LC_TIME, saved_locale)
|
/third_party/alsa-lib/src/ |
D | conf.c | 703 locale_t saved_locale, c_locale; in safe_strtod() local 705 char *saved_locale; in safe_strtod() local 714 saved_locale = uselocale(c_locale); in safe_strtod() 716 saved_locale = setlocale(LC_NUMERIC, NULL); in safe_strtod() 717 if (saved_locale) { in safe_strtod() 718 snprintf(locstr, sizeof(locstr), "%s", saved_locale); in safe_strtod() 727 uselocale(saved_locale); in safe_strtod() 731 if (saved_locale) in safe_strtod()
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding_test.cc | 28 const char* saved_locale = std::setlocale(LC_NUMERIC, nullptr); in StrToD() local 31 std::setlocale(LC_NUMERIC, saved_locale); in StrToD()
|