Home
last modified time | relevance | path

Searched refs:ml_name (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Objects/
Dmethodobject.c108 f->m_ml->ml_name); in PyCFunction_Call()
122 f->m_ml->ml_name, size); in PyCFunction_Call()
134 f->m_ml->ml_name, size); in PyCFunction_Call()
181 func->m_ml->ml_name); in _PyCFunction_FastCallDict()
188 func->m_ml->ml_name, nargs); in _PyCFunction_FastCallDict()
198 func->m_ml->ml_name); in _PyCFunction_FastCallDict()
205 func->m_ml->ml_name, nargs); in _PyCFunction_FastCallDict()
221 func->m_ml->ml_name); in _PyCFunction_FastCallDict()
329 return PyUnicode_FromString(m->m_ml->ml_name); in meth_reduce()
333 return Py_BuildValue("O(Os)", getattr, m->m_self, m->m_ml->ml_name); in meth_reduce()
[all …]
Ddescrobject.c342 return _PyType_GetDocFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_doc()
348 … return _PyType_GetTextSignatureFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_text_signature()
692 type, method->ml_name); in PyDescr_NewMethod()
704 type, method->ml_name); in PyDescr_NewClassMethod()
Dmoduleobject.c139 for (fdef = functions; fdef->ml_name != NULL; fdef++) { in _add_methods_to_object()
151 if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) { in _add_methods_to_object()
Dtypeobject.c4558 for (; meth->ml_name != NULL; meth++) { in add_methods()
4561 if (PyDict_GetItemString(dict, meth->ml_name) && in add_methods()
4584 err = PyDict_SetItemString(dict, meth->ml_name, descr); in add_methods()
/external/python/cpython2/Objects/
Dmethodobject.c93 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()
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()
220 if (strcmp(a->m_ml->ml_name, b->m_ml->ml_name) < 0) in meth_compare()
328 for (ml = c->methods; ml->ml_name != NULL; ml++) in listmethodchain()
336 for (ml = c->methods; ml->ml_name != NULL; ml++) { in listmethodchain()
337 PyList_SetItem(v, i, PyString_FromString(ml->ml_name)); in listmethodchain()
[all …]
Ddescrobject.c633 type, method->ml_name); in PyDescr_NewMethod()
645 type, method->ml_name); in PyDescr_NewClassMethod()
Dtypeobject.c3668 for (; meth->ml_name != NULL; meth++) {
3671 if (PyDict_GetItemString(dict, meth->ml_name) &&
3694 err = PyDict_SetItemString(dict, meth->ml_name, descr);
/external/python/cpython2/Tools/gdb/
Dlibpython.py578 def __init__(self, ml_name): argument
579 self.ml_name = ml_name
582 return "<built-in function %s>" % self.ml_name
585 def __init__(self, ml_name, pyop_m_self): argument
586 self.ml_name = ml_name
591 % (self.ml_name,
605 ml_name = m_ml['ml_name'].string()
609 return BuiltInFunctionProxy(ml_name)
611 return BuiltInMethodProxy(ml_name, pyop_m_self)
/external/python/cpython3/Tools/gdb/
Dlibpython.py590 def __init__(self, ml_name): argument
591 self.ml_name = ml_name
594 return "<built-in function %s>" % self.ml_name
597 def __init__(self, ml_name, pyop_m_self): argument
598 self.ml_name = ml_name
603 % (self.ml_name,
617 ml_name = m_ml['ml_name'].string()
621 return BuiltInFunctionProxy(ml_name)
623 return BuiltInMethodProxy(ml_name, pyop_m_self)
/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()
/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()
D_elementtree.c3085 for (mp = element_methods; mp->ml_name; mp++)
3087 mp->ml_name = "__reduce__";
/external/python/cpython2/Include/
Dmethodobject.h38 const char *ml_name; /* The name of the built-in function/method */ member
/external/python/cpython3/Include/
Dmethodobject.h55 const char *ml_name; /* The name of the built-in function/method */ member
/external/python/cpython2/Python/
Dmodsupport.c72 for (ml = methods; ml->ml_name != NULL; ml++) { in Py_InitModule4()
86 if (PyDict_SetItemString(d, ml->ml_name, v) != 0) { in Py_InitModule4()
Dceval.c4234 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()
4269 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()
4274 ((PyCFunctionObject *)func)->m_ml->ml_name, in err_args()
/external/python/cpython3/Doc/c-api/
Dstructures.rst131 | :attr:`ml_name` | char \* | name of the method |
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c341 char *ml_name; member
674 PyObject_SetAttrString(mod, meth[i].ml_name, in prepare_script_environment()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c369 char *ml_name; member
704 PyObject_SetAttrString(mod, meth[i].ml_name, in prepare_script_environment()
/external/python/cpython2/Doc/c-api/
Dstructures.rst140 | :attr:`ml_name` | char \* | name of the method |
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c2089 ml->ml_name, in PyCSimpleType_new()
5440 while (methods->ml_name) { in create_comerror()
5450 PyDict_SetItemString(dict, methods->ml_name, meth); in create_comerror()
/external/python/cpython3/Doc/extending/
Dnewtypes.rst1125 const char *ml_name; /* method name */
1134 :attr:`ml_name` field of the sentinel must be *NULL*.
/external/python/cpython2/Doc/extending/
Dnewtypes.rst1173 const char *ml_name; /* method name */
1182 :attr:`ml_name` field of the sentinel must be *NULL*.
/external/python/cpython3/Modules/_decimal/
D_decimal.c5635 for (m = t->tp_methods; m->ml_name != NULL; m++) { in cfunc_noargs()
5636 if (strcmp(name, m->ml_name) == 0) { in cfunc_noargs()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c1996 ml->ml_name, in PyCSimpleType_new()

12