Lines Matching refs:mt_allocated
601 size_t mt_allocated; member
718 memo->mt_allocated = MT_MINSIZE; in PyMemoTable_New()
739 new->mt_allocated = self->mt_allocated; in PyMemoTable_Copy()
744 new->mt_table = PyMem_NEW(PyMemoEntry, self->mt_allocated); in PyMemoTable_Copy()
750 for (size_t i = 0; i < self->mt_allocated; i++) { in PyMemoTable_Copy()
754 sizeof(PyMemoEntry) * self->mt_allocated); in PyMemoTable_Copy()
768 Py_ssize_t i = self->mt_allocated; in PyMemoTable_Clear()
774 memset(self->mt_table, 0, self->mt_allocated * sizeof(PyMemoEntry)); in PyMemoTable_Clear()
846 self->mt_allocated = new_size; in _PyMemoTable_ResizeTable()
907 if (SIZE_MAX / 3 >= self->mt_used && self->mt_used * 3 < self->mt_allocated * 2) { in PyMemoTable_Set()
4243 res += self->memo->mt_allocated * sizeof(PyMemoEntry); in _pickle_Pickler___sizeof___impl()
4426 for (size_t i = 0; i < memo->mt_allocated; ++i) { in _pickle_PicklerMemoProxy_copy_impl()