Searched refs:encoding_length (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Modules/clinic/ |
D | pyexpat.c.h | 185 Py_ssize_t encoding_length; in pyexpat_xmlparser_ExternalEntityParserCreate() local 186 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in pyexpat_xmlparser_ExternalEntityParserCreate() 190 if (strlen(encoding) != (size_t)encoding_length) { in pyexpat_xmlparser_ExternalEntityParserCreate() 320 Py_ssize_t encoding_length; in pyexpat_ParserCreate() local 321 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in pyexpat_ParserCreate() 325 if (strlen(encoding) != (size_t)encoding_length) { in pyexpat_ParserCreate()
|
D | _pickle.c.h | 363 Py_ssize_t encoding_length; in _pickle_Unpickler___init__() local 364 encoding = PyUnicode_AsUTF8AndSize(fastargs[2], &encoding_length); in _pickle_Unpickler___init__() 368 if (strlen(encoding) != (size_t)encoding_length) { in _pickle_Unpickler___init__() 698 Py_ssize_t encoding_length; in _pickle_load() local 699 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_load() 703 if (strlen(encoding) != (size_t)encoding_length) { in _pickle_load() 801 Py_ssize_t encoding_length; in _pickle_loads() local 802 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_loads() 806 if (strlen(encoding) != (size_t)encoding_length) { in _pickle_loads()
|
D | _codecsmodule.c.h | 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 [all …]
|
D | _elementtree.c.h | 835 Py_ssize_t encoding_length; in _elementtree_XMLParser___init__() local 836 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _elementtree_XMLParser___init__() 840 if (strlen(encoding) != (size_t)encoding_length) { in _elementtree_XMLParser___init__()
|
/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 199 Py_ssize_t encoding_length; in _io_open() local 200 encoding = PyUnicode_AsUTF8AndSize(args[3], &encoding_length); in _io_open() 204 if (strlen(encoding) != (size_t)encoding_length) { in _io_open()
|
D | textio.c.h | 221 Py_ssize_t encoding_length; in _io_TextIOWrapper___init__() local 222 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _io_TextIOWrapper___init__() 226 if (strlen(encoding) != (size_t)encoding_length) { in _io_TextIOWrapper___init__()
|
/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 653 Py_ssize_t encoding_length; in bytes_decode() local 654 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytes_decode() 658 if (strlen(encoding) != (size_t)encoding_length) { in bytes_decode()
|
D | bytearrayobject.c.h | 821 Py_ssize_t encoding_length; in bytearray_decode() local 822 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytearray_decode() 826 if (strlen(encoding) != (size_t)encoding_length) { in bytearray_decode()
|
D | unicodeobject.c.h | 163 Py_ssize_t encoding_length; in unicode_encode() local 164 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in unicode_encode() 168 if (strlen(encoding) != (size_t)encoding_length) { in unicode_encode()
|