Searched refs:ob_alloc (Results 1 – 4 of 4) sorted by relevance
8 Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ member
26 Py_ssize_t ob_alloc; /* How many bytes allocated */ member
219 new->ob_alloc = alloc; in PyByteArray_FromStringAndSize()247 Py_ssize_t alloc = ((PyByteArrayObject *)self)->ob_alloc; in PyByteArray_Resize()287 ((PyByteArrayObject *)self)->ob_alloc = alloc; in PyByteArray_Resize()355 if (size < self->ob_alloc) { in bytearray_iconcat()407 if (size < self->ob_alloc) { in bytearray_irepeat()920 if (Py_SIZE(self) + 1 < self->ob_alloc) { in bytearray_init()2602 return PyInt_FromSsize_t(self->ob_alloc); in bytearray_alloc()2802 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof()
150 new->ob_alloc = alloc; in PyByteArray_FromStringAndSize()182 size_t alloc = (size_t) obj->ob_alloc; in PyByteArray_Resize()248 obj->ob_alloc = alloc; in PyByteArray_Resize()888 if (Py_SIZE(self) + 1 < self->ob_alloc) { in bytearray_init()2018 return PyLong_FromSsize_t(self->ob_alloc); in bytearray_alloc()2195 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()