/src/cpython3/Include/cpython/tupleobject.h
Line | Count | Source |
1 | | #ifndef Py_CPYTHON_TUPLEOBJECT_H |
2 | | # error "this header file must not be included directly" |
3 | | #endif |
4 | | |
5 | | typedef struct { |
6 | | PyObject_VAR_HEAD |
7 | | /* Cached hash. Initially set to -1. */ |
8 | | Py_hash_t ob_hash; |
9 | | /* ob_item contains space for 'ob_size' elements. |
10 | | Items must normally not be NULL, except during construction when |
11 | | the tuple is not yet visible outside the function that builds it. */ |
12 | | PyObject *ob_item[1]; |
13 | | } PyTupleObject; |
14 | | |
15 | | PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); |
16 | | |
17 | | /* Cast argument to PyTupleObject* type. */ |
18 | | #define _PyTuple_CAST(op) \ |
19 | 2.04G | (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op))) |
20 | | |
21 | | // Macros and static inline functions, trading safety for speed |
22 | | |
23 | 133M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { |
24 | 133M | PyTupleObject *tuple = _PyTuple_CAST(op); |
25 | 133M | return Py_SIZE(tuple); |
26 | 133M | } exceptions.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 269k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 269k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 269k | return Py_SIZE(tuple); | 26 | 269k | } |
Unexecuted instantiation: genericaliasobject.c:PyTuple_GET_SIZE listobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 5.69k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 5.69k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 5.69k | return Py_SIZE(tuple); | 26 | 5.69k | } |
longobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 661 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 661 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 661 | return Py_SIZE(tuple); | 26 | 661 | } |
dictobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 5.60k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 5.60k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 5.60k | return Py_SIZE(tuple); | 26 | 5.60k | } |
moduleobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 587 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 587 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 587 | return Py_SIZE(tuple); | 26 | 587 | } |
Unexecuted instantiation: object.c:PyTuple_GET_SIZE Unexecuted instantiation: obmalloc.c:PyTuple_GET_SIZE Unexecuted instantiation: picklebufobject.c:PyTuple_GET_SIZE Unexecuted instantiation: rangeobject.c:PyTuple_GET_SIZE Unexecuted instantiation: setobject.c:PyTuple_GET_SIZE Unexecuted instantiation: sliceobject.c:PyTuple_GET_SIZE Unexecuted instantiation: structseq.c:PyTuple_GET_SIZE Unexecuted instantiation: templateobject.c:PyTuple_GET_SIZE tupleobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 1.08M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 1.08M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 1.08M | return Py_SIZE(tuple); | 26 | 1.08M | } |
typeobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 62.1M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 62.1M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 62.1M | return Py_SIZE(tuple); | 26 | 62.1M | } |
Unexecuted instantiation: typevarobject.c:PyTuple_GET_SIZE Unexecuted instantiation: unicode_formatter.c:PyTuple_GET_SIZE Unexecuted instantiation: unicode_writer.c:PyTuple_GET_SIZE Unexecuted instantiation: unicodectype.c:PyTuple_GET_SIZE unicodeobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 1.71k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 1.71k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 1.71k | return Py_SIZE(tuple); | 26 | 1.71k | } |
Unexecuted instantiation: unionobject.c:PyTuple_GET_SIZE Unexecuted instantiation: weakrefobject.c:PyTuple_GET_SIZE _warnings.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 2.54M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 2.54M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 2.54M | return Py_SIZE(tuple); | 26 | 2.54M | } |
bltinmodule.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 5.56M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 5.56M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 5.56M | return Py_SIZE(tuple); | 26 | 5.56M | } |
Line | Count | Source | 23 | 54.7M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 54.7M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 54.7M | return Py_SIZE(tuple); | 26 | 54.7M | } |
codecs.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 27.8k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 27.8k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 27.8k | return Py_SIZE(tuple); | 26 | 27.8k | } |
Unexecuted instantiation: codegen.c:PyTuple_GET_SIZE compile.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 2.97k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 2.97k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 2.97k | return Py_SIZE(tuple); | 26 | 2.97k | } |
Unexecuted instantiation: context.c:PyTuple_GET_SIZE Unexecuted instantiation: errors.c:PyTuple_GET_SIZE flowgraph.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 406k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 406k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 406k | return Py_SIZE(tuple); | 26 | 406k | } |
Unexecuted instantiation: frame.c:PyTuple_GET_SIZE Unexecuted instantiation: future.c:PyTuple_GET_SIZE Unexecuted instantiation: gc.c:PyTuple_GET_SIZE Unexecuted instantiation: gc_gil.c:PyTuple_GET_SIZE getargs.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 4.42M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 4.42M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 4.42M | return Py_SIZE(tuple); | 26 | 4.42M | } |
Unexecuted instantiation: ceval_gil.c:PyTuple_GET_SIZE Unexecuted instantiation: hamt.c:PyTuple_GET_SIZE Unexecuted instantiation: hashtable.c:PyTuple_GET_SIZE Unexecuted instantiation: import.c:PyTuple_GET_SIZE Unexecuted instantiation: importdl.c:PyTuple_GET_SIZE initconfig.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 66 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 66 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 66 | return Py_SIZE(tuple); | 26 | 66 | } |
Unexecuted instantiation: instrumentation.c:PyTuple_GET_SIZE Unexecuted instantiation: instruction_sequence.c:PyTuple_GET_SIZE Unexecuted instantiation: intrinsics.c:PyTuple_GET_SIZE Unexecuted instantiation: legacy_tracing.c:PyTuple_GET_SIZE Unexecuted instantiation: lock.c:PyTuple_GET_SIZE Unexecuted instantiation: marshal.c:PyTuple_GET_SIZE Unexecuted instantiation: modsupport.c:PyTuple_GET_SIZE Unexecuted instantiation: mysnprintf.c:PyTuple_GET_SIZE Unexecuted instantiation: parking_lot.c:PyTuple_GET_SIZE Unexecuted instantiation: preconfig.c:PyTuple_GET_SIZE Unexecuted instantiation: pyarena.c:PyTuple_GET_SIZE Unexecuted instantiation: pyctype.c:PyTuple_GET_SIZE Unexecuted instantiation: pyhash.c:PyTuple_GET_SIZE Unexecuted instantiation: pylifecycle.c:PyTuple_GET_SIZE Unexecuted instantiation: pystate.c:PyTuple_GET_SIZE Unexecuted instantiation: pythonrun.c:PyTuple_GET_SIZE Unexecuted instantiation: pytime.c:PyTuple_GET_SIZE Unexecuted instantiation: qsbr.c:PyTuple_GET_SIZE Unexecuted instantiation: bootstrap_hash.c:PyTuple_GET_SIZE specialize.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 842 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 842 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 842 | return Py_SIZE(tuple); | 26 | 842 | } |
Unexecuted instantiation: symtable.c:PyTuple_GET_SIZE Unexecuted instantiation: sysmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: thread.c:PyTuple_GET_SIZE Unexecuted instantiation: traceback.c:PyTuple_GET_SIZE Unexecuted instantiation: tracemalloc.c:PyTuple_GET_SIZE Unexecuted instantiation: getopt.c:PyTuple_GET_SIZE Unexecuted instantiation: pystrcmp.c:PyTuple_GET_SIZE Unexecuted instantiation: pystrtod.c:PyTuple_GET_SIZE Unexecuted instantiation: dtoa.c:PyTuple_GET_SIZE Unexecuted instantiation: fileutils.c:PyTuple_GET_SIZE Unexecuted instantiation: suggestions.c:PyTuple_GET_SIZE Unexecuted instantiation: perf_trampoline.c:PyTuple_GET_SIZE Unexecuted instantiation: perf_jit_trampoline.c:PyTuple_GET_SIZE Unexecuted instantiation: remote_debugging.c:PyTuple_GET_SIZE Unexecuted instantiation: dynload_shlib.c:PyTuple_GET_SIZE Unexecuted instantiation: config.c:PyTuple_GET_SIZE Unexecuted instantiation: gcmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _asynciomodule.c:PyTuple_GET_SIZE Unexecuted instantiation: atexitmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: faulthandler.c:PyTuple_GET_SIZE Unexecuted instantiation: posixmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: signalmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _tracemalloc.c:PyTuple_GET_SIZE Unexecuted instantiation: _suggestions.c:PyTuple_GET_SIZE Unexecuted instantiation: _datetimemodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _codecsmodule.c:PyTuple_GET_SIZE _collectionsmodule.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 114 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 114 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 114 | return Py_SIZE(tuple); | 26 | 114 | } |
Unexecuted instantiation: _iomodule.c:PyTuple_GET_SIZE Unexecuted instantiation: iobase.c:PyTuple_GET_SIZE fileio.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 406 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 406 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 406 | return Py_SIZE(tuple); | 26 | 406 | } |
bytesio.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 17.6k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 17.6k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 17.6k | return Py_SIZE(tuple); | 26 | 17.6k | } |
bufferedio.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 406 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 406 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 406 | return Py_SIZE(tuple); | 26 | 406 | } |
textio.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 66 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 66 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 66 | return Py_SIZE(tuple); | 26 | 66 | } |
Unexecuted instantiation: stringio.c:PyTuple_GET_SIZE itertoolsmodule.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 1.38k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 1.38k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 1.38k | return Py_SIZE(tuple); | 26 | 1.38k | } |
Line | Count | Source | 23 | 73 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 73 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 73 | return Py_SIZE(tuple); | 26 | 73 | } |
Unexecuted instantiation: _sysconfig.c:PyTuple_GET_SIZE Unexecuted instantiation: _threadmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: timemodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _typesmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _typingmodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _weakref.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 9.61k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 9.61k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 9.61k | return Py_SIZE(tuple); | 26 | 9.61k | } |
_functoolsmodule.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 29 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 29 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 29 | return Py_SIZE(tuple); | 26 | 29 | } |
Unexecuted instantiation: _localemodule.c:PyTuple_GET_SIZE Unexecuted instantiation: _opcode.c:PyTuple_GET_SIZE Unexecuted instantiation: _operator.c:PyTuple_GET_SIZE Unexecuted instantiation: symtablemodule.c:PyTuple_GET_SIZE Unexecuted instantiation: pwdmodule.c:PyTuple_GET_SIZE getpath.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 286 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 286 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 286 | return Py_SIZE(tuple); | 26 | 286 | } |
Unexecuted instantiation: frozen.c:PyTuple_GET_SIZE Unexecuted instantiation: getbuildinfo.c:PyTuple_GET_SIZE Unexecuted instantiation: peg_api.c:PyTuple_GET_SIZE Unexecuted instantiation: file_tokenizer.c:PyTuple_GET_SIZE Unexecuted instantiation: helpers.c:PyTuple_GET_SIZE Unexecuted instantiation: myreadline.c:PyTuple_GET_SIZE abstract.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 18.5k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 18.5k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 18.5k | return Py_SIZE(tuple); | 26 | 18.5k | } |
Unexecuted instantiation: boolobject.c:PyTuple_GET_SIZE bytes_methods.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 49.2k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 49.2k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 49.2k | return Py_SIZE(tuple); | 26 | 49.2k | } |
bytearrayobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 376k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 376k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 376k | return Py_SIZE(tuple); | 26 | 376k | } |
bytesobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 179k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 179k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 179k | return Py_SIZE(tuple); | 26 | 179k | } |
Line | Count | Source | 23 | 482k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 482k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 482k | return Py_SIZE(tuple); | 26 | 482k | } |
Unexecuted instantiation: capsule.c:PyTuple_GET_SIZE Unexecuted instantiation: cellobject.c:PyTuple_GET_SIZE Unexecuted instantiation: classobject.c:PyTuple_GET_SIZE codeobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 1.00M | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 1.00M | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 1.00M | return Py_SIZE(tuple); | 26 | 1.00M | } |
Unexecuted instantiation: complexobject.c:PyTuple_GET_SIZE descrobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 11.3k | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 11.3k | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 11.3k | return Py_SIZE(tuple); | 26 | 11.3k | } |
Unexecuted instantiation: enumobject.c:PyTuple_GET_SIZE Unexecuted instantiation: genobject.c:PyTuple_GET_SIZE Unexecuted instantiation: fileobject.c:PyTuple_GET_SIZE Unexecuted instantiation: floatobject.c:PyTuple_GET_SIZE frameobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 22 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 22 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 22 | return Py_SIZE(tuple); | 26 | 22 | } |
Unexecuted instantiation: funcobject.c:PyTuple_GET_SIZE Unexecuted instantiation: interpolationobject.c:PyTuple_GET_SIZE Unexecuted instantiation: iterobject.c:PyTuple_GET_SIZE Unexecuted instantiation: odictobject.c:PyTuple_GET_SIZE memoryobject.c:PyTuple_GET_SIZE Line | Count | Source | 23 | 342 | static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) { | 24 | 342 | PyTupleObject *tuple = _PyTuple_CAST(op); | 25 | 342 | return Py_SIZE(tuple); | 26 | 342 | } |
Unexecuted instantiation: methodobject.c:PyTuple_GET_SIZE Unexecuted instantiation: namespaceobject.c:PyTuple_GET_SIZE Unexecuted instantiation: unicode_format.c:PyTuple_GET_SIZE Unexecuted instantiation: _contextvars.c:PyTuple_GET_SIZE Unexecuted instantiation: Python-ast.c:PyTuple_GET_SIZE Unexecuted instantiation: Python-tokenize.c:PyTuple_GET_SIZE Unexecuted instantiation: asdl.c:PyTuple_GET_SIZE Unexecuted instantiation: assemble.c:PyTuple_GET_SIZE Unexecuted instantiation: ast.c:PyTuple_GET_SIZE Unexecuted instantiation: ast_preprocess.c:PyTuple_GET_SIZE Unexecuted instantiation: ast_unparse.c:PyTuple_GET_SIZE Unexecuted instantiation: critical_section.c:PyTuple_GET_SIZE Unexecuted instantiation: crossinterp.c:PyTuple_GET_SIZE Unexecuted instantiation: getcopyright.c:PyTuple_GET_SIZE Unexecuted instantiation: getplatform.c:PyTuple_GET_SIZE Unexecuted instantiation: getversion.c:PyTuple_GET_SIZE Unexecuted instantiation: optimizer.c:PyTuple_GET_SIZE Unexecuted instantiation: pathconfig.c:PyTuple_GET_SIZE Unexecuted instantiation: pymath.c:PyTuple_GET_SIZE Unexecuted instantiation: structmember.c:PyTuple_GET_SIZE Unexecuted instantiation: pystrhex.c:PyTuple_GET_SIZE Unexecuted instantiation: pegen.c:PyTuple_GET_SIZE Unexecuted instantiation: pegen_errors.c:PyTuple_GET_SIZE Unexecuted instantiation: parser.c:PyTuple_GET_SIZE Unexecuted instantiation: buffer.c:PyTuple_GET_SIZE Unexecuted instantiation: lexer.c:PyTuple_GET_SIZE Unexecuted instantiation: state.c:PyTuple_GET_SIZE Unexecuted instantiation: readline_tokenizer.c:PyTuple_GET_SIZE Unexecuted instantiation: string_tokenizer.c:PyTuple_GET_SIZE Unexecuted instantiation: utf8_tokenizer.c:PyTuple_GET_SIZE Unexecuted instantiation: getcompiler.c:PyTuple_GET_SIZE Unexecuted instantiation: mystrtoul.c:PyTuple_GET_SIZE Unexecuted instantiation: token.c:PyTuple_GET_SIZE Unexecuted instantiation: action_helpers.c:PyTuple_GET_SIZE Unexecuted instantiation: string_parser.c:PyTuple_GET_SIZE |
27 | 133M | #define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op)) |
28 | | |
29 | 1.24G | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)]) |
30 | | |
31 | | /* Function *only* to be used to fill in brand new tuples */ |
32 | | static inline void |
33 | 238M | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { |
34 | 238M | PyTupleObject *tuple = _PyTuple_CAST(op); |
35 | 238M | assert(0 <= index); |
36 | 238M | assert(index < Py_SIZE(tuple)); |
37 | 238M | tuple->ob_item[index] = value; |
38 | 238M | } Unexecuted instantiation: exceptions.c:PyTuple_SET_ITEM Unexecuted instantiation: genericaliasobject.c:PyTuple_SET_ITEM Unexecuted instantiation: listobject.c:PyTuple_SET_ITEM longobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 714 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 714 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 714 | assert(0 <= index); | 36 | 714 | assert(index < Py_SIZE(tuple)); | 37 | 714 | tuple->ob_item[index] = value; | 38 | 714 | } |
dictobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 18.8k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 18.8k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 18.8k | assert(0 <= index); | 36 | 18.8k | assert(index < Py_SIZE(tuple)); | 37 | 18.8k | tuple->ob_item[index] = value; | 38 | 18.8k | } |
Unexecuted instantiation: moduleobject.c:PyTuple_SET_ITEM Unexecuted instantiation: object.c:PyTuple_SET_ITEM Unexecuted instantiation: obmalloc.c:PyTuple_SET_ITEM Unexecuted instantiation: picklebufobject.c:PyTuple_SET_ITEM Unexecuted instantiation: rangeobject.c:PyTuple_SET_ITEM Unexecuted instantiation: setobject.c:PyTuple_SET_ITEM Unexecuted instantiation: sliceobject.c:PyTuple_SET_ITEM structseq.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 2.31k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 2.31k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 2.31k | assert(0 <= index); | 36 | 2.31k | assert(index < Py_SIZE(tuple)); | 37 | 2.31k | tuple->ob_item[index] = value; | 38 | 2.31k | } |
Unexecuted instantiation: templateobject.c:PyTuple_SET_ITEM tupleobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 996 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 996 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 996 | assert(0 <= index); | 36 | 996 | assert(index < Py_SIZE(tuple)); | 37 | 996 | tuple->ob_item[index] = value; | 38 | 996 | } |
typeobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 24.7k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 24.7k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 24.7k | assert(0 <= index); | 36 | 24.7k | assert(index < Py_SIZE(tuple)); | 37 | 24.7k | tuple->ob_item[index] = value; | 38 | 24.7k | } |
Unexecuted instantiation: typevarobject.c:PyTuple_SET_ITEM Unexecuted instantiation: unicode_formatter.c:PyTuple_SET_ITEM Unexecuted instantiation: unicode_writer.c:PyTuple_SET_ITEM Unexecuted instantiation: unicodectype.c:PyTuple_SET_ITEM unicodeobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 12.7k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 12.7k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 12.7k | assert(0 <= index); | 36 | 12.7k | assert(index < Py_SIZE(tuple)); | 37 | 12.7k | tuple->ob_item[index] = value; | 38 | 12.7k | } |
Unexecuted instantiation: unionobject.c:PyTuple_SET_ITEM weakrefobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 5.17k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 5.17k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 5.17k | assert(0 <= index); | 36 | 5.17k | assert(index < Py_SIZE(tuple)); | 37 | 5.17k | tuple->ob_item[index] = value; | 38 | 5.17k | } |
Unexecuted instantiation: _warnings.c:PyTuple_SET_ITEM bltinmodule.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 47.2k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 47.2k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 47.2k | assert(0 <= index); | 36 | 47.2k | assert(index < Py_SIZE(tuple)); | 37 | 47.2k | tuple->ob_item[index] = value; | 38 | 47.2k | } |
Unexecuted instantiation: ceval.c:PyTuple_SET_ITEM codecs.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 30.9k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 30.9k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 30.9k | assert(0 <= index); | 36 | 30.9k | assert(index < Py_SIZE(tuple)); | 37 | 30.9k | tuple->ob_item[index] = value; | 38 | 30.9k | } |
codegen.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 10.8k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 10.8k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 10.8k | assert(0 <= index); | 36 | 10.8k | assert(index < Py_SIZE(tuple)); | 37 | 10.8k | tuple->ob_item[index] = value; | 38 | 10.8k | } |
Unexecuted instantiation: compile.c:PyTuple_SET_ITEM Unexecuted instantiation: context.c:PyTuple_SET_ITEM Unexecuted instantiation: errors.c:PyTuple_SET_ITEM flowgraph.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 98.6k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 98.6k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 98.6k | assert(0 <= index); | 36 | 98.6k | assert(index < Py_SIZE(tuple)); | 37 | 98.6k | tuple->ob_item[index] = value; | 38 | 98.6k | } |
Unexecuted instantiation: frame.c:PyTuple_SET_ITEM Unexecuted instantiation: future.c:PyTuple_SET_ITEM Unexecuted instantiation: gc.c:PyTuple_SET_ITEM Unexecuted instantiation: gc_gil.c:PyTuple_SET_ITEM Unexecuted instantiation: getargs.c:PyTuple_SET_ITEM Unexecuted instantiation: ceval_gil.c:PyTuple_SET_ITEM Unexecuted instantiation: hamt.c:PyTuple_SET_ITEM Unexecuted instantiation: hashtable.c:PyTuple_SET_ITEM Unexecuted instantiation: import.c:PyTuple_SET_ITEM Unexecuted instantiation: importdl.c:PyTuple_SET_ITEM initconfig.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 22 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 22 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 22 | assert(0 <= index); | 36 | 22 | assert(index < Py_SIZE(tuple)); | 37 | 22 | tuple->ob_item[index] = value; | 38 | 22 | } |
Unexecuted instantiation: instrumentation.c:PyTuple_SET_ITEM Unexecuted instantiation: instruction_sequence.c:PyTuple_SET_ITEM Unexecuted instantiation: intrinsics.c:PyTuple_SET_ITEM Unexecuted instantiation: legacy_tracing.c:PyTuple_SET_ITEM Unexecuted instantiation: lock.c:PyTuple_SET_ITEM marshal.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 339k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 339k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 339k | assert(0 <= index); | 36 | 339k | assert(index < Py_SIZE(tuple)); | 37 | 339k | tuple->ob_item[index] = value; | 38 | 339k | } |
modsupport.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 340k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 340k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 340k | assert(0 <= index); | 36 | 340k | assert(index < Py_SIZE(tuple)); | 37 | 340k | tuple->ob_item[index] = value; | 38 | 340k | } |
Unexecuted instantiation: mysnprintf.c:PyTuple_SET_ITEM Unexecuted instantiation: parking_lot.c:PyTuple_SET_ITEM Unexecuted instantiation: preconfig.c:PyTuple_SET_ITEM Unexecuted instantiation: pyarena.c:PyTuple_SET_ITEM Unexecuted instantiation: pyctype.c:PyTuple_SET_ITEM Unexecuted instantiation: pyhash.c:PyTuple_SET_ITEM Unexecuted instantiation: pylifecycle.c:PyTuple_SET_ITEM Unexecuted instantiation: pystate.c:PyTuple_SET_ITEM Unexecuted instantiation: pythonrun.c:PyTuple_SET_ITEM Unexecuted instantiation: pytime.c:PyTuple_SET_ITEM Unexecuted instantiation: qsbr.c:PyTuple_SET_ITEM Unexecuted instantiation: bootstrap_hash.c:PyTuple_SET_ITEM Unexecuted instantiation: specialize.c:PyTuple_SET_ITEM Unexecuted instantiation: symtable.c:PyTuple_SET_ITEM sysmodule.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 6.51k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 6.51k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 6.51k | assert(0 <= index); | 36 | 6.51k | assert(index < Py_SIZE(tuple)); | 37 | 6.51k | tuple->ob_item[index] = value; | 38 | 6.51k | } |
Unexecuted instantiation: thread.c:PyTuple_SET_ITEM Unexecuted instantiation: traceback.c:PyTuple_SET_ITEM Unexecuted instantiation: tracemalloc.c:PyTuple_SET_ITEM Unexecuted instantiation: getopt.c:PyTuple_SET_ITEM Unexecuted instantiation: pystrcmp.c:PyTuple_SET_ITEM Unexecuted instantiation: pystrtod.c:PyTuple_SET_ITEM Unexecuted instantiation: dtoa.c:PyTuple_SET_ITEM Unexecuted instantiation: fileutils.c:PyTuple_SET_ITEM Unexecuted instantiation: suggestions.c:PyTuple_SET_ITEM Unexecuted instantiation: perf_trampoline.c:PyTuple_SET_ITEM Unexecuted instantiation: perf_jit_trampoline.c:PyTuple_SET_ITEM Unexecuted instantiation: remote_debugging.c:PyTuple_SET_ITEM Unexecuted instantiation: dynload_shlib.c:PyTuple_SET_ITEM Unexecuted instantiation: config.c:PyTuple_SET_ITEM Unexecuted instantiation: gcmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _asynciomodule.c:PyTuple_SET_ITEM Unexecuted instantiation: atexitmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: faulthandler.c:PyTuple_SET_ITEM Unexecuted instantiation: posixmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: signalmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _tracemalloc.c:PyTuple_SET_ITEM Unexecuted instantiation: _suggestions.c:PyTuple_SET_ITEM Unexecuted instantiation: _datetimemodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _codecsmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _collectionsmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _iomodule.c:PyTuple_SET_ITEM Unexecuted instantiation: iobase.c:PyTuple_SET_ITEM Unexecuted instantiation: fileio.c:PyTuple_SET_ITEM Unexecuted instantiation: bytesio.c:PyTuple_SET_ITEM Unexecuted instantiation: bufferedio.c:PyTuple_SET_ITEM Unexecuted instantiation: textio.c:PyTuple_SET_ITEM Unexecuted instantiation: stringio.c:PyTuple_SET_ITEM itertoolsmodule.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 873 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 873 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 873 | assert(0 <= index); | 36 | 873 | assert(index < Py_SIZE(tuple)); | 37 | 873 | tuple->ob_item[index] = value; | 38 | 873 | } |
Unexecuted instantiation: sre.c:PyTuple_SET_ITEM Unexecuted instantiation: _sysconfig.c:PyTuple_SET_ITEM Unexecuted instantiation: _threadmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: timemodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _typesmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _typingmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _weakref.c:PyTuple_SET_ITEM Unexecuted instantiation: _abc.c:PyTuple_SET_ITEM _functoolsmodule.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 33 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 33 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 33 | assert(0 <= index); | 36 | 33 | assert(index < Py_SIZE(tuple)); | 37 | 33 | tuple->ob_item[index] = value; | 38 | 33 | } |
Unexecuted instantiation: _localemodule.c:PyTuple_SET_ITEM Unexecuted instantiation: _opcode.c:PyTuple_SET_ITEM Unexecuted instantiation: _operator.c:PyTuple_SET_ITEM Unexecuted instantiation: symtablemodule.c:PyTuple_SET_ITEM Unexecuted instantiation: pwdmodule.c:PyTuple_SET_ITEM Unexecuted instantiation: getpath.c:PyTuple_SET_ITEM Unexecuted instantiation: frozen.c:PyTuple_SET_ITEM Unexecuted instantiation: getbuildinfo.c:PyTuple_SET_ITEM Unexecuted instantiation: peg_api.c:PyTuple_SET_ITEM Unexecuted instantiation: file_tokenizer.c:PyTuple_SET_ITEM Unexecuted instantiation: helpers.c:PyTuple_SET_ITEM Unexecuted instantiation: myreadline.c:PyTuple_SET_ITEM Unexecuted instantiation: abstract.c:PyTuple_SET_ITEM Unexecuted instantiation: boolobject.c:PyTuple_SET_ITEM Unexecuted instantiation: bytes_methods.c:PyTuple_SET_ITEM Unexecuted instantiation: bytearrayobject.c:PyTuple_SET_ITEM Unexecuted instantiation: bytesobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 3.42k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 3.42k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 3.42k | assert(0 <= index); | 36 | 3.42k | assert(index < Py_SIZE(tuple)); | 37 | 3.42k | tuple->ob_item[index] = value; | 38 | 3.42k | } |
Unexecuted instantiation: capsule.c:PyTuple_SET_ITEM Unexecuted instantiation: cellobject.c:PyTuple_SET_ITEM Unexecuted instantiation: classobject.c:PyTuple_SET_ITEM codeobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 236M | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 236M | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 236M | assert(0 <= index); | 36 | 236M | assert(index < Py_SIZE(tuple)); | 37 | 236M | tuple->ob_item[index] = value; | 38 | 236M | } |
Unexecuted instantiation: complexobject.c:PyTuple_SET_ITEM Unexecuted instantiation: descrobject.c:PyTuple_SET_ITEM enumobject.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 730k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 730k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 730k | assert(0 <= index); | 36 | 730k | assert(index < Py_SIZE(tuple)); | 37 | 730k | tuple->ob_item[index] = value; | 38 | 730k | } |
Unexecuted instantiation: genobject.c:PyTuple_SET_ITEM Unexecuted instantiation: fileobject.c:PyTuple_SET_ITEM Unexecuted instantiation: floatobject.c:PyTuple_SET_ITEM Unexecuted instantiation: frameobject.c:PyTuple_SET_ITEM Unexecuted instantiation: funcobject.c:PyTuple_SET_ITEM Unexecuted instantiation: interpolationobject.c:PyTuple_SET_ITEM Unexecuted instantiation: iterobject.c:PyTuple_SET_ITEM Unexecuted instantiation: odictobject.c:PyTuple_SET_ITEM Unexecuted instantiation: memoryobject.c:PyTuple_SET_ITEM Unexecuted instantiation: methodobject.c:PyTuple_SET_ITEM Unexecuted instantiation: namespaceobject.c:PyTuple_SET_ITEM Unexecuted instantiation: unicode_format.c:PyTuple_SET_ITEM Unexecuted instantiation: _contextvars.c:PyTuple_SET_ITEM Python-ast.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 228 | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 228 | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 228 | assert(0 <= index); | 36 | 228 | assert(index < Py_SIZE(tuple)); | 37 | 228 | tuple->ob_item[index] = value; | 38 | 228 | } |
Unexecuted instantiation: Python-tokenize.c:PyTuple_SET_ITEM Unexecuted instantiation: asdl.c:PyTuple_SET_ITEM assemble.c:PyTuple_SET_ITEM Line | Count | Source | 33 | 129k | PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 34 | 129k | PyTupleObject *tuple = _PyTuple_CAST(op); | 35 | 129k | assert(0 <= index); | 36 | 129k | assert(index < Py_SIZE(tuple)); | 37 | 129k | tuple->ob_item[index] = value; | 38 | 129k | } |
Unexecuted instantiation: ast.c:PyTuple_SET_ITEM Unexecuted instantiation: ast_preprocess.c:PyTuple_SET_ITEM Unexecuted instantiation: ast_unparse.c:PyTuple_SET_ITEM Unexecuted instantiation: critical_section.c:PyTuple_SET_ITEM Unexecuted instantiation: crossinterp.c:PyTuple_SET_ITEM Unexecuted instantiation: getcopyright.c:PyTuple_SET_ITEM Unexecuted instantiation: getplatform.c:PyTuple_SET_ITEM Unexecuted instantiation: getversion.c:PyTuple_SET_ITEM Unexecuted instantiation: optimizer.c:PyTuple_SET_ITEM Unexecuted instantiation: pathconfig.c:PyTuple_SET_ITEM Unexecuted instantiation: pymath.c:PyTuple_SET_ITEM Unexecuted instantiation: structmember.c:PyTuple_SET_ITEM Unexecuted instantiation: pystrhex.c:PyTuple_SET_ITEM Unexecuted instantiation: pegen.c:PyTuple_SET_ITEM Unexecuted instantiation: pegen_errors.c:PyTuple_SET_ITEM Unexecuted instantiation: parser.c:PyTuple_SET_ITEM Unexecuted instantiation: buffer.c:PyTuple_SET_ITEM Unexecuted instantiation: lexer.c:PyTuple_SET_ITEM Unexecuted instantiation: state.c:PyTuple_SET_ITEM Unexecuted instantiation: readline_tokenizer.c:PyTuple_SET_ITEM Unexecuted instantiation: string_tokenizer.c:PyTuple_SET_ITEM Unexecuted instantiation: utf8_tokenizer.c:PyTuple_SET_ITEM Unexecuted instantiation: getcompiler.c:PyTuple_SET_ITEM Unexecuted instantiation: mystrtoul.c:PyTuple_SET_ITEM Unexecuted instantiation: token.c:PyTuple_SET_ITEM Unexecuted instantiation: action_helpers.c:PyTuple_SET_ITEM Unexecuted instantiation: string_parser.c:PyTuple_SET_ITEM |
39 | | #define PyTuple_SET_ITEM(op, index, value) \ |
40 | 238M | PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value)) |
41 | | |
42 | | PyAPI_FUNC(PyObject*) PyTuple_FromArray( |
43 | | PyObject *const *array, |
44 | | Py_ssize_t size); |