Lines Matching refs:PyByteArray_Resize
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()
1132 if (PyByteArray_Resize((PyObject *)self, 0) < 0) in bytearray_clear_impl()
1278 if (PyByteArray_Resize(result, output - output_start) < 0) { in bytearray_translate_impl()
1554 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_insert_impl()
1592 if (PyByteArray_Resize((PyObject *)self, n + 1) < 0) in bytearray_append_impl()
1667 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) { in bytearray_extend()
1680 if (PyByteArray_Resize((PyObject *)bytearray_obj, len) < 0) { in bytearray_extend()
1732 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_pop_impl()
1764 if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) in bytearray_remove_impl()