Home
last modified time | relevance | path

Searched refs:tp_methods (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Doc/includes/
Dtypestruct.h57 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Doc/includes/
Dsublist.c39 .tp_methods = SubList_methods,
Dtypestruct.h55 struct PyMethodDef *tp_methods; member
Dcustom2.c109 .tp_methods = Custom_methods,
Dcustom3.c159 .tp_methods = Custom_methods,
Dcustom4.c173 .tp_methods = Custom_methods,
/external/python/cpython3/Objects/
Dtypeslots.inc65 offsetof(PyHeapTypeObject, ht_type.tp_methods),
Dpicklebufobject.c218 .tp_methods = picklebuf_methods,
Dstructseq.c409 type->tp_methods = structseq_methods; in PyStructSequence_InitType2()
Ddictobject.c3915 .tp_methods = dictiter_methods
3958 .tp_methods = dictiter_methods
3970 .tp_methods = dictiter_methods
Dtypeobject.c5325 if (type->tp_methods != NULL) { in PyType_Ready()
5326 if (add_methods(type, type->tp_methods) < 0) in PyType_Ready()
/external/python/cpython2/Modules/_multiprocessing/
Dwin32_functions.c241 Win32Type.tp_methods = win32_methods; in create_win32_namespace()
/external/python/cpython3/Include/cpython/
Dobject.h233 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Python/
Dcontext.c677 .tp_methods = PyContext_methods,
1037 .tp_methods = PyContextVar_methods,
Dhamt.c2916 .tp_methods = PyHamt_methods,
/external/python/cpython3/Doc/extending/
Dnewtypes.rst243 struct PyMethodDef *tp_methods;
247 If :c:member:`~PyTypeObject.tp_methods` is not ``NULL``, it must refer to an array of
309 As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :attr:`name` value
Dnewtypes_tutorial.rst510 and assign it to the :c:member:`~PyTypeObject.tp_methods` slot::
512 .tp_methods = Custom_methods,
/external/python/cpython2/Include/
Dobject.h380 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Modules/
D_asynciomodule.c1441 .tp_methods = FutureType_methods,
1634 .tp_methods = FutureIter_methods,
2500 .tp_methods = TaskType_methods,
D_testcapimodule.c5830 .tp_methods = generic_alias_methods,
5866 .tp_methods = generic_methods,
/external/python/cpython2/Doc/extending/
Dnewtypes.rst515 and assign them to the :c:member:`~PyTypeObject.tp_methods` slot::
517 Noddy_methods, /* tp_methods */
1168 struct PyMethodDef *tp_methods;
1172 If :c:member:`~PyTypeObject.tp_methods` is not *NULL*, it must refer to an array of
1242 As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :attr:`name` value
1276 table uses the same structure as the :c:member:`~PyTypeObject.tp_methods` field of the type
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst105 …| :c:member:`~PyTypeObject.tp_methods` | :c:type:`PyMethodDef` [] | …
1455 .. c:member:: struct PyMethodDef* PyTypeObject.tp_methods
2521 0, /* tp_methods */
/external/python/cpython3/Modules/_decimal/
D_decimal.c5497 if (t->tp_methods == NULL) { in cfunc_noargs()
5501 for (m = t->tp_methods; m->ml_name != NULL; m++) { in cfunc_noargs()
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst513 …Python 2.2: :c:member:`~PyTypeObject.tp_methods`, :c:member:`~PyTypeObject.tp_members`, :c:member:…
792 .. c:member:: struct PyMethodDef* PyTypeObject.tp_methods
/external/python/cpython2/Objects/
Dtypeobject.c4203 if (type->tp_methods != NULL) {
4204 if (add_methods(type, type->tp_methods) < 0)

12