Searched refs:PyCFunctionObject (Results 1 – 6 of 6) sorted by relevance
| /third_party/python/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() 180 meth_reduce(PyCFunctionObject *m, PyObject *Py_UNUSED(ignored)) in meth_reduce() 195 meth_get__text_signature__(PyCFunctionObject *m, void *closure) in meth_get__text_signature__() 201 meth_get__doc__(PyCFunctionObject *m, void *closure) in meth_get__doc__() 207 meth_get__name__(PyCFunctionObject *m, void *closure) in meth_get__name__() 213 meth_get__qualname__(PyCFunctionObject *m, void *closure) in meth_get__qualname__() 247 meth_traverse(PyCFunctionObject *m, visitproc visit, void *arg) in meth_traverse() [all …]
|
| D | abstract.c | 938 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
|
| /third_party/python/Include/cpython/ |
| D | methodobject.h | 14 } PyCFunctionObject; typedef 18 _Py_CAST(PyCFunctionObject*, (func))) 24 PyCFunctionObject func; 48 PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); in PyCFunction_GET_SELF() 66 PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); in PyCFunction_GET_CLASS()
|
| /third_party/python/Modules/ |
| D | _lsprof.c | 129 PyCFunctionObject *fn; in normalizeUserObj() 137 fn = (PyCFunctionObject *)obj; in normalizeUserObj() 441 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback() 453 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
|
| /third_party/skia/third_party/externals/libwebp/swig/ |
| D | libwebp_python_wrap.c | 2457 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); in SWIG_Python_ConvertFunctionPtr()
|
| /third_party/python/Python/ |
| D | ceval.c | 7234 return ((PyCFunctionObject*)func)->m_ml->ml_name;
|