Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_localemodule.c183 #define GET_LOCALE_STRING(ATTR) PyUnicode_DecodeLocale(lc->ATTR, NULL) in locale_decode_monetary() macro
186 #define GET_LOCALE_STRING(ATTR) PyUnicode_FromWideChar(lc->_W_ ## ATTR, -1) in locale_decode_monetary()
194 obj = GET_LOCALE_STRING(ATTR); \ in locale_decode_monetary()
210 #undef GET_LOCALE_STRING in locale_decode_monetary()
258 #define GET_LOCALE_STRING(ATTR) PyUnicode_FromWideChar(lc->_W_ ## ATTR, -1) in PyLocale_localeconv() macro
260 #define GET_LOCALE_STRING(ATTR) PyUnicode_DecodeLocale(lc->ATTR, NULL) in PyLocale_localeconv() macro
264 x = GET_LOCALE_STRING(s); \ in PyLocale_localeconv()
325 #undef GET_LOCALE_STRING in PyLocale_localeconv()
/external/python/cpython3/Python/
Dfileutils.c2074 #define GET_LOCALE_STRING(ATTR) PyUnicode_DecodeLocale(lc->ATTR, NULL) in _Py_GetLocaleconvNumeric() macro
2077 #define GET_LOCALE_STRING(ATTR) PyUnicode_FromWideChar(lc->_W_ ## ATTR, -1) in _Py_GetLocaleconvNumeric() macro
2082 *decimal_point = GET_LOCALE_STRING(decimal_point); in _Py_GetLocaleconvNumeric()
2087 *thousands_sep = GET_LOCALE_STRING(thousands_sep); in _Py_GetLocaleconvNumeric()
2103 #undef GET_LOCALE_STRING in _Py_GetLocaleconvNumeric()