Lines Matching refs:encoding_length
40 Py_ssize_t encoding_length; in _codecs_lookup() local
41 encoding = PyUnicode_AsUTF8AndSize(arg, &encoding_length); in _codecs_lookup()
45 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_lookup()
99 Py_ssize_t encoding_length; in _codecs_encode() local
100 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_encode()
104 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_encode()
176 Py_ssize_t encoding_length; in _codecs_decode() local
177 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_decode()
181 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_decode()
231 Py_ssize_t encoding_length; in _codecs__forget_codec() local
232 encoding = PyUnicode_AsUTF8AndSize(arg, &encoding_length); in _codecs__forget_codec()
236 if (strlen(encoding) != (size_t)encoding_length) { in _codecs__forget_codec()