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.h362 Py_ssize_t encoding_length; in _pickle_Unpickler___init__() local
363 encoding = PyUnicode_AsUTF8AndSize(fastargs[2], &encoding_length); in _pickle_Unpickler___init__()
367 if (strlen(encoding) != (size_t)encoding_length) { in _pickle_Unpickler___init__()
697 Py_ssize_t encoding_length; in _pickle_load() local
698 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_load()
702 if (strlen(encoding) != (size_t)encoding_length) { in _pickle_load()
800 Py_ssize_t encoding_length; in _pickle_loads() local
801 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_loads()
805 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.h884 Py_ssize_t encoding_length; in _elementtree_XMLParser___init__() local
885 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _elementtree_XMLParser___init__()
889 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.h574 Py_ssize_t encoding_length; in bytes_decode() local
575 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytes_decode()
579 if (strlen(encoding) != (size_t)encoding_length) { in bytes_decode()
Dbytearrayobject.c.h741 Py_ssize_t encoding_length; in bytearray_decode() local
742 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytearray_decode()
746 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()