Searched refs:ctype_loc (Results 1 – 3 of 3) sorted by relevance
639 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in preconfig_init_utf8_mode() local640 if (ctype_loc != NULL in preconfig_init_utf8_mode()641 && (strcmp(ctype_loc, "C") == 0 in preconfig_init_utf8_mode()642 || strcmp(ctype_loc, "POSIX") == 0)) in preconfig_init_utf8_mode()
251 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in _Py_LegacyLocaleDetected() local252 return ctype_loc != NULL && strcmp(ctype_loc, "C") == 0; in _Py_LegacyLocaleDetected()287 _Py_IsLocaleCoercionTarget(const char *ctype_loc) in _Py_IsLocaleCoercionTarget() argument291 if (strcmp(ctype_loc, target->locale_name) == 0) { in _Py_IsLocaleCoercionTarget()
29 PyAPI_FUNC(int) _Py_IsLocaleCoercionTarget(const char *ctype_loc);