Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/Objects/
Dclassobject.c27 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 …]
/aosp_15_r20/external/python/cpython2/Include/
Dclassobject.h37 } PyMethodObject; typedef
70 (((PyMethodObject *)meth) -> im_func)
72 (((PyMethodObject *)meth) -> im_self)
74 (((PyMethodObject *)meth) -> im_class)
/aosp_15_r20/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 …]
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dclassobject.h18 } PyMethodObject; typedef
32 (((PyMethodObject *)meth) -> im_func)
34 (((PyMethodObject *)meth) -> im_self)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dclassobject.h18 } PyMethodObject; typedef
32 (((PyMethodObject *)meth) -> im_func)
34 (((PyMethodObject *)meth) -> im_self)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dclassobject.h18 } PyMethodObject; typedef
32 (((PyMethodObject *)meth) -> im_func)
34 (((PyMethodObject *)meth) -> im_self)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dclassobject.h18 } PyMethodObject; typedef
32 (((PyMethodObject *)meth) -> im_func)
34 (((PyMethodObject *)meth) -> im_self)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dclassobject.h18 } PyMethodObject; typedef
32 (((PyMethodObject *)meth) -> im_func)
34 (((PyMethodObject *)meth) -> im_self)
/aosp_15_r20/external/python/cpython3/Objects/clinic/
Dclassobject.c.h14 method___reduce___impl(PyMethodObject *self);
17 method___reduce__(PyMethodObject *self, PyObject *Py_UNUSED(ignored)) in method___reduce__()
/aosp_15_r20/external/python/cpython3/Python/
Dceval.c4691 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;
/aosp_15_r20/external/python/cpython3/Misc/
DHISTORY6788 - Issue #15404: Refleak in PyMethodObject repr.