Lines Matching refs:pers_func
622 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()
5031 if (self->pers_func == NULL) { in Pickler_get_persid()
5035 return reconstruct_method(self->pers_func, self->pers_func_self); in Pickler_get_persid()
5054 Py_XSETREF(self->pers_func, value); in Pickler_set_persid()
6101 if (self->pers_func) { in load_persid()
6117 obj = call_method(self->pers_func, self->pers_func_self, pid); in load_persid()
6139 if (self->pers_func) { in load_binpersid()
6144 obj = call_method(self->pers_func, self->pers_func_self, pid); in load_binpersid()
7202 Py_XDECREF(self->pers_func); in Unpickler_dealloc()
7226 Py_VISIT(self->pers_func); in Unpickler_traverse()
7239 Py_CLEAR(self->pers_func); in Unpickler_clear()
7316 &self->pers_func, &self->pers_func_self) < 0) in _pickle_Unpickler___init___impl()
7603 if (self->pers_func == NULL) { in Unpickler_get_persload()
7607 return reconstruct_method(self->pers_func, self->pers_func_self); in Unpickler_get_persload()
7627 Py_XSETREF(self->pers_func, value); in Unpickler_set_persload()