Lines Matching refs:self

48 objfpy_get_filename (PyObject *self, void *closure)  in objfpy_get_filename()  argument
50 objfile_object *obj = (objfile_object *) self; in objfpy_get_filename()
61 objfile_object *self = (objfile_object *) o; in objfpy_dealloc() local
63 Py_XDECREF (self->printers); in objfpy_dealloc()
64 Py_XDECREF (self->type_printers); in objfpy_dealloc()
65 Py_TYPE (self)->tp_free (self); in objfpy_dealloc()
71 objfile_object *self = (objfile_object *) type->tp_alloc (type, 0); in objfpy_new() local
73 if (self) in objfpy_new()
75 self->objfile = NULL; in objfpy_new()
77 self->printers = PyList_New (0); in objfpy_new()
78 if (!self->printers) in objfpy_new()
80 Py_DECREF (self); in objfpy_new()
84 self->type_printers = PyList_New (0); in objfpy_new()
85 if (!self->type_printers) in objfpy_new()
87 Py_DECREF (self); in objfpy_new()
91 return (PyObject *) self; in objfpy_new()
97 objfile_object *self = (objfile_object *) o; in objfpy_get_printers() local
99 Py_INCREF (self->printers); in objfpy_get_printers()
100 return self->printers; in objfpy_get_printers()
107 objfile_object *self = (objfile_object *) o; in objfpy_set_printers() local
124 tmp = self->printers; in objfpy_set_printers()
126 self->printers = value; in objfpy_set_printers()
137 objfile_object *self = (objfile_object *) o; in objfpy_get_type_printers() local
139 Py_INCREF (self->type_printers); in objfpy_get_type_printers()
140 return self->type_printers; in objfpy_get_type_printers()
149 objfile_object *self = (objfile_object *) o; in objfpy_set_type_printers() local
166 tmp = self->type_printers; in objfpy_set_type_printers()
168 self->type_printers = value; in objfpy_set_type_printers()
178 objfpy_is_valid (PyObject *self, PyObject *args) in objfpy_is_valid() argument
180 objfile_object *obj = (objfile_object *) self; in objfpy_is_valid()