Lines Matching refs:pers_func
338 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()
3234 return p->pers_func; in Pickler_get_pers_func()
3246 Py_XSETREF(p->pers_func, v); in Pickler_set_pers_func()
4065 if (self->pers_func) { in load_persid()
4072 if (PyList_Check(self->pers_func)) { in load_persid()
4073 if (PyList_Append(self->pers_func, pid) < 0) { in load_persid()
4081 pid = PyObject_Call(self->pers_func, self->arg, in load_persid()
4105 if (self->pers_func) { in load_binpersid()
4109 if (PyList_Check(self->pers_func)) { in load_binpersid()
4110 if (PyList_Append(self->pers_func, pid) < 0) { in load_binpersid()
4118 pid = PyObject_Call(self->pers_func, self->arg, in load_binpersid()
5482 self->pers_func = NULL; in newUnpicklerobject()
5558 Py_XDECREF(self->pers_func); in Unpickler_dealloc()
5582 Py_VISIT(self->pers_func); in Unpickler_traverse()
5597 Py_CLEAR(self->pers_func); in Unpickler_clear()
5608 if (!self->pers_func) { in Unpickler_getattr()
5613 Py_INCREF(self->pers_func); in Unpickler_getattr()
5614 return self->pers_func; in Unpickler_getattr()
5652 Py_XSETREF(self->pers_func, value); in Unpickler_setattr()