Searched refs:PyStructSequence (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Objects/ |
D | structseq.c | 32 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/ |
D | structseq.c | 34 PyStructSequence *obj; in PyStructSequence_New() 37 obj = PyObject_GC_NewVar(PyStructSequence, type, size); in PyStructSequence_New() 62 structseq_dealloc(PyStructSequence *obj) in structseq_dealloc() 92 PyStructSequence *res = NULL; in structseq_new_impl() 141 res = (PyStructSequence*) PyStructSequence_New(type); in structseq_new_impl() 168 structseq_repr(PyStructSequence *obj) in structseq_repr() 243 structseq_reduce(PyStructSequence* self) in structseq_reduce() 293 sizeof(PyStructSequence) - sizeof(PyObject *), /* tp_basicsize */ 369 members[k].offset = offsetof(PyStructSequence, ob_item) in PyStructSequence_InitType2()
|
/external/python/cpython2/Include/ |
D | structseq.h | 32 } PyStructSequence; typedef 36 (((PyStructSequence *)(op))->ob_item[i] = v)
|
/external/python/cpython3/Include/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 1407 PyStructSequence *result; in statresult_new() 1410 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 1944 PyStructSequence *result; in statresult_new() 1947 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()
|