Home
last modified time | relevance | path

Searched refs:tp_members (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Objects/
Dstructseq.c179 dict, type->tp_members[i-n_unnamed_fields].name))) { in structseq_new_impl()
233 const char *name_utf8 = typ->tp_members[i].name; in structseq_repr()
299 const char *n = Py_TYPE(self)->tp_members[i-n_unnamed_fields].name; in structseq_reduce()
421 type->tp_members = members; in PyStructSequence_InitType2()
Dtypeslots.inc73 offsetof(PyHeapTypeObject, ht_type.tp_members),
Dtypeobject.c2757 type->tp_members = PyHeapType_GET_MEMBERS(et); in type_new()
2970 type->tp_members = PyHeapType_GET_MEMBERS(res); in PyType_FromSpecWithBases()
5329 if (type->tp_members != NULL) { in PyType_Ready()
5330 if (add_members(type, type->tp_members) < 0) in PyType_Ready()
/external/python/cpython2/Objects/
Dstructseq.c214 dict, type->tp_members[i-n_unnamed_fields].name))) { in structseq_new()
265 cname = typ->tp_members[i].name; in structseq_repr()
400 char *n = Py_TYPE(self)->tp_members[i-n_unnamed_fields].name; in structseq_reduce()
521 type->tp_members = members; in PyStructSequence_InitType()
Dtypeobject.c2479 type->tp_members = PyHeapType_GET_MEMBERS(et); in type_new()
4207 if (type->tp_members != NULL) {
4208 if (add_members(type, type->tp_members) < 0)
/external/python/cpython2/Doc/includes/
Dtypestruct.h58 struct PyMemberDef *tp_members; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h56 struct PyMemberDef *tp_members; member
Dcustom2.c108 .tp_members = Custom_members,
Dcustom3.c158 .tp_members = Custom_members,
Dcustom4.c172 .tp_members = Custom_members,
/external/python/cpython3/Include/cpython/
Dobject.h234 struct PyMemberDef *tp_members; member
/external/python/cpython2/Include/
Dobject.h381 struct PyMemberDef *tp_members; member
/external/python/cpython3/Python/
Dcontext.c1038 .tp_members = PyContextVar_members,
/external/python/cpython3/Doc/extending/
Dnewtypes.rst244 struct PyMemberDef *tp_members;
303 An interesting advantage of using the :c:member:`~PyTypeObject.tp_members` table to build
Dnewtypes_tutorial.rst447 and put the definitions in the :c:member:`~PyTypeObject.tp_members` slot::
449 .tp_members = Custom_members,
/external/python/cpython2/Doc/extending/
Dnewtypes.rst439 and put the definitions in the :c:member:`~PyTypeObject.tp_members` slot::
441 Noddy_members, /* tp_members */
1169 struct PyMemberDef *tp_members;
1236 An interesting advantage of using the :c:member:`~PyTypeObject.tp_members` table to build
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst107 …| :c:member:`~PyTypeObject.tp_members` | :c:type:`PyMemberDef` [] | …
1469 .. c:member:: struct PyMemberDef* PyTypeObject.tp_members
2522 0, /* tp_members */
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst513 …Python 2.2: :c:member:`~PyTypeObject.tp_methods`, :c:member:`~PyTypeObject.tp_members`, :c:member:…
804 .. c:member:: struct PyMemberDef* PyTypeObject.tp_members