Home | History | Annotate | Download | only in Modules

Lines Matching refs:newsize

45 array_resize(arrayobject *self, Py_ssize_t newsize)
51 to accommodate the newsize. If the newsize is 16 smaller than the
55 if (self->allocated >= newsize &&
56 Py_SIZE(self) < newsize + 16 &&
58 Py_SIZE(self) = newsize;
74 _new_size = (newsize >> 4) + (Py_SIZE(self) < 8 ? 3 : 7) + newsize;
87 Py_SIZE(self) = newsize;