Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpreconfig.c640 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in preconfig_init_utf8_mode() local
641 if (ctype_loc != NULL in preconfig_init_utf8_mode()
642 && (strcmp(ctype_loc, "C") == 0 in preconfig_init_utf8_mode()
643 || strcmp(ctype_loc, "POSIX") == 0)) in preconfig_init_utf8_mode()
Dpylifecycle.c245 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in _Py_LegacyLocaleDetected() local
246 return ctype_loc != NULL && strcmp(ctype_loc, "C") == 0; in _Py_LegacyLocaleDetected()
283 _Py_IsLocaleCoercionTarget(const char *ctype_loc) in _Py_IsLocaleCoercionTarget() argument
287 if (strcmp(ctype_loc, target->locale_name) == 0) { in _Py_IsLocaleCoercionTarget()
/external/python/cpython3/Include/internal/
Dpycore_pylifecycle.h30 PyAPI_FUNC(int) _Py_IsLocaleCoercionTarget(const char *ctype_loc);