Searched refs:PyStructSequence (Results 1 – 13 of 13) sorted by relevance
/aosp_15_r20/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 …]
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | structseq.c | 53 PyStructSequence *obj; in PyStructSequence_New() 63 obj = PyObject_GC_NewVar(PyStructSequence, type, size); in PyStructSequence_New() 89 structseq_traverse(PyStructSequence *obj, visitproc visit, void *arg) in structseq_traverse() 103 structseq_dealloc(PyStructSequence *obj) in structseq_dealloc() 138 PyStructSequence *res = NULL; in structseq_new_impl() 196 res = (PyStructSequence*) PyStructSequence_New(type); in structseq_new_impl() 232 structseq_repr(PyStructSequence *obj) in structseq_repr() 317 structseq_reduce(PyStructSequence* self, PyObject *Py_UNUSED(ignored)) in structseq_reduce() 449 members[k].offset = offsetof(PyStructSequence, ob_item) in initialize_members() 481 type->tp_basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in _PyStructSequence_InitType() [all …]
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | structseq.h | 32 } PyStructSequence; typedef 36 (((PyStructSequence *)(op))->ob_item[i] = v)
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | six.h | 40 inline THPObjectPtr maybeAsTuple(PyStructSequence* obj) { in maybeAsTuple() 47 return maybeAsTuple((PyStructSequence*)obj); in maybeAsTuple()
|
H A D | structseq.h | 7 PyObject* returned_structseq_repr(PyStructSequence* obj);
|
H A D | structseq.cpp | 26 PyObject* returned_structseq_repr(PyStructSequence* obj) { in returned_structseq_repr()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/aosp_15_r20/external/python/cpython3/Include/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence; typedef
|
/aosp_15_r20/external/python/cpython2/Modules/ |
D | posixmodule.c | 1407 PyStructSequence *result; in statresult_new() 1410 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | posixmodule.c | 2291 PyStructSequence *result; in statresult_new() 2294 result = (PyStructSequence*)structseq_new(type, args, kwds); in statresult_new()
|