Searched refs:cased (Results 1 – 8 of 8) sorted by relevance
136 int cased; in _Py_bytes_islower() local147 cased = 0; in _Py_bytes_islower()151 else if (!cased && Py_ISLOWER(*p)) in _Py_bytes_islower()152 cased = 1; in _Py_bytes_islower()154 return PyBool_FromLong(cased); in _Py_bytes_islower()170 int cased; in _Py_bytes_isupper() local181 cased = 0; in _Py_bytes_isupper()185 else if (!cased && Py_ISUPPER(*p)) in _Py_bytes_isupper()186 cased = 1; in _Py_bytes_isupper()188 return PyBool_FromLong(cased); in _Py_bytes_isupper()[all …]
3448 int cased; in string_islower() local3459 cased = 0; in string_islower()3463 else if (!cased && islower(*p)) in string_islower()3464 cased = 1; in string_islower()3466 return PyBool_FromLong(cased); in string_islower()3482 int cased; in string_isupper() local3493 cased = 0; in string_isupper()3497 else if (!cased && isupper(*p)) in string_isupper()3498 cased = 1; in string_isupper()3500 return PyBool_FromLong(cased); in string_isupper()[all …]
6712 int cased; in unicode_islower() local6723 cased = 0; in unicode_islower()6729 else if (!cased && Py_UNICODE_ISLOWER(ch)) in unicode_islower()6730 cased = 1; in unicode_islower()6732 return PyBool_FromLong(cased); in unicode_islower()6746 int cased; in unicode_isupper() local6757 cased = 0; in unicode_isupper()6763 else if (!cased && Py_UNICODE_ISUPPER(ch)) in unicode_isupper()6764 cased = 1; in unicode_isupper()6766 return PyBool_FromLong(cased); in unicode_isupper()[all …]
68 First the trivial cases, trivial for samplesort because it special-cased
3427 int cased; in string_islower() local3438 cased = 0; in string_islower()3442 else if (!cased && islower(*p)) in string_islower()3443 cased = 1; in string_islower()3445 return PyBool_FromLong(cased); in string_islower()3461 int cased; in string_isupper() local3472 cased = 0; in string_isupper()3476 else if (!cased && isupper(*p)) in string_isupper()3477 cased = 1; in string_isupper()3479 return PyBool_FromLong(cased); in string_isupper()[all …]
6604 int cased; in unicode_islower() local6615 cased = 0; in unicode_islower()6621 else if (!cased && Py_UNICODE_ISLOWER(ch)) in unicode_islower()6622 cased = 1; in unicode_islower()6624 return PyBool_FromLong(cased); in unicode_islower()6638 int cased; in unicode_isupper() local6649 cased = 0; in unicode_isupper()6655 else if (!cased && Py_UNICODE_ISUPPER(ch)) in unicode_isupper()6656 cased = 1; in unicode_isupper()6658 return PyBool_FromLong(cased); in unicode_isupper()[all …]
67 First the trivial cases, trivial for samplesort because it special-cased