Searched refs:x_attr (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/ |
D | xxlimited.c | 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() [all …]
|
D | xxmodule.c | 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, name); in Xxo_setattr() 97 return PyDict_SetItemString(self->x_attr, name, v); in Xxo_setattr()
|
D | _testmultiphase.c | 23 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()
|
/external/python/cpython2/Modules/ |
D | xxmodule.c | 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_getattr() 69 PyObject *v = PyDict_GetItemString(self->x_attr, name); in Xxo_getattr() 81 if (self->x_attr == NULL) { in Xxo_setattr() 82 self->x_attr = PyDict_New(); in Xxo_setattr() 83 if (self->x_attr == NULL) in Xxo_setattr() 87 int rv = PyDict_DelItemString(self->x_attr, name); in Xxo_setattr() 94 return PyDict_SetItemString(self->x_attr, name, v); in Xxo_setattr()
|