Lines Matching refs:x_attr
23 PyObject *x_attr; /* Attributes dictionary */ member
37 self->x_attr = NULL; in newXxoObject()
47 Py_VISIT(self->x_attr); in Xxo_traverse()
54 Py_CLEAR(self->x_attr); in Xxo_finalize()
81 if (self->x_attr != NULL) { in Xxo_getattro()
82 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
97 if (self->x_attr == NULL) { in Xxo_setattr()
98 self->x_attr = PyDict_New(); in Xxo_setattr()
99 if (self->x_attr == NULL) in Xxo_setattr()
103 int rv = PyDict_DelItemString(self->x_attr, name); in Xxo_setattr()
110 return PyDict_SetItemString(self->x_attr, name, v); in Xxo_setattr()