Home
last modified time | relevance | path

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

/external/python/cpython3/Doc/includes/
Dsublist.c38 .tp_methods = SubList_methods,
Dtypestruct.h55 struct PyMethodDef *tp_methods; member
Dcustom2.c108 .tp_methods = Custom_methods,
Dcustom3.c158 .tp_methods = Custom_methods,
Dcustom4.c172 .tp_methods = Custom_methods,
/external/python/cpython2/Doc/includes/
Dtypestruct.h57 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Objects/
Dtypeslots.inc65 offsetof(PyHeapTypeObject, ht_type.tp_methods),
Dtypeobject.c5193 if (type->tp_methods != NULL) { in PyType_Ready()
5194 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/Python/
Dcontext.c661 .tp_methods = PyContext_methods,
1000 .tp_methods = PyContextVar_methods,
Dhamt.c2914 .tp_methods = PyHamt_methods,
/external/python/cpython3/Doc/extending/
Dnewtypes.rst241 struct PyMethodDef *tp_methods;
245 If :c:member:`~PyTypeObject.tp_methods` is not *NULL*, it must refer to an array of
307 As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :attr:`name` value
Dnewtypes_tutorial.rst504 and assign it to the :c:member:`~PyTypeObject.tp_methods` slot::
506 .tp_methods = Custom_methods,
/external/python/cpython2/Include/
Dobject.h380 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Include/
Dobject.h402 struct PyMethodDef *tp_methods; member
/external/python/cpython3/Modules/
D_asynciomodule.c1450 .tp_methods = FutureType_methods,
1643 .tp_methods = FutureIter_methods,
2424 .tp_methods = TaskType_methods,
D_testcapimodule.c5238 .tp_methods = generic_alias_methods,
5274 .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/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)
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst702 .. c:member:: struct PyMethodDef* PyTypeObject.tp_methods
/external/python/cpython3/Misc/
DHISTORY16593 use the tp_methods slot instead.