Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dmethodobject.c43 op->m_ml = ml; in PyCFunction_NewEx()
109 return PyUnicode_FromString(m->m_ml->ml_name); in meth_reduce()
112 m->m_self, m->m_ml->ml_name); in meth_reduce()
123 return _PyType_GetTextSignatureFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__text_signature__()
129 return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__doc__()
135 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__name__()
153 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__qualname__()
168 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__()
214 m->m_ml->ml_name); in meth_repr()
216 m->m_ml->ml_name, in meth_repr()
[all …]
Dcall.c582 result = _PyMethodDef_RawFastCallDict(((PyCFunctionObject*)func)->m_ml, in _PyCFunction_FastCallDict()
730 result = _PyMethodDef_RawFastCallKeywords(((PyCFunctionObject*)func)->m_ml, in _PyCFunction_FastCallKeywords()
760 ((PyCFunctionObject*)func)->m_ml->ml_name); in cfunction_call_varargs()
Dabstract.c842 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
/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/
Dmethodobject.h35 (((PyCFunctionObject *)func) -> m_ml -> ml_meth)
37 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? \
40 (((PyCFunctionObject *)func) -> m_ml -> ml_flags)
104 PyMethodDef *m_ml; /* Description of the C function to call */ member
/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.c187 fn->m_ml->ml_name); in normalizeUserObj()
193 return PyUnicode_FromFormat("<%s>", fn->m_ml->ml_name); in normalizeUserObj()
200 PyObject *name = PyUnicode_FromString(fn->m_ml->ml_name); in normalizeUserObj()
218 modname, fn->m_ml->ml_name); in normalizeUserObj()
221 fn->m_ml->ml_name); in normalizeUserObj()
463 ((PyCFunctionObject *)arg)->m_ml, in profiler_callback()
475 ((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/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/cpython3/Tools/gdb/
Dlibpython.py622 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*)
624 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/cpython3/Python/
Dceval.c4502 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()