Home
last modified time | relevance | path

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

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