Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dmethodobject.c12 static PyCFunctionObject *free_list = NULL;
30 PyCFunctionObject *op; in PyCFunction_NewEx()
33 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
38 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCFunction_NewEx()
85 meth_dealloc(PyCFunctionObject *m) in meth_dealloc()
104 meth_reduce(PyCFunctionObject *m) in meth_reduce()
121 meth_get__text_signature__(PyCFunctionObject *m, void *closure) in meth_get__text_signature__()
127 meth_get__doc__(PyCFunctionObject *m, void *closure) in meth_get__doc__()
133 meth_get__name__(PyCFunctionObject *m, void *closure) in meth_get__name__()
139 meth_get__qualname__(PyCFunctionObject *m, void *closure) in meth_get__qualname__()
[all …]
Dcall.c582 result = _PyMethodDef_RawFastCallDict(((PyCFunctionObject*)func)->m_ml, in _PyCFunction_FastCallDict()
730 result = _PyMethodDef_RawFastCallKeywords(((PyCFunctionObject*)func)->m_ml, in _PyCFunction_FastCallKeywords()
760 ((PyCFunctionObject*)func)->m_ml->ml_name); in cfunction_call_varargs()
Dabstract.c842 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
/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/cpython3/Include/
Dmethodobject.h35 (((PyCFunctionObject *)func) -> m_ml -> ml_meth)
37 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? \
38 NULL : ((PyCFunctionObject *)func) -> m_self)
40 (((PyCFunctionObject *)func) -> m_ml -> ml_flags)
108 } PyCFunctionObject; typedef
/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/cpython3/Modules/
D_lsprof.c158 PyCFunctionObject *fn; in normalizeUserObj()
166 fn = (PyCFunctionObject *)obj; in normalizeUserObj()
463 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback()
475 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
/external/python/cpython2/Python/
Dceval.c4254 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
4289 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()
4294 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()
/external/python/cpython3/Python/
Dceval.c4502 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()