Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
DcPickle.c338 PyObject *pers_func; member
372 PyObject *pers_func; member
2606 if (!pers_save && self->pers_func) { in save()
2607 if ((tmp = save_pers(self, args, self->pers_func)) != 0) { in save()
3075 self->pers_func = NULL; in newPicklerobject()
3192 Py_XDECREF(self->pers_func); in Pickler_dealloc()
3207 Py_VISIT(self->pers_func); in Pickler_traverse()
3221 Py_CLEAR(self->pers_func); in Pickler_clear()
3230 if (p->pers_func == NULL) in Pickler_get_pers_func()
3233 Py_INCREF(p->pers_func); in Pickler_get_pers_func()
[all …]
/external/python/cpython3/Modules/
D_pickle.c622 PyObject *pers_func; /* persistent_id() method, can be NULL */ member
666 PyObject *pers_func; /* persistent_load() method, can be NULL. */ member
1113 self->pers_func = NULL; in _Pickler_New()
1597 self->pers_func = NULL; in _Unpickler_New()
3875 pid = call_method(self->pers_func, self->pers_func_self, obj); in save_pers()
4271 if (!pers_save && self->pers_func) { in save()
4640 Py_XDECREF(self->pers_func); in Pickler_dealloc()
4655 Py_VISIT(self->pers_func); in Pickler_traverse()
4668 Py_CLEAR(self->pers_func); in Pickler_clear()
4767 &self->pers_func, &self->pers_func_self) < 0) in _pickle_Pickler___init___impl()
[all …]