Searched refs:PyByteArray_Resize (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 189 PyByteArray_Resize(PyObject *self, Py_ssize_t requested_size) in PyByteArray_Resize() function 327 if (PyByteArray_Resize((PyObject *)self, size + vo.len) < 0) { in bytearray_iconcat() 376 if (PyByteArray_Resize((PyObject *)self, size) < 0) in bytearray_irepeat() 496 if (PyByteArray_Resize((PyObject *)self, in bytearray_setslice_linear() 524 if (PyByteArray_Resize((PyObject *)self, in bytearray_setslice_linear() 735 if (PyByteArray_Resize((PyObject *)self, in bytearray_ass_subscript() 773 if (PyByteArray_Resize((PyObject *)self, 0) < 0) in bytearray_init() 833 if (PyByteArray_Resize((PyObject *)self, count)) in bytearray_init() 848 if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail; in bytearray_init() 894 else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0) in bytearray_init() [all …]
|
D | bytesobject.c | 3308 if (PyByteArray_Resize(writer->buffer, allocated)) in _PyBytesWriter_Resize() 3447 if (PyByteArray_Resize(result, size)) { in _PyBytesWriter_Finish()
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 244 PyByteArray_Resize(PyObject *self, Py_ssize_t size) in PyByteArray_Resize() function 359 else if (PyByteArray_Resize((PyObject *)self, size) < 0) { in bytearray_iconcat() 411 else if (PyByteArray_Resize((PyObject *)self, size) < 0) in bytearray_irepeat() 557 if (PyByteArray_Resize((PyObject *)self, in bytearray_setslice() 697 if (PyByteArray_Resize((PyObject *)self, in bytearray_ass_subscript() 747 if (PyByteArray_Resize((PyObject *)self, in bytearray_ass_subscript() 784 if (PyByteArray_Resize((PyObject *)self, 0) < 0) in bytearray_init() 865 if (PyByteArray_Resize((PyObject *)self, count)) in bytearray_init() 879 if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail; in bytearray_init() 924 else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0) in bytearray_init() [all …]
|
D | bytesobject.c | 3263 if (PyByteArray_Resize(writer->buffer, allocated)) in _PyBytesWriter_Resize() 3402 if (PyByteArray_Resize(result, size)) { in _PyBytesWriter_Finish()
|
/external/python/cpython2/Include/ |
D | bytearrayobject.h | 44 PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
|
/external/python/cpython3/Include/ |
D | bytearrayobject.h | 47 PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
|
/external/python/cpython2/Doc/c-api/ |
D | bytearray.rst | 71 .. c:function:: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len)
|
/external/python/cpython3/Doc/c-api/ |
D | bytearray.rst | 71 .. c:function:: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len)
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 609 if (PyByteArray_Resize(buffer, old_size + PyBytes_GET_SIZE(b)) < 0) { in _io__IOBase_readline_impl()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 542 if (PyByteArray_Resize(buffer, old_size + PyBytes_GET_SIZE(b)) < 0) { in iobase_readline()
|
/external/python/cpython3/PC/ |
D | python3.def | 20 PyByteArray_Resize=python37.PyByteArray_Resize
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 100 PyByteArray_Resize:int::: 101 PyByteArray_Resize:PyObject*:bytearray:0: 102 PyByteArray_Resize:Py_ssize_t:len::
|