Searched refs:PyTupleObject (Results 1 – 15 of 15) sorted by relevance
/third_party/python/Objects/ |
D | tupleobject.c | 29 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 …]
|
D | listobject.c | 2142 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/ |
D | tupleobject.c.h | 17 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/ |
D | tupleobject.h | 11 } PyTupleObject; typedef 19 #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op))
|
/third_party/python/Include/ |
D | structseq.h | 35 typedef PyTupleObject PyStructSequence;
|
D | abstract.h | 731 : ((PyTupleObject *)(sf))->ob_item)
|
/third_party/python/Doc/c-api/ |
D | typehints.rst | 19 :c:type:`PyTupleObject*` or any ``PyObject*``. If *args* passed is
|
D | sequence.rst | 139 *o* is a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access
|
D | tuple.rst | 11 .. c:type:: PyTupleObject
|
D | sys.rst | 357 :c:type:`PyTupleObject`. The hook function is always called with the GIL
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 105 PyTupleObject *free_list[PyTuple_MAXSAVESIZE];
|
/third_party/python/Python/ |
D | ceval.c | 1324 #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/ |
D | TODO | 103 Objects/tupleobject.c:free_list static PyTupleObject *free_list[Py…
|
/third_party/python/Modules/ |
D | _datetimemodule.c | 3227 PyTupleObject tuple;
|
D | _testcapimodule.c | 5004 *stack = ((PyTupleObject *)args)->ob_item; in fastcall_args()
|