Searched refs:PyMethodObject (Results 1 – 5 of 5) sorted by relevance
13 static PyMethodObject *free_list;29 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()39 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()50 PyMethodObject *im; in PyMethod_New()57 free_list = (PyMethodObject *)(im->im_self); in PyMethod_New()62 im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()76 method_reduce(PyMethodObject *im) in method_reduce()100 #define MO_OFF(x) offsetof(PyMethodObject, x)116 method_get_doc(PyMethodObject *im, void *context) in method_get_doc()135 PyMethodObject *im = (PyMethodObject *)obj; in method_getattro()[all …]
37 } PyMethodObject; typedef70 (((PyMethodObject *)meth) -> im_func)72 (((PyMethodObject *)meth) -> im_self)74 (((PyMethodObject *)meth) -> im_class)
17 } PyMethodObject; typedef31 (((PyMethodObject *)meth) -> im_func)33 (((PyMethodObject *)meth) -> im_self)
10 static PyMethodObject *free_list;145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()155 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()165 return ((PyMethodObject *)im)->im_class; in PyMethod_Class()2253 register PyMethodObject *im; in PyMethod_New()2256 free_list = (PyMethodObject *)(im->im_self); in PyMethod_New()2261 im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()2280 #define OFF(x) offsetof(PyMethodObject, x)2302 instancemethod_get_doc(PyMethodObject *im, void *context) in instancemethod_get_doc()2321 PyMethodObject *im = (PyMethodObject *)obj; in instancemethod_getattro()[all …]
6788 - Issue #15404: Refleak in PyMethodObject repr.