Searched refs:saved_locale (Results 1 – 2 of 2) sorted by relevance
1018 char *saved_locale; in DoPyCommand() local1044 saved_locale = setlocale(LC_NUMERIC, NULL); in DoPyCommand()1045 if (saved_locale == NULL || STRCMP(saved_locale, "C") == 0) in DoPyCommand()1046 saved_locale = NULL; in DoPyCommand()1050 saved_locale = (char *) PY_STRSAVE(saved_locale); in DoPyCommand()1074 if (saved_locale != NULL) in DoPyCommand()1076 (void)setlocale(LC_NUMERIC, saved_locale); in DoPyCommand()1077 PyMem_Free(saved_locale); in DoPyCommand()
1153 char *saved_locale; in DoPyCommand() local1171 saved_locale = setlocale(LC_NUMERIC, NULL); in DoPyCommand()1172 if (saved_locale == NULL || STRCMP(saved_locale, "C") == 0) in DoPyCommand()1173 saved_locale = NULL; in DoPyCommand()1177 saved_locale = (char *)vim_strsave((char_u *)saved_locale); in DoPyCommand()1197 if (saved_locale != NULL) in DoPyCommand()1199 (void)setlocale(LC_NUMERIC, saved_locale); in DoPyCommand()1200 vim_free(saved_locale); in DoPyCommand()