Searched refs:new_locale (Results 1 – 3 of 3) sorted by relevance
109 locale_t old_locale, new_locale; in read_double_locale() local111 new_locale = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0); in read_double_locale()112 if (!new_locale) in read_double_locale()115 old_locale = uselocale(new_locale); in read_double_locale()119 freelocale(new_locale); in read_double_locale()130 locale_t old_locale, new_locale; in write_double_locale() local132 new_locale = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0); in write_double_locale()133 if (!new_locale) in write_double_locale()136 old_locale = uselocale(new_locale); in write_double_locale()141 freelocale(new_locale); in write_double_locale()
345 const char *new_locale = setlocale(LC_CTYPE, in _Py_CoerceLegacyLocale() local347 if (new_locale != NULL) { in _Py_CoerceLegacyLocale()353 new_locale = NULL; in _Py_CoerceLegacyLocale()
516 icu::Locale new_locale = icu::Locale::createCanonical(icu_locale.c_str()); in RemoveLocaleScriptTag() local517 const char* icu_script = new_locale.getScript(); in RemoveLocaleScriptTag()523 const char* icu_language = new_locale.getLanguage(); in RemoveLocaleScriptTag()524 const char* icu_country = new_locale.getCountry(); in RemoveLocaleScriptTag()