Lines Matching refs:descr
181 PyObject *descr = NULL; in method_getattro() local
188 descr = _PyType_Lookup(tp, name); in method_getattro()
191 if (descr != NULL) { in method_getattro()
192 descrgetfunc f = TP_DESCR_GET(Py_TYPE(descr)); in method_getattro()
194 return f(descr, obj, (PyObject *)Py_TYPE(obj)); in method_getattro()
196 Py_INCREF(descr); in method_getattro()
197 return descr; in method_getattro()
428 PyObject *descr = NULL; in instancemethod_getattro() local
434 descr = _PyType_Lookup(tp, name); in instancemethod_getattro()
436 if (descr != NULL) { in instancemethod_getattro()
437 descrgetfunc f = TP_DESCR_GET(Py_TYPE(descr)); in instancemethod_getattro()
439 return f(descr, self, (PyObject *)Py_TYPE(self)); in instancemethod_getattro()
441 Py_INCREF(descr); in instancemethod_getattro()
442 return descr; in instancemethod_getattro()
469 instancemethod_descr_get(PyObject *descr, PyObject *obj, PyObject *type) { in instancemethod_descr_get() argument
470 PyObject *func = PyInstanceMethod_GET_FUNCTION(descr); in instancemethod_descr_get()