Lines Matching refs:PyByteArray_Resize
176 PyByteArray_Resize(PyObject *self, Py_ssize_t requested_size) in PyByteArray_Resize() function
316 if (PyByteArray_Resize((PyObject *)self, size + vo.len) < 0) { in bytearray_iconcat()
365 if (PyByteArray_Resize((PyObject *)self, size) < 0) in bytearray_irepeat()
484 if (PyByteArray_Resize((PyObject *)self, in bytearray_setslice_linear()
512 if (PyByteArray_Resize((PyObject *)self, in bytearray_setslice_linear()
723 if (PyByteArray_Resize((PyObject *)self, in bytearray_ass_subscript()
761 if (PyByteArray_Resize((PyObject *)self, 0) < 0) in bytearray_init()
825 if (PyByteArray_Resize((PyObject *)self, count)) in bytearray_init()
840 if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail; in bytearray_init()
892 else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0) in bytearray_init()
1131 if (PyByteArray_Resize((PyObject *)self, 0) < 0) in bytearray_clear_impl()
1342 if (PyByteArray_Resize(result, output - output_start) < 0) { in bytearray_translate_impl()
1618 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_insert_impl()
1656 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_append_impl()
1737 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) { in bytearray_extend()
1750 if (PyByteArray_Resize((PyObject *)bytearray_obj, len) < 0) { in bytearray_extend()
1806 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_pop_impl()
1838 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_remove_impl()