Home
last modified time | relevance | path

Searched refs:PyByteArray_Resize (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Objects/
Dbytearrayobject.c189 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 …]
Dbytesobject.c3308 if (PyByteArray_Resize(writer->buffer, allocated)) in _PyBytesWriter_Resize()
3447 if (PyByteArray_Resize(result, size)) { in _PyBytesWriter_Finish()
/external/python/cpython2/Objects/
Dbytearrayobject.c244 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 …]
Dbytesobject.c3263 if (PyByteArray_Resize(writer->buffer, allocated)) in _PyBytesWriter_Resize()
3402 if (PyByteArray_Resize(result, size)) { in _PyBytesWriter_Finish()
/external/python/cpython2/Include/
Dbytearrayobject.h44 PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
/external/python/cpython3/Include/
Dbytearrayobject.h47 PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
/external/python/cpython2/Doc/c-api/
Dbytearray.rst71 .. c:function:: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len)
/external/python/cpython3/Doc/c-api/
Dbytearray.rst71 .. c:function:: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len)
/external/python/cpython3/Modules/_io/
Diobase.c609 if (PyByteArray_Resize(buffer, old_size + PyBytes_GET_SIZE(b)) < 0) { in _io__IOBase_readline_impl()
/external/python/cpython2/Modules/_io/
Diobase.c542 if (PyByteArray_Resize(buffer, old_size + PyBytes_GET_SIZE(b)) < 0) { in iobase_readline()
/external/python/cpython3/PC/
Dpython3.def20 PyByteArray_Resize=python37.PyByteArray_Resize
/external/python/cpython3/Doc/data/
Drefcounts.dat100 PyByteArray_Resize:int:::
101 PyByteArray_Resize:PyObject*:bytearray:0:
102 PyByteArray_Resize:Py_ssize_t:len::