Home
last modified time | relevance | path

Searched refs:errors_length (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Modules/clinic/
D_codecsmodule.c.h116 Py_ssize_t errors_length; in _codecs_encode() local
117 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_encode()
121 if (strlen(errors) != (size_t)errors_length) { in _codecs_encode()
193 Py_ssize_t errors_length; in _codecs_decode() local
194 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_decode()
198 if (strlen(errors) != (size_t)errors_length) { in _codecs_decode()
292 Py_ssize_t errors_length; in _codecs_escape_decode() local
293 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_escape_decode()
297 if (strlen(errors) != (size_t)errors_length) { in _codecs_escape_decode()
352 Py_ssize_t errors_length; in _codecs_escape_encode() local
[all …]
D_pickle.c.h380 Py_ssize_t errors_length; in _pickle_Unpickler___init__() local
381 errors = PyUnicode_AsUTF8AndSize(fastargs[3], &errors_length); in _pickle_Unpickler___init__()
385 if (strlen(errors) != (size_t)errors_length) { in _pickle_Unpickler___init__()
715 Py_ssize_t errors_length; in _pickle_load() local
716 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_load()
720 if (strlen(errors) != (size_t)errors_length) { in _pickle_load()
818 Py_ssize_t errors_length; in _pickle_loads() local
819 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_loads()
823 if (strlen(errors) != (size_t)errors_length) { in _pickle_loads()
/external/python/cpython3/Modules/cjkcodecs/clinic/
Dmultibytecodec.c.h47 Py_ssize_t errors_length; in _multibytecodec_MultibyteCodec_encode() local
48 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _multibytecodec_MultibyteCodec_encode()
52 if (strlen(errors) != (size_t)errors_length) { in _multibytecodec_MultibyteCodec_encode()
116 Py_ssize_t errors_length; in _multibytecodec_MultibyteCodec_decode() local
117 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _multibytecodec_MultibyteCodec_decode()
121 if (strlen(errors) != (size_t)errors_length) { in _multibytecodec_MultibyteCodec_decode()
/external/python/cpython3/Modules/_io/clinic/
D_iomodule.c.h222 Py_ssize_t errors_length; in _io_open() local
223 errors = PyUnicode_AsUTF8AndSize(args[4], &errors_length); in _io_open()
227 if (strlen(errors) != (size_t)errors_length) { in _io_open()
/external/python/cpython3/Objects/clinic/
Dbytesobject.c.h591 Py_ssize_t errors_length; in bytes_decode() local
592 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytes_decode()
596 if (strlen(errors) != (size_t)errors_length) { in bytes_decode()
Dbytearrayobject.c.h758 Py_ssize_t errors_length; in bytearray_decode() local
759 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytearray_decode()
763 if (strlen(errors) != (size_t)errors_length) { in bytearray_decode()
Dunicodeobject.c.h180 Py_ssize_t errors_length; in unicode_encode() local
181 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in unicode_encode()
185 if (strlen(errors) != (size_t)errors_length) { in unicode_encode()