Searched refs:encoding_length (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Modules/clinic/ |
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 | pyexpat.c.h | 291 Py_ssize_t encoding_length; in pyexpat_ParserCreate() local 292 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in pyexpat_ParserCreate() 296 if (strlen(encoding) != (size_t)encoding_length) { in pyexpat_ParserCreate()
|
D | _codecsmodule.c.h | 51 Py_ssize_t encoding_length; in _codecs_lookup() local 52 encoding = PyUnicode_AsUTF8AndSize(arg, &encoding_length); in _codecs_lookup() 56 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_lookup() 110 Py_ssize_t encoding_length; in _codecs_encode() local 111 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_encode() 115 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_encode() 187 Py_ssize_t encoding_length; in _codecs_decode() local 188 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_decode() 192 if (strlen(encoding) != (size_t)encoding_length) { in _codecs_decode()
|
D | _elementtree.c.h | 830 Py_ssize_t encoding_length; in _elementtree_XMLParser___init__() local 831 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _elementtree_XMLParser___init__() 835 if (strlen(encoding) != (size_t)encoding_length) { in _elementtree_XMLParser___init__()
|
/third_party/python/Modules/_io/clinic/ |
D | _iomodule.c.h | 194 Py_ssize_t encoding_length; in _io_open() local 195 encoding = PyUnicode_AsUTF8AndSize(args[3], &encoding_length); in _io_open() 199 if (strlen(encoding) != (size_t)encoding_length) { in _io_open()
|
D | textio.c.h | 211 Py_ssize_t encoding_length; in _io_TextIOWrapper___init__() local 212 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _io_TextIOWrapper___init__() 216 if (strlen(encoding) != (size_t)encoding_length) { in _io_TextIOWrapper___init__()
|
/third_party/python/Objects/clinic/ |
D | bytesobject.c.h | 638 Py_ssize_t encoding_length; in bytes_decode() local 639 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytes_decode() 643 if (strlen(encoding) != (size_t)encoding_length) { in bytes_decode() 849 Py_ssize_t encoding_length; in bytes_new() local 850 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in bytes_new() 854 if (strlen(encoding) != (size_t)encoding_length) { in bytes_new()
|
D | bytearrayobject.c.h | 41 Py_ssize_t encoding_length; in bytearray___init__() local 42 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in bytearray___init__() 46 if (strlen(encoding) != (size_t)encoding_length) { in bytearray___init__() 865 Py_ssize_t encoding_length; in bytearray_decode() local 866 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytearray_decode() 870 if (strlen(encoding) != (size_t)encoding_length) { in bytearray_decode()
|
D | unicodeobject.c.h | 158 Py_ssize_t encoding_length; in unicode_encode() local 159 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in unicode_encode() 163 if (strlen(encoding) != (size_t)encoding_length) { in unicode_encode() 1298 Py_ssize_t encoding_length; in unicode_new() local 1299 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in unicode_new() 1303 if (strlen(encoding) != (size_t)encoding_length) { in unicode_new()
|
/third_party/openssl/test/ |
D | asn1_encode_test.c | 678 size_t encoding_length = make_custom_der(custom_data, &encoding, 1); in do_decode_custom() local 681 if (encoding_length == 0) in do_decode_custom() 684 ret = do_decode(encoding, encoding_length, expected, expected_size, in do_decode_custom()
|