Home
last modified time | relevance | path

Searched refs:PyMethodDef (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/aosp_15_r20/external/python/cpython2/Include/
Dmethodobject.h37 struct PyMethodDef { struct
44 typedef struct PyMethodDef PyMethodDef; argument
46 PyAPI_FUNC(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, const char *);
49 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyMethodDef *methods; /* Methods of this type */
83 PyMethodDef *m_ml; /* Description of the C function to call */
Ddescrobject.h51 PyMethodDef *d_method;
75 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
76 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/external/python/cpython2/Modules/
Dflmodule.c27 PyMethodDef *ob_methods;
247 static PyMethodDef generic_methods[] = {
387 newgenericobject(FL_OBJECT *generic, PyMethodDef *methods) in newgenericobject()
699 static PyMethodDef browser_methods[] = {
765 static PyMethodDef button_methods[] = {
829 static PyMethodDef choice_methods[] = {
854 static PyMethodDef clock_methods[] = {
897 static PyMethodDef counter_methods[] = {
946 static PyMethodDef dial_methods[] = {
981 static PyMethodDef input_methods[] = {
[all …]
Dxxsubtype.c66 static PyMethodDef spamlist_methods[] = {
171 static PyMethodDef spamdict_methods[] = {
255 static PyMethodDef xxsubtype_functions[] = {
/aosp_15_r20/external/python/cpython3/Include/
Dmethodobject.h54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); argument
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dmethodobject.h54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); argument
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dmethodobject.h54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); argument
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dmethodobject.h54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); argument
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dmethodobject.h54 struct PyMethodDef { struct
65 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); argument
69 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
Dpytypedefs.h14 typedef struct PyMethodDef PyMethodDef; typedef
Ddescrobject.h27 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
28 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
/aosp_15_r20/external/python/cpython2/Objects/
Dmethodobject.c17 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx()
322 PyMethodDef *ml; in listmethodchain()
368 PyMethodDef *ml = chain->methods; in Py_FindMethodInChain()
384 Py_FindMethod(PyMethodDef *methods, PyObject *self, const char *name) in Py_FindMethod()
421 PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
424 PyCFunction_New(PyMethodDef *ml, PyObject *self) in PyCFunction_New()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_torch_functions_manual.cpp367 static PyMethodDef torch_functions_manual[] = {
489 void gatherTorchFunctions_0(std::vector<PyMethodDef>& torch_functions);
490 void gatherTorchFunctions_1(std::vector<PyMethodDef>& torch_functions);
491 void gatherTorchFunctions_2(std::vector<PyMethodDef>& torch_functions);
493 void gatherTorchFunctions(std::vector<PyMethodDef>& torch_functions) { in gatherTorchFunctions()
515 [&](const PyMethodDef& def) { in gatherTorchFunctions()
524 PyMethodDef alias_def = *it; in gatherTorchFunctions()
577 static std::vector<PyMethodDef> torch_functions; in initTorchFunctions()
H A Dpython_nested_functions_manual.cpp31 static PyMethodDef nested_functions_manual[] = {
38 PyMethodDef* get_nested_functions_manual() { in get_nested_functions_manual()
/aosp_15_r20/external/python/cpython3/Modules/
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_methods[] = {
[all …]
Dxxsubtype.c66 static PyMethodDef spamlist_methods[] = {
171 static PyMethodDef spamdict_methods[] = {
257 static PyMethodDef xxsubtype_functions[] = {
/aosp_15_r20/external/pytorch/tools/autograd/templates/
H A Dpython_torch_functions.cpp77 static PyMethodDef torch_functions_shard[] = {
81 void gatherTorchFunctions${shard_id}(std::vector<PyMethodDef> &torch_functions) {

12345678910>>...23