• Home
  • Raw
  • Download

Lines Matching refs:pers_func

338     PyObject *pers_func;  member
372 PyObject *pers_func; member
2590 if (!pers_save && self->pers_func) { in save()
2591 if ((tmp = save_pers(self, args, self->pers_func)) != 0) { in save()
3059 self->pers_func = NULL; in newPicklerobject()
3176 Py_XDECREF(self->pers_func); in Pickler_dealloc()
3191 Py_VISIT(self->pers_func); in Pickler_traverse()
3205 Py_CLEAR(self->pers_func); in Pickler_clear()
3214 if (p->pers_func == NULL) in Pickler_get_pers_func()
3217 Py_INCREF(p->pers_func); in Pickler_get_pers_func()
3218 return p->pers_func; in Pickler_get_pers_func()
3230 Py_XSETREF(p->pers_func, v); in Pickler_set_pers_func()
4079 if (self->pers_func) { in load_persid()
4086 if (PyList_Check(self->pers_func)) { in load_persid()
4087 if (PyList_Append(self->pers_func, pid) < 0) { in load_persid()
4095 pid = PyObject_Call(self->pers_func, self->arg, in load_persid()
4119 if (self->pers_func) { in load_binpersid()
4123 if (PyList_Check(self->pers_func)) { in load_binpersid()
4124 if (PyList_Append(self->pers_func, pid) < 0) { in load_binpersid()
4132 pid = PyObject_Call(self->pers_func, self->arg, in load_binpersid()
5496 self->pers_func = NULL; in newUnpicklerobject()
5572 Py_XDECREF(self->pers_func); in Unpickler_dealloc()
5596 Py_VISIT(self->pers_func); in Unpickler_traverse()
5611 Py_CLEAR(self->pers_func); in Unpickler_clear()
5622 if (!self->pers_func) { in Unpickler_getattr()
5627 Py_INCREF(self->pers_func); in Unpickler_getattr()
5628 return self->pers_func; in Unpickler_getattr()
5666 Py_XSETREF(self->pers_func, value); in Unpickler_setattr()