Home
last modified time | relevance | path

Searched refs:x_attr (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Modules/
Dxxlimited_35.c18 PyObject *x_attr; /* Attributes dictionary */ member
32 self->x_attr = NULL; in newXxoObject()
42 Py_VISIT(self->x_attr); in Xxo_traverse()
49 Py_CLEAR(self->x_attr); in Xxo_clear()
56 Py_CLEAR(self->x_attr); in Xxo_finalize()
83 if (self->x_attr != NULL) { in Xxo_getattro()
84 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
99 if (self->x_attr == NULL) { in Xxo_setattr()
100 self->x_attr = PyDict_New(); in Xxo_setattr()
101 if (self->x_attr == NULL) in Xxo_setattr()
[all …]
Dxxlimited.c74 PyObject *x_attr; /* Attributes dictionary */ member
92 self->x_attr = NULL; in newXxoObject()
105 Py_VISIT(self->x_attr); in Xxo_traverse()
112 Py_CLEAR(self->x_attr); in Xxo_clear()
119 Py_CLEAR(self->x_attr); in Xxo_finalize()
138 if (self->x_attr != NULL) { in Xxo_getattro()
139 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
154 if (self->x_attr == NULL) { in Xxo_setattro()
156 self->x_attr = PyDict_New(); in Xxo_setattro()
157 if (self->x_attr == NULL) { in Xxo_setattro()
[all …]
Dxxmodule.c23 PyObject *x_attr; /* Attributes dictionary */ member
37 self->x_attr = NULL; in newXxoObject()
46 Py_XDECREF(self->x_attr); in Xxo_dealloc()
68 if (self->x_attr != NULL) { in Xxo_getattro()
69 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
84 if (self->x_attr == NULL) { in Xxo_setattr()
85 self->x_attr = PyDict_New(); in Xxo_setattr()
86 if (self->x_attr == NULL) in Xxo_setattr()
90 int rv = PyDict_DelItemString(self->x_attr, name); in Xxo_setattr()
97 return PyDict_SetItemString(self->x_attr, name, v); in Xxo_setattr()
D_testmultiphase.c23 PyObject *x_attr; /* Attributes dictionary */ member
39 Py_VISIT(self->x_attr); in Example_traverse()
46 Py_CLEAR(self->x_attr); in Example_finalize()
73 if (self->x_attr != NULL) { in Example_getattro()
74 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Example_getattro()
89 if (self->x_attr == NULL) { in Example_setattr()
90 self->x_attr = PyDict_New(); in Example_setattr()
91 if (self->x_attr == NULL) in Example_setattr()
95 int rv = PyDict_DelItemString(self->x_attr, name); in Example_setattr()
102 return PyDict_SetItemString(self->x_attr, name, v); in Example_setattr()