Home
last modified time | relevance | path

Searched refs:ml_name (Results 1 - 14 of 14) sorted by relevance

/third_party/python/Objects/
H A Dmethodobject.c74 "%s() method: bad call flags", ml->ml_name); in PyCMethod_New()
183 return PyUnicode_FromString(m->m_ml->ml_name); in meth_reduce()
186 m->m_self, m->m_ml->ml_name); in meth_reduce()
197 return _PyType_GetTextSignatureFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__text_signature__()
203 return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc); in meth_get__doc__()
209 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__name__()
226 return PyUnicode_FromString(m->m_ml->ml_name); in meth_get__qualname__()
241 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__()
288 m->m_ml->ml_name); in meth_repr()
290 m->m_ml->ml_name, in meth_repr()
[all...]
H A Dmoduleobject.c163 for (fdef = functions; fdef->ml_name != NULL; fdef++) { in _add_methods_to_object()
175 if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) { in _add_methods_to_object()
H A Ddescrobject.c582 return _PyType_GetDocFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_doc()
588 return _PyType_GetTextSignatureFromInternalDoc(descr->d_method->ml_name, descr->d_method->ml_doc); in method_get_text_signature()
951 "%s() method: bad call flags", method->ml_name); in PyDescr_NewMethod()
958 type, method->ml_name); in PyDescr_NewMethod()
972 type, method->ml_name); in PyDescr_NewClassMethod()
H A Dabstract.c938 strcmp(((PyCFunctionObject *)v)->m_ml->ml_name, "print") == 0) in binary_op()
H A Dtypeobject.c5686 name = PyUnicode_FromString(meth->ml_name); in type_add_method()
5720 for (; meth->ml_name != NULL; meth++) { in type_add_methods()
/third_party/python/Modules/
H A D_lsprof.c158 fn->m_ml->ml_name); in normalizeUserObj()
164 return PyUnicode_FromFormat("<%s>", fn->m_ml->ml_name); in normalizeUserObj()
171 PyObject *name = PyUnicode_FromString(fn->m_ml->ml_name); in normalizeUserObj()
189 modname, fn->m_ml->ml_name); in normalizeUserObj()
192 fn->m_ml->ml_name); in normalizeUserObj()
H A Dgetpath.c560 for (PyMethodDef *m = getpath_methods; m->ml_name; ++m) { in funcs_to_dict()
565 if (PyDict_SetItemString(dict, m->ml_name, f) < 0) { in funcs_to_dict()
576 if (PyDict_SetItemString(dict, m2->ml_name, f) < 0) { in funcs_to_dict()
H A D_hashopenssl.c2209 for (fdef = mdef->m_methods; fdef->ml_name != NULL; fdef++) { in hashlib_init_constructors()
2210 if (strncmp(fdef->ml_name, "openssl_", 8)) { in hashlib_init_constructors()
2213 name_obj = PyUnicode_FromString(fdef->ml_name + 8); in hashlib_init_constructors()
2217 func = PyObject_GetAttrString(module, fdef->ml_name); in hashlib_init_constructors()
/third_party/python/Tools/gdb/
H A Dlibpython.py599 def __init__(self, ml_name):
600 self.ml_name = ml_name
603 return "<built-in function %s>" % self.ml_name
606 def __init__(self, ml_name, pyop_m_self):
607 self.ml_name = ml_name
612 % (self.ml_name,
627 ml_name = m_ml['ml_name']
[all...]
/third_party/python/Include/
H A Dmethodobject.h55 const char *ml_name; /* The name of the built-in function/method */ member
/third_party/skia/third_party/externals/libwebp/swig/
H A 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/python/Modules/_decimal/
H A D_decimal.c5807 for (m = t->tp_methods; m->ml_name != NULL; m++) { in cfunc_noargs()
5808 if (strcmp(name, m->ml_name) == 0) { in cfunc_noargs()
/third_party/python/Modules/_ctypes/
H A D_ctypes.c2178 ml->ml_name, in PyCSimpleType_new()
/third_party/python/Python/
H A Dceval.c7234 return ((PyCFunctionObject*)func)->m_ml->ml_name;

Completed in 62 milliseconds