Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dpickle.py245 memo_len = len(self.memo)
246 self.write(self.put(memo_len))
247 self.memo[id(obj)] = memo_len, obj
/external/python/cpython2/Modules/
DcPickle.c819 PyObject *py_ob_id = 0, *memo_len = 0, *t = 0; in put2() local
838 if (!( memo_len = PyInt_FromLong(p))) in put2()
844 PyTuple_SET_ITEM(t, 0, memo_len); in put2()
845 Py_INCREF(memo_len); in put2()
860 PDATA_APPEND(self->file, memo_len, -1); in put2()
892 Py_XDECREF(memo_len); in put2()
/external/python/cpython3/Modules/
D_pickle.c664 size_t memo_len; /* Number of objects in the memo */ member
1554 self->memo_len++; in _Unpickler_MemoPut()
1617 self->memo_len = 0; in _Unpickler_New()
6478 return _Unpickler_MemoPut(self, self->memo_len, value); in load_memoize()