Searched refs:_PyBytesWriter_Alloc (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Modules/ |
D | binascii.c | 398 ascii_data = _PyBytesWriter_Alloc(&writer, out_len); in binascii_b2a_uu_impl() 453 unsigned char *bin_data = _PyBytesWriter_Alloc(&writer, bin_len); in binascii_a2b_base64_impl() 579 ascii_data = _PyBytesWriter_Alloc(&writer, out_len); in binascii_b2a_base64_impl() 650 bin_data = _PyBytesWriter_Alloc(&writer, len + 2); in binascii_a2b_hqx_impl() 736 out_data = _PyBytesWriter_Alloc(&writer, len * 2 + 2); in binascii_rlecode_hqx_impl() 805 ascii_data = _PyBytesWriter_Alloc(&writer, len * 2 + 2); in binascii_b2a_hqx_impl() 867 out_data = _PyBytesWriter_Alloc(&writer, in_len); in binascii_rledecode_hqx_impl()
|
D | _struct.c | 1882 buf = _PyBytesWriter_Alloc(&writer, soself->s_size); in s_pack()
|
D | _pickle.c | 2597 p = _PyBytesWriter_Alloc(&writer, size); in raw_unicode_escape()
|
/external/python/cpython3/Include/cpython/ |
D | bytesobject.h | 85 PyAPI_FUNC(void*) _PyBytesWriter_Alloc(_PyBytesWriter *writer,
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 188 s = _PyBytesWriter_Alloc(&writer, strlen(format)); in PyBytes_FromFormatV() 604 res = _PyBytesWriter_Alloc(&writer, fmtcnt); in _PyBytes_FormatEx() 1075 p = _PyBytesWriter_Alloc(&writer, len); in _PyBytes_DecodeEscape() 2378 buf = _PyBytesWriter_Alloc(&writer, hexlen / 2); in _PyBytes_FromHex() 2673 str = _PyBytesWriter_Alloc(&writer, size); in _PyBytes_FromList() 2755 str = _PyBytesWriter_Alloc(&writer, size); in _PyBytes_FromIterator() 3411 _PyBytesWriter_Alloc(_PyBytesWriter *writer, Py_ssize_t size) in _PyBytesWriter_Alloc() function
|
D | unicodeobject.c | 6967 str = _PyBytesWriter_Alloc(&writer, size); in unicode_encode_ucs1()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 201 s = _PyBytesWriter_Alloc(&writer, strlen(format)); in PyBytes_FromFormatV() 612 res = _PyBytesWriter_Alloc(&writer, fmtcnt); in _PyBytes_FormatEx() 1136 p = _PyBytesWriter_Alloc(&writer, len); in _PyBytes_DecodeEscape() 2389 buf = _PyBytesWriter_Alloc(&writer, hexlen / 2); in _PyBytes_FromHex() 2712 str = _PyBytesWriter_Alloc(&writer, size); in _PyBytes_FromIterator() 3345 _PyBytesWriter_Alloc(_PyBytesWriter *writer, Py_ssize_t size) in _PyBytesWriter_Alloc() function
|
/external/python/cpython3/Objects/stringlib/ |
D | codecs.h | 292 p = _PyBytesWriter_Alloc(writer, size * max_char_size); in STRINGLIB()
|