Home
last modified time | relevance | path

Searched refs:PyMethodObject (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Objects/
Dclassobject.c13 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 …]
/external/python/cpython2/Include/
Dclassobject.h37 } PyMethodObject; typedef
70 (((PyMethodObject *)meth) -> im_func)
72 (((PyMethodObject *)meth) -> im_self)
74 (((PyMethodObject *)meth) -> im_class)
/external/python/cpython3/Include/
Dclassobject.h17 } PyMethodObject; typedef
31 (((PyMethodObject *)meth) -> im_func)
33 (((PyMethodObject *)meth) -> im_self)
/external/python/cpython2/Objects/
Dclassobject.c10 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 …]
/external/python/cpython3/Misc/
DHISTORY6788 - Issue #15404: Refleak in PyMethodObject repr.