Lines Matching refs:pickler
382 (pickler -> bound method of pickler -> pickler) */
712 PicklerObject *pickler; /* Pickler whose memo table we're proxying. */
729 A custom hashtable mapping void* to Python ints. This is used by the pickler
1048 * file and reuse the pickler buffer for the next frame so as
4552 Clears the pickler's "memo".
4555 pickler has already seen, so that shared or recursive objects are
4702 The optional *protocol* argument tells the pickler to use the given
4790 * pickler.memo.clear()
4792 * pickler.memo = saved_memo
4808 if (self->pickler->memo)
4809 PyMemoTable_Clear(self->pickler->memo);
4828 memo = self->pickler->memo;
4901 Py_XDECREF(self->pickler);
4909 Py_VISIT(self->pickler);
4916 Py_CLEAR(self->pickler);
4952 PicklerMemoProxy_New(PicklerObject *pickler)
4959 Py_INCREF(pickler);
4960 self->pickler = pickler;
4985 PicklerObject *pickler =
4986 ((PicklerMemoProxyObject *)obj)->pickler;
4988 new_memo = PyMemoTable_Copy(pickler->memo);
7651 The optional *protocol* argument tells the pickler to use the given
7681 PicklerObject *pickler = _Pickler_New();
7683 if (pickler == NULL)
7686 if (_Pickler_SetProtocol(pickler, protocol, fix_imports) < 0)
7689 if (_Pickler_SetOutputStream(pickler, file) < 0)
7692 if (_Pickler_SetBufferCallback(pickler, buffer_callback) < 0)
7695 if (dump(pickler, obj) < 0)
7698 if (_Pickler_FlushToFile(pickler) < 0)
7701 Py_DECREF(pickler);
7705 Py_XDECREF(pickler);
7721 The optional *protocol* argument tells the pickler to use the given
7746 PicklerObject *pickler = _Pickler_New();
7748 if (pickler == NULL)
7751 if (_Pickler_SetProtocol(pickler, protocol, fix_imports) < 0)
7754 if (_Pickler_SetBufferCallback(pickler, buffer_callback) < 0)
7757 if (dump(pickler, obj) < 0)
7760 result = _Pickler_GetString(pickler);
7761 Py_DECREF(pickler);
7765 Py_XDECREF(pickler);