Home
last modified time | relevance | path

Searched refs:encoding_length (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Modules/clinic/
Dpyexpat.c.h185 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.h363 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.h40 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.h835 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.h199 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()
Dtextio.c.h221 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/
Dbytesobject.c.h653 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()
Dbytearrayobject.c.h821 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()
Dunicodeobject.c.h163 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()