Home
last modified time | relevance | path

Searched refs:PyStructSequence (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Objects/
Dstructseq.c32 PyStructSequence *obj; in PyStructSequence_New()
34 obj = PyObject_New(PyStructSequence, type); in PyStructSequence_New()
43 structseq_dealloc(PyStructSequence *obj) in structseq_dealloc()
55 structseq_length(PyStructSequence *obj) in structseq_length()
61 structseq_item(PyStructSequence *obj, Py_ssize_t i) in structseq_item()
72 structseq_slice(PyStructSequence *obj, Py_ssize_t low, Py_ssize_t high) in structseq_slice()
95 structseq_subscript(PyStructSequence *self, PyObject *item) in structseq_subscript()
148 PyStructSequence *res = NULL; in structseq_new()
202 res = (PyStructSequence*) PyStructSequence_New(type); in structseq_new()
228 make_tuple(PyStructSequence *obj) in make_tuple()
[all …]
/external/python/cpython3/Objects/
Dstructseq.c42 PyStructSequence *obj; in PyStructSequence_New()
45 obj = PyObject_GC_NewVar(PyStructSequence, type, size); in PyStructSequence_New()
71 structseq_traverse(PyStructSequence *obj, visitproc visit, void *arg) in structseq_traverse()
85 structseq_dealloc(PyStructSequence *obj) in structseq_dealloc()
121 PyStructSequence *res = NULL; in structseq_new_impl()
170 res = (PyStructSequence*) PyStructSequence_New(type); in structseq_new_impl()
198 structseq_repr(PyStructSequence *obj) in structseq_repr()
283 structseq_reduce(PyStructSequence* self, PyObject *Py_UNUSED(ignored)) in structseq_reduce()
376 members[k].offset = offsetof(PyStructSequence, ob_item) in initialize_members()
406 type->tp_basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in PyStructSequence_InitType2()
[all …]
/external/python/cpython2/Include/
Dstructseq.h32 } PyStructSequence; typedef
36 (((PyStructSequence *)(op))->ob_item[i] = v)
/external/python/cpython3/Include/
Dstructseq.h35 typedef PyTupleObject PyStructSequence; typedef
/external/python/cpython2/Modules/
Dposixmodule.c1407 PyStructSequence *result; in statresult_new()
1410 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()
/external/python/cpython3/Modules/
Dposixmodule.c2191 PyStructSequence *result; in statresult_new()
2194 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()