Lines Matching refs:bytearray_obj
2283 PyObject *it, *item, *bytearray_obj;
2307 bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
2308 if (bytearray_obj == NULL) {
2312 buf = PyByteArray_AS_STRING(bytearray_obj);
2318 Py_DECREF(bytearray_obj);
2328 Py_DECREF(bytearray_obj);
2336 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) {
2338 Py_DECREF(bytearray_obj);
2343 buf = PyByteArray_AS_STRING(bytearray_obj);
2349 if (PyByteArray_Resize((PyObject *)bytearray_obj, len) < 0) {
2350 Py_DECREF(bytearray_obj);
2354 if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -1) {
2355 Py_DECREF(bytearray_obj);
2358 Py_DECREF(bytearray_obj);