Searched refs:saved_locale (Results 1 – 3 of 3) sorted by relevance
908 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline() local909 if (!saved_locale) in setup_readline()993 RESTORE_LOCALE(saved_locale) in setup_readline()1128 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline() local1129 if (!saved_locale) in call_readline()1146 RESTORE_LOCALE(saved_locale) in call_readline()1155 RESTORE_LOCALE(saved_locale) in call_readline()1187 RESTORE_LOCALE(saved_locale) in call_readline()
1097 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline() local1098 if (!saved_locale) in setup_readline()1178 RESTORE_LOCALE(saved_locale) in setup_readline()1314 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline() local1315 if (!saved_locale) in call_readline()1332 RESTORE_LOCALE(saved_locale) in call_readline()1341 RESTORE_LOCALE(saved_locale) in call_readline()1373 RESTORE_LOCALE(saved_locale) in call_readline()
169 char *saved_locale, *loc_codeset; in Py_InitializeEx() local305 saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in Py_InitializeEx()324 setlocale(LC_CTYPE, saved_locale); in Py_InitializeEx()325 free(saved_locale); in Py_InitializeEx()