Home
last modified time | relevance | path

Searched refs:PyCFunctionObject (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Objects/
Dmethodobject.c10 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__()
[all …]
/external/python/cpython2/Include/
Dmethodobject.h30 (((PyCFunctionObject *)func) -> m_ml -> ml_meth)
32 (((PyCFunctionObject *)func) -> m_self)
34 (((PyCFunctionObject *)func) -> m_ml -> ml_flags)
86 } PyCFunctionObject; typedef
/external/python/cpython2/Modules/
D_lsprof.c168 PyCFunctionObject *fn; in normalizeUserObj()
176 fn = (PyCFunctionObject *)obj; in normalizeUserObj()
465 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback()
477 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
/external/python/cpython2/Python/
Dceval.c4234 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
4269 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()
4274 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()