Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dstructseq.c153 dict, type->tp_members[i-n_unnamed_fields].name))) { in structseq_new_impl()
195 cname = typ->tp_members[i].name; in structseq_repr()
267 const char *n = Py_TYPE(self)->tp_members[i-n_unnamed_fields].name; in structseq_reduce()
377 type->tp_members = members; in PyStructSequence_InitType2()
Dtypeslots.inc73 offsetof(PyHeapTypeObject, ht_type.tp_members),
Dtypeobject.c2756 type->tp_members = PyHeapType_GET_MEMBERS(et); in type_new()
5197 if (type->tp_members != NULL) { in PyType_Ready()
5198 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.c107 .tp_members = Custom_members,
Dcustom3.c157 .tp_members = Custom_members,
Dcustom4.c171 .tp_members = Custom_members,
/external/python/cpython2/Include/
Dobject.h381 struct PyMemberDef *tp_members; member
/external/python/cpython3/Include/
Dobject.h403 struct PyMemberDef *tp_members; member
/external/python/cpython3/Python/
Dcontext.c1001 .tp_members = PyContextVar_members,
/external/python/cpython3/Doc/extending/
Dnewtypes.rst242 struct PyMemberDef *tp_members;
301 An interesting advantage of using the :c:member:`~PyTypeObject.tp_members` table to build
Dnewtypes_tutorial.rst441 and put the definitions in the :c:member:`~PyTypeObject.tp_members` slot::
443 .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/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
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst714 .. c:member:: struct PyMemberDef* PyTypeObject.tp_members