Home
last modified time | relevance | path

Searched refs:PyCFunctionObject (Results 1 – 15 of 15) 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/cpython3/Include/cpython/
Dmethodobject.h13 (((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/
Dmethodobject.c78 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 …]
Dabstract.c904 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
/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/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.h49 PyCFunctionObject* func) in PythonTraceEntry()
75 PyCFunctionObject* function_object;
Dpython_hooks.cc63 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.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.c106 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/
Dlib_obj.c38 PyCFunctionObject *fo; in _cpyextfunc_get()
46 fo = (PyCFunctionObject *)x; in _cpyextfunc_get()
/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/pybind11/include/pybind11/
Dpybind11.h437 … 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/
Dceval.c4973 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx2253 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); in SWIG_Python_ConvertFunctionPtr()
/external/python/cpython3/Tools/c-analyzer/
Dknown.tsv295 Objects/methodobject.c - free_list variable static PyCFunctionObject *free_list