Home
last modified time | relevance | path

Searched refs:new_locale (Results 1 – 3 of 3) sorted by relevance

/external/libiio/src/
Dutilities.c109 locale_t old_locale, new_locale; in read_double_locale() local
111 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() local
132 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()
/external/python/cpython3/Python/
Dpylifecycle.c345 const char *new_locale = setlocale(LC_CTYPE, in _Py_CoerceLegacyLocale() local
347 if (new_locale != NULL) { in _Py_CoerceLegacyLocale()
353 new_locale = NULL; in _Py_CoerceLegacyLocale()
/external/v8/src/objects/
Dintl-objects.cc516 icu::Locale new_locale = icu::Locale::createCanonical(icu_locale.c_str()); in RemoveLocaleScriptTag() local
517 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()