Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
DcPickle.c353 PyObject *fast_memo; member
959 if (self->fast_memo == NULL) { in fast_save_enter()
960 self->fast_memo = PyDict_New(); in fast_save_enter()
961 if (self->fast_memo == NULL) { in fast_save_enter()
969 if (PyDict_GetItem(self->fast_memo, key)) { in fast_save_enter()
978 if (PyDict_SetItem(self->fast_memo, key, Py_None) < 0) { in fast_save_enter()
995 if (PyDict_DelItem(self->fast_memo, key) < 0) { in fast_save_leave()
3080 self->fast_memo = NULL; in newPicklerobject()
3189 Py_XDECREF(self->fast_memo); in Pickler_dealloc()
3204 Py_VISIT(self->fast_memo); in Pickler_traverse()
[all …]
/external/python/cpython3/Modules/
D_pickle.c652 PyObject *fast_memo; member
1124 self->fast_memo = NULL; in _Pickler_New()
1995 if (self->fast_memo == NULL) { in fast_save_enter()
1996 self->fast_memo = PyDict_New(); in fast_save_enter()
1997 if (self->fast_memo == NULL) { in fast_save_enter()
2007 if (PyDict_GetItemWithError(self->fast_memo, key)) { in fast_save_enter()
2021 if (PyDict_SetItem(self->fast_memo, key, Py_None) < 0) { in fast_save_enter()
2038 if (PyDict_DelItem(self->fast_memo, key) < 0) { in fast_save_leave()
4642 Py_XDECREF(self->fast_memo); in Pickler_dealloc()
4657 Py_VISIT(self->fast_memo); in Pickler_traverse()
[all …]