/external/python/cpython2/Objects/ |
D | methodobject.c | 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() 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 …]
|
D | descrobject.c | 633 type, method->ml_name); in PyDescr_NewMethod() 645 type, method->ml_name); in PyDescr_NewClassMethod()
|
D | typeobject.c | 3731 for (; meth->ml_name != NULL; meth++) { 3734 if (PyDict_GetItemString(dict, meth->ml_name) && 3757 err = PyDict_SetItemString(dict, meth->ml_name, descr);
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 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()
|
D | call.c | 478 method->ml_name, nargs); in _PyMethodDef_RawFastCallDict() 493 method->ml_name, nargs); in _PyMethodDef_RawFastCallDict() 564 method->ml_name); in _PyMethodDef_RawFastCallDict() 625 method->ml_name, nargs); in _PyMethodDef_RawFastCallKeywords() 640 method->ml_name, nargs); in _PyMethodDef_RawFastCallKeywords() 712 method->ml_name); in _PyMethodDef_RawFastCallKeywords() 760 ((PyCFunctionObject*)func)->m_ml->ml_name); in cfunction_call_varargs()
|
D | descrobject.c | 403 return _PyType_GetDocFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_doc() 409 … return _PyType_GetTextSignatureFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_text_signature() 746 type, method->ml_name); in PyDescr_NewMethod() 758 type, method->ml_name); in PyDescr_NewClassMethod()
|
D | moduleobject.c | 151 for (fdef = functions; fdef->ml_name != NULL; fdef++) { in _add_methods_to_object() 163 if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) { in _add_methods_to_object()
|
D | typeobject.c | 4777 for (; meth->ml_name != NULL; meth++) { in add_methods() 4781 if (PyDict_GetItemString(dict, meth->ml_name) && in add_methods() 4809 err = PyDict_SetItemString(dict, meth->ml_name, descr); in add_methods()
|
D | abstract.c | 842 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 582 def __init__(self, ml_name): argument 583 self.ml_name = ml_name 586 return "<built-in function %s>" % self.ml_name 589 def __init__(self, ml_name, pyop_m_self): argument 590 self.ml_name = ml_name 595 % (self.ml_name, 610 ml_name = m_ml['ml_name'].string() 612 ml_name = '<ml_name:UnicodeDecodeError>' 616 return BuiltInFunctionProxy(ml_name) 618 return BuiltInMethodProxy(ml_name, pyop_m_self)
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 596 def __init__(self, ml_name): argument 597 self.ml_name = ml_name 600 return "<built-in function %s>" % self.ml_name 603 def __init__(self, ml_name, pyop_m_self): argument 604 self.ml_name = ml_name 609 % (self.ml_name, 624 ml_name = m_ml['ml_name'].string() 626 ml_name = '<ml_name:UnicodeDecodeError>' 630 return BuiltInFunctionProxy(ml_name) 632 return BuiltInMethodProxy(ml_name, pyop_m_self)
|
/external/python/cpython3/Modules/ |
D | _lsprof.c | 187 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.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()
|
D | _elementtree.c | 3174 for (mp = element_methods; mp->ml_name; mp++) 3176 mp->ml_name = "__reduce__";
|
/external/python/cpython2/Include/ |
D | methodobject.h | 38 const char *ml_name; /* The name of the built-in function/method */ member
|
/external/python/cpython3/Include/ |
D | methodobject.h | 57 const char *ml_name; /* The name of the built-in function/method */ member
|
/external/python/cpython2/Python/ |
D | modsupport.c | 72 for (ml = methods; ml->ml_name != NULL; ml++) { in Py_InitModule4() 86 if (PyDict_SetItemString(d, ml->ml_name, v) != 0) { in Py_InitModule4()
|
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/cpython3/Doc/extending/ |
D | newtypes.rst | 250 const char *ml_name; /* method name */ 259 :attr:`ml_name` field of the sentinel must be *NULL*.
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 369 char *ml_name; member 704 PyObject_SetAttrString(mod, meth[i].ml_name, in prepare_script_environment()
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 341 char *ml_name; member 674 PyObject_SetAttrString(mod, meth[i].ml_name, in prepare_script_environment()
|
/external/python/cpython3/Doc/c-api/ |
D | structures.rst | 131 | :attr:`ml_name` | const char \* | name of the method |
|
/external/python/cpython2/Doc/c-api/ |
D | structures.rst | 140 | :attr:`ml_name` | char \* | name of the method |
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 2169 ml->ml_name, in PyCSimpleType_new() 5535 while (methods->ml_name) { in create_comerror() 5545 PyDict_SetItemString(dict, methods->ml_name, meth); in create_comerror()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 1177 const char *ml_name; /* method name */ 1186 :attr:`ml_name` field of the sentinel must be *NULL*.
|