Lines Matching refs:PyMemoEntry
596 } PyMemoEntry; typedef
602 PyMemoEntry *mt_table;
720 memo->mt_table = PyMem_MALLOC(MT_MINSIZE * sizeof(PyMemoEntry)); in PyMemoTable_New()
726 memset(memo->mt_table, 0, MT_MINSIZE * sizeof(PyMemoEntry)); in PyMemoTable_New()
744 new->mt_table = PyMem_NEW(PyMemoEntry, self->mt_allocated); in PyMemoTable_Copy()
754 sizeof(PyMemoEntry) * self->mt_allocated); in PyMemoTable_Copy()
774 memset(self->mt_table, 0, self->mt_allocated * sizeof(PyMemoEntry)); in PyMemoTable_Clear()
791 static PyMemoEntry *
797 PyMemoEntry *table = self->mt_table; in _PyMemoTable_Lookup()
798 PyMemoEntry *entry; in _PyMemoTable_Lookup()
819 PyMemoEntry *oldtable = NULL; in _PyMemoTable_ResizeTable()
820 PyMemoEntry *oldentry, *newentry; in _PyMemoTable_ResizeTable()
840 self->mt_table = PyMem_NEW(PyMemoEntry, new_size); in _PyMemoTable_ResizeTable()
848 memset(self->mt_table, 0, sizeof(PyMemoEntry) * new_size); in _PyMemoTable_ResizeTable()
873 PyMemoEntry *entry = _PyMemoTable_Lookup(self, key); in PyMemoTable_Get()
883 PyMemoEntry *entry; in PyMemoTable_Set()
4243 res += self->memo->mt_allocated * sizeof(PyMemoEntry); in _pickle_Pickler___sizeof___impl()
4427 PyMemoEntry entry = memo->mt_table[i]; in _pickle_PicklerMemoProxy_copy_impl()