Home
last modified time | relevance | path

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

/vim-8.2.3635/src/
H A Dif_python.c1018 char *saved_locale; in DoPyCommand() local
1044 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()
H A Dif_python3.c1153 char *saved_locale; in DoPyCommand() local
1171 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()