Home
last modified time | relevance | path

Searched refs:PyTupleObject (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Objects/
Dtupleobject.c29 tuple_gc_track(PyTupleObject *op) in tuple_gc_track()
59 static PyTupleObject *
62 PyTupleObject *op; in tuple_alloc()
81 state->free_list[size] = (PyTupleObject *) op->ob_item[0]; in tuple_alloc()
94 if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) - in tuple_alloc()
96 return (PyTupleObject *)PyErr_NoMemory(); in tuple_alloc()
98 op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size); in tuple_alloc()
111 PyTupleObject *op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, 0); in tuple_create_empty_tuple_singleton()
132 PyTupleObject *op = state->free_list[0]; in tuple_get_empty()
151 PyTupleObject *op; in PyTuple_New()
[all …]
Dlistobject.c2142 PyTupleObject *vt, *wt; in unsafe_tuple_compare()
2152 vt = (PyTupleObject *)v; in unsafe_tuple_compare()
2153 wt = (PyTupleObject *)w; in unsafe_tuple_compare()
/third_party/python/Objects/clinic/
Dtupleobject.c.h17 tuple_index_impl(PyTupleObject *self, PyObject *value, Py_ssize_t start,
21 tuple_index(PyTupleObject *self, PyObject *const *args, Py_ssize_t nargs) in tuple_index()
107 tuple___getnewargs___impl(PyTupleObject *self);
110 tuple___getnewargs__(PyTupleObject *self, PyObject *Py_UNUSED(ignored)) in tuple___getnewargs__()
/third_party/python/Include/cpython/
Dtupleobject.h11 } PyTupleObject; typedef
19 #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op))
/third_party/python/Include/
Dstructseq.h35 typedef PyTupleObject PyStructSequence;
Dabstract.h731 : ((PyTupleObject *)(sf))->ob_item)
/third_party/python/Doc/c-api/
Dtypehints.rst19 :c:type:`PyTupleObject*` or any ``PyObject*``. If *args* passed is
Dsequence.rst139 *o* is a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access
Dtuple.rst11 .. c:type:: PyTupleObject
Dsys.rst357 :c:type:`PyTupleObject`. The hook function is always called with the GIL
/third_party/python/Include/internal/
Dpycore_interp.h105 PyTupleObject *free_list[PyTuple_MAXSAVESIZE];
/third_party/python/Python/
Dceval.c1324 #define GETITEM(v, i) PyTuple_GET_ITEM((PyTupleObject *)(v), (i))
2803 items = ((PyTupleObject *)seq)->ob_item; in _PyEval_EvalFrameDefault()
4855 co_varnames = ((PyTupleObject *)(co->co_varnames))->ob_item; in _PyEval_MakeFrameVector()
/third_party/python/Tools/c-analyzer/
DTODO103 Objects/tupleobject.c:free_list static PyTupleObject *free_list[Py…
/third_party/python/Modules/
D_datetimemodule.c3227 PyTupleObject tuple;
D_testcapimodule.c5004 *stack = ((PyTupleObject *)args)->ob_item; in fastcall_args()