Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dmethodobject.c74 "%s() method: bad call flags", ml->ml_name); 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 …]
Ddescrobject.c561 return _PyType_GetDocFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_doc()
567 … return _PyType_GetTextSignatureFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_text_signature()
931 "%s() method: bad call flags", method->ml_name); in PyDescr_NewMethod()
938 type, method->ml_name); in PyDescr_NewMethod()
952 type, method->ml_name); in PyDescr_NewClassMethod()
Dmoduleobject.c151 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()
Dabstract.c936 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
Dtypeobject.c5590 name = PyUnicode_FromString(meth->ml_name); in type_add_method()
5624 for (; meth->ml_name != NULL; meth++) { in type_add_methods()
/third_party/python/Tools/gdb/
Dlibpython.py598 def __init__(self, ml_name): argument
599 self.ml_name = ml_name
602 return "<built-in function %s>" % self.ml_name
605 def __init__(self, ml_name, pyop_m_self): argument
606 self.ml_name = ml_name
611 % (self.ml_name,
626 ml_name = m_ml['ml_name'].string()
628 ml_name = '<ml_name:UnicodeDecodeError>'
632 return BuiltInFunctionProxy(ml_name)
634 return BuiltInMethodProxy(ml_name, pyop_m_self)
/third_party/python/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()
D_hashopenssl.c2197 for (fdef = mdef->m_methods; fdef->ml_name != NULL; fdef++) { in hashlib_init_constructors()
2198 if (strncmp(fdef->ml_name, "openssl_", 8)) { in hashlib_init_constructors()
2201 name_obj = PyUnicode_FromString(fdef->ml_name + 8); in hashlib_init_constructors()
2205 func = PyObject_GetAttrString(module, fdef->ml_name); in hashlib_init_constructors()
/third_party/python/Include/
Dmethodobject.h36 const char *ml_name; /* The name of the built-in function/method */ member
/third_party/python/Doc/extending/
Dnewtypes.rst264 const char *ml_name; /* method name */
273 :attr:`ml_name` field of the sentinel must be ``NULL``.
/third_party/python/Doc/c-api/
Dstructures.rst241 | :attr:`ml_name` | const char \* | name of the method |
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c5447 for (i = 0; methods[i].ml_name; ++i) { in SWIG_Python_FixMethods()
5614 for (i = 0; SwigMethods[i].ml_name != NULL; ++i) in SWIG_init()
5615 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name); in SWIG_init()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c5411 for (i = 0; methods[i].ml_name; ++i) { in SWIG_Python_FixMethods()
5581 for (i = 0; SwigMethods[i].ml_name != NULL; ++i) in SWIG_init()
5582 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name); in SWIG_init()
/third_party/python/Modules/_decimal/
D_decimal.c5650 for (m = t->tp_methods; m->ml_name != NULL; m++) { in cfunc_noargs()
5651 if (strcmp(name, m->ml_name) == 0) { in cfunc_noargs()
/third_party/python/Modules/_ctypes/
D_ctypes.c2202 ml->ml_name, in PyCSimpleType_new()
/third_party/python/Python/
Dceval.c5763 return ((PyCFunctionObject*)func)->m_ml->ml_name; in PyEval_GetFuncName()