Searched refs:PyCFunctionObject (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Objects/ |
D | methodobject.c | 12 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 …]
|
D | call.c | 582 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()
|
D | abstract.c | 842 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
|
/external/python/cpython2/Objects/ |
D | methodobject.c | 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__() [all …]
|
/external/python/cpython3/Include/ |
D | methodobject.h | 35 (((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/ |
D | methodobject.h | 30 (((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.c | 168 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.c | 158 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/ |
D | ceval.c | 4254 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/ |
D | ceval.c | 4502 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
|