Home
last modified time | relevance | path

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

/third_party/python/Modules/clinic/
D_codecsmodule.c.h127 Py_ssize_t errors_length; in _codecs_encode() local
128 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_encode()
132 if (strlen(errors) != (size_t)errors_length) { in _codecs_encode()
204 Py_ssize_t errors_length; in _codecs_decode() local
205 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_decode()
209 if (strlen(errors) != (size_t)errors_length) { in _codecs_decode()
266 Py_ssize_t errors_length; in _codecs_escape_decode() local
267 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_escape_decode()
271 if (strlen(errors) != (size_t)errors_length) { in _codecs_escape_decode()
326 Py_ssize_t errors_length; in _codecs_escape_encode() local
[all …]
D_pickle.c.h381 Py_ssize_t errors_length; in _pickle_Unpickler___init__() local
382 errors = PyUnicode_AsUTF8AndSize(fastargs[3], &errors_length); in _pickle_Unpickler___init__()
386 if (strlen(errors) != (size_t)errors_length) { in _pickle_Unpickler___init__()
716 Py_ssize_t errors_length; in _pickle_load() local
717 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_load()
721 if (strlen(errors) != (size_t)errors_length) { in _pickle_load()
819 Py_ssize_t errors_length; in _pickle_loads() local
820 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_loads()
824 if (strlen(errors) != (size_t)errors_length) { in _pickle_loads()
/third_party/python/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()
/third_party/python/Modules/_io/clinic/
D_iomodule.c.h217 Py_ssize_t errors_length; in _io_open() local
218 errors = PyUnicode_AsUTF8AndSize(args[4], &errors_length); in _io_open()
222 if (strlen(errors) != (size_t)errors_length) { in _io_open()
/third_party/python/Objects/clinic/
Dbytesobject.c.h655 Py_ssize_t errors_length; in bytes_decode() local
656 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytes_decode()
660 if (strlen(errors) != (size_t)errors_length) { in bytes_decode()
866 Py_ssize_t errors_length; in bytes_new() local
867 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in bytes_new()
871 if (strlen(errors) != (size_t)errors_length) { in bytes_new()
Dbytearrayobject.c.h58 Py_ssize_t errors_length; in bytearray___init__() local
59 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in bytearray___init__()
63 if (strlen(errors) != (size_t)errors_length) { in bytearray___init__()
882 Py_ssize_t errors_length; in bytearray_decode() local
883 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytearray_decode()
887 if (strlen(errors) != (size_t)errors_length) { in bytearray_decode()
Dunicodeobject.c.h175 Py_ssize_t errors_length; in unicode_encode() local
176 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in unicode_encode()
180 if (strlen(errors) != (size_t)errors_length) { in unicode_encode()
1315 Py_ssize_t errors_length; in unicode_new() local
1316 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in unicode_new()
1320 if (strlen(errors) != (size_t)errors_length) { in unicode_new()