Searched refs:ctype_loc (Results 1 – 3 of 3) sorted by relevance
640 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in preconfig_init_utf8_mode() local641 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()
245 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in _Py_LegacyLocaleDetected() local246 return ctype_loc != NULL && strcmp(ctype_loc, "C") == 0; in _Py_LegacyLocaleDetected()283 _Py_IsLocaleCoercionTarget(const char *ctype_loc) in _Py_IsLocaleCoercionTarget() argument287 if (strcmp(ctype_loc, target->locale_name) == 0) { in _Py_IsLocaleCoercionTarget()
30 PyAPI_FUNC(int) _Py_IsLocaleCoercionTarget(const char *ctype_loc);