Searched refs:PyCFunctionObject (Results 1 – 15 of 15) sorted by relevance
/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/cpython/ |
D | methodobject.h | 13 (((PyCFunctionObject *)func) -> m_ml -> ml_meth) 15 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? \ 16 NULL : ((PyCFunctionObject *)func) -> m_self) 18 (((PyCFunctionObject *)func) -> m_ml -> ml_flags) 20 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_METHOD ? \ 30 } PyCFunctionObject; typedef 33 PyCFunctionObject func;
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 78 PyCFunctionObject *op = NULL; in PyCMethod_New() 93 op = (PyCFunctionObject *)om; in PyCMethod_New() 101 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCMethod_New() 161 meth_dealloc(PyCFunctionObject *m) in meth_dealloc() 176 meth_reduce(PyCFunctionObject *m, PyObject *Py_UNUSED(ignored)) in meth_reduce() 193 meth_get__text_signature__(PyCFunctionObject *m, void *closure) in meth_get__text_signature__() 199 meth_get__doc__(PyCFunctionObject *m, void *closure) in meth_get__doc__() 205 meth_get__name__(PyCFunctionObject *m, void *closure) in meth_get__name__() 211 meth_get__qualname__(PyCFunctionObject *m, void *closure) in meth_get__qualname__() 246 meth_traverse(PyCFunctionObject *m, visitproc visit, void *arg) in meth_traverse() [all …]
|
D | abstract.c | 904 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
|
/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/tensorflow/tensorflow/python/profiler/internal/ |
D | python_hooks.h | 49 PyCFunctionObject* func) in PythonTraceEntry() 75 PyCFunctionObject* function_object;
|
D | python_hooks.cc | 63 string GetEventName(PyCFunctionObject* py_cfunc) { in GetEventName() 276 auto* func = reinterpret_cast<PyCFunctionObject*>(arg); in ProfileFast() 292 auto* func = reinterpret_cast<PyCFunctionObject*>(arg); in ProfileFast()
|
/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 | 106 PyCFunctionObject *fn; in normalizeUserObj() 114 fn = (PyCFunctionObject *)obj; in normalizeUserObj() 418 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback() 430 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
|
/external/python/cffi/c/ |
D | lib_obj.c | 38 PyCFunctionObject *fo; in _cpyextfunc_get() 46 fo = (PyCFunctionObject *)x; in _cpyextfunc_get()
|
/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/pybind11/include/pybind11/ |
D | pybind11.h | 437 … auto rec_capsule = reinterpret_borrow<capsule>(((PyCFunctionObject *) m_ptr)->m_self); in PYBIND11_NAMESPACE_BEGIN() 485 auto *func = (PyCFunctionObject *) m_ptr; in PYBIND11_NAMESPACE_BEGIN()
|
/external/python/cpython3/Python/ |
D | ceval.c | 4973 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
|
/external/marisa-trie/bindings/python/ |
D | marisa-swig_wrap.cxx | 2253 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); in SWIG_Python_ConvertFunctionPtr()
|
/external/python/cpython3/Tools/c-analyzer/ |
D | known.tsv | 295 Objects/methodobject.c - free_list variable static PyCFunctionObject *free_list
|