Home
last modified time | relevance | path

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

/third_party/python/Modules/
H A Dxxlimited.c8 You will probably want to delete all references to 'x_attr' and add
84 PyObject *x_attr; /* Attributes dictionary */ member
104 self->x_attr = NULL; in newXxoObject()
120 Py_VISIT(self->x_attr); in Xxo_traverse()
127 Py_CLEAR(self->x_attr); in Xxo_clear()
135 Py_CLEAR(self->x_attr); in Xxo_finalize()
155 if (self->x_attr != NULL) { in Xxo_getattro()
156 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
171 if (self->x_attr == NULL) { in Xxo_setattro()
173 self->x_attr in Xxo_setattro()
[all...]
H A 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 in Xxo_setattr()
[all...]
H A Dxxmodule.c9 You will probably want to delete all references to 'x_attr' and add
23 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, nam in Xxo_setattr()
[all...]
H A D_testmultiphase.c27 PyObject *x_attr; /* Attributes dictionary */ member
43 Py_VISIT(self->x_attr); in Example_traverse()
50 Py_CLEAR(self->x_attr); in Example_finalize()
77 if (self->x_attr != NULL) { in Example_getattro()
78 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Example_getattro()
93 if (self->x_attr == NULL) { in Example_setattr()
94 self->x_attr = PyDict_New(); in Example_setattr()
95 if (self->x_attr == NULL) in Example_setattr()
99 int rv = PyDict_DelItemString(self->x_attr, name); in Example_setattr()
106 return PyDict_SetItemString(self->x_attr, nam in Example_setattr()
[all...]

Completed in 3 milliseconds