Searched refs:m_ml (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython2/Objects/ |
D | methodobject.c | 31 op->m_ml = ml; in PyCFunction_NewEx() 47 return ((PyCFunctionObject *)op) -> m_ml -> ml_meth; in PyCFunction_GetFunction() 67 return ((PyCFunctionObject *)op) -> m_ml -> ml_flags; in PyCFunction_GetFlags() 93 f->m_ml->ml_name, size); in PyCFunction_Call() 104 f->m_ml->ml_name, size); in PyCFunction_Call() 124 f->m_ml->ml_name); in PyCFunction_Call() 149 const char *doc = m->m_ml->ml_doc; in meth_get__doc__() 160 return PyString_FromString(m->m_ml->ml_name); in meth_get__name__() 206 m->m_ml->ml_name); in meth_repr() 208 m->m_ml->ml_name, in meth_repr() [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 ? \ 18 (((PyCFunctionObject *)func) -> m_ml -> ml_flags) 20 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_METHOD ? \ 25 PyMethodDef *m_ml; /* Description of the C function to call */ member
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 108 op->m_ml = ml; in PyCMethod_New() 185 return PyUnicode_FromString(m->m_ml->ml_name); in meth_reduce() 188 m->m_self, m->m_ml->ml_name); in meth_reduce() 199 return _PyType_GetTextSignatureFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__text_signature__() 205 return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__doc__() 211 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__name__() 229 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__qualname__() 244 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__() 291 m->m_ml->ml_name); in meth_repr() 293 m->m_ml->ml_name, in meth_repr() [all …]
|
D | abstract.c | 936 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) 34 (((PyCFunctionObject *)func) -> m_ml -> ml_flags) 83 PyMethodDef *m_ml; /* Description of the C function to call */ member
|
/external/python/cpython3/Modules/ |
D | _lsprof.c | 152 fn->m_ml->ml_name); in normalizeUserObj() 158 return PyUnicode_FromFormat("<%s>", fn->m_ml->ml_name); in normalizeUserObj() 165 PyObject *name = PyUnicode_FromString(fn->m_ml->ml_name); in normalizeUserObj() 183 modname, fn->m_ml->ml_name); in normalizeUserObj() 186 fn->m_ml->ml_name); in normalizeUserObj() 435 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback() 447 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
|
/external/python/cpython2/Modules/ |
D | _lsprof.c | 198 fn->m_ml->ml_name); in normalizeUserObj() 201 fn->m_ml->ml_name); in normalizeUserObj() 208 PyObject *name = PyString_FromString(fn->m_ml->ml_name); in normalizeUserObj() 222 fn->m_ml->ml_name); in normalizeUserObj() 465 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback() 477 ((PyCFunctionObject *)arg)->m_ml); in profiler_callback()
|
/external/tensorflow/tensorflow/python/profiler/internal/ |
D | python_hooks.h | 65 method_def(py_c_function->m_ml), in PythonTraceEntry()
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 608 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*) 610 ml_name = m_ml['ml_name'].string()
|
/external/python/cffi/c/ |
D | lib_obj.c | 52 return (struct CPyExtFunc_s *)(fo->m_ml); in _cpyextfunc_get()
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 624 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*) 626 ml_name = m_ml['ml_name'].string()
|
/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 | 486 std::free(const_cast<char *>(func->m_ml->ml_doc)); in PYBIND11_NAMESPACE_BEGIN() 488 func->m_ml->ml_doc = signatures.empty() ? nullptr : strdup(signatures.c_str()); in PYBIND11_NAMESPACE_BEGIN()
|
/external/webp/swig/ |
D | libwebp_python_wrap.c | 2457 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); in SWIG_Python_ConvertFunctionPtr()
|
/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/Python/ |
D | ceval.c | 5763 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
|