• Home
  • Raw
  • Download

Lines Matching refs:PyCFunctionObject

10 static PyCFunctionObject *free_list = NULL;
19 PyCFunctionObject *op; in PyCFunction_NewEx()
22 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
27 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCFunction_NewEx()
47 return ((PyCFunctionObject *)op) -> m_ml -> ml_meth; in PyCFunction_GetFunction()
57 return ((PyCFunctionObject *)op) -> m_self; in PyCFunction_GetSelf()
67 return ((PyCFunctionObject *)op) -> m_ml -> ml_flags; in PyCFunction_GetFlags()
73 PyCFunctionObject* f = (PyCFunctionObject*)func; in PyCFunction_Call()
131 meth_dealloc(PyCFunctionObject *m) in meth_dealloc()
147 meth_get__doc__(PyCFunctionObject *m, void *closure) in meth_get__doc__()
158 meth_get__name__(PyCFunctionObject *m, void *closure) in meth_get__name__()
164 meth_traverse(PyCFunctionObject *m, visitproc visit, void *arg) in meth_traverse()
172 meth_get__self__(PyCFunctionObject *m, void *closure) in meth_get__self__()
194 #define OFF(x) offsetof(PyCFunctionObject, x)
202 meth_repr(PyCFunctionObject *m) in meth_repr()
214 meth_compare(PyCFunctionObject *a, PyCFunctionObject *b) in meth_compare()
229 PyCFunctionObject *a, *b; in meth_richcompare()
247 a = (PyCFunctionObject *)self; in meth_richcompare()
248 b = (PyCFunctionObject *)other; in meth_richcompare()
261 meth_hash(PyCFunctionObject *a) in meth_hash()
284 sizeof(PyCFunctionObject),
400 PyCFunctionObject *v = free_list; in PyCFunction_ClearFreeList()
401 free_list = (PyCFunctionObject *)(v->m_self); in PyCFunction_ClearFreeList()