Home
last modified time | relevance | path

Searched refs:PyMemoEntry (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Modules/
D_pickle.c596 } 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()
[all …]