Home
last modified time | relevance | path

Searched refs:m_ml (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Objects/
Dmethodobject.c31 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/
Dmethodobject.h13 (((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/
Dmethodobject.c108 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 …]
Dabstract.c936 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
/external/python/cpython2/Include/
Dmethodobject.h30 (((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.c152 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.c198 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/
Dpython_hooks.h65 method_def(py_c_function->m_ml), in PythonTraceEntry()
/external/python/cpython2/Tools/gdb/
Dlibpython.py608 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*)
610 ml_name = m_ml['ml_name'].string()
/external/python/cffi/c/
Dlib_obj.c52 return (struct CPyExtFunc_s *)(fo->m_ml); in _cpyextfunc_get()
/external/python/cpython3/Tools/gdb/
Dlibpython.py624 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*)
626 ml_name = m_ml['ml_name'].string()
/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.h486 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/
Dlibwebp_python_wrap.c2457 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); in SWIG_Python_ConvertFunctionPtr()
/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/Python/
Dceval.c5763 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()