Searched refs:PyMethodObject (Results 1 – 11 of 11) sorted by relevance
27 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()37 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()111 PyMethodObject *im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()130 method___reduce___impl(PyMethodObject *self) in method___reduce___impl()152 #define MO_OFF(x) offsetof(PyMethodObject, x)168 method_get_doc(PyMethodObject *im, void *context) in method_get_doc()181 PyMethodObject *im = (PyMethodObject *)obj; in method_getattro()235 method_dealloc(PyMethodObject *im) in method_dealloc()248 PyMethodObject *a, *b; in method_richcompare()258 a = (PyMethodObject *)self; in method_richcompare()[all …]
37 } PyMethodObject; typedef70 (((PyMethodObject *)meth) -> im_func)72 (((PyMethodObject *)meth) -> im_self)74 (((PyMethodObject *)meth) -> im_class)
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 …]
18 } PyMethodObject; typedef32 (((PyMethodObject *)meth) -> im_func)34 (((PyMethodObject *)meth) -> im_self)
14 method___reduce___impl(PyMethodObject *self);17 method___reduce__(PyMethodObject *self, PyObject *Py_UNUSED(ignored)) in method___reduce__()
4691 PyObject *meth = ((PyMethodObject *)function)->im_func;4692 PyObject *self = ((PyMethodObject *)function)->im_self;4708 PyObject *meth = ((PyMethodObject *)function)->im_func;4709 PyObject *self = ((PyMethodObject *)function)->im_self;
6788 - Issue #15404: Refleak in PyMethodObject repr.