Lines Matching refs:PyByteArray_Resize
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()
1542 PyByteArray_Resize(result, output - output_start); in bytearray_translate()
2246 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_insert()
2279 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_append()
2348 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) { in bytearray_extend()
2361 if (PyByteArray_Resize((PyObject *)bytearray_obj, len) < 0) { in bytearray_extend()
2405 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_pop()
2434 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_remove()
2754 if (PyByteArray_Resize(newbytes, j) < 0) in bytearray_fromhex()