Home
last modified time | relevance | path

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

/third_party/python/Python/
Dpreconfig.c657 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in preconfig_init_utf8_mode() local
658 if (ctype_loc != NULL in preconfig_init_utf8_mode()
659 && (strcmp(ctype_loc, "C") == 0 in preconfig_init_utf8_mode()
660 || strcmp(ctype_loc, "POSIX") == 0)) in preconfig_init_utf8_mode()
Dpylifecycle.c255 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in _Py_LegacyLocaleDetected() local
256 return ctype_loc != NULL && strcmp(ctype_loc, "C") == 0; in _Py_LegacyLocaleDetected()
293 _Py_IsLocaleCoercionTarget(const char *ctype_loc) in _Py_IsLocaleCoercionTarget() argument
297 if (strcmp(ctype_loc, target->locale_name) == 0) { in _Py_IsLocaleCoercionTarget()
/third_party/python/Include/internal/
Dpycore_pylifecycle.h48 PyAPI_FUNC(int) _Py_IsLocaleCoercionTarget(const char *ctype_loc);