Lines Matching refs:PyMethodObject
21 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
31 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()
105 PyMethodObject *im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()
120 method_reduce(PyMethodObject *im, PyObject *Py_UNUSED(ignored)) in method_reduce()
144 #define MO_OFF(x) offsetof(PyMethodObject, x)
160 method_get_doc(PyMethodObject *im, void *context) in method_get_doc()
179 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()
334 sizeof(PyMethodObject),
337 offsetof(PyMethodObject, vectorcall), /* tp_vectorcall_offset */
357 offsetof(PyMethodObject, im_weakreflist), /* tp_weaklistoffset */