/src/cpython/Include/cpython/listobject.h
Line | Count | Source |
1 | | #ifndef Py_CPYTHON_LISTOBJECT_H |
2 | | # error "this header file must not be included directly" |
3 | | #endif |
4 | | |
5 | | typedef struct { |
6 | | PyObject_VAR_HEAD |
7 | | /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */ |
8 | | PyObject **ob_item; |
9 | | |
10 | | /* ob_item contains space for 'allocated' elements. The number |
11 | | * currently in use is ob_size. |
12 | | * Invariants: |
13 | | * 0 <= ob_size <= allocated |
14 | | * len(list) == ob_size |
15 | | * ob_item == NULL implies ob_size == allocated == 0 |
16 | | * list.sort() temporarily sets allocated to -1 to detect mutations. |
17 | | * |
18 | | * Items must normally not be NULL, except during construction when |
19 | | * the list is not yet visible outside the function that builds it. |
20 | | */ |
21 | | Py_ssize_t allocated; |
22 | | } PyListObject; |
23 | | |
24 | | /* Cast argument to PyListObject* type. */ |
25 | | #define _PyList_CAST(op) \ |
26 | 1.57G | (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op))) |
27 | | |
28 | | // Macros and static inline functions, trading safety for speed |
29 | | |
30 | 702M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { |
31 | 702M | PyListObject *list = _PyList_CAST(op); |
32 | | #ifdef Py_GIL_DISABLED |
33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); |
34 | | #else |
35 | 702M | return Py_SIZE(list); |
36 | 702M | #endif |
37 | 702M | } bytesobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 329k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 329k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 329k | return Py_SIZE(list); | 36 | 329k | #endif | 37 | 329k | } |
Unexecuted instantiation: call.c:PyList_GET_SIZE Unexecuted instantiation: exceptions.c:PyList_GET_SIZE Unexecuted instantiation: genericaliasobject.c:PyList_GET_SIZE Unexecuted instantiation: floatobject.c:PyList_GET_SIZE listobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 155M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 155M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 155M | return Py_SIZE(list); | 36 | 155M | #endif | 37 | 155M | } |
Unexecuted instantiation: longobject.c:PyList_GET_SIZE dictobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 90 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 90 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 90 | return Py_SIZE(list); | 36 | 90 | #endif | 37 | 90 | } |
Unexecuted instantiation: memoryobject.c:PyList_GET_SIZE Unexecuted instantiation: moduleobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 8.09M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 8.09M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 8.09M | return Py_SIZE(list); | 36 | 8.09M | #endif | 37 | 8.09M | } |
Unexecuted instantiation: obmalloc.c:PyList_GET_SIZE Unexecuted instantiation: picklebufobject.c:PyList_GET_SIZE Unexecuted instantiation: rangeobject.c:PyList_GET_SIZE Unexecuted instantiation: sentinelobject.c:PyList_GET_SIZE Unexecuted instantiation: setobject.c:PyList_GET_SIZE Unexecuted instantiation: sliceobject.c:PyList_GET_SIZE Unexecuted instantiation: structseq.c:PyList_GET_SIZE Unexecuted instantiation: templateobject.c:PyList_GET_SIZE Unexecuted instantiation: tupleobject.c:PyList_GET_SIZE typeobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 106k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 106k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 106k | return Py_SIZE(list); | 36 | 106k | #endif | 37 | 106k | } |
Unexecuted instantiation: typevarobject.c:PyList_GET_SIZE Unexecuted instantiation: unicode_format.c:PyList_GET_SIZE Unexecuted instantiation: unicode_formatter.c:PyList_GET_SIZE Unexecuted instantiation: unicode_writer.c:PyList_GET_SIZE Unexecuted instantiation: unicodectype.c:PyList_GET_SIZE unicodeobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 32.8M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 32.8M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 32.8M | return Py_SIZE(list); | 36 | 32.8M | #endif | 37 | 32.8M | } |
unionobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 1.47k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 1.47k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 1.47k | return Py_SIZE(list); | 36 | 1.47k | #endif | 37 | 1.47k | } |
Unexecuted instantiation: weakrefobject.c:PyList_GET_SIZE _warnings.c:PyList_GET_SIZE Line | Count | Source | 30 | 899k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 899k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 899k | return Py_SIZE(list); | 36 | 899k | #endif | 37 | 899k | } |
bltinmodule.c:PyList_GET_SIZE Line | Count | Source | 30 | 197 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 197 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 197 | return Py_SIZE(list); | 36 | 197 | #endif | 37 | 197 | } |
Line | Count | Source | 30 | 494M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 494M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 494M | return Py_SIZE(list); | 36 | 494M | #endif | 37 | 494M | } |
Unexecuted instantiation: codecs.c:PyList_GET_SIZE codegen.c:PyList_GET_SIZE Line | Count | Source | 30 | 126 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 126 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 126 | return Py_SIZE(list); | 36 | 126 | #endif | 37 | 126 | } |
compile.c:PyList_GET_SIZE Line | Count | Source | 30 | 31.6k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 31.6k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 31.6k | return Py_SIZE(list); | 36 | 31.6k | #endif | 37 | 31.6k | } |
Unexecuted instantiation: context.c:PyList_GET_SIZE Unexecuted instantiation: errors.c:PyList_GET_SIZE flowgraph.c:PyList_GET_SIZE Line | Count | Source | 30 | 91.6k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 91.6k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 91.6k | return Py_SIZE(list); | 36 | 91.6k | #endif | 37 | 91.6k | } |
Unexecuted instantiation: frame.c:PyList_GET_SIZE Unexecuted instantiation: future.c:PyList_GET_SIZE Line | Count | Source | 30 | 447k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 447k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 447k | return Py_SIZE(list); | 36 | 447k | #endif | 37 | 447k | } |
Unexecuted instantiation: gc_gil.c:PyList_GET_SIZE Unexecuted instantiation: getargs.c:PyList_GET_SIZE Unexecuted instantiation: ceval_gil.c:PyList_GET_SIZE Unexecuted instantiation: hamt.c:PyList_GET_SIZE Unexecuted instantiation: hashtable.c:PyList_GET_SIZE Line | Count | Source | 30 | 259 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 259 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 259 | return Py_SIZE(list); | 36 | 259 | #endif | 37 | 259 | } |
Unexecuted instantiation: importdl.c:PyList_GET_SIZE initconfig.c:PyList_GET_SIZE Line | Count | Source | 30 | 37 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 37 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 37 | return Py_SIZE(list); | 36 | 37 | #endif | 37 | 37 | } |
Unexecuted instantiation: instrumentation.c:PyList_GET_SIZE Unexecuted instantiation: instruction_sequence.c:PyList_GET_SIZE Unexecuted instantiation: intrinsics.c:PyList_GET_SIZE Unexecuted instantiation: legacy_tracing.c:PyList_GET_SIZE Unexecuted instantiation: lock.c:PyList_GET_SIZE marshal.c:PyList_GET_SIZE Line | Count | Source | 30 | 1.74M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 1.74M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 1.74M | return Py_SIZE(list); | 36 | 1.74M | #endif | 37 | 1.74M | } |
Unexecuted instantiation: modsupport.c:PyList_GET_SIZE Unexecuted instantiation: mysnprintf.c:PyList_GET_SIZE Unexecuted instantiation: parking_lot.c:PyList_GET_SIZE Unexecuted instantiation: preconfig.c:PyList_GET_SIZE Unexecuted instantiation: pyarena.c:PyList_GET_SIZE Unexecuted instantiation: pyctype.c:PyList_GET_SIZE Unexecuted instantiation: pyhash.c:PyList_GET_SIZE Unexecuted instantiation: pylifecycle.c:PyList_GET_SIZE Unexecuted instantiation: pymath.c:PyList_GET_SIZE Unexecuted instantiation: pystate.c:PyList_GET_SIZE Unexecuted instantiation: pythonrun.c:PyList_GET_SIZE Unexecuted instantiation: pytime.c:PyList_GET_SIZE Unexecuted instantiation: qsbr.c:PyList_GET_SIZE Unexecuted instantiation: bootstrap_hash.c:PyList_GET_SIZE specialize.c:PyList_GET_SIZE Line | Count | Source | 30 | 4.85k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 4.85k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 4.85k | return Py_SIZE(list); | 36 | 4.85k | #endif | 37 | 4.85k | } |
Unexecuted instantiation: slots.c:PyList_GET_SIZE Unexecuted instantiation: slots_generated.c:PyList_GET_SIZE Unexecuted instantiation: structmember.c:PyList_GET_SIZE symtable.c:PyList_GET_SIZE Line | Count | Source | 30 | 18.5k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 18.5k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 18.5k | return Py_SIZE(list); | 36 | 18.5k | #endif | 37 | 18.5k | } |
Unexecuted instantiation: sysmodule.c:PyList_GET_SIZE Unexecuted instantiation: thread.c:PyList_GET_SIZE Unexecuted instantiation: traceback.c:PyList_GET_SIZE Unexecuted instantiation: tracemalloc.c:PyList_GET_SIZE Unexecuted instantiation: typecache.c:PyList_GET_SIZE Unexecuted instantiation: getopt.c:PyList_GET_SIZE Unexecuted instantiation: pystrcmp.c:PyList_GET_SIZE Unexecuted instantiation: pystrtod.c:PyList_GET_SIZE Unexecuted instantiation: pystrhex.c:PyList_GET_SIZE Unexecuted instantiation: dtoa.c:PyList_GET_SIZE Unexecuted instantiation: fileutils.c:PyList_GET_SIZE suggestions.c:PyList_GET_SIZE Line | Count | Source | 30 | 111 | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 111 | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 111 | return Py_SIZE(list); | 36 | 111 | #endif | 37 | 111 | } |
Unexecuted instantiation: perf_trampoline.c:PyList_GET_SIZE Unexecuted instantiation: perf_jit_trampoline.c:PyList_GET_SIZE Unexecuted instantiation: jit_unwind.c:PyList_GET_SIZE Unexecuted instantiation: remote_debugging.c:PyList_GET_SIZE Unexecuted instantiation: dynload_shlib.c:PyList_GET_SIZE Unexecuted instantiation: config.c:PyList_GET_SIZE Unexecuted instantiation: gcmodule.c:PyList_GET_SIZE Unexecuted instantiation: _asynciomodule.c:PyList_GET_SIZE Unexecuted instantiation: atexitmodule.c:PyList_GET_SIZE Unexecuted instantiation: faulthandler.c:PyList_GET_SIZE Unexecuted instantiation: posixmodule.c:PyList_GET_SIZE Unexecuted instantiation: signalmodule.c:PyList_GET_SIZE Unexecuted instantiation: _tracemalloc.c:PyList_GET_SIZE Unexecuted instantiation: _suggestions.c:PyList_GET_SIZE Unexecuted instantiation: _datetimemodule.c:PyList_GET_SIZE Unexecuted instantiation: _codecsmodule.c:PyList_GET_SIZE Unexecuted instantiation: _collectionsmodule.c:PyList_GET_SIZE Unexecuted instantiation: _iomodule.c:PyList_GET_SIZE Unexecuted instantiation: iobase.c:PyList_GET_SIZE Unexecuted instantiation: fileio.c:PyList_GET_SIZE Unexecuted instantiation: bytesio.c:PyList_GET_SIZE Unexecuted instantiation: bufferedio.c:PyList_GET_SIZE Unexecuted instantiation: textio.c:PyList_GET_SIZE Unexecuted instantiation: stringio.c:PyList_GET_SIZE Unexecuted instantiation: itertoolsmodule.c:PyList_GET_SIZE Line | Count | Source | 30 | 7.57M | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 7.57M | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 7.57M | return Py_SIZE(list); | 36 | 7.57M | #endif | 37 | 7.57M | } |
Unexecuted instantiation: _sysconfig.c:PyList_GET_SIZE Unexecuted instantiation: _threadmodule.c:PyList_GET_SIZE Unexecuted instantiation: timemodule.c:PyList_GET_SIZE Unexecuted instantiation: _typesmodule.c:PyList_GET_SIZE Unexecuted instantiation: _typingmodule.c:PyList_GET_SIZE Unexecuted instantiation: _weakref.c:PyList_GET_SIZE Line | Count | Source | 30 | 28.4k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 28.4k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 28.4k | return Py_SIZE(list); | 36 | 28.4k | #endif | 37 | 28.4k | } |
Unexecuted instantiation: _functoolsmodule.c:PyList_GET_SIZE Unexecuted instantiation: _localemodule.c:PyList_GET_SIZE Unexecuted instantiation: _opcode.c:PyList_GET_SIZE Unexecuted instantiation: _operator.c:PyList_GET_SIZE Unexecuted instantiation: symtablemodule.c:PyList_GET_SIZE Unexecuted instantiation: pwdmodule.c:PyList_GET_SIZE Unexecuted instantiation: getpath.c:PyList_GET_SIZE Unexecuted instantiation: frozen.c:PyList_GET_SIZE Unexecuted instantiation: getbuildinfo.c:PyList_GET_SIZE Unexecuted instantiation: peg_api.c:PyList_GET_SIZE Unexecuted instantiation: reader.c:PyList_GET_SIZE Unexecuted instantiation: source.c:PyList_GET_SIZE Unexecuted instantiation: helpers.c:PyList_GET_SIZE Unexecuted instantiation: myreadline.c:PyList_GET_SIZE Unexecuted instantiation: abstract.c:PyList_GET_SIZE Unexecuted instantiation: boolobject.c:PyList_GET_SIZE Unexecuted instantiation: bytes_methods.c:PyList_GET_SIZE bytearrayobject.c:PyList_GET_SIZE Line | Count | Source | 30 | 2.07k | static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) { | 31 | 2.07k | PyListObject *list = _PyList_CAST(op); | 32 | | #ifdef Py_GIL_DISABLED | 33 | | return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size)); | 34 | | #else | 35 | 2.07k | return Py_SIZE(list); | 36 | 2.07k | #endif | 37 | 2.07k | } |
Unexecuted instantiation: capsule.c:PyList_GET_SIZE Unexecuted instantiation: cellobject.c:PyList_GET_SIZE Unexecuted instantiation: classobject.c:PyList_GET_SIZE Unexecuted instantiation: codeobject.c:PyList_GET_SIZE Unexecuted instantiation: complexobject.c:PyList_GET_SIZE Unexecuted instantiation: descrobject.c:PyList_GET_SIZE Unexecuted instantiation: enumobject.c:PyList_GET_SIZE Unexecuted instantiation: genobject.c:PyList_GET_SIZE Unexecuted instantiation: fileobject.c:PyList_GET_SIZE Unexecuted instantiation: frameobject.c:PyList_GET_SIZE Unexecuted instantiation: funcobject.c:PyList_GET_SIZE Unexecuted instantiation: interpolationobject.c:PyList_GET_SIZE Unexecuted instantiation: iterobject.c:PyList_GET_SIZE Unexecuted instantiation: lazyimportobject.c:PyList_GET_SIZE Unexecuted instantiation: odictobject.c:PyList_GET_SIZE Unexecuted instantiation: methodobject.c:PyList_GET_SIZE Unexecuted instantiation: namespaceobject.c:PyList_GET_SIZE Unexecuted instantiation: _contextvars.c:PyList_GET_SIZE Unexecuted instantiation: _strptime.c:PyList_GET_SIZE Unexecuted instantiation: Python-ast.c:PyList_GET_SIZE Unexecuted instantiation: Python-tokenize.c:PyList_GET_SIZE Unexecuted instantiation: asdl.c:PyList_GET_SIZE Unexecuted instantiation: assemble.c:PyList_GET_SIZE Unexecuted instantiation: ast.c:PyList_GET_SIZE Unexecuted instantiation: ast_preprocess.c:PyList_GET_SIZE Unexecuted instantiation: ast_unparse.c:PyList_GET_SIZE Unexecuted instantiation: critical_section.c:PyList_GET_SIZE Unexecuted instantiation: crossinterp.c:PyList_GET_SIZE Unexecuted instantiation: getcopyright.c:PyList_GET_SIZE Unexecuted instantiation: getplatform.c:PyList_GET_SIZE Unexecuted instantiation: getversion.c:PyList_GET_SIZE Unexecuted instantiation: optimizer.c:PyList_GET_SIZE Unexecuted instantiation: pathconfig.c:PyList_GET_SIZE Unexecuted instantiation: pegen.c:PyList_GET_SIZE Unexecuted instantiation: pegen_errors.c:PyList_GET_SIZE Unexecuted instantiation: parser.c:PyList_GET_SIZE Unexecuted instantiation: parser_invalid.c:PyList_GET_SIZE Unexecuted instantiation: lexer.c:PyList_GET_SIZE Unexecuted instantiation: layout.c:PyList_GET_SIZE Unexecuted instantiation: number.c:PyList_GET_SIZE Unexecuted instantiation: state.c:PyList_GET_SIZE Unexecuted instantiation: string.c:PyList_GET_SIZE Unexecuted instantiation: decoder.c:PyList_GET_SIZE Unexecuted instantiation: api.c:PyList_GET_SIZE Unexecuted instantiation: getcompiler.c:PyList_GET_SIZE Unexecuted instantiation: mystrtoul.c:PyList_GET_SIZE Unexecuted instantiation: token.c:PyList_GET_SIZE Unexecuted instantiation: action_helpers.c:PyList_GET_SIZE Unexecuted instantiation: string_parser.c:PyList_GET_SIZE |
38 | 702M | #define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op)) |
39 | | |
40 | 257M | #define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)]) |
41 | | |
42 | | static inline void |
43 | 614M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { |
44 | 614M | PyListObject *list = _PyList_CAST(op); |
45 | 614M | assert(0 <= index); |
46 | 614M | assert(index < list->allocated); |
47 | 614M | list->ob_item[index] = value; |
48 | 614M | } bytesobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 21.4M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 21.4M | PyListObject *list = _PyList_CAST(op); | 45 | 21.4M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 21.4M | list->ob_item[index] = value; | 48 | 21.4M | } |
Unexecuted instantiation: call.c:PyList_SET_ITEM Unexecuted instantiation: exceptions.c:PyList_SET_ITEM Unexecuted instantiation: genericaliasobject.c:PyList_SET_ITEM Unexecuted instantiation: floatobject.c:PyList_SET_ITEM listobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 128M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 128M | PyListObject *list = _PyList_CAST(op); | 45 | 128M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 128M | list->ob_item[index] = value; | 48 | 128M | } |
Unexecuted instantiation: longobject.c:PyList_SET_ITEM dictobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 639k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 639k | PyListObject *list = _PyList_CAST(op); | 45 | 639k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 639k | list->ob_item[index] = value; | 48 | 639k | } |
memoryobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 4.01M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 4.01M | PyListObject *list = _PyList_CAST(op); | 45 | 4.01M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 4.01M | list->ob_item[index] = value; | 48 | 4.01M | } |
Unexecuted instantiation: moduleobject.c:PyList_SET_ITEM Unexecuted instantiation: object.c:PyList_SET_ITEM Unexecuted instantiation: obmalloc.c:PyList_SET_ITEM Unexecuted instantiation: picklebufobject.c:PyList_SET_ITEM Unexecuted instantiation: rangeobject.c:PyList_SET_ITEM Unexecuted instantiation: sentinelobject.c:PyList_SET_ITEM Unexecuted instantiation: setobject.c:PyList_SET_ITEM Unexecuted instantiation: sliceobject.c:PyList_SET_ITEM Unexecuted instantiation: structseq.c:PyList_SET_ITEM Unexecuted instantiation: templateobject.c:PyList_SET_ITEM Unexecuted instantiation: tupleobject.c:PyList_SET_ITEM typeobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 255k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 255k | PyListObject *list = _PyList_CAST(op); | 45 | 255k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 255k | list->ob_item[index] = value; | 48 | 255k | } |
Unexecuted instantiation: typevarobject.c:PyList_SET_ITEM Unexecuted instantiation: unicode_format.c:PyList_SET_ITEM Unexecuted instantiation: unicode_formatter.c:PyList_SET_ITEM Unexecuted instantiation: unicode_writer.c:PyList_SET_ITEM Unexecuted instantiation: unicodectype.c:PyList_SET_ITEM unicodeobject.c:PyList_SET_ITEM Line | Count | Source | 43 | 104M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 104M | PyListObject *list = _PyList_CAST(op); | 45 | 104M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 104M | list->ob_item[index] = value; | 48 | 104M | } |
Unexecuted instantiation: unionobject.c:PyList_SET_ITEM Unexecuted instantiation: weakrefobject.c:PyList_SET_ITEM _warnings.c:PyList_SET_ITEM Line | Count | Source | 43 | 185 | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 185 | PyListObject *list = _PyList_CAST(op); | 45 | 185 | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 185 | list->ob_item[index] = value; | 48 | 185 | } |
bltinmodule.c:PyList_SET_ITEM Line | Count | Source | 43 | 16 | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 16 | PyListObject *list = _PyList_CAST(op); | 45 | 16 | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 16 | list->ob_item[index] = value; | 48 | 16 | } |
Line | Count | Source | 43 | 253M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 253M | PyListObject *list = _PyList_CAST(op); | 45 | 253M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 253M | list->ob_item[index] = value; | 48 | 253M | } |
Unexecuted instantiation: codecs.c:PyList_SET_ITEM Unexecuted instantiation: codegen.c:PyList_SET_ITEM compile.c:PyList_SET_ITEM Line | Count | Source | 43 | 39.3k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 39.3k | PyListObject *list = _PyList_CAST(op); | 45 | 39.3k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 39.3k | list->ob_item[index] = value; | 48 | 39.3k | } |
Unexecuted instantiation: context.c:PyList_SET_ITEM Unexecuted instantiation: errors.c:PyList_SET_ITEM Unexecuted instantiation: flowgraph.c:PyList_SET_ITEM Unexecuted instantiation: frame.c:PyList_SET_ITEM Unexecuted instantiation: future.c:PyList_SET_ITEM Unexecuted instantiation: gc.c:PyList_SET_ITEM Unexecuted instantiation: gc_gil.c:PyList_SET_ITEM Unexecuted instantiation: getargs.c:PyList_SET_ITEM Unexecuted instantiation: ceval_gil.c:PyList_SET_ITEM Unexecuted instantiation: hamt.c:PyList_SET_ITEM Unexecuted instantiation: hashtable.c:PyList_SET_ITEM Unexecuted instantiation: import.c:PyList_SET_ITEM Unexecuted instantiation: importdl.c:PyList_SET_ITEM initconfig.c:PyList_SET_ITEM Line | Count | Source | 43 | 148 | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 148 | PyListObject *list = _PyList_CAST(op); | 45 | 148 | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 148 | list->ob_item[index] = value; | 48 | 148 | } |
Unexecuted instantiation: instrumentation.c:PyList_SET_ITEM Unexecuted instantiation: instruction_sequence.c:PyList_SET_ITEM Unexecuted instantiation: intrinsics.c:PyList_SET_ITEM Unexecuted instantiation: legacy_tracing.c:PyList_SET_ITEM Unexecuted instantiation: lock.c:PyList_SET_ITEM marshal.c:PyList_SET_ITEM Line | Count | Source | 43 | 56.7k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 56.7k | PyListObject *list = _PyList_CAST(op); | 45 | 56.7k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 56.7k | list->ob_item[index] = value; | 48 | 56.7k | } |
modsupport.c:PyList_SET_ITEM Line | Count | Source | 43 | 1.11k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 1.11k | PyListObject *list = _PyList_CAST(op); | 45 | 1.11k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 1.11k | list->ob_item[index] = value; | 48 | 1.11k | } |
Unexecuted instantiation: mysnprintf.c:PyList_SET_ITEM Unexecuted instantiation: parking_lot.c:PyList_SET_ITEM Unexecuted instantiation: preconfig.c:PyList_SET_ITEM Unexecuted instantiation: pyarena.c:PyList_SET_ITEM Unexecuted instantiation: pyctype.c:PyList_SET_ITEM Unexecuted instantiation: pyhash.c:PyList_SET_ITEM Unexecuted instantiation: pylifecycle.c:PyList_SET_ITEM Unexecuted instantiation: pymath.c:PyList_SET_ITEM Unexecuted instantiation: pystate.c:PyList_SET_ITEM Unexecuted instantiation: pythonrun.c:PyList_SET_ITEM Unexecuted instantiation: pytime.c:PyList_SET_ITEM Unexecuted instantiation: qsbr.c:PyList_SET_ITEM Unexecuted instantiation: bootstrap_hash.c:PyList_SET_ITEM Unexecuted instantiation: specialize.c:PyList_SET_ITEM Unexecuted instantiation: slots.c:PyList_SET_ITEM Unexecuted instantiation: slots_generated.c:PyList_SET_ITEM Unexecuted instantiation: structmember.c:PyList_SET_ITEM Unexecuted instantiation: symtable.c:PyList_SET_ITEM Unexecuted instantiation: sysmodule.c:PyList_SET_ITEM Unexecuted instantiation: thread.c:PyList_SET_ITEM Unexecuted instantiation: traceback.c:PyList_SET_ITEM Unexecuted instantiation: tracemalloc.c:PyList_SET_ITEM Unexecuted instantiation: typecache.c:PyList_SET_ITEM Unexecuted instantiation: getopt.c:PyList_SET_ITEM Unexecuted instantiation: pystrcmp.c:PyList_SET_ITEM Unexecuted instantiation: pystrtod.c:PyList_SET_ITEM Unexecuted instantiation: pystrhex.c:PyList_SET_ITEM Unexecuted instantiation: dtoa.c:PyList_SET_ITEM Unexecuted instantiation: fileutils.c:PyList_SET_ITEM Unexecuted instantiation: suggestions.c:PyList_SET_ITEM Unexecuted instantiation: perf_trampoline.c:PyList_SET_ITEM Unexecuted instantiation: perf_jit_trampoline.c:PyList_SET_ITEM Unexecuted instantiation: jit_unwind.c:PyList_SET_ITEM Unexecuted instantiation: remote_debugging.c:PyList_SET_ITEM Unexecuted instantiation: dynload_shlib.c:PyList_SET_ITEM Unexecuted instantiation: config.c:PyList_SET_ITEM Unexecuted instantiation: gcmodule.c:PyList_SET_ITEM Unexecuted instantiation: _asynciomodule.c:PyList_SET_ITEM Unexecuted instantiation: atexitmodule.c:PyList_SET_ITEM Unexecuted instantiation: faulthandler.c:PyList_SET_ITEM Unexecuted instantiation: posixmodule.c:PyList_SET_ITEM Unexecuted instantiation: signalmodule.c:PyList_SET_ITEM Unexecuted instantiation: _tracemalloc.c:PyList_SET_ITEM Unexecuted instantiation: _suggestions.c:PyList_SET_ITEM Unexecuted instantiation: _datetimemodule.c:PyList_SET_ITEM Unexecuted instantiation: _codecsmodule.c:PyList_SET_ITEM Unexecuted instantiation: _collectionsmodule.c:PyList_SET_ITEM Unexecuted instantiation: _iomodule.c:PyList_SET_ITEM Unexecuted instantiation: iobase.c:PyList_SET_ITEM Unexecuted instantiation: fileio.c:PyList_SET_ITEM Unexecuted instantiation: bytesio.c:PyList_SET_ITEM Unexecuted instantiation: bufferedio.c:PyList_SET_ITEM Unexecuted instantiation: textio.c:PyList_SET_ITEM Unexecuted instantiation: stringio.c:PyList_SET_ITEM Unexecuted instantiation: itertoolsmodule.c:PyList_SET_ITEM Line | Count | Source | 43 | 88.8M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 88.8M | PyListObject *list = _PyList_CAST(op); | 45 | 88.8M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 88.8M | list->ob_item[index] = value; | 48 | 88.8M | } |
Unexecuted instantiation: _sysconfig.c:PyList_SET_ITEM Unexecuted instantiation: _threadmodule.c:PyList_SET_ITEM Unexecuted instantiation: timemodule.c:PyList_SET_ITEM Unexecuted instantiation: _typesmodule.c:PyList_SET_ITEM Unexecuted instantiation: _typingmodule.c:PyList_SET_ITEM Unexecuted instantiation: _weakref.c:PyList_SET_ITEM Unexecuted instantiation: _abc.c:PyList_SET_ITEM Unexecuted instantiation: _functoolsmodule.c:PyList_SET_ITEM Unexecuted instantiation: _localemodule.c:PyList_SET_ITEM _opcode.c:PyList_SET_ITEM Line | Count | Source | 43 | 312 | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 312 | PyListObject *list = _PyList_CAST(op); | 45 | 312 | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 312 | list->ob_item[index] = value; | 48 | 312 | } |
Unexecuted instantiation: _operator.c:PyList_SET_ITEM Unexecuted instantiation: symtablemodule.c:PyList_SET_ITEM Unexecuted instantiation: pwdmodule.c:PyList_SET_ITEM Unexecuted instantiation: getpath.c:PyList_SET_ITEM Unexecuted instantiation: frozen.c:PyList_SET_ITEM Unexecuted instantiation: getbuildinfo.c:PyList_SET_ITEM Unexecuted instantiation: peg_api.c:PyList_SET_ITEM Unexecuted instantiation: reader.c:PyList_SET_ITEM Unexecuted instantiation: source.c:PyList_SET_ITEM Unexecuted instantiation: helpers.c:PyList_SET_ITEM Unexecuted instantiation: myreadline.c:PyList_SET_ITEM abstract.c:PyList_SET_ITEM Line | Count | Source | 43 | 12.5M | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 12.5M | PyListObject *list = _PyList_CAST(op); | 45 | 12.5M | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 12.5M | list->ob_item[index] = value; | 48 | 12.5M | } |
Unexecuted instantiation: boolobject.c:PyList_SET_ITEM Unexecuted instantiation: bytes_methods.c:PyList_SET_ITEM Unexecuted instantiation: bytearrayobject.c:PyList_SET_ITEM Unexecuted instantiation: capsule.c:PyList_SET_ITEM Unexecuted instantiation: cellobject.c:PyList_SET_ITEM Unexecuted instantiation: classobject.c:PyList_SET_ITEM Unexecuted instantiation: codeobject.c:PyList_SET_ITEM Unexecuted instantiation: complexobject.c:PyList_SET_ITEM Unexecuted instantiation: descrobject.c:PyList_SET_ITEM Unexecuted instantiation: enumobject.c:PyList_SET_ITEM Unexecuted instantiation: genobject.c:PyList_SET_ITEM Unexecuted instantiation: fileobject.c:PyList_SET_ITEM Unexecuted instantiation: frameobject.c:PyList_SET_ITEM Unexecuted instantiation: funcobject.c:PyList_SET_ITEM Unexecuted instantiation: interpolationobject.c:PyList_SET_ITEM Unexecuted instantiation: iterobject.c:PyList_SET_ITEM Unexecuted instantiation: lazyimportobject.c:PyList_SET_ITEM Unexecuted instantiation: odictobject.c:PyList_SET_ITEM Unexecuted instantiation: methodobject.c:PyList_SET_ITEM Unexecuted instantiation: namespaceobject.c:PyList_SET_ITEM Unexecuted instantiation: _contextvars.c:PyList_SET_ITEM Unexecuted instantiation: _strptime.c:PyList_SET_ITEM Python-ast.c:PyList_SET_ITEM Line | Count | Source | 43 | 180k | PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { | 44 | 180k | PyListObject *list = _PyList_CAST(op); | 45 | 180k | assert(0 <= index); | 46 | | assert(index < list->allocated); | 47 | 180k | list->ob_item[index] = value; | 48 | 180k | } |
Unexecuted instantiation: Python-tokenize.c:PyList_SET_ITEM Unexecuted instantiation: asdl.c:PyList_SET_ITEM Unexecuted instantiation: assemble.c:PyList_SET_ITEM Unexecuted instantiation: ast.c:PyList_SET_ITEM Unexecuted instantiation: ast_preprocess.c:PyList_SET_ITEM Unexecuted instantiation: ast_unparse.c:PyList_SET_ITEM Unexecuted instantiation: critical_section.c:PyList_SET_ITEM Unexecuted instantiation: crossinterp.c:PyList_SET_ITEM Unexecuted instantiation: getcopyright.c:PyList_SET_ITEM Unexecuted instantiation: getplatform.c:PyList_SET_ITEM Unexecuted instantiation: getversion.c:PyList_SET_ITEM Unexecuted instantiation: optimizer.c:PyList_SET_ITEM Unexecuted instantiation: pathconfig.c:PyList_SET_ITEM Unexecuted instantiation: pegen.c:PyList_SET_ITEM Unexecuted instantiation: pegen_errors.c:PyList_SET_ITEM Unexecuted instantiation: parser.c:PyList_SET_ITEM Unexecuted instantiation: parser_invalid.c:PyList_SET_ITEM Unexecuted instantiation: lexer.c:PyList_SET_ITEM Unexecuted instantiation: layout.c:PyList_SET_ITEM Unexecuted instantiation: number.c:PyList_SET_ITEM Unexecuted instantiation: state.c:PyList_SET_ITEM Unexecuted instantiation: string.c:PyList_SET_ITEM Unexecuted instantiation: decoder.c:PyList_SET_ITEM Unexecuted instantiation: api.c:PyList_SET_ITEM Unexecuted instantiation: getcompiler.c:PyList_SET_ITEM Unexecuted instantiation: mystrtoul.c:PyList_SET_ITEM Unexecuted instantiation: token.c:PyList_SET_ITEM Unexecuted instantiation: action_helpers.c:PyList_SET_ITEM Unexecuted instantiation: string_parser.c:PyList_SET_ITEM |
49 | | #define PyList_SET_ITEM(op, index, value) \ |
50 | 614M | PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value)) |
51 | | |
52 | | PyAPI_FUNC(int) PyList_Extend(PyObject *self, PyObject *iterable); |
53 | | PyAPI_FUNC(int) PyList_Clear(PyObject *self); |