Lines Matching refs:mt_table
602 PyMemoEntry *mt_table; member
720 memo->mt_table = PyMem_MALLOC(MT_MINSIZE * sizeof(PyMemoEntry)); in PyMemoTable_New()
721 if (memo->mt_table == NULL) { in PyMemoTable_New()
726 memset(memo->mt_table, 0, MT_MINSIZE * sizeof(PyMemoEntry)); in PyMemoTable_New()
743 PyMem_FREE(new->mt_table); in PyMemoTable_Copy()
744 new->mt_table = PyMem_NEW(PyMemoEntry, self->mt_allocated); in PyMemoTable_Copy()
745 if (new->mt_table == NULL) { in PyMemoTable_Copy()
751 Py_XINCREF(self->mt_table[i].me_key); in PyMemoTable_Copy()
753 memcpy(new->mt_table, self->mt_table, in PyMemoTable_Copy()
771 Py_XDECREF(self->mt_table[i].me_key); in PyMemoTable_Clear()
774 memset(self->mt_table, 0, self->mt_allocated * sizeof(PyMemoEntry)); in PyMemoTable_Clear()
785 PyMem_FREE(self->mt_table); in PyMemoTable_Del()
797 PyMemoEntry *table = self->mt_table; in _PyMemoTable_Lookup()
839 oldtable = self->mt_table; in _PyMemoTable_ResizeTable()
840 self->mt_table = PyMem_NEW(PyMemoEntry, new_size); in _PyMemoTable_ResizeTable()
841 if (self->mt_table == NULL) { in _PyMemoTable_ResizeTable()
842 self->mt_table = oldtable; in _PyMemoTable_ResizeTable()
848 memset(self->mt_table, 0, sizeof(PyMemoEntry) * new_size); in _PyMemoTable_ResizeTable()
4427 PyMemoEntry entry = memo->mt_table[i]; in _pickle_PicklerMemoProxy_copy_impl()