Lines Matching refs:PyMethodObject
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()
259 b = (PyMethodObject *)other; in method_richcompare()
275 method_repr(PyMethodObject *a) in method_repr()
303 method_hash(PyMethodObject *a) in method_hash()
317 method_traverse(PyMethodObject *im, visitproc visit, void *arg) in method_traverse()
327 .tp_basicsize = sizeof(PyMethodObject),
329 .tp_vectorcall_offset = offsetof(PyMethodObject, vectorcall),
340 .tp_weaklistoffset = offsetof(PyMethodObject, im_weakreflist),