Lines Matching refs:PyCFunctionObject
13 static PyCFunctionObject *free_list = NULL;
69 PyCFunctionObject *op; in PyCFunction_NewEx()
72 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
77 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCFunction_NewEx()
125 meth_dealloc(PyCFunctionObject *m) in meth_dealloc()
144 meth_reduce(PyCFunctionObject *m, PyObject *Py_UNUSED(ignored)) in meth_reduce()
161 meth_get__text_signature__(PyCFunctionObject *m, void *closure) in meth_get__text_signature__()
167 meth_get__doc__(PyCFunctionObject *m, void *closure) in meth_get__doc__()
173 meth_get__name__(PyCFunctionObject *m, void *closure) in meth_get__name__()
179 meth_get__qualname__(PyCFunctionObject *m, void *closure) in meth_get__qualname__()
214 meth_traverse(PyCFunctionObject *m, visitproc visit, void *arg) in meth_traverse()
222 meth_get__self__(PyCFunctionObject *m, void *closure) in meth_get__self__()
242 #define OFF(x) offsetof(PyCFunctionObject, x)
250 meth_repr(PyCFunctionObject *m) in meth_repr()
264 PyCFunctionObject *a, *b; in meth_richcompare()
274 a = (PyCFunctionObject *)self; in meth_richcompare()
275 b = (PyCFunctionObject *)other; in meth_richcompare()
288 meth_hash(PyCFunctionObject *a) in meth_hash()
303 sizeof(PyCFunctionObject),
306 offsetof(PyCFunctionObject, vectorcall), /* tp_vectorcall_offset */
326 offsetof(PyCFunctionObject, m_weakreflist), /* tp_weaklistoffset */
344 PyCFunctionObject *v = free_list; in PyCFunction_ClearFreeList()
345 free_list = (PyCFunctionObject *)(v->m_self); in PyCFunction_ClearFreeList()
365 numfree, sizeof(PyCFunctionObject)); in _PyCFunction_DebugMallocStats()
379 PyMethodDef *method = ((PyCFunctionObject *)func)->m_ml; in get_name()