Home
last modified time | relevance | path

Searched refs:PyMethodDef (Results 1 - 25 of 196) sorted by relevance

12345678

/third_party/python/Include/
H A Dmethodobject.h29 // Cast an function to the PyCFunction type to use it with PyMethodDef.
54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
H A Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
H A Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/third_party/python/Modules/
H A Dxxsubtype.c66 static PyMethodDef spamlist_methods[] = {
171 static PyMethodDef spamdict_methods[] = {
257 static PyMethodDef xxsubtype_functions[] = {
H A Dxxmodule.c59 static PyMethodDef Xxo_methods[] = {
325 static PyMethodDef xx_methods[] = {
H A D_testmultiphase.c68 static PyMethodDef Example_methods[] = {
270 static PyMethodDef StateAccessType_methods[] = {
370 static PyMethodDef testexport_methods[] = {
519 static PyMethodDef nonmodule_methods[] = {
H A D_typingmodule.c31 static PyMethodDef typing_methods[] = {
H A Ditertoolsmodule.c363 static PyMethodDef groupby_methods[] = {
512 static PyMethodDef _grouper_methods[] = {
766 static PyMethodDef teedataobject_methods[] = {
953 static PyMethodDef tee_methods[] = {
1214 static PyMethodDef cycle_methods[] = {
1379 static PyMethodDef dropwhile_methods[] = {
1539 static PyMethodDef takewhile_reduce_methods[] = {
1788 static PyMethodDef islice_methods[] = {
1940 static PyMethodDef starmap_methods[] = {
2159 static PyMethodDef chain_method
[all...]
H A D_cryptmodule.c55 static PyMethodDef crypt_methods[] = {
H A D_contextvarsmodule.c25 static PyMethodDef _contextvars_methods[] = {
H A Dxxlimited.c227 static PyMethodDef Xxo_methods[] = {
343 static PyMethodDef xx_methods[] = {
H A Dxxlimited_35.c74 static PyMethodDef Xxo_methods[] = {
226 static PyMethodDef xx_methods[] = {
H A D_opcode.c95 static PyMethodDef
H A Dgetpath.c515 static PyMethodDef getpath_methods[] = {
553 static PyMethodDef getpath_warn_method = {"warn", getpath_warn, METH_VARARGS, NULL};
554 static PyMethodDef getpath_nowarn_method = {"warn", getpath_nowarn, METH_VARARGS, NULL};
560 for (PyMethodDef *m = getpath_methods; m->ml_name; ++m) { in funcs_to_dict()
571 PyMethodDef *m2 = warnings ? &getpath_warn_method : &getpath_nowarn_method; in funcs_to_dict()
/third_party/python/Objects/
H A Diterobject.c136 static PyMethodDef seqiter_methods[] = {
262 static PyMethodDef calliter_methods[] = {
449 static PyMethodDef anextawaitable_methods[] = {
H A Dmethodobject.c32 PyCFunction_New(PyMethodDef *ml, PyObject *self) in PyCFunction_New()
38 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx()
44 PyCMethod_New(PyMethodDef *ml, PyObject *self, PyObject *module, PyTypeObject *cls) in PyCMethod_New()
171 // PyMethodDef m_ml, which could be kept alive by m_self in meth_dealloc()
189 static PyMethodDef meth_methods[] = {
H A Dmoduleobject.c158 _add_methods_to_object(PyObject *module, PyObject *name, PyMethodDef *functions) in _add_methods_to_object()
161 PyMethodDef *fdef; in _add_methods_to_object()
449 PyModule_AddFunctions(PyObject *m, PyMethodDef *functions) in PyModule_AddFunctions()
874 static PyMethodDef module_methods[] = {
/third_party/protobuf/benchmarks/python/
H A Dpython_benchmark_messages.cc10 static PyMethodDef python_benchmark_methods[] = {
/third_party/python/Modules/_xxtestfuzz/
H A D_xxtestfuzz.c27 static PyMethodDef module_methods[] = {
/third_party/python/Include/cpython/
H A Ddescrobject.h40 PyMethodDef *d_method;
/third_party/python/PC/
H A D_msi.c587 static PyMethodDef record_methods[] = {
810 static PyMethodDef summary_methods[] = {
987 static PyMethodDef view_methods[] = {
1121 static PyMethodDef db_methods[] = {
1244 static PyMethodDef msi_methods[] = {
/third_party/python/Doc/includes/
H A Dtypestruct.h57 struct PyMethodDef *tp_methods;
H A Dsublist.c16 static PyMethodDef SubList_methods[] = {
/third_party/python/Modules/_multiprocessing/
H A Dposixshmem.c106 static PyMethodDef module_methods[ ] = {
/third_party/skia/third_party/externals/brotli/python/
H A D_brotli.cc342 static PyMethodDef brotli_Compressor_methods[] = {
570 static PyMethodDef brotli_Decompressor_methods[] = {
691 static PyMethodDef brotli_methods[] = {

Completed in 17 milliseconds

12345678