/src/cpython/Include/object.h
Line | Count | Source |
1 | | #ifndef Py_OBJECT_H |
2 | | #define Py_OBJECT_H |
3 | | #ifdef __cplusplus |
4 | | extern "C" { |
5 | | #endif |
6 | | |
7 | | |
8 | | /* Object and type object interface */ |
9 | | |
10 | | /* |
11 | | Objects are structures allocated on the heap. Special rules apply to |
12 | | the use of objects to ensure they are properly garbage-collected. |
13 | | Objects are never allocated statically or on the stack; they must be |
14 | | accessed through special macros and functions only. (Type objects are |
15 | | exceptions to the first rule; the standard types are represented by |
16 | | statically initialized type objects, although work on type/class unification |
17 | | for Python 2.2 made it possible to have heap-allocated type objects too). |
18 | | |
19 | | An object has a 'reference count' that is increased or decreased when a |
20 | | pointer to the object is copied or deleted; when the reference count |
21 | | reaches zero there are no references to the object left and it can be |
22 | | removed from the heap. |
23 | | |
24 | | An object has a 'type' that determines what it represents and what kind |
25 | | of data it contains. An object's type is fixed when it is created. |
26 | | Types themselves are represented as objects; an object contains a |
27 | | pointer to the corresponding type object. The type itself has a type |
28 | | pointer pointing to the object representing the type 'type', which |
29 | | contains a pointer to itself!. |
30 | | |
31 | | Objects do not float around in memory; once allocated an object keeps |
32 | | the same size and address. Objects that must hold variable-size data |
33 | | can contain pointers to variable-size parts of the object. Not all |
34 | | objects of the same type have the same size; but the size cannot change |
35 | | after allocation. (These restrictions are made so a reference to an |
36 | | object can be simply a pointer -- moving an object would require |
37 | | updating all the pointers, and changing an object's size would require |
38 | | moving it if there was another object right next to it.) |
39 | | |
40 | | Objects are always accessed through pointers of the type 'PyObject *'. |
41 | | The type 'PyObject' is a structure that only contains the reference count |
42 | | and the type pointer. The actual memory allocated for an object |
43 | | contains other data that can only be accessed after casting the pointer |
44 | | to a pointer to a longer structure type. This longer type must start |
45 | | with the reference count and type fields; the macro PyObject_HEAD should be |
46 | | used for this (to accommodate for future changes). The implementation |
47 | | of a particular object type can cast the object pointer to the proper |
48 | | type and back. |
49 | | |
50 | | A standard interface exists for objects that contain an array of items |
51 | | whose size is determined when the object is allocated. |
52 | | */ |
53 | | |
54 | | /* Py_DEBUG implies Py_REF_DEBUG. */ |
55 | | #if defined(Py_DEBUG) && !defined(Py_REF_DEBUG) |
56 | | # define Py_REF_DEBUG |
57 | | #endif |
58 | | |
59 | | #if defined(_Py_OPAQUE_PYOBJECT) && !defined(Py_LIMITED_API) |
60 | | # error "_Py_OPAQUE_PYOBJECT only makes sense with Py_LIMITED_API" |
61 | | #endif |
62 | | |
63 | | #ifndef _Py_OPAQUE_PYOBJECT |
64 | | /* PyObject_HEAD defines the initial segment of every PyObject. */ |
65 | | #define PyObject_HEAD PyObject ob_base; |
66 | | |
67 | | // Kept for backward compatibility. It was needed by Py_TRACE_REFS build. |
68 | | #define _PyObject_EXTRA_INIT |
69 | | |
70 | | /* Make all uses of PyObject_HEAD_INIT immortal. |
71 | | * |
72 | | * Statically allocated objects might be shared between |
73 | | * interpreters, so must be marked as immortal. |
74 | | * |
75 | | * Before changing this, see the check in PyModuleDef_Init(). |
76 | | */ |
77 | | #if defined(Py_GIL_DISABLED) |
78 | | #define PyObject_HEAD_INIT(type) \ |
79 | | { \ |
80 | | 0, \ |
81 | | _Py_STATICALLY_ALLOCATED_FLAG, \ |
82 | | { 0 }, \ |
83 | | 0, \ |
84 | | _Py_IMMORTAL_REFCNT_LOCAL, \ |
85 | | 0, \ |
86 | | (type), \ |
87 | | }, |
88 | | #else |
89 | | #define PyObject_HEAD_INIT(type) \ |
90 | 250M | { \ |
91 | 250M | { _Py_STATIC_IMMORTAL_INITIAL_REFCNT }, \ |
92 | 250M | (type) \ |
93 | 250M | }, |
94 | | #endif |
95 | | |
96 | | #define PyVarObject_HEAD_INIT(type, size) \ |
97 | 250M | { \ |
98 | 250M | PyObject_HEAD_INIT(type) \ |
99 | 250M | (size) \ |
100 | 250M | }, |
101 | | |
102 | | /* PyObject_VAR_HEAD defines the initial segment of all variable-size |
103 | | * container objects. These end with a declaration of an array with 1 |
104 | | * element, but enough space is malloc'ed so that the array actually |
105 | | * has room for ob_size elements. Note that ob_size is an element count, |
106 | | * not necessarily a byte count. |
107 | | */ |
108 | | #define PyObject_VAR_HEAD PyVarObject ob_base; |
109 | | #endif // !defined(_Py_OPAQUE_PYOBJECT) |
110 | | |
111 | | #define Py_INVALID_SIZE (Py_ssize_t)-1 |
112 | | |
113 | | /* PyObjects are given a minimum alignment so that the least significant bits |
114 | | * of an object pointer become available for other purposes. |
115 | | * This must be an integer literal with the value (1 << _PyGC_PREV_SHIFT), number of bytes. |
116 | | */ |
117 | | #define _PyObject_MIN_ALIGNMENT 4 |
118 | | |
119 | | /* Nothing is actually declared to be a PyObject, but every pointer to |
120 | | * a Python object can be cast to a PyObject*. This is inheritance built |
121 | | * by hand. Similarly every pointer to a variable-size Python object can, |
122 | | * in addition, be cast to PyVarObject*. |
123 | | */ |
124 | | #ifdef _Py_OPAQUE_PYOBJECT |
125 | | /* PyObject is opaque */ |
126 | | #elif !defined(Py_GIL_DISABLED) |
127 | | struct _object { |
128 | | _Py_ANONYMOUS union { |
129 | | #if SIZEOF_VOID_P > 4 |
130 | | int64_t ob_refcnt_full; /* This field is needed for efficient initialization with Clang on ARM */ |
131 | | struct { |
132 | | # if PY_BIG_ENDIAN |
133 | | uint16_t ob_flags; |
134 | | uint16_t ob_overflow; |
135 | | uint32_t ob_refcnt; |
136 | | # else |
137 | | uint32_t ob_refcnt; |
138 | | uint16_t ob_overflow; |
139 | | uint16_t ob_flags; |
140 | | # endif |
141 | | }; |
142 | | #else |
143 | | Py_ssize_t ob_refcnt; // part of stable ABI; do not change |
144 | | #endif |
145 | | _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, char) _aligner; |
146 | | }; |
147 | | |
148 | | PyTypeObject *ob_type; // part of stable ABI; do not change |
149 | | }; |
150 | | #else |
151 | | // Objects that are not owned by any thread use a thread id (tid) of zero. |
152 | | // This includes both immortal objects and objects whose reference count |
153 | | // fields have been merged. |
154 | | #define _Py_UNOWNED_TID 0 |
155 | | |
156 | | struct _object { |
157 | | // ob_tid stores the thread id (or zero). It is also used by the GC and the |
158 | | // trashcan mechanism as a linked list pointer and by the GC to store the |
159 | | // computed "gc_refs" refcount. |
160 | | _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, uintptr_t) ob_tid; |
161 | | uint16_t ob_flags; |
162 | | PyMutex ob_mutex; // per-object lock |
163 | | uint8_t ob_gc_bits; // gc-related state |
164 | | uint32_t ob_ref_local; // local reference count |
165 | | Py_ssize_t ob_ref_shared; // shared (atomic) reference count |
166 | | PyTypeObject *ob_type; |
167 | | }; |
168 | | #endif // !defined(_Py_OPAQUE_PYOBJECT) |
169 | | |
170 | | /* Cast argument to PyObject* type. */ |
171 | 189G | #define _PyObject_CAST(op) _Py_CAST(PyObject*, (op)) |
172 | | |
173 | | #ifndef _Py_OPAQUE_PYOBJECT |
174 | | struct PyVarObject { |
175 | | PyObject ob_base; |
176 | | Py_ssize_t ob_size; // Number of items in variable part. Part of stable ABI |
177 | | }; |
178 | | #endif |
179 | | typedef struct PyVarObject PyVarObject; |
180 | | |
181 | | /* Cast argument to PyVarObject* type. */ |
182 | 11.2G | #define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op)) |
183 | | |
184 | | |
185 | | // Test if the 'x' object is the 'y' object, the same as "x is y" in Python. |
186 | | PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y); |
187 | 559M | #define Py_Is(x, y) ((x) == (y)) |
188 | | |
189 | | PyAPI_DATA(PyTypeObject) PyLong_Type; |
190 | | PyAPI_DATA(PyTypeObject) PyBool_Type; |
191 | | |
192 | | /* Definitions for the stable ABI */ |
193 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 14) |
194 | | PyAPI_FUNC(PyTypeObject*) Py_TYPE(PyObject *ob); |
195 | | #endif |
196 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15) |
197 | | PyAPI_FUNC(Py_ssize_t) Py_SIZE(PyObject *ob); |
198 | | PyAPI_FUNC(int) Py_IS_TYPE(PyObject *ob, PyTypeObject *type); |
199 | | PyAPI_FUNC(void) Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size); |
200 | | #endif |
201 | | |
202 | | #ifndef _Py_OPAQUE_PYOBJECT |
203 | | |
204 | | static inline void |
205 | | Py_SET_TYPE(PyObject *ob, PyTypeObject *type) |
206 | 1.40G | { |
207 | 1.40G | ob->ob_type = type; |
208 | 1.40G | } bytesobject.c:Py_SET_TYPE Line | Count | Source | 206 | 142M | { | 207 | 142M | ob->ob_type = type; | 208 | 142M | } |
Unexecuted instantiation: call.c:Py_SET_TYPE Unexecuted instantiation: exceptions.c:Py_SET_TYPE Unexecuted instantiation: genericaliasobject.c:Py_SET_TYPE floatobject.c:Py_SET_TYPE Line | Count | Source | 206 | 1.34M | { | 207 | 1.34M | ob->ob_type = type; | 208 | 1.34M | } |
Unexecuted instantiation: listobject.c:Py_SET_TYPE Line | Count | Source | 206 | 81.4M | { | 207 | 81.4M | ob->ob_type = type; | 208 | 81.4M | } |
Unexecuted instantiation: dictobject.c:Py_SET_TYPE Unexecuted instantiation: memoryobject.c:Py_SET_TYPE moduleobject.c:Py_SET_TYPE Line | Count | Source | 206 | 1.11k | { | 207 | 1.11k | ob->ob_type = type; | 208 | 1.11k | } |
Line | Count | Source | 206 | 3.00M | { | 207 | 3.00M | ob->ob_type = type; | 208 | 3.00M | } |
Unexecuted instantiation: obmalloc.c:Py_SET_TYPE Unexecuted instantiation: picklebufobject.c:Py_SET_TYPE Unexecuted instantiation: rangeobject.c:Py_SET_TYPE Unexecuted instantiation: sentinelobject.c:Py_SET_TYPE Unexecuted instantiation: setobject.c:Py_SET_TYPE Unexecuted instantiation: sliceobject.c:Py_SET_TYPE Line | Count | Source | 206 | 296 | { | 207 | 296 | ob->ob_type = type; | 208 | 296 | } |
Unexecuted instantiation: templateobject.c:Py_SET_TYPE Unexecuted instantiation: tupleobject.c:Py_SET_TYPE Line | Count | Source | 206 | 165M | { | 207 | 165M | ob->ob_type = type; | 208 | 165M | } |
Unexecuted instantiation: typevarobject.c:Py_SET_TYPE Unexecuted instantiation: unicode_format.c:Py_SET_TYPE Unexecuted instantiation: unicode_formatter.c:Py_SET_TYPE Unexecuted instantiation: unicode_writer.c:Py_SET_TYPE Unexecuted instantiation: unicodectype.c:Py_SET_TYPE unicodeobject.c:Py_SET_TYPE Line | Count | Source | 206 | 535M | { | 207 | 535M | ob->ob_type = type; | 208 | 535M | } |
Unexecuted instantiation: unionobject.c:Py_SET_TYPE Unexecuted instantiation: weakrefobject.c:Py_SET_TYPE Unexecuted instantiation: _warnings.c:Py_SET_TYPE Unexecuted instantiation: bltinmodule.c:Py_SET_TYPE Unexecuted instantiation: ceval.c:Py_SET_TYPE Unexecuted instantiation: codecs.c:Py_SET_TYPE Unexecuted instantiation: codegen.c:Py_SET_TYPE Unexecuted instantiation: compile.c:Py_SET_TYPE Unexecuted instantiation: context.c:Py_SET_TYPE Unexecuted instantiation: errors.c:Py_SET_TYPE Unexecuted instantiation: flowgraph.c:Py_SET_TYPE Unexecuted instantiation: frame.c:Py_SET_TYPE Unexecuted instantiation: future.c:Py_SET_TYPE Line | Count | Source | 206 | 475M | { | 207 | 475M | ob->ob_type = type; | 208 | 475M | } |
Unexecuted instantiation: gc_gil.c:Py_SET_TYPE Unexecuted instantiation: getargs.c:Py_SET_TYPE Unexecuted instantiation: ceval_gil.c:Py_SET_TYPE Unexecuted instantiation: hamt.c:Py_SET_TYPE Unexecuted instantiation: hashtable.c:Py_SET_TYPE Unexecuted instantiation: import.c:Py_SET_TYPE Unexecuted instantiation: importdl.c:Py_SET_TYPE Unexecuted instantiation: initconfig.c:Py_SET_TYPE Unexecuted instantiation: instrumentation.c:Py_SET_TYPE Unexecuted instantiation: instruction_sequence.c:Py_SET_TYPE Unexecuted instantiation: intrinsics.c:Py_SET_TYPE Unexecuted instantiation: legacy_tracing.c:Py_SET_TYPE Unexecuted instantiation: lock.c:Py_SET_TYPE Unexecuted instantiation: marshal.c:Py_SET_TYPE Unexecuted instantiation: modsupport.c:Py_SET_TYPE Unexecuted instantiation: mysnprintf.c:Py_SET_TYPE Unexecuted instantiation: parking_lot.c:Py_SET_TYPE Unexecuted instantiation: preconfig.c:Py_SET_TYPE Unexecuted instantiation: pyarena.c:Py_SET_TYPE Unexecuted instantiation: pyctype.c:Py_SET_TYPE Unexecuted instantiation: pyhash.c:Py_SET_TYPE Unexecuted instantiation: pylifecycle.c:Py_SET_TYPE Unexecuted instantiation: pymath.c:Py_SET_TYPE Unexecuted instantiation: pystate.c:Py_SET_TYPE Unexecuted instantiation: pythonrun.c:Py_SET_TYPE Unexecuted instantiation: pytime.c:Py_SET_TYPE Unexecuted instantiation: qsbr.c:Py_SET_TYPE Unexecuted instantiation: bootstrap_hash.c:Py_SET_TYPE Unexecuted instantiation: specialize.c:Py_SET_TYPE Unexecuted instantiation: slots.c:Py_SET_TYPE Unexecuted instantiation: slots_generated.c:Py_SET_TYPE Unexecuted instantiation: structmember.c:Py_SET_TYPE Unexecuted instantiation: symtable.c:Py_SET_TYPE Unexecuted instantiation: sysmodule.c:Py_SET_TYPE Unexecuted instantiation: thread.c:Py_SET_TYPE Unexecuted instantiation: traceback.c:Py_SET_TYPE Unexecuted instantiation: tracemalloc.c:Py_SET_TYPE Unexecuted instantiation: getopt.c:Py_SET_TYPE Unexecuted instantiation: pystrcmp.c:Py_SET_TYPE Unexecuted instantiation: pystrtod.c:Py_SET_TYPE Unexecuted instantiation: pystrhex.c:Py_SET_TYPE Unexecuted instantiation: dtoa.c:Py_SET_TYPE Unexecuted instantiation: fileutils.c:Py_SET_TYPE Unexecuted instantiation: suggestions.c:Py_SET_TYPE Unexecuted instantiation: perf_trampoline.c:Py_SET_TYPE Unexecuted instantiation: perf_jit_trampoline.c:Py_SET_TYPE Unexecuted instantiation: jit_unwind.c:Py_SET_TYPE Unexecuted instantiation: remote_debugging.c:Py_SET_TYPE Unexecuted instantiation: dynload_shlib.c:Py_SET_TYPE Unexecuted instantiation: config.c:Py_SET_TYPE Unexecuted instantiation: gcmodule.c:Py_SET_TYPE Unexecuted instantiation: _asynciomodule.c:Py_SET_TYPE Unexecuted instantiation: atexitmodule.c:Py_SET_TYPE Unexecuted instantiation: faulthandler.c:Py_SET_TYPE Unexecuted instantiation: posixmodule.c:Py_SET_TYPE Unexecuted instantiation: signalmodule.c:Py_SET_TYPE Unexecuted instantiation: _tracemalloc.c:Py_SET_TYPE Unexecuted instantiation: _suggestions.c:Py_SET_TYPE _datetimemodule.c:Py_SET_TYPE Line | Count | Source | 206 | 12.7k | { | 207 | 12.7k | ob->ob_type = type; | 208 | 12.7k | } |
Unexecuted instantiation: _codecsmodule.c:Py_SET_TYPE Unexecuted instantiation: _collectionsmodule.c:Py_SET_TYPE Unexecuted instantiation: errnomodule.c:Py_SET_TYPE Unexecuted instantiation: _iomodule.c:Py_SET_TYPE Unexecuted instantiation: iobase.c:Py_SET_TYPE Unexecuted instantiation: fileio.c:Py_SET_TYPE Unexecuted instantiation: bytesio.c:Py_SET_TYPE Unexecuted instantiation: bufferedio.c:Py_SET_TYPE Unexecuted instantiation: textio.c:Py_SET_TYPE Unexecuted instantiation: stringio.c:Py_SET_TYPE itertoolsmodule.c:Py_SET_TYPE Line | Count | Source | 206 | 32 | { | 207 | 32 | ob->ob_type = type; | 208 | 32 | } |
Unexecuted instantiation: sre.c:Py_SET_TYPE Unexecuted instantiation: _sysconfig.c:Py_SET_TYPE Unexecuted instantiation: _threadmodule.c:Py_SET_TYPE Unexecuted instantiation: timemodule.c:Py_SET_TYPE Unexecuted instantiation: _typesmodule.c:Py_SET_TYPE Unexecuted instantiation: _typingmodule.c:Py_SET_TYPE Unexecuted instantiation: _weakref.c:Py_SET_TYPE Unexecuted instantiation: _abc.c:Py_SET_TYPE Unexecuted instantiation: _functoolsmodule.c:Py_SET_TYPE Unexecuted instantiation: _localemodule.c:Py_SET_TYPE Unexecuted instantiation: _opcode.c:Py_SET_TYPE Unexecuted instantiation: _operator.c:Py_SET_TYPE Unexecuted instantiation: _stat.c:Py_SET_TYPE Unexecuted instantiation: symtablemodule.c:Py_SET_TYPE Unexecuted instantiation: pwdmodule.c:Py_SET_TYPE Unexecuted instantiation: getpath.c:Py_SET_TYPE Unexecuted instantiation: frozen.c:Py_SET_TYPE Unexecuted instantiation: getbuildinfo.c:Py_SET_TYPE Unexecuted instantiation: peg_api.c:Py_SET_TYPE Unexecuted instantiation: file_tokenizer.c:Py_SET_TYPE Unexecuted instantiation: helpers.c:Py_SET_TYPE Unexecuted instantiation: myreadline.c:Py_SET_TYPE Unexecuted instantiation: abstract.c:Py_SET_TYPE Unexecuted instantiation: boolobject.c:Py_SET_TYPE Unexecuted instantiation: bytes_methods.c:Py_SET_TYPE Unexecuted instantiation: bytearrayobject.c:Py_SET_TYPE Unexecuted instantiation: capsule.c:Py_SET_TYPE Unexecuted instantiation: cellobject.c:Py_SET_TYPE Unexecuted instantiation: classobject.c:Py_SET_TYPE Unexecuted instantiation: codeobject.c:Py_SET_TYPE complexobject.c:Py_SET_TYPE Line | Count | Source | 206 | 3.60k | { | 207 | 3.60k | ob->ob_type = type; | 208 | 3.60k | } |
Unexecuted instantiation: descrobject.c:Py_SET_TYPE Unexecuted instantiation: enumobject.c:Py_SET_TYPE Unexecuted instantiation: genobject.c:Py_SET_TYPE Unexecuted instantiation: fileobject.c:Py_SET_TYPE Unexecuted instantiation: frameobject.c:Py_SET_TYPE Unexecuted instantiation: funcobject.c:Py_SET_TYPE Unexecuted instantiation: interpolationobject.c:Py_SET_TYPE Unexecuted instantiation: iterobject.c:Py_SET_TYPE Unexecuted instantiation: lazyimportobject.c:Py_SET_TYPE Unexecuted instantiation: odictobject.c:Py_SET_TYPE Unexecuted instantiation: methodobject.c:Py_SET_TYPE Unexecuted instantiation: namespaceobject.c:Py_SET_TYPE Unexecuted instantiation: _contextvars.c:Py_SET_TYPE Unexecuted instantiation: Python-ast.c:Py_SET_TYPE Unexecuted instantiation: Python-tokenize.c:Py_SET_TYPE Unexecuted instantiation: asdl.c:Py_SET_TYPE Unexecuted instantiation: assemble.c:Py_SET_TYPE Unexecuted instantiation: ast.c:Py_SET_TYPE Unexecuted instantiation: ast_preprocess.c:Py_SET_TYPE Unexecuted instantiation: ast_unparse.c:Py_SET_TYPE Unexecuted instantiation: critical_section.c:Py_SET_TYPE Unexecuted instantiation: crossinterp.c:Py_SET_TYPE Unexecuted instantiation: getcopyright.c:Py_SET_TYPE Unexecuted instantiation: getplatform.c:Py_SET_TYPE Unexecuted instantiation: getversion.c:Py_SET_TYPE Unexecuted instantiation: optimizer.c:Py_SET_TYPE Unexecuted instantiation: pathconfig.c:Py_SET_TYPE Unexecuted instantiation: pegen.c:Py_SET_TYPE Unexecuted instantiation: pegen_errors.c:Py_SET_TYPE Unexecuted instantiation: parser.c:Py_SET_TYPE Unexecuted instantiation: buffer.c:Py_SET_TYPE Unexecuted instantiation: lexer.c:Py_SET_TYPE Unexecuted instantiation: state.c:Py_SET_TYPE Unexecuted instantiation: readline_tokenizer.c:Py_SET_TYPE Unexecuted instantiation: string_tokenizer.c:Py_SET_TYPE Unexecuted instantiation: utf8_tokenizer.c:Py_SET_TYPE Unexecuted instantiation: getcompiler.c:Py_SET_TYPE Unexecuted instantiation: mystrtoul.c:Py_SET_TYPE Unexecuted instantiation: token.c:Py_SET_TYPE Unexecuted instantiation: action_helpers.c:Py_SET_TYPE Unexecuted instantiation: string_parser.c:Py_SET_TYPE |
209 | | |
210 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 11) |
211 | | // Non-limited API & limited API 3.11 & below: use static inline functions and |
212 | | // use _PyObject_CAST so that users don't need their own casts |
213 | 38.9G | # define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob)) |
214 | 9.67G | # define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob)) |
215 | 20.3G | # define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type)) |
216 | 1.50G | # define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size)) |
217 | 1.40G | # define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type) |
218 | | #elif Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 15) |
219 | | // Limited API 3.11-3.14: use static inline functions, without casts |
220 | | # define Py_SIZE(ob) _Py_SIZE_impl(ob) |
221 | | # define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl((ob), (type)) |
222 | | # define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl((ob), (size)) |
223 | | # if Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 14) |
224 | | // Py_TYPE() is static inline only on Limited API 3.13 and below |
225 | | # define Py_TYPE(ob) _Py_TYPE_impl(ob) |
226 | | # endif |
227 | | #else |
228 | | // Limited API 3.15+: use function calls |
229 | | #endif |
230 | | |
231 | | static inline |
232 | | PyTypeObject* _Py_TYPE_impl(PyObject *ob) |
233 | 47.6G | { |
234 | 47.6G | return ob->ob_type; |
235 | 47.6G | } bytesobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 436M | { | 234 | 436M | return ob->ob_type; | 235 | 436M | } |
Line | Count | Source | 233 | 710M | { | 234 | 710M | return ob->ob_type; | 235 | 710M | } |
exceptions.c:_Py_TYPE_impl Line | Count | Source | 233 | 119M | { | 234 | 119M | return ob->ob_type; | 235 | 119M | } |
genericaliasobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 3.62k | { | 234 | 3.62k | return ob->ob_type; | 235 | 3.62k | } |
floatobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 39.4M | { | 234 | 39.4M | return ob->ob_type; | 235 | 39.4M | } |
listobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 711M | { | 234 | 711M | return ob->ob_type; | 235 | 711M | } |
longobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.97G | { | 234 | 1.97G | return ob->ob_type; | 235 | 1.97G | } |
dictobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 3.56G | { | 234 | 3.56G | return ob->ob_type; | 235 | 3.56G | } |
memoryobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 309k | { | 234 | 309k | return ob->ob_type; | 235 | 309k | } |
moduleobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 39.0M | { | 234 | 39.0M | return ob->ob_type; | 235 | 39.0M | } |
Line | Count | Source | 233 | 7.90G | { | 234 | 7.90G | return ob->ob_type; | 235 | 7.90G | } |
Unexecuted instantiation: obmalloc.c:_Py_TYPE_impl Unexecuted instantiation: picklebufobject.c:_Py_TYPE_impl rangeobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 5.16M | { | 234 | 5.16M | return ob->ob_type; | 235 | 5.16M | } |
sentinelobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 47 | { | 234 | 47 | return ob->ob_type; | 235 | 47 | } |
setobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 438M | { | 234 | 438M | return ob->ob_type; | 235 | 438M | } |
sliceobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.72M | { | 234 | 1.72M | return ob->ob_type; | 235 | 1.72M | } |
structseq.c:_Py_TYPE_impl Line | Count | Source | 233 | 785k | { | 234 | 785k | return ob->ob_type; | 235 | 785k | } |
templateobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 22 | { | 234 | 22 | return ob->ob_type; | 235 | 22 | } |
tupleobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.69G | { | 234 | 1.69G | return ob->ob_type; | 235 | 1.69G | } |
typeobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.84G | { | 234 | 1.84G | return ob->ob_type; | 235 | 1.84G | } |
typevarobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 539k | { | 234 | 539k | return ob->ob_type; | 235 | 539k | } |
unicode_format.c:_Py_TYPE_impl Line | Count | Source | 233 | 90.6M | { | 234 | 90.6M | return ob->ob_type; | 235 | 90.6M | } |
unicode_formatter.c:_Py_TYPE_impl Line | Count | Source | 233 | 15.5M | { | 234 | 15.5M | return ob->ob_type; | 235 | 15.5M | } |
unicode_writer.c:_Py_TYPE_impl Line | Count | Source | 233 | 11.7M | { | 234 | 11.7M | return ob->ob_type; | 235 | 11.7M | } |
Unexecuted instantiation: unicodectype.c:_Py_TYPE_impl unicodeobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 2.41G | { | 234 | 2.41G | return ob->ob_type; | 235 | 2.41G | } |
unionobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 6.98k | { | 234 | 6.98k | return ob->ob_type; | 235 | 6.98k | } |
weakrefobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 152M | { | 234 | 152M | return ob->ob_type; | 235 | 152M | } |
_warnings.c:_Py_TYPE_impl Line | Count | Source | 233 | 32.7M | { | 234 | 32.7M | return ob->ob_type; | 235 | 32.7M | } |
bltinmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 2.01G | { | 234 | 2.01G | return ob->ob_type; | 235 | 2.01G | } |
Line | Count | Source | 233 | 12.2G | { | 234 | 12.2G | return ob->ob_type; | 235 | 12.2G | } |
Line | Count | Source | 233 | 10.7M | { | 234 | 10.7M | return ob->ob_type; | 235 | 10.7M | } |
Line | Count | Source | 233 | 342 | { | 234 | 342 | return ob->ob_type; | 235 | 342 | } |
Line | Count | Source | 233 | 107k | { | 234 | 107k | return ob->ob_type; | 235 | 107k | } |
Line | Count | Source | 233 | 275k | { | 234 | 275k | return ob->ob_type; | 235 | 275k | } |
Line | Count | Source | 233 | 532M | { | 234 | 532M | return ob->ob_type; | 235 | 532M | } |
flowgraph.c:_Py_TYPE_impl Line | Count | Source | 233 | 80.8k | { | 234 | 80.8k | return ob->ob_type; | 235 | 80.8k | } |
Unexecuted instantiation: frame.c:_Py_TYPE_impl Unexecuted instantiation: future.c:_Py_TYPE_impl Line | Count | Source | 233 | 4.28G | { | 234 | 4.28G | return ob->ob_type; | 235 | 4.28G | } |
Unexecuted instantiation: gc_gil.c:_Py_TYPE_impl Line | Count | Source | 233 | 30.9M | { | 234 | 30.9M | return ob->ob_type; | 235 | 30.9M | } |
Unexecuted instantiation: ceval_gil.c:_Py_TYPE_impl Unexecuted instantiation: hamt.c:_Py_TYPE_impl Unexecuted instantiation: hashtable.c:_Py_TYPE_impl Line | Count | Source | 233 | 4.31M | { | 234 | 4.31M | return ob->ob_type; | 235 | 4.31M | } |
Line | Count | Source | 233 | 2.35k | { | 234 | 2.35k | return ob->ob_type; | 235 | 2.35k | } |
initconfig.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.03k | { | 234 | 1.03k | return ob->ob_type; | 235 | 1.03k | } |
Unexecuted instantiation: instrumentation.c:_Py_TYPE_impl Unexecuted instantiation: instruction_sequence.c:_Py_TYPE_impl intrinsics.c:_Py_TYPE_impl Line | Count | Source | 233 | 71.9k | { | 234 | 71.9k | return ob->ob_type; | 235 | 71.9k | } |
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE_impl Unexecuted instantiation: lock.c:_Py_TYPE_impl Line | Count | Source | 233 | 304k | { | 234 | 304k | return ob->ob_type; | 235 | 304k | } |
modsupport.c:_Py_TYPE_impl Line | Count | Source | 233 | 15.3M | { | 234 | 15.3M | return ob->ob_type; | 235 | 15.3M | } |
Unexecuted instantiation: mysnprintf.c:_Py_TYPE_impl Unexecuted instantiation: parking_lot.c:_Py_TYPE_impl Unexecuted instantiation: preconfig.c:_Py_TYPE_impl Unexecuted instantiation: pyarena.c:_Py_TYPE_impl Unexecuted instantiation: pyctype.c:_Py_TYPE_impl Unexecuted instantiation: pyhash.c:_Py_TYPE_impl pylifecycle.c:_Py_TYPE_impl Line | Count | Source | 233 | 37 | { | 234 | 37 | return ob->ob_type; | 235 | 37 | } |
Unexecuted instantiation: pymath.c:_Py_TYPE_impl Unexecuted instantiation: pystate.c:_Py_TYPE_impl pythonrun.c:_Py_TYPE_impl Line | Count | Source | 233 | 122k | { | 234 | 122k | return ob->ob_type; | 235 | 122k | } |
Unexecuted instantiation: pytime.c:_Py_TYPE_impl Unexecuted instantiation: qsbr.c:_Py_TYPE_impl Unexecuted instantiation: bootstrap_hash.c:_Py_TYPE_impl specialize.c:_Py_TYPE_impl Line | Count | Source | 233 | 206M | { | 234 | 206M | return ob->ob_type; | 235 | 206M | } |
Unexecuted instantiation: slots.c:_Py_TYPE_impl Unexecuted instantiation: slots_generated.c:_Py_TYPE_impl structmember.c:_Py_TYPE_impl Line | Count | Source | 233 | 5 | { | 234 | 5 | return ob->ob_type; | 235 | 5 | } |
Line | Count | Source | 233 | 79.7k | { | 234 | 79.7k | return ob->ob_type; | 235 | 79.7k | } |
sysmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.15M | { | 234 | 1.15M | return ob->ob_type; | 235 | 1.15M | } |
Unexecuted instantiation: thread.c:_Py_TYPE_impl traceback.c:_Py_TYPE_impl Line | Count | Source | 233 | 87.1M | { | 234 | 87.1M | return ob->ob_type; | 235 | 87.1M | } |
Unexecuted instantiation: tracemalloc.c:_Py_TYPE_impl Unexecuted instantiation: getopt.c:_Py_TYPE_impl Unexecuted instantiation: pystrcmp.c:_Py_TYPE_impl Unexecuted instantiation: pystrtod.c:_Py_TYPE_impl Unexecuted instantiation: pystrhex.c:_Py_TYPE_impl Unexecuted instantiation: dtoa.c:_Py_TYPE_impl Unexecuted instantiation: fileutils.c:_Py_TYPE_impl Unexecuted instantiation: suggestions.c:_Py_TYPE_impl Unexecuted instantiation: perf_trampoline.c:_Py_TYPE_impl Unexecuted instantiation: perf_jit_trampoline.c:_Py_TYPE_impl Unexecuted instantiation: jit_unwind.c:_Py_TYPE_impl Unexecuted instantiation: remote_debugging.c:_Py_TYPE_impl Unexecuted instantiation: dynload_shlib.c:_Py_TYPE_impl Unexecuted instantiation: config.c:_Py_TYPE_impl Unexecuted instantiation: gcmodule.c:_Py_TYPE_impl Unexecuted instantiation: _asynciomodule.c:_Py_TYPE_impl Unexecuted instantiation: atexitmodule.c:_Py_TYPE_impl Unexecuted instantiation: faulthandler.c:_Py_TYPE_impl posixmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 4.37M | { | 234 | 4.37M | return ob->ob_type; | 235 | 4.37M | } |
Unexecuted instantiation: signalmodule.c:_Py_TYPE_impl Unexecuted instantiation: _tracemalloc.c:_Py_TYPE_impl Unexecuted instantiation: _suggestions.c:_Py_TYPE_impl _datetimemodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 87.4k | { | 234 | 87.4k | return ob->ob_type; | 235 | 87.4k | } |
_codecsmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.75M | { | 234 | 1.75M | return ob->ob_type; | 235 | 1.75M | } |
_collectionsmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 251k | { | 234 | 251k | return ob->ob_type; | 235 | 251k | } |
Unexecuted instantiation: errnomodule.c:_Py_TYPE_impl _iomodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 65.7k | { | 234 | 65.7k | return ob->ob_type; | 235 | 65.7k | } |
Line | Count | Source | 233 | 64.2k | { | 234 | 64.2k | return ob->ob_type; | 235 | 64.2k | } |
Line | Count | Source | 233 | 97.2k | { | 234 | 97.2k | return ob->ob_type; | 235 | 97.2k | } |
Line | Count | Source | 233 | 124k | { | 234 | 124k | return ob->ob_type; | 235 | 124k | } |
bufferedio.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.92M | { | 234 | 1.92M | return ob->ob_type; | 235 | 1.92M | } |
Line | Count | Source | 233 | 1.17M | { | 234 | 1.17M | return ob->ob_type; | 235 | 1.17M | } |
Line | Count | Source | 233 | 23.9M | { | 234 | 23.9M | return ob->ob_type; | 235 | 23.9M | } |
itertoolsmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 149k | { | 234 | 149k | return ob->ob_type; | 235 | 149k | } |
Line | Count | Source | 233 | 200M | { | 234 | 200M | return ob->ob_type; | 235 | 200M | } |
Unexecuted instantiation: _sysconfig.c:_Py_TYPE_impl _threadmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 29.6M | { | 234 | 29.6M | return ob->ob_type; | 235 | 29.6M | } |
timemodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 384 | { | 234 | 384 | return ob->ob_type; | 235 | 384 | } |
Unexecuted instantiation: _typesmodule.c:_Py_TYPE_impl Unexecuted instantiation: _typingmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 47.8k | { | 234 | 47.8k | return ob->ob_type; | 235 | 47.8k | } |
Line | Count | Source | 233 | 413k | { | 234 | 413k | return ob->ob_type; | 235 | 413k | } |
_functoolsmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 2.49M | { | 234 | 2.49M | return ob->ob_type; | 235 | 2.49M | } |
Unexecuted instantiation: _localemodule.c:_Py_TYPE_impl Unexecuted instantiation: _opcode.c:_Py_TYPE_impl _operator.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.42M | { | 234 | 1.42M | return ob->ob_type; | 235 | 1.42M | } |
Line | Count | Source | 233 | 2.08k | { | 234 | 2.08k | return ob->ob_type; | 235 | 2.08k | } |
Unexecuted instantiation: symtablemodule.c:_Py_TYPE_impl Unexecuted instantiation: pwdmodule.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.03k | { | 234 | 1.03k | return ob->ob_type; | 235 | 1.03k | } |
Unexecuted instantiation: frozen.c:_Py_TYPE_impl Unexecuted instantiation: getbuildinfo.c:_Py_TYPE_impl Unexecuted instantiation: peg_api.c:_Py_TYPE_impl Unexecuted instantiation: file_tokenizer.c:_Py_TYPE_impl Unexecuted instantiation: helpers.c:_Py_TYPE_impl Unexecuted instantiation: myreadline.c:_Py_TYPE_impl Line | Count | Source | 233 | 4.54G | { | 234 | 4.54G | return ob->ob_type; | 235 | 4.54G | } |
Unexecuted instantiation: boolobject.c:_Py_TYPE_impl bytes_methods.c:_Py_TYPE_impl Line | Count | Source | 233 | 4.41M | { | 234 | 4.41M | return ob->ob_type; | 235 | 4.41M | } |
bytearrayobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 432M | { | 234 | 432M | return ob->ob_type; | 235 | 432M | } |
Line | Count | Source | 233 | 9.47k | { | 234 | 9.47k | return ob->ob_type; | 235 | 9.47k | } |
cellobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 9.71k | { | 234 | 9.71k | return ob->ob_type; | 235 | 9.71k | } |
classobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 188 | { | 234 | 188 | return ob->ob_type; | 235 | 188 | } |
codeobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 6.12M | { | 234 | 6.12M | return ob->ob_type; | 235 | 6.12M | } |
complexobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 8.66k | { | 234 | 8.66k | return ob->ob_type; | 235 | 8.66k | } |
descrobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 667M | { | 234 | 667M | return ob->ob_type; | 235 | 667M | } |
enumobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 74.1M | { | 234 | 74.1M | return ob->ob_type; | 235 | 74.1M | } |
genobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 55.8M | { | 234 | 55.8M | return ob->ob_type; | 235 | 55.8M | } |
fileobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 6.46k | { | 234 | 6.46k | return ob->ob_type; | 235 | 6.46k | } |
frameobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 90 | { | 234 | 90 | return ob->ob_type; | 235 | 90 | } |
funcobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 129k | { | 234 | 129k | return ob->ob_type; | 235 | 129k | } |
interpolationobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 8 | { | 234 | 8 | return ob->ob_type; | 235 | 8 | } |
iterobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 3.21M | { | 234 | 3.21M | return ob->ob_type; | 235 | 3.21M | } |
lazyimportobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 848 | { | 234 | 848 | return ob->ob_type; | 235 | 848 | } |
odictobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 30.1k | { | 234 | 30.1k | return ob->ob_type; | 235 | 30.1k | } |
methodobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 249k | { | 234 | 249k | return ob->ob_type; | 235 | 249k | } |
namespaceobject.c:_Py_TYPE_impl Line | Count | Source | 233 | 680 | { | 234 | 680 | return ob->ob_type; | 235 | 680 | } |
Unexecuted instantiation: _contextvars.c:_Py_TYPE_impl Python-ast.c:_Py_TYPE_impl Line | Count | Source | 233 | 1.31M | { | 234 | 1.31M | return ob->ob_type; | 235 | 1.31M | } |
Python-tokenize.c:_Py_TYPE_impl Line | Count | Source | 233 | 24 | { | 234 | 24 | return ob->ob_type; | 235 | 24 | } |
Unexecuted instantiation: asdl.c:_Py_TYPE_impl Unexecuted instantiation: assemble.c:_Py_TYPE_impl Line | Count | Source | 233 | 6.25k | { | 234 | 6.25k | return ob->ob_type; | 235 | 6.25k | } |
ast_preprocess.c:_Py_TYPE_impl Line | Count | Source | 233 | 105 | { | 234 | 105 | return ob->ob_type; | 235 | 105 | } |
Unexecuted instantiation: ast_unparse.c:_Py_TYPE_impl Unexecuted instantiation: critical_section.c:_Py_TYPE_impl crossinterp.c:_Py_TYPE_impl Line | Count | Source | 233 | 37 | { | 234 | 37 | return ob->ob_type; | 235 | 37 | } |
Unexecuted instantiation: getcopyright.c:_Py_TYPE_impl Unexecuted instantiation: getplatform.c:_Py_TYPE_impl Unexecuted instantiation: getversion.c:_Py_TYPE_impl Unexecuted instantiation: optimizer.c:_Py_TYPE_impl Unexecuted instantiation: pathconfig.c:_Py_TYPE_impl Line | Count | Source | 233 | 155k | { | 234 | 155k | return ob->ob_type; | 235 | 155k | } |
Unexecuted instantiation: pegen_errors.c:_Py_TYPE_impl Unexecuted instantiation: parser.c:_Py_TYPE_impl Unexecuted instantiation: buffer.c:_Py_TYPE_impl Unexecuted instantiation: lexer.c:_Py_TYPE_impl Unexecuted instantiation: state.c:_Py_TYPE_impl readline_tokenizer.c:_Py_TYPE_impl Line | Count | Source | 233 | 344 | { | 234 | 344 | return ob->ob_type; | 235 | 344 | } |
Unexecuted instantiation: string_tokenizer.c:_Py_TYPE_impl Unexecuted instantiation: utf8_tokenizer.c:_Py_TYPE_impl Unexecuted instantiation: getcompiler.c:_Py_TYPE_impl Unexecuted instantiation: mystrtoul.c:_Py_TYPE_impl Unexecuted instantiation: token.c:_Py_TYPE_impl action_helpers.c:_Py_TYPE_impl Line | Count | Source | 233 | 143k | { | 234 | 143k | return ob->ob_type; | 235 | 143k | } |
Unexecuted instantiation: string_parser.c:_Py_TYPE_impl |
236 | | |
237 | | // bpo-39573: The Py_SET_SIZE() function must be used to set an object size. |
238 | | static inline Py_ssize_t |
239 | | _Py_SIZE_impl(PyObject *ob) |
240 | 9.73G | { |
241 | 9.73G | assert(Py_TYPE(ob) != &PyLong_Type); |
242 | 9.73G | assert(Py_TYPE(ob) != &PyBool_Type); |
243 | 9.73G | return _PyVarObject_CAST(ob)->ob_size; |
244 | 9.73G | } bytesobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 486M | { | 241 | 486M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 486M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 486M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 486M | } |
Line | Count | Source | 240 | 108M | { | 241 | 108M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 108M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 108M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 108M | } |
exceptions.c:_Py_SIZE_impl Line | Count | Source | 240 | 20.1M | { | 241 | 20.1M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 20.1M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 20.1M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 20.1M | } |
genericaliasobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 510 | { | 241 | 510 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 510 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 510 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 510 | } |
floatobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 687k | { | 241 | 687k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 687k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 687k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 687k | } |
listobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 2.16G | { | 241 | 2.16G | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 2.16G | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 2.16G | return _PyVarObject_CAST(ob)->ob_size; | 244 | 2.16G | } |
longobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 18.1M | { | 241 | 18.1M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 18.1M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 18.1M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 18.1M | } |
dictobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 133k | { | 241 | 133k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 133k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 133k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 133k | } |
memoryobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 125k | { | 241 | 125k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 125k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 125k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 125k | } |
moduleobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 7.04k | { | 241 | 7.04k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 7.04k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 7.04k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 7.04k | } |
Line | Count | Source | 240 | 6.62M | { | 241 | 6.62M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 6.62M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 6.62M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 6.62M | } |
Unexecuted instantiation: obmalloc.c:_Py_SIZE_impl Unexecuted instantiation: picklebufobject.c:_Py_SIZE_impl Unexecuted instantiation: rangeobject.c:_Py_SIZE_impl sentinelobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 94 | { | 241 | 94 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 94 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 94 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 94 | } |
Unexecuted instantiation: setobject.c:_Py_SIZE_impl Unexecuted instantiation: sliceobject.c:_Py_SIZE_impl structseq.c:_Py_SIZE_impl Line | Count | Source | 240 | 355k | { | 241 | 355k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 355k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 355k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 355k | } |
Unexecuted instantiation: templateobject.c:_Py_SIZE_impl tupleobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 3.90G | { | 241 | 3.90G | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 3.90G | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 3.90G | return _PyVarObject_CAST(ob)->ob_size; | 244 | 3.90G | } |
typeobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.07G | { | 241 | 1.07G | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.07G | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.07G | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.07G | } |
typevarobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.13k | { | 241 | 1.13k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.13k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.13k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.13k | } |
Unexecuted instantiation: unicode_format.c:_Py_SIZE_impl Unexecuted instantiation: unicode_formatter.c:_Py_SIZE_impl Unexecuted instantiation: unicode_writer.c:_Py_SIZE_impl Unexecuted instantiation: unicodectype.c:_Py_SIZE_impl unicodeobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 89.7M | { | 241 | 89.7M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 89.7M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 89.7M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 89.7M | } |
unionobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.68k | { | 241 | 1.68k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.68k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.68k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.68k | } |
Unexecuted instantiation: weakrefobject.c:_Py_SIZE_impl _warnings.c:_Py_SIZE_impl Line | Count | Source | 240 | 3.95M | { | 241 | 3.95M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 3.95M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 3.95M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 3.95M | } |
bltinmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 88.2M | { | 241 | 88.2M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 88.2M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 88.2M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 88.2M | } |
Line | Count | Source | 240 | 1.21G | { | 241 | 1.21G | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.21G | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.21G | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.21G | } |
Line | Count | Source | 240 | 1.98M | { | 241 | 1.98M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.98M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.98M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.98M | } |
Line | Count | Source | 240 | 214 | { | 241 | 214 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 214 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 214 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 214 | } |
Line | Count | Source | 240 | 31.8k | { | 241 | 31.8k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 31.8k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 31.8k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 31.8k | } |
Unexecuted instantiation: context.c:_Py_SIZE_impl Unexecuted instantiation: errors.c:_Py_SIZE_impl flowgraph.c:_Py_SIZE_impl Line | Count | Source | 240 | 110k | { | 241 | 110k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 110k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 110k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 110k | } |
Unexecuted instantiation: frame.c:_Py_SIZE_impl Unexecuted instantiation: future.c:_Py_SIZE_impl Line | Count | Source | 240 | 365k | { | 241 | 365k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 365k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 365k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 365k | } |
Unexecuted instantiation: gc_gil.c:_Py_SIZE_impl Line | Count | Source | 240 | 20.1M | { | 241 | 20.1M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 20.1M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 20.1M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 20.1M | } |
Unexecuted instantiation: ceval_gil.c:_Py_SIZE_impl Unexecuted instantiation: hamt.c:_Py_SIZE_impl Unexecuted instantiation: hashtable.c:_Py_SIZE_impl Line | Count | Source | 240 | 568 | { | 241 | 568 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 568 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 568 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 568 | } |
Unexecuted instantiation: importdl.c:_Py_SIZE_impl initconfig.c:_Py_SIZE_impl Line | Count | Source | 240 | 148 | { | 241 | 148 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 148 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 148 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 148 | } |
Unexecuted instantiation: instrumentation.c:_Py_SIZE_impl Unexecuted instantiation: instruction_sequence.c:_Py_SIZE_impl intrinsics.c:_Py_SIZE_impl Line | Count | Source | 240 | 10.0M | { | 241 | 10.0M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 10.0M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 10.0M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 10.0M | } |
Unexecuted instantiation: legacy_tracing.c:_Py_SIZE_impl Unexecuted instantiation: lock.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.93M | { | 241 | 1.93M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.93M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.93M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.93M | } |
Unexecuted instantiation: modsupport.c:_Py_SIZE_impl Unexecuted instantiation: mysnprintf.c:_Py_SIZE_impl Unexecuted instantiation: parking_lot.c:_Py_SIZE_impl Unexecuted instantiation: preconfig.c:_Py_SIZE_impl Unexecuted instantiation: pyarena.c:_Py_SIZE_impl Unexecuted instantiation: pyctype.c:_Py_SIZE_impl Unexecuted instantiation: pyhash.c:_Py_SIZE_impl Unexecuted instantiation: pylifecycle.c:_Py_SIZE_impl Unexecuted instantiation: pymath.c:_Py_SIZE_impl Unexecuted instantiation: pystate.c:_Py_SIZE_impl pythonrun.c:_Py_SIZE_impl Line | Count | Source | 240 | 20.1k | { | 241 | 20.1k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 20.1k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 20.1k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 20.1k | } |
Unexecuted instantiation: pytime.c:_Py_SIZE_impl Unexecuted instantiation: qsbr.c:_Py_SIZE_impl Unexecuted instantiation: bootstrap_hash.c:_Py_SIZE_impl specialize.c:_Py_SIZE_impl Line | Count | Source | 240 | 8.65k | { | 241 | 8.65k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 8.65k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 8.65k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 8.65k | } |
Unexecuted instantiation: slots.c:_Py_SIZE_impl Unexecuted instantiation: slots_generated.c:_Py_SIZE_impl Unexecuted instantiation: structmember.c:_Py_SIZE_impl Line | Count | Source | 240 | 34.5k | { | 241 | 34.5k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 34.5k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 34.5k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 34.5k | } |
Unexecuted instantiation: sysmodule.c:_Py_SIZE_impl Unexecuted instantiation: thread.c:_Py_SIZE_impl Unexecuted instantiation: traceback.c:_Py_SIZE_impl Unexecuted instantiation: tracemalloc.c:_Py_SIZE_impl Unexecuted instantiation: getopt.c:_Py_SIZE_impl Unexecuted instantiation: pystrcmp.c:_Py_SIZE_impl Unexecuted instantiation: pystrtod.c:_Py_SIZE_impl Unexecuted instantiation: pystrhex.c:_Py_SIZE_impl Unexecuted instantiation: dtoa.c:_Py_SIZE_impl Unexecuted instantiation: fileutils.c:_Py_SIZE_impl Unexecuted instantiation: suggestions.c:_Py_SIZE_impl Unexecuted instantiation: perf_trampoline.c:_Py_SIZE_impl Unexecuted instantiation: perf_jit_trampoline.c:_Py_SIZE_impl Unexecuted instantiation: jit_unwind.c:_Py_SIZE_impl Unexecuted instantiation: remote_debugging.c:_Py_SIZE_impl Unexecuted instantiation: dynload_shlib.c:_Py_SIZE_impl Unexecuted instantiation: config.c:_Py_SIZE_impl Unexecuted instantiation: gcmodule.c:_Py_SIZE_impl Unexecuted instantiation: _asynciomodule.c:_Py_SIZE_impl atexitmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 12 | { | 241 | 12 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 12 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 12 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 12 | } |
Unexecuted instantiation: faulthandler.c:_Py_SIZE_impl posixmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.26M | { | 241 | 1.26M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.26M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.26M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.26M | } |
Unexecuted instantiation: signalmodule.c:_Py_SIZE_impl Unexecuted instantiation: _tracemalloc.c:_Py_SIZE_impl Unexecuted instantiation: _suggestions.c:_Py_SIZE_impl _datetimemodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 38.2k | { | 241 | 38.2k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 38.2k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 38.2k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 38.2k | } |
Unexecuted instantiation: _codecsmodule.c:_Py_SIZE_impl _collectionsmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 160M | { | 241 | 160M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 160M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 160M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 160M | } |
Unexecuted instantiation: errnomodule.c:_Py_SIZE_impl Unexecuted instantiation: _iomodule.c:_Py_SIZE_impl Unexecuted instantiation: iobase.c:_Py_SIZE_impl Line | Count | Source | 240 | 29.7k | { | 241 | 29.7k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 29.7k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 29.7k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 29.7k | } |
Line | Count | Source | 240 | 272k | { | 241 | 272k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 272k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 272k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 272k | } |
bufferedio.c:_Py_SIZE_impl Line | Count | Source | 240 | 34.5k | { | 241 | 34.5k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 34.5k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 34.5k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 34.5k | } |
Line | Count | Source | 240 | 18.3k | { | 241 | 18.3k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 18.3k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 18.3k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 18.3k | } |
Line | Count | Source | 240 | 37.3k | { | 241 | 37.3k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 37.3k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 37.3k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 37.3k | } |
itertoolsmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 7.77k | { | 241 | 7.77k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 7.77k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 7.77k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 7.77k | } |
Line | Count | Source | 240 | 36.4M | { | 241 | 36.4M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 36.4M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 36.4M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 36.4M | } |
Unexecuted instantiation: _sysconfig.c:_Py_SIZE_impl Unexecuted instantiation: _threadmodule.c:_Py_SIZE_impl Unexecuted instantiation: timemodule.c:_Py_SIZE_impl Unexecuted instantiation: _typesmodule.c:_Py_SIZE_impl Unexecuted instantiation: _typingmodule.c:_Py_SIZE_impl Unexecuted instantiation: _weakref.c:_Py_SIZE_impl Line | Count | Source | 240 | 57.8k | { | 241 | 57.8k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 57.8k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 57.8k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 57.8k | } |
_functoolsmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 354k | { | 241 | 354k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 354k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 354k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 354k | } |
Unexecuted instantiation: _localemodule.c:_Py_SIZE_impl Unexecuted instantiation: _opcode.c:_Py_SIZE_impl _operator.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.14M | { | 241 | 1.14M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.14M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.14M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.14M | } |
Unexecuted instantiation: _stat.c:_Py_SIZE_impl Unexecuted instantiation: symtablemodule.c:_Py_SIZE_impl Unexecuted instantiation: pwdmodule.c:_Py_SIZE_impl Line | Count | Source | 240 | 333 | { | 241 | 333 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 333 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 333 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 333 | } |
Unexecuted instantiation: frozen.c:_Py_SIZE_impl Unexecuted instantiation: getbuildinfo.c:_Py_SIZE_impl Unexecuted instantiation: peg_api.c:_Py_SIZE_impl Unexecuted instantiation: file_tokenizer.c:_Py_SIZE_impl Unexecuted instantiation: helpers.c:_Py_SIZE_impl Unexecuted instantiation: myreadline.c:_Py_SIZE_impl Line | Count | Source | 240 | 8.04M | { | 241 | 8.04M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 8.04M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 8.04M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 8.04M | } |
Unexecuted instantiation: boolobject.c:_Py_SIZE_impl bytes_methods.c:_Py_SIZE_impl Line | Count | Source | 240 | 1.93M | { | 241 | 1.93M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 1.93M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 1.93M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 1.93M | } |
bytearrayobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 288M | { | 241 | 288M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 288M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 288M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 288M | } |
Unexecuted instantiation: capsule.c:_Py_SIZE_impl Unexecuted instantiation: cellobject.c:_Py_SIZE_impl classobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 40 | { | 241 | 40 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 40 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 40 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 40 | } |
codeobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 4.83M | { | 241 | 4.83M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 4.83M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 4.83M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 4.83M | } |
Unexecuted instantiation: complexobject.c:_Py_SIZE_impl descrobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 14.9M | { | 241 | 14.9M | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 14.9M | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 14.9M | return _PyVarObject_CAST(ob)->ob_size; | 244 | 14.9M | } |
enumobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 6.03k | { | 241 | 6.03k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 6.03k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 6.03k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 6.03k | } |
Unexecuted instantiation: genobject.c:_Py_SIZE_impl Unexecuted instantiation: fileobject.c:_Py_SIZE_impl frameobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 45 | { | 241 | 45 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 45 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 45 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 45 | } |
funcobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 7.58k | { | 241 | 7.58k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 7.58k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 7.58k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 7.58k | } |
Unexecuted instantiation: interpolationobject.c:_Py_SIZE_impl Unexecuted instantiation: iterobject.c:_Py_SIZE_impl Unexecuted instantiation: lazyimportobject.c:_Py_SIZE_impl odictobject.c:_Py_SIZE_impl Line | Count | Source | 240 | 22.6k | { | 241 | 22.6k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 22.6k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 22.6k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 22.6k | } |
Unexecuted instantiation: methodobject.c:_Py_SIZE_impl Unexecuted instantiation: namespaceobject.c:_Py_SIZE_impl Unexecuted instantiation: _contextvars.c:_Py_SIZE_impl Python-ast.c:_Py_SIZE_impl Line | Count | Source | 240 | 503 | { | 241 | 503 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 503 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 503 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 503 | } |
Python-tokenize.c:_Py_SIZE_impl Line | Count | Source | 240 | 20 | { | 241 | 20 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 20 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 20 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 20 | } |
Unexecuted instantiation: asdl.c:_Py_SIZE_impl Line | Count | Source | 240 | 344k | { | 241 | 344k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 344k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 344k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 344k | } |
Unexecuted instantiation: ast.c:_Py_SIZE_impl Unexecuted instantiation: ast_preprocess.c:_Py_SIZE_impl Unexecuted instantiation: ast_unparse.c:_Py_SIZE_impl Unexecuted instantiation: critical_section.c:_Py_SIZE_impl Unexecuted instantiation: crossinterp.c:_Py_SIZE_impl Unexecuted instantiation: getcopyright.c:_Py_SIZE_impl Unexecuted instantiation: getplatform.c:_Py_SIZE_impl Unexecuted instantiation: getversion.c:_Py_SIZE_impl Unexecuted instantiation: optimizer.c:_Py_SIZE_impl Unexecuted instantiation: pathconfig.c:_Py_SIZE_impl Unexecuted instantiation: pegen.c:_Py_SIZE_impl Unexecuted instantiation: pegen_errors.c:_Py_SIZE_impl Unexecuted instantiation: parser.c:_Py_SIZE_impl Unexecuted instantiation: buffer.c:_Py_SIZE_impl Line | Count | Source | 240 | 330 | { | 241 | 330 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 330 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 330 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 330 | } |
Unexecuted instantiation: state.c:_Py_SIZE_impl readline_tokenizer.c:_Py_SIZE_impl Line | Count | Source | 240 | 4 | { | 241 | 4 | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 4 | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 4 | return _PyVarObject_CAST(ob)->ob_size; | 244 | 4 | } |
Unexecuted instantiation: string_tokenizer.c:_Py_SIZE_impl Unexecuted instantiation: utf8_tokenizer.c:_Py_SIZE_impl Unexecuted instantiation: getcompiler.c:_Py_SIZE_impl Unexecuted instantiation: mystrtoul.c:_Py_SIZE_impl Unexecuted instantiation: token.c:_Py_SIZE_impl action_helpers.c:_Py_SIZE_impl Line | Count | Source | 240 | 4.74k | { | 241 | 4.74k | assert(Py_TYPE(ob) != &PyLong_Type); | 242 | 4.74k | assert(Py_TYPE(ob) != &PyBool_Type); | 243 | 4.74k | return _PyVarObject_CAST(ob)->ob_size; | 244 | 4.74k | } |
Unexecuted instantiation: string_parser.c:_Py_SIZE_impl |
245 | | |
246 | | static inline int |
247 | | _Py_IS_TYPE_impl(PyObject *ob, PyTypeObject *type) |
248 | 12.9G | { |
249 | 12.9G | return Py_TYPE(ob) == type; |
250 | 12.9G | } bytesobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 86.9M | { | 249 | 86.9M | return Py_TYPE(ob) == type; | 250 | 86.9M | } |
Unexecuted instantiation: call.c:_Py_IS_TYPE_impl exceptions.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 64.4M | { | 249 | 64.4M | return Py_TYPE(ob) == type; | 250 | 64.4M | } |
genericaliasobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 160 | { | 249 | 160 | return Py_TYPE(ob) == type; | 250 | 160 | } |
floatobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 23.3M | { | 249 | 23.3M | return Py_TYPE(ob) == type; | 250 | 23.3M | } |
listobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 352M | { | 249 | 352M | return Py_TYPE(ob) == type; | 250 | 352M | } |
longobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 729M | { | 249 | 729M | return Py_TYPE(ob) == type; | 250 | 729M | } |
dictobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 2.09G | { | 249 | 2.09G | return Py_TYPE(ob) == type; | 250 | 2.09G | } |
memoryobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 158k | { | 249 | 158k | return Py_TYPE(ob) == type; | 250 | 158k | } |
moduleobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 39.0M | { | 249 | 39.0M | return Py_TYPE(ob) == type; | 250 | 39.0M | } |
object.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 693M | { | 249 | 693M | return Py_TYPE(ob) == type; | 250 | 693M | } |
Unexecuted instantiation: obmalloc.c:_Py_IS_TYPE_impl Unexecuted instantiation: picklebufobject.c:_Py_IS_TYPE_impl rangeobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.72M | { | 249 | 1.72M | return Py_TYPE(ob) == type; | 250 | 1.72M | } |
Unexecuted instantiation: sentinelobject.c:_Py_IS_TYPE_impl setobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 435M | { | 249 | 435M | return Py_TYPE(ob) == type; | 250 | 435M | } |
sliceobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 102 | { | 249 | 102 | return Py_TYPE(ob) == type; | 250 | 102 | } |
Unexecuted instantiation: structseq.c:_Py_IS_TYPE_impl Unexecuted instantiation: templateobject.c:_Py_IS_TYPE_impl tupleobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 796M | { | 249 | 796M | return Py_TYPE(ob) == type; | 250 | 796M | } |
typeobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 230M | { | 249 | 230M | return Py_TYPE(ob) == type; | 250 | 230M | } |
typevarobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 16 | { | 249 | 16 | return Py_TYPE(ob) == type; | 250 | 16 | } |
unicode_format.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 37.5M | { | 249 | 37.5M | return Py_TYPE(ob) == type; | 250 | 37.5M | } |
unicode_formatter.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 15.5M | { | 249 | 15.5M | return Py_TYPE(ob) == type; | 250 | 15.5M | } |
Unexecuted instantiation: unicode_writer.c:_Py_IS_TYPE_impl Unexecuted instantiation: unicodectype.c:_Py_IS_TYPE_impl unicodeobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 308M | { | 249 | 308M | return Py_TYPE(ob) == type; | 250 | 308M | } |
unionobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 3.42k | { | 249 | 3.42k | return Py_TYPE(ob) == type; | 250 | 3.42k | } |
weakrefobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.95M | { | 249 | 1.95M | return Py_TYPE(ob) == type; | 250 | 1.95M | } |
_warnings.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 3.46M | { | 249 | 3.46M | return Py_TYPE(ob) == type; | 250 | 3.46M | } |
bltinmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.58G | { | 249 | 1.58G | return Py_TYPE(ob) == type; | 250 | 1.58G | } |
Line | Count | Source | 248 | 3.76G | { | 249 | 3.76G | return Py_TYPE(ob) == type; | 250 | 3.76G | } |
codecs.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 2.59M | { | 249 | 2.59M | return Py_TYPE(ob) == type; | 250 | 2.59M | } |
Unexecuted instantiation: codegen.c:_Py_IS_TYPE_impl compile.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 107k | { | 249 | 107k | return Py_TYPE(ob) == type; | 250 | 107k | } |
context.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 275k | { | 249 | 275k | return Py_TYPE(ob) == type; | 250 | 275k | } |
Unexecuted instantiation: errors.c:_Py_IS_TYPE_impl flowgraph.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 80.7k | { | 249 | 80.7k | return Py_TYPE(ob) == type; | 250 | 80.7k | } |
Unexecuted instantiation: frame.c:_Py_IS_TYPE_impl Unexecuted instantiation: future.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 376M | { | 249 | 376M | return Py_TYPE(ob) == type; | 250 | 376M | } |
Unexecuted instantiation: gc_gil.c:_Py_IS_TYPE_impl getargs.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 9.39M | { | 249 | 9.39M | return Py_TYPE(ob) == type; | 250 | 9.39M | } |
Unexecuted instantiation: ceval_gil.c:_Py_IS_TYPE_impl Unexecuted instantiation: hamt.c:_Py_IS_TYPE_impl Unexecuted instantiation: hashtable.c:_Py_IS_TYPE_impl import.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 7.95k | { | 249 | 7.95k | return Py_TYPE(ob) == type; | 250 | 7.95k | } |
importdl.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.93k | { | 249 | 1.93k | return Py_TYPE(ob) == type; | 250 | 1.93k | } |
initconfig.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 296 | { | 249 | 296 | return Py_TYPE(ob) == type; | 250 | 296 | } |
Unexecuted instantiation: instrumentation.c:_Py_IS_TYPE_impl Unexecuted instantiation: instruction_sequence.c:_Py_IS_TYPE_impl intrinsics.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 34.7k | { | 249 | 34.7k | return Py_TYPE(ob) == type; | 250 | 34.7k | } |
Unexecuted instantiation: legacy_tracing.c:_Py_IS_TYPE_impl Unexecuted instantiation: lock.c:_Py_IS_TYPE_impl marshal.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 304k | { | 249 | 304k | return Py_TYPE(ob) == type; | 250 | 304k | } |
modsupport.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 21.6k | { | 249 | 21.6k | return Py_TYPE(ob) == type; | 250 | 21.6k | } |
Unexecuted instantiation: mysnprintf.c:_Py_IS_TYPE_impl Unexecuted instantiation: parking_lot.c:_Py_IS_TYPE_impl Unexecuted instantiation: preconfig.c:_Py_IS_TYPE_impl Unexecuted instantiation: pyarena.c:_Py_IS_TYPE_impl Unexecuted instantiation: pyctype.c:_Py_IS_TYPE_impl Unexecuted instantiation: pyhash.c:_Py_IS_TYPE_impl Unexecuted instantiation: pylifecycle.c:_Py_IS_TYPE_impl Unexecuted instantiation: pymath.c:_Py_IS_TYPE_impl Unexecuted instantiation: pystate.c:_Py_IS_TYPE_impl Unexecuted instantiation: pythonrun.c:_Py_IS_TYPE_impl Unexecuted instantiation: pytime.c:_Py_IS_TYPE_impl Unexecuted instantiation: qsbr.c:_Py_IS_TYPE_impl Unexecuted instantiation: bootstrap_hash.c:_Py_IS_TYPE_impl specialize.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 178M | { | 249 | 178M | return Py_TYPE(ob) == type; | 250 | 178M | } |
Unexecuted instantiation: slots.c:_Py_IS_TYPE_impl Unexecuted instantiation: slots_generated.c:_Py_IS_TYPE_impl structmember.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 5 | { | 249 | 5 | return Py_TYPE(ob) == type; | 250 | 5 | } |
Unexecuted instantiation: symtable.c:_Py_IS_TYPE_impl sysmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.90k | { | 249 | 1.90k | return Py_TYPE(ob) == type; | 250 | 1.90k | } |
Unexecuted instantiation: thread.c:_Py_IS_TYPE_impl traceback.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 87.1M | { | 249 | 87.1M | return Py_TYPE(ob) == type; | 250 | 87.1M | } |
Unexecuted instantiation: tracemalloc.c:_Py_IS_TYPE_impl Unexecuted instantiation: getopt.c:_Py_IS_TYPE_impl Unexecuted instantiation: pystrcmp.c:_Py_IS_TYPE_impl Unexecuted instantiation: pystrtod.c:_Py_IS_TYPE_impl Unexecuted instantiation: pystrhex.c:_Py_IS_TYPE_impl Unexecuted instantiation: dtoa.c:_Py_IS_TYPE_impl Unexecuted instantiation: fileutils.c:_Py_IS_TYPE_impl Unexecuted instantiation: suggestions.c:_Py_IS_TYPE_impl Unexecuted instantiation: perf_trampoline.c:_Py_IS_TYPE_impl Unexecuted instantiation: perf_jit_trampoline.c:_Py_IS_TYPE_impl Unexecuted instantiation: jit_unwind.c:_Py_IS_TYPE_impl Unexecuted instantiation: remote_debugging.c:_Py_IS_TYPE_impl Unexecuted instantiation: dynload_shlib.c:_Py_IS_TYPE_impl Unexecuted instantiation: config.c:_Py_IS_TYPE_impl Unexecuted instantiation: gcmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _asynciomodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: atexitmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: faulthandler.c:_Py_IS_TYPE_impl posixmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 387k | { | 249 | 387k | return Py_TYPE(ob) == type; | 250 | 387k | } |
Unexecuted instantiation: signalmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _tracemalloc.c:_Py_IS_TYPE_impl Unexecuted instantiation: _suggestions.c:_Py_IS_TYPE_impl _datetimemodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 24.5k | { | 249 | 24.5k | return Py_TYPE(ob) == type; | 250 | 24.5k | } |
Unexecuted instantiation: _codecsmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _collectionsmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: errnomodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _iomodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: iobase.c:_Py_IS_TYPE_impl fileio.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 29.7k | { | 249 | 29.7k | return Py_TYPE(ob) == type; | 250 | 29.7k | } |
bytesio.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 47.4k | { | 249 | 47.4k | return Py_TYPE(ob) == type; | 250 | 47.4k | } |
bufferedio.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 69.0k | { | 249 | 69.0k | return Py_TYPE(ob) == type; | 250 | 69.0k | } |
textio.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 302k | { | 249 | 302k | return Py_TYPE(ob) == type; | 250 | 302k | } |
stringio.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 23.7M | { | 249 | 23.7M | return Py_TYPE(ob) == type; | 250 | 23.7M | } |
Unexecuted instantiation: itertoolsmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 463k | { | 249 | 463k | return Py_TYPE(ob) == type; | 250 | 463k | } |
Unexecuted instantiation: _sysconfig.c:_Py_IS_TYPE_impl _threadmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 14.4M | { | 249 | 14.4M | return Py_TYPE(ob) == type; | 250 | 14.4M | } |
timemodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 192 | { | 249 | 192 | return Py_TYPE(ob) == type; | 250 | 192 | } |
Unexecuted instantiation: _typesmodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _typingmodule.c:_Py_IS_TYPE_impl _weakref.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 15.9k | { | 249 | 15.9k | return Py_TYPE(ob) == type; | 250 | 15.9k | } |
Line | Count | Source | 248 | 116k | { | 249 | 116k | return Py_TYPE(ob) == type; | 250 | 116k | } |
_functoolsmodule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 242k | { | 249 | 242k | return Py_TYPE(ob) == type; | 250 | 242k | } |
Unexecuted instantiation: _localemodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: _opcode.c:_Py_IS_TYPE_impl _operator.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 1.14M | { | 249 | 1.14M | return Py_TYPE(ob) == type; | 250 | 1.14M | } |
Unexecuted instantiation: _stat.c:_Py_IS_TYPE_impl Unexecuted instantiation: symtablemodule.c:_Py_IS_TYPE_impl Unexecuted instantiation: pwdmodule.c:_Py_IS_TYPE_impl getpath.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 37 | { | 249 | 37 | return Py_TYPE(ob) == type; | 250 | 37 | } |
Unexecuted instantiation: frozen.c:_Py_IS_TYPE_impl Unexecuted instantiation: getbuildinfo.c:_Py_IS_TYPE_impl Unexecuted instantiation: peg_api.c:_Py_IS_TYPE_impl Unexecuted instantiation: file_tokenizer.c:_Py_IS_TYPE_impl Unexecuted instantiation: helpers.c:_Py_IS_TYPE_impl Unexecuted instantiation: myreadline.c:_Py_IS_TYPE_impl abstract.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 481M | { | 249 | 481M | return Py_TYPE(ob) == type; | 250 | 481M | } |
Unexecuted instantiation: boolobject.c:_Py_IS_TYPE_impl Unexecuted instantiation: bytes_methods.c:_Py_IS_TYPE_impl bytearrayobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 121M | { | 249 | 121M | return Py_TYPE(ob) == type; | 250 | 121M | } |
capsule.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 9.47k | { | 249 | 9.47k | return Py_TYPE(ob) == type; | 250 | 9.47k | } |
cellobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 9.71k | { | 249 | 9.71k | return Py_TYPE(ob) == type; | 250 | 9.71k | } |
Unexecuted instantiation: classobject.c:_Py_IS_TYPE_impl codeobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 4.20M | { | 249 | 4.20M | return Py_TYPE(ob) == type; | 250 | 4.20M | } |
complexobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 8.66k | { | 249 | 8.66k | return Py_TYPE(ob) == type; | 250 | 8.66k | } |
descrobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 335M | { | 249 | 335M | return Py_TYPE(ob) == type; | 250 | 335M | } |
Unexecuted instantiation: enumobject.c:_Py_IS_TYPE_impl genobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 55.7M | { | 249 | 55.7M | return Py_TYPE(ob) == type; | 250 | 55.7M | } |
Unexecuted instantiation: fileobject.c:_Py_IS_TYPE_impl frameobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 45 | { | 249 | 45 | return Py_TYPE(ob) == type; | 250 | 45 | } |
funcobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 22.8k | { | 249 | 22.8k | return Py_TYPE(ob) == type; | 250 | 22.8k | } |
Unexecuted instantiation: interpolationobject.c:_Py_IS_TYPE_impl Unexecuted instantiation: iterobject.c:_Py_IS_TYPE_impl Unexecuted instantiation: lazyimportobject.c:_Py_IS_TYPE_impl odictobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 30.1k | { | 249 | 30.1k | return Py_TYPE(ob) == type; | 250 | 30.1k | } |
methodobject.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 167k | { | 249 | 167k | return Py_TYPE(ob) == type; | 250 | 167k | } |
Unexecuted instantiation: namespaceobject.c:_Py_IS_TYPE_impl Unexecuted instantiation: _contextvars.c:_Py_IS_TYPE_impl Python-ast.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 8 | { | 249 | 8 | return Py_TYPE(ob) == type; | 250 | 8 | } |
Unexecuted instantiation: Python-tokenize.c:_Py_IS_TYPE_impl Unexecuted instantiation: asdl.c:_Py_IS_TYPE_impl Unexecuted instantiation: assemble.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 6.25k | { | 249 | 6.25k | return Py_TYPE(ob) == type; | 250 | 6.25k | } |
Unexecuted instantiation: ast_preprocess.c:_Py_IS_TYPE_impl Unexecuted instantiation: ast_unparse.c:_Py_IS_TYPE_impl Unexecuted instantiation: critical_section.c:_Py_IS_TYPE_impl Unexecuted instantiation: crossinterp.c:_Py_IS_TYPE_impl Unexecuted instantiation: getcopyright.c:_Py_IS_TYPE_impl Unexecuted instantiation: getplatform.c:_Py_IS_TYPE_impl Unexecuted instantiation: getversion.c:_Py_IS_TYPE_impl Unexecuted instantiation: optimizer.c:_Py_IS_TYPE_impl Unexecuted instantiation: pathconfig.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 92.5k | { | 249 | 92.5k | return Py_TYPE(ob) == type; | 250 | 92.5k | } |
Unexecuted instantiation: pegen_errors.c:_Py_IS_TYPE_impl Unexecuted instantiation: parser.c:_Py_IS_TYPE_impl Unexecuted instantiation: buffer.c:_Py_IS_TYPE_impl Unexecuted instantiation: lexer.c:_Py_IS_TYPE_impl Unexecuted instantiation: state.c:_Py_IS_TYPE_impl Unexecuted instantiation: readline_tokenizer.c:_Py_IS_TYPE_impl Unexecuted instantiation: string_tokenizer.c:_Py_IS_TYPE_impl Unexecuted instantiation: utf8_tokenizer.c:_Py_IS_TYPE_impl Unexecuted instantiation: getcompiler.c:_Py_IS_TYPE_impl Unexecuted instantiation: mystrtoul.c:_Py_IS_TYPE_impl Unexecuted instantiation: token.c:_Py_IS_TYPE_impl action_helpers.c:_Py_IS_TYPE_impl Line | Count | Source | 248 | 143k | { | 249 | 143k | return Py_TYPE(ob) == type; | 250 | 143k | } |
Unexecuted instantiation: string_parser.c:_Py_IS_TYPE_impl |
251 | | |
252 | | static inline void |
253 | | _Py_SET_SIZE_impl(PyVarObject *ob, Py_ssize_t size) |
254 | 1.50G | { |
255 | 1.50G | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); |
256 | 1.50G | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); |
257 | | #ifdef Py_GIL_DISABLED |
258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); |
259 | | #else |
260 | 1.50G | ob->ob_size = size; |
261 | 1.50G | #endif |
262 | 1.50G | } bytesobject.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 149M | { | 255 | 149M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 149M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 149M | ob->ob_size = size; | 261 | 149M | #endif | 262 | 149M | } |
Unexecuted instantiation: call.c:_Py_SET_SIZE_impl Unexecuted instantiation: exceptions.c:_Py_SET_SIZE_impl Unexecuted instantiation: genericaliasobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: floatobject.c:_Py_SET_SIZE_impl listobject.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 736M | { | 255 | 736M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 736M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 736M | ob->ob_size = size; | 261 | 736M | #endif | 262 | 736M | } |
Unexecuted instantiation: longobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: dictobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: memoryobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: moduleobject.c:_Py_SET_SIZE_impl object.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 187k | { | 255 | 187k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 187k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 187k | ob->ob_size = size; | 261 | 187k | #endif | 262 | 187k | } |
Unexecuted instantiation: obmalloc.c:_Py_SET_SIZE_impl Unexecuted instantiation: picklebufobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: rangeobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: sentinelobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: setobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: sliceobject.c:_Py_SET_SIZE_impl structseq.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 330k | { | 255 | 330k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 330k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 330k | ob->ob_size = size; | 261 | 330k | #endif | 262 | 330k | } |
Unexecuted instantiation: templateobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: tupleobject.c:_Py_SET_SIZE_impl typeobject.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 843k | { | 255 | 843k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 843k | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 843k | ob->ob_size = size; | 261 | 843k | #endif | 262 | 843k | } |
Unexecuted instantiation: typevarobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: unicode_format.c:_Py_SET_SIZE_impl Unexecuted instantiation: unicode_formatter.c:_Py_SET_SIZE_impl Unexecuted instantiation: unicode_writer.c:_Py_SET_SIZE_impl Unexecuted instantiation: unicodectype.c:_Py_SET_SIZE_impl unicodeobject.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 19.5M | { | 255 | 19.5M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 19.5M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 19.5M | ob->ob_size = size; | 261 | 19.5M | #endif | 262 | 19.5M | } |
Unexecuted instantiation: unionobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: weakrefobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: _warnings.c:_Py_SET_SIZE_impl Unexecuted instantiation: bltinmodule.c:_Py_SET_SIZE_impl ceval.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 216M | { | 255 | 216M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 216M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 216M | ob->ob_size = size; | 261 | 216M | #endif | 262 | 216M | } |
Unexecuted instantiation: codecs.c:_Py_SET_SIZE_impl Unexecuted instantiation: codegen.c:_Py_SET_SIZE_impl Unexecuted instantiation: compile.c:_Py_SET_SIZE_impl Unexecuted instantiation: context.c:_Py_SET_SIZE_impl Unexecuted instantiation: errors.c:_Py_SET_SIZE_impl Unexecuted instantiation: flowgraph.c:_Py_SET_SIZE_impl Unexecuted instantiation: frame.c:_Py_SET_SIZE_impl Unexecuted instantiation: future.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 230M | { | 255 | 230M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 230M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 230M | ob->ob_size = size; | 261 | 230M | #endif | 262 | 230M | } |
Unexecuted instantiation: gc_gil.c:_Py_SET_SIZE_impl Unexecuted instantiation: getargs.c:_Py_SET_SIZE_impl Unexecuted instantiation: ceval_gil.c:_Py_SET_SIZE_impl Unexecuted instantiation: hamt.c:_Py_SET_SIZE_impl Unexecuted instantiation: hashtable.c:_Py_SET_SIZE_impl Unexecuted instantiation: import.c:_Py_SET_SIZE_impl Unexecuted instantiation: importdl.c:_Py_SET_SIZE_impl Unexecuted instantiation: initconfig.c:_Py_SET_SIZE_impl Unexecuted instantiation: instrumentation.c:_Py_SET_SIZE_impl Unexecuted instantiation: instruction_sequence.c:_Py_SET_SIZE_impl Unexecuted instantiation: intrinsics.c:_Py_SET_SIZE_impl Unexecuted instantiation: legacy_tracing.c:_Py_SET_SIZE_impl Unexecuted instantiation: lock.c:_Py_SET_SIZE_impl Unexecuted instantiation: marshal.c:_Py_SET_SIZE_impl Unexecuted instantiation: modsupport.c:_Py_SET_SIZE_impl Unexecuted instantiation: mysnprintf.c:_Py_SET_SIZE_impl Unexecuted instantiation: parking_lot.c:_Py_SET_SIZE_impl Unexecuted instantiation: preconfig.c:_Py_SET_SIZE_impl Unexecuted instantiation: pyarena.c:_Py_SET_SIZE_impl Unexecuted instantiation: pyctype.c:_Py_SET_SIZE_impl Unexecuted instantiation: pyhash.c:_Py_SET_SIZE_impl Unexecuted instantiation: pylifecycle.c:_Py_SET_SIZE_impl Unexecuted instantiation: pymath.c:_Py_SET_SIZE_impl Unexecuted instantiation: pystate.c:_Py_SET_SIZE_impl Unexecuted instantiation: pythonrun.c:_Py_SET_SIZE_impl Unexecuted instantiation: pytime.c:_Py_SET_SIZE_impl Unexecuted instantiation: qsbr.c:_Py_SET_SIZE_impl Unexecuted instantiation: bootstrap_hash.c:_Py_SET_SIZE_impl Unexecuted instantiation: specialize.c:_Py_SET_SIZE_impl Unexecuted instantiation: slots.c:_Py_SET_SIZE_impl Unexecuted instantiation: slots_generated.c:_Py_SET_SIZE_impl Unexecuted instantiation: structmember.c:_Py_SET_SIZE_impl Unexecuted instantiation: symtable.c:_Py_SET_SIZE_impl Unexecuted instantiation: sysmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: thread.c:_Py_SET_SIZE_impl Unexecuted instantiation: traceback.c:_Py_SET_SIZE_impl Unexecuted instantiation: tracemalloc.c:_Py_SET_SIZE_impl Unexecuted instantiation: getopt.c:_Py_SET_SIZE_impl Unexecuted instantiation: pystrcmp.c:_Py_SET_SIZE_impl Unexecuted instantiation: pystrtod.c:_Py_SET_SIZE_impl Unexecuted instantiation: pystrhex.c:_Py_SET_SIZE_impl Unexecuted instantiation: dtoa.c:_Py_SET_SIZE_impl Unexecuted instantiation: fileutils.c:_Py_SET_SIZE_impl Unexecuted instantiation: suggestions.c:_Py_SET_SIZE_impl Unexecuted instantiation: perf_trampoline.c:_Py_SET_SIZE_impl Unexecuted instantiation: perf_jit_trampoline.c:_Py_SET_SIZE_impl Unexecuted instantiation: jit_unwind.c:_Py_SET_SIZE_impl Unexecuted instantiation: remote_debugging.c:_Py_SET_SIZE_impl Unexecuted instantiation: dynload_shlib.c:_Py_SET_SIZE_impl Unexecuted instantiation: config.c:_Py_SET_SIZE_impl Unexecuted instantiation: gcmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _asynciomodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: atexitmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: faulthandler.c:_Py_SET_SIZE_impl Unexecuted instantiation: posixmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: signalmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _tracemalloc.c:_Py_SET_SIZE_impl Unexecuted instantiation: _suggestions.c:_Py_SET_SIZE_impl Unexecuted instantiation: _datetimemodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _codecsmodule.c:_Py_SET_SIZE_impl _collectionsmodule.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 79.7M | { | 255 | 79.7M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 79.7M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 79.7M | ob->ob_size = size; | 261 | 79.7M | #endif | 262 | 79.7M | } |
Unexecuted instantiation: errnomodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _iomodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: iobase.c:_Py_SET_SIZE_impl Unexecuted instantiation: fileio.c:_Py_SET_SIZE_impl Unexecuted instantiation: bytesio.c:_Py_SET_SIZE_impl Unexecuted instantiation: bufferedio.c:_Py_SET_SIZE_impl Unexecuted instantiation: textio.c:_Py_SET_SIZE_impl Unexecuted instantiation: stringio.c:_Py_SET_SIZE_impl Unexecuted instantiation: itertoolsmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: sre.c:_Py_SET_SIZE_impl Unexecuted instantiation: _sysconfig.c:_Py_SET_SIZE_impl Unexecuted instantiation: _threadmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: timemodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _typesmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _typingmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _weakref.c:_Py_SET_SIZE_impl Unexecuted instantiation: _abc.c:_Py_SET_SIZE_impl Unexecuted instantiation: _functoolsmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _localemodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: _opcode.c:_Py_SET_SIZE_impl Unexecuted instantiation: _operator.c:_Py_SET_SIZE_impl Unexecuted instantiation: _stat.c:_Py_SET_SIZE_impl Unexecuted instantiation: symtablemodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: pwdmodule.c:_Py_SET_SIZE_impl Unexecuted instantiation: getpath.c:_Py_SET_SIZE_impl Unexecuted instantiation: frozen.c:_Py_SET_SIZE_impl Unexecuted instantiation: getbuildinfo.c:_Py_SET_SIZE_impl Unexecuted instantiation: peg_api.c:_Py_SET_SIZE_impl Unexecuted instantiation: file_tokenizer.c:_Py_SET_SIZE_impl Unexecuted instantiation: helpers.c:_Py_SET_SIZE_impl Unexecuted instantiation: myreadline.c:_Py_SET_SIZE_impl abstract.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 6.27M | { | 255 | 6.27M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 6.27M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 6.27M | ob->ob_size = size; | 261 | 6.27M | #endif | 262 | 6.27M | } |
Unexecuted instantiation: boolobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: bytes_methods.c:_Py_SET_SIZE_impl bytearrayobject.c:_Py_SET_SIZE_impl Line | Count | Source | 254 | 62.3M | { | 255 | 62.3M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type); | 256 | 62.3M | assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type); | 257 | | #ifdef Py_GIL_DISABLED | 258 | | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); | 259 | | #else | 260 | 62.3M | ob->ob_size = size; | 261 | 62.3M | #endif | 262 | 62.3M | } |
Unexecuted instantiation: capsule.c:_Py_SET_SIZE_impl Unexecuted instantiation: cellobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: classobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: codeobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: complexobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: descrobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: enumobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: genobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: fileobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: frameobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: funcobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: interpolationobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: iterobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: lazyimportobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: odictobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: methodobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: namespaceobject.c:_Py_SET_SIZE_impl Unexecuted instantiation: _contextvars.c:_Py_SET_SIZE_impl Unexecuted instantiation: Python-ast.c:_Py_SET_SIZE_impl Unexecuted instantiation: Python-tokenize.c:_Py_SET_SIZE_impl Unexecuted instantiation: asdl.c:_Py_SET_SIZE_impl Unexecuted instantiation: assemble.c:_Py_SET_SIZE_impl Unexecuted instantiation: ast.c:_Py_SET_SIZE_impl Unexecuted instantiation: ast_preprocess.c:_Py_SET_SIZE_impl Unexecuted instantiation: ast_unparse.c:_Py_SET_SIZE_impl Unexecuted instantiation: critical_section.c:_Py_SET_SIZE_impl Unexecuted instantiation: crossinterp.c:_Py_SET_SIZE_impl Unexecuted instantiation: getcopyright.c:_Py_SET_SIZE_impl Unexecuted instantiation: getplatform.c:_Py_SET_SIZE_impl Unexecuted instantiation: getversion.c:_Py_SET_SIZE_impl Unexecuted instantiation: optimizer.c:_Py_SET_SIZE_impl Unexecuted instantiation: pathconfig.c:_Py_SET_SIZE_impl Unexecuted instantiation: pegen.c:_Py_SET_SIZE_impl Unexecuted instantiation: pegen_errors.c:_Py_SET_SIZE_impl Unexecuted instantiation: parser.c:_Py_SET_SIZE_impl Unexecuted instantiation: buffer.c:_Py_SET_SIZE_impl Unexecuted instantiation: lexer.c:_Py_SET_SIZE_impl Unexecuted instantiation: state.c:_Py_SET_SIZE_impl Unexecuted instantiation: readline_tokenizer.c:_Py_SET_SIZE_impl Unexecuted instantiation: string_tokenizer.c:_Py_SET_SIZE_impl Unexecuted instantiation: utf8_tokenizer.c:_Py_SET_SIZE_impl Unexecuted instantiation: getcompiler.c:_Py_SET_SIZE_impl Unexecuted instantiation: mystrtoul.c:_Py_SET_SIZE_impl Unexecuted instantiation: token.c:_Py_SET_SIZE_impl Unexecuted instantiation: action_helpers.c:_Py_SET_SIZE_impl Unexecuted instantiation: string_parser.c:_Py_SET_SIZE_impl |
263 | | |
264 | | #endif // !defined(_Py_OPAQUE_PYOBJECT) |
265 | | |
266 | | |
267 | | /* |
268 | | Type objects contain a string containing the type name (to help somewhat |
269 | | in debugging), the allocation parameters (see PyObject_New() and |
270 | | PyObject_NewVar()), |
271 | | and methods for accessing objects of the type. Methods are optional, a |
272 | | nil pointer meaning that particular kind of access is not available for |
273 | | this type. The Py_DECREF() macro uses the tp_dealloc method without |
274 | | checking for a nil pointer; it should always be implemented except if |
275 | | the implementation can guarantee that the reference count will never |
276 | | reach zero (e.g., for statically allocated type objects). |
277 | | |
278 | | NB: the methods for certain type groups are now contained in separate |
279 | | method blocks. |
280 | | */ |
281 | | |
282 | | typedef PyObject * (*unaryfunc)(PyObject *); |
283 | | typedef PyObject * (*binaryfunc)(PyObject *, PyObject *); |
284 | | typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *); |
285 | | typedef int (*inquiry)(PyObject *); |
286 | | typedef Py_ssize_t (*lenfunc)(PyObject *); |
287 | | typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t); |
288 | | typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t); |
289 | | typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *); |
290 | | typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *); |
291 | | typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *); |
292 | | |
293 | | typedef int (*objobjproc)(PyObject *, PyObject *); |
294 | | typedef int (*visitproc)(PyObject *, void *); |
295 | | typedef int (*traverseproc)(PyObject *, visitproc, void *); |
296 | | |
297 | | |
298 | | typedef void (*freefunc)(void *); |
299 | | typedef void (*destructor)(PyObject *); |
300 | | typedef PyObject *(*getattrfunc)(PyObject *, char *); |
301 | | typedef PyObject *(*getattrofunc)(PyObject *, PyObject *); |
302 | | typedef int (*setattrfunc)(PyObject *, char *, PyObject *); |
303 | | typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *); |
304 | | typedef PyObject *(*reprfunc)(PyObject *); |
305 | | typedef Py_hash_t (*hashfunc)(PyObject *); |
306 | | typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int); |
307 | | typedef PyObject *(*getiterfunc) (PyObject *); |
308 | | typedef PyObject *(*iternextfunc) (PyObject *); |
309 | | typedef struct { |
310 | | PyObject *object; |
311 | | Py_ssize_t index; |
312 | | } _PyObjectIndexPair; |
313 | | typedef _PyObjectIndexPair (*_Py_iteritemfunc) (PyObject *, Py_ssize_t index); |
314 | | typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *); |
315 | | typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *); |
316 | | typedef int (*initproc)(PyObject *, PyObject *, PyObject *); |
317 | | typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); |
318 | | typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t); |
319 | | |
320 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 // 3.12 |
321 | | typedef PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args, |
322 | | size_t nargsf, PyObject *kwnames); |
323 | | #endif |
324 | | |
325 | | typedef struct{ |
326 | | int slot; /* slot id, see below */ |
327 | | void *pfunc; /* function pointer */ |
328 | | } PyType_Slot; |
329 | | |
330 | | typedef struct{ |
331 | | const char* name; |
332 | | int basicsize; |
333 | | int itemsize; |
334 | | unsigned int flags; |
335 | | PyType_Slot *slots; /* terminated by slot==0. */ |
336 | | } PyType_Spec; |
337 | | |
338 | | PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*); |
339 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000 |
340 | | PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*); |
341 | | #endif |
342 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03040000 |
343 | | PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int); |
344 | | #endif |
345 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000 |
346 | | PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *); |
347 | | PyAPI_FUNC(PyObject *) PyType_GetModule(PyTypeObject *); |
348 | | PyAPI_FUNC(void *) PyType_GetModuleState(PyTypeObject *); |
349 | | #endif |
350 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000 |
351 | | PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *); |
352 | | PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *); |
353 | | #endif |
354 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000 |
355 | | PyAPI_FUNC(PyObject *) PyType_GetFullyQualifiedName(PyTypeObject *type); |
356 | | PyAPI_FUNC(PyObject *) PyType_GetModuleName(PyTypeObject *type); |
357 | | #endif |
358 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000 |
359 | | PyAPI_FUNC(PyObject *) PyType_FromMetaclass(PyTypeObject*, PyObject*, PyType_Spec*, PyObject*); |
360 | | PyAPI_FUNC(void *) PyObject_GetTypeData(PyObject *obj, PyTypeObject *cls); |
361 | | PyAPI_FUNC(Py_ssize_t) PyType_GetTypeDataSize(PyTypeObject *cls); |
362 | | #endif |
363 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030E0000 |
364 | | PyAPI_FUNC(int) PyType_GetBaseByToken(PyTypeObject *, void *, PyTypeObject **); |
365 | 32 | #define Py_TP_USE_SPEC NULL |
366 | | #endif |
367 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15) |
368 | | PyAPI_FUNC(PyObject *) PyType_FromSlots(struct PySlot *slots); |
369 | | #endif |
370 | | |
371 | | /* Generic type check */ |
372 | | PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *); |
373 | | |
374 | 747M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { |
375 | 747M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); |
376 | 747M | } Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck Unexecuted instantiation: call.c:PyObject_TypeCheck exceptions.c:PyObject_TypeCheck Line | Count | Source | 374 | 1.10M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 1.10M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 1.10M | } |
genericaliasobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 152 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 152 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 152 | } |
floatobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 13.2M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 13.2M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 13.2M | } |
Unexecuted instantiation: listobject.c:PyObject_TypeCheck longobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 4.64M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 4.64M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 4.64M | } |
dictobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 25.0M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 25.0M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 25.0M | } |
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck moduleobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 31.6M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 31.6M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 31.6M | } |
Unexecuted instantiation: object.c:PyObject_TypeCheck Unexecuted instantiation: obmalloc.c:PyObject_TypeCheck Unexecuted instantiation: picklebufobject.c:PyObject_TypeCheck Unexecuted instantiation: rangeobject.c:PyObject_TypeCheck Unexecuted instantiation: sentinelobject.c:PyObject_TypeCheck Unexecuted instantiation: setobject.c:PyObject_TypeCheck Unexecuted instantiation: sliceobject.c:PyObject_TypeCheck Unexecuted instantiation: structseq.c:PyObject_TypeCheck Unexecuted instantiation: templateobject.c:PyObject_TypeCheck Unexecuted instantiation: tupleobject.c:PyObject_TypeCheck typeobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 138M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 138M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 138M | } |
Unexecuted instantiation: typevarobject.c:PyObject_TypeCheck Unexecuted instantiation: unicode_format.c:PyObject_TypeCheck Unexecuted instantiation: unicode_formatter.c:PyObject_TypeCheck Unexecuted instantiation: unicode_writer.c:PyObject_TypeCheck Unexecuted instantiation: unicodectype.c:PyObject_TypeCheck Unexecuted instantiation: unicodeobject.c:PyObject_TypeCheck unionobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 316 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 316 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 316 | } |
weakrefobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 907k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 907k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 907k | } |
_warnings.c:PyObject_TypeCheck Line | Count | Source | 374 | 2.14M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 2.14M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 2.14M | } |
bltinmodule.c:PyObject_TypeCheck Line | Count | Source | 374 | 7.80M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 7.80M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 7.80M | } |
ceval.c:PyObject_TypeCheck Line | Count | Source | 374 | 30 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 30 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 30 | } |
codecs.c:PyObject_TypeCheck Line | Count | Source | 374 | 551k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 551k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 551k | } |
Unexecuted instantiation: codegen.c:PyObject_TypeCheck Unexecuted instantiation: compile.c:PyObject_TypeCheck Unexecuted instantiation: context.c:PyObject_TypeCheck Unexecuted instantiation: errors.c:PyObject_TypeCheck Unexecuted instantiation: flowgraph.c:PyObject_TypeCheck Unexecuted instantiation: frame.c:PyObject_TypeCheck Unexecuted instantiation: future.c:PyObject_TypeCheck Line | Count | Source | 374 | 9.29M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 9.29M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 9.29M | } |
Unexecuted instantiation: gc_gil.c:PyObject_TypeCheck Unexecuted instantiation: getargs.c:PyObject_TypeCheck Unexecuted instantiation: ceval_gil.c:PyObject_TypeCheck Unexecuted instantiation: hamt.c:PyObject_TypeCheck Unexecuted instantiation: hashtable.c:PyObject_TypeCheck import.c:PyObject_TypeCheck Line | Count | Source | 374 | 7.27k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 7.27k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 7.27k | } |
importdl.c:PyObject_TypeCheck Line | Count | Source | 374 | 966 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 966 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 966 | } |
Unexecuted instantiation: initconfig.c:PyObject_TypeCheck Unexecuted instantiation: instrumentation.c:PyObject_TypeCheck Unexecuted instantiation: instruction_sequence.c:PyObject_TypeCheck Unexecuted instantiation: intrinsics.c:PyObject_TypeCheck Unexecuted instantiation: legacy_tracing.c:PyObject_TypeCheck Unexecuted instantiation: lock.c:PyObject_TypeCheck Unexecuted instantiation: marshal.c:PyObject_TypeCheck modsupport.c:PyObject_TypeCheck Line | Count | Source | 374 | 21.6k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 21.6k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 21.6k | } |
Unexecuted instantiation: mysnprintf.c:PyObject_TypeCheck Unexecuted instantiation: parking_lot.c:PyObject_TypeCheck Unexecuted instantiation: preconfig.c:PyObject_TypeCheck Unexecuted instantiation: pyarena.c:PyObject_TypeCheck Unexecuted instantiation: pyctype.c:PyObject_TypeCheck Unexecuted instantiation: pyhash.c:PyObject_TypeCheck Unexecuted instantiation: pylifecycle.c:PyObject_TypeCheck Unexecuted instantiation: pymath.c:PyObject_TypeCheck Unexecuted instantiation: pystate.c:PyObject_TypeCheck Unexecuted instantiation: pythonrun.c:PyObject_TypeCheck Unexecuted instantiation: pytime.c:PyObject_TypeCheck Unexecuted instantiation: qsbr.c:PyObject_TypeCheck Unexecuted instantiation: bootstrap_hash.c:PyObject_TypeCheck specialize.c:PyObject_TypeCheck Line | Count | Source | 374 | 14.0k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 14.0k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 14.0k | } |
Unexecuted instantiation: slots.c:PyObject_TypeCheck Unexecuted instantiation: slots_generated.c:PyObject_TypeCheck Unexecuted instantiation: structmember.c:PyObject_TypeCheck Unexecuted instantiation: symtable.c:PyObject_TypeCheck Unexecuted instantiation: sysmodule.c:PyObject_TypeCheck Unexecuted instantiation: thread.c:PyObject_TypeCheck Unexecuted instantiation: traceback.c:PyObject_TypeCheck Unexecuted instantiation: tracemalloc.c:PyObject_TypeCheck Unexecuted instantiation: getopt.c:PyObject_TypeCheck Unexecuted instantiation: pystrcmp.c:PyObject_TypeCheck Unexecuted instantiation: pystrtod.c:PyObject_TypeCheck Unexecuted instantiation: pystrhex.c:PyObject_TypeCheck Unexecuted instantiation: dtoa.c:PyObject_TypeCheck Unexecuted instantiation: fileutils.c:PyObject_TypeCheck Unexecuted instantiation: suggestions.c:PyObject_TypeCheck Unexecuted instantiation: perf_trampoline.c:PyObject_TypeCheck Unexecuted instantiation: perf_jit_trampoline.c:PyObject_TypeCheck Unexecuted instantiation: jit_unwind.c:PyObject_TypeCheck Unexecuted instantiation: remote_debugging.c:PyObject_TypeCheck Unexecuted instantiation: dynload_shlib.c:PyObject_TypeCheck Unexecuted instantiation: config.c:PyObject_TypeCheck Unexecuted instantiation: gcmodule.c:PyObject_TypeCheck Unexecuted instantiation: _asynciomodule.c:PyObject_TypeCheck Unexecuted instantiation: atexitmodule.c:PyObject_TypeCheck Unexecuted instantiation: faulthandler.c:PyObject_TypeCheck Unexecuted instantiation: posixmodule.c:PyObject_TypeCheck Unexecuted instantiation: signalmodule.c:PyObject_TypeCheck Unexecuted instantiation: _tracemalloc.c:PyObject_TypeCheck Unexecuted instantiation: _suggestions.c:PyObject_TypeCheck _datetimemodule.c:PyObject_TypeCheck Line | Count | Source | 374 | 24.5k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 24.5k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 24.5k | } |
Unexecuted instantiation: _codecsmodule.c:PyObject_TypeCheck Unexecuted instantiation: _collectionsmodule.c:PyObject_TypeCheck Unexecuted instantiation: errnomodule.c:PyObject_TypeCheck Unexecuted instantiation: _iomodule.c:PyObject_TypeCheck Unexecuted instantiation: iobase.c:PyObject_TypeCheck Unexecuted instantiation: fileio.c:PyObject_TypeCheck Unexecuted instantiation: bytesio.c:PyObject_TypeCheck Unexecuted instantiation: bufferedio.c:PyObject_TypeCheck Unexecuted instantiation: textio.c:PyObject_TypeCheck Unexecuted instantiation: stringio.c:PyObject_TypeCheck Unexecuted instantiation: itertoolsmodule.c:PyObject_TypeCheck Unexecuted instantiation: sre.c:PyObject_TypeCheck Unexecuted instantiation: _sysconfig.c:PyObject_TypeCheck Unexecuted instantiation: _threadmodule.c:PyObject_TypeCheck Unexecuted instantiation: timemodule.c:PyObject_TypeCheck Unexecuted instantiation: _typesmodule.c:PyObject_TypeCheck Unexecuted instantiation: _typingmodule.c:PyObject_TypeCheck _weakref.c:PyObject_TypeCheck Line | Count | Source | 374 | 15.9k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 15.9k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 15.9k | } |
Unexecuted instantiation: _abc.c:PyObject_TypeCheck _functoolsmodule.c:PyObject_TypeCheck Line | Count | Source | 374 | 241k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 241k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 241k | } |
Unexecuted instantiation: _localemodule.c:PyObject_TypeCheck Unexecuted instantiation: _opcode.c:PyObject_TypeCheck Unexecuted instantiation: _operator.c:PyObject_TypeCheck Unexecuted instantiation: _stat.c:PyObject_TypeCheck Unexecuted instantiation: symtablemodule.c:PyObject_TypeCheck Unexecuted instantiation: pwdmodule.c:PyObject_TypeCheck Unexecuted instantiation: getpath.c:PyObject_TypeCheck Unexecuted instantiation: frozen.c:PyObject_TypeCheck Unexecuted instantiation: getbuildinfo.c:PyObject_TypeCheck Unexecuted instantiation: peg_api.c:PyObject_TypeCheck Unexecuted instantiation: file_tokenizer.c:PyObject_TypeCheck Unexecuted instantiation: helpers.c:PyObject_TypeCheck Unexecuted instantiation: myreadline.c:PyObject_TypeCheck abstract.c:PyObject_TypeCheck Line | Count | Source | 374 | 58.1M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 58.1M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 58.1M | } |
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck bytearrayobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 119M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 119M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 119M | } |
Unexecuted instantiation: capsule.c:PyObject_TypeCheck Unexecuted instantiation: cellobject.c:PyObject_TypeCheck Unexecuted instantiation: classobject.c:PyObject_TypeCheck Unexecuted instantiation: codeobject.c:PyObject_TypeCheck complexobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 4 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 4 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 4 | } |
descrobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 335M | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 335M | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 335M | } |
Unexecuted instantiation: enumobject.c:PyObject_TypeCheck Unexecuted instantiation: genobject.c:PyObject_TypeCheck Unexecuted instantiation: fileobject.c:PyObject_TypeCheck Unexecuted instantiation: frameobject.c:PyObject_TypeCheck funcobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 37 | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 37 | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 37 | } |
Unexecuted instantiation: interpolationobject.c:PyObject_TypeCheck Unexecuted instantiation: iterobject.c:PyObject_TypeCheck Unexecuted instantiation: lazyimportobject.c:PyObject_TypeCheck Unexecuted instantiation: odictobject.c:PyObject_TypeCheck methodobject.c:PyObject_TypeCheck Line | Count | Source | 374 | 167k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 167k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 167k | } |
Unexecuted instantiation: namespaceobject.c:PyObject_TypeCheck Unexecuted instantiation: _contextvars.c:PyObject_TypeCheck Unexecuted instantiation: Python-ast.c:PyObject_TypeCheck Unexecuted instantiation: Python-tokenize.c:PyObject_TypeCheck Unexecuted instantiation: asdl.c:PyObject_TypeCheck Unexecuted instantiation: assemble.c:PyObject_TypeCheck Unexecuted instantiation: ast.c:PyObject_TypeCheck Unexecuted instantiation: ast_preprocess.c:PyObject_TypeCheck Unexecuted instantiation: ast_unparse.c:PyObject_TypeCheck Unexecuted instantiation: critical_section.c:PyObject_TypeCheck Unexecuted instantiation: crossinterp.c:PyObject_TypeCheck Unexecuted instantiation: getcopyright.c:PyObject_TypeCheck Unexecuted instantiation: getplatform.c:PyObject_TypeCheck Unexecuted instantiation: getversion.c:PyObject_TypeCheck Unexecuted instantiation: optimizer.c:PyObject_TypeCheck Unexecuted instantiation: pathconfig.c:PyObject_TypeCheck pegen.c:PyObject_TypeCheck Line | Count | Source | 374 | 92.5k | static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) { | 375 | 92.5k | return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); | 376 | 92.5k | } |
Unexecuted instantiation: pegen_errors.c:PyObject_TypeCheck Unexecuted instantiation: parser.c:PyObject_TypeCheck Unexecuted instantiation: buffer.c:PyObject_TypeCheck Unexecuted instantiation: lexer.c:PyObject_TypeCheck Unexecuted instantiation: state.c:PyObject_TypeCheck Unexecuted instantiation: readline_tokenizer.c:PyObject_TypeCheck Unexecuted instantiation: string_tokenizer.c:PyObject_TypeCheck Unexecuted instantiation: utf8_tokenizer.c:PyObject_TypeCheck Unexecuted instantiation: getcompiler.c:PyObject_TypeCheck Unexecuted instantiation: mystrtoul.c:PyObject_TypeCheck Unexecuted instantiation: token.c:PyObject_TypeCheck Unexecuted instantiation: action_helpers.c:PyObject_TypeCheck Unexecuted instantiation: string_parser.c:PyObject_TypeCheck |
377 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 |
378 | 761M | # define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type)) |
379 | | #endif |
380 | | |
381 | | PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */ |
382 | | PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */ |
383 | | PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */ |
384 | | |
385 | | PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*); |
386 | | |
387 | | PyAPI_FUNC(int) PyType_Ready(PyTypeObject *); |
388 | | PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t); |
389 | | PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *, |
390 | | PyObject *, PyObject *); |
391 | | PyAPI_FUNC(unsigned int) PyType_ClearCache(void); |
392 | | PyAPI_FUNC(void) PyType_Modified(PyTypeObject *); |
393 | | |
394 | | /* Generic operations on objects */ |
395 | | PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *); |
396 | | PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *); |
397 | | PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *); |
398 | | PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *); |
399 | | PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int); |
400 | | PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int); |
401 | | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); |
402 | | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); |
403 | | PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *v, const char *name); |
404 | | PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *); |
405 | | PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *); |
406 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000 |
407 | | PyAPI_FUNC(int) PyObject_GetOptionalAttr(PyObject *, PyObject *, PyObject **); |
408 | | PyAPI_FUNC(int) PyObject_GetOptionalAttrString(PyObject *, const char *, PyObject **); |
409 | | #endif |
410 | | PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *); |
411 | | PyAPI_FUNC(int) PyObject_DelAttr(PyObject *v, PyObject *name); |
412 | | PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *); |
413 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000 |
414 | | PyAPI_FUNC(int) PyObject_HasAttrWithError(PyObject *, PyObject *); |
415 | | PyAPI_FUNC(int) PyObject_HasAttrStringWithError(PyObject *, const char *); |
416 | | #endif |
417 | | PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *); |
418 | | PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *); |
419 | | PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *); |
420 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000 |
421 | | PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *); |
422 | | #endif |
423 | | PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *); |
424 | | PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *); |
425 | | PyAPI_FUNC(int) PyObject_IsTrue(PyObject *); |
426 | | PyAPI_FUNC(int) PyObject_Not(PyObject *); |
427 | | PyAPI_FUNC(int) PyCallable_Check(PyObject *); |
428 | | PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *); |
429 | | |
430 | | /* PyObject_Dir(obj) acts like Python builtins.dir(obj), returning a |
431 | | list of strings. PyObject_Dir(NULL) is like builtins.dir(), |
432 | | returning the names of the current locals. In this case, if there are |
433 | | no current locals, NULL is returned, and PyErr_Occurred() is false. |
434 | | */ |
435 | | PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *); |
436 | | |
437 | | /* Helpers for printing recursive container types */ |
438 | | PyAPI_FUNC(int) Py_ReprEnter(PyObject *); |
439 | | PyAPI_FUNC(void) Py_ReprLeave(PyObject *); |
440 | | |
441 | | /* Flag bits for printing: */ |
442 | 0 | #define Py_PRINT_RAW 1 /* No string quotes etc. */ |
443 | | |
444 | | /* |
445 | | Type flags (tp_flags) |
446 | | |
447 | | These flags are used to change expected features and behavior for a |
448 | | particular type. |
449 | | |
450 | | Arbitration of the flag bit positions will need to be coordinated among |
451 | | all extension writers who publicly release their extensions (this will |
452 | | be fewer than you might expect!). |
453 | | |
454 | | Most flags were removed as of Python 3.0 to make room for new flags. (Some |
455 | | flags are not for backwards compatibility but to indicate the presence of an |
456 | | optional feature; these flags remain of course.) |
457 | | |
458 | | Type definitions should use Py_TPFLAGS_DEFAULT for their tp_flags value. |
459 | | |
460 | | Code can use PyType_HasFeature(type_ob, flag_value) to test whether the |
461 | | given type object has a specified feature. |
462 | | */ |
463 | | |
464 | | #ifndef Py_LIMITED_API |
465 | | |
466 | | /* Track types initialized using _PyStaticType_InitBuiltin(). */ |
467 | 863M | #define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1) |
468 | | |
469 | | /* The values array is placed inline directly after the rest of |
470 | | * the object. Implies Py_TPFLAGS_HAVE_GC. |
471 | | */ |
472 | 1.34G | #define Py_TPFLAGS_INLINE_VALUES (1 << 2) |
473 | | |
474 | | /* Placement of weakref pointers are managed by the VM, not by the type. |
475 | | * The VM will automatically set tp_weaklistoffset. Implies Py_TPFLAGS_HAVE_GC. |
476 | | */ |
477 | 1.23G | #define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3) |
478 | | |
479 | | /* Placement of dict (and values) pointers are managed by the VM, not by the type. |
480 | | * The VM will automatically set tp_dictoffset. Implies Py_TPFLAGS_HAVE_GC. |
481 | | */ |
482 | 1.65G | #define Py_TPFLAGS_MANAGED_DICT (1 << 4) |
483 | | |
484 | | /* Type has dictionary or weakref pointers that are managed by VM and has |
485 | | * to allocate space to store these. |
486 | | */ |
487 | 1.23G | #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT) |
488 | | |
489 | | /* Set if instances of the type object are treated as sequences for pattern matching */ |
490 | 2.38M | #define Py_TPFLAGS_SEQUENCE (1 << 5) |
491 | | /* Set if instances of the type object are treated as mappings for pattern matching */ |
492 | 2.38M | #define Py_TPFLAGS_MAPPING (1 << 6) |
493 | | #endif |
494 | | |
495 | | /* Disallow creating instances of the type: set tp_new to NULL and don't create |
496 | | * the "__new__" key in the type dictionary. */ |
497 | 254k | #define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7) |
498 | | |
499 | | /* Set if the type object is immutable: type attributes cannot be set nor deleted */ |
500 | 2.36M | #define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8) |
501 | | |
502 | | /* Set if the type object is dynamically allocated */ |
503 | 770M | #define Py_TPFLAGS_HEAPTYPE (1UL << 9) |
504 | | |
505 | | /* Set if the type allows subclassing */ |
506 | 961k | #define Py_TPFLAGS_BASETYPE (1UL << 10) |
507 | | |
508 | | /* Set if the type implements the vectorcall protocol (PEP 590) */ |
509 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000 |
510 | 712M | #define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11) |
511 | | #ifndef Py_LIMITED_API |
512 | | // Backwards compatibility alias for API that was provisional in Python 3.8 |
513 | | #define _Py_TPFLAGS_HAVE_VECTORCALL Py_TPFLAGS_HAVE_VECTORCALL |
514 | | #endif |
515 | | #endif |
516 | | |
517 | | /* Set if the type is 'ready' -- fully initialized */ |
518 | 985k | #define Py_TPFLAGS_READY (1UL << 12) |
519 | | |
520 | | /* Set while the type is being 'readied', to prevent recursive ready calls */ |
521 | 488k | #define Py_TPFLAGS_READYING (1UL << 13) |
522 | | |
523 | | /* Objects support garbage collection (see objimpl.h) */ |
524 | 7.70G | #define Py_TPFLAGS_HAVE_GC (1UL << 14) |
525 | | |
526 | | /* These two bits are preserved for Stackless Python, next after this is 17 */ |
527 | | #ifdef STACKLESS |
528 | | #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3UL << 15) |
529 | | #else |
530 | 241k | #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0 |
531 | | #endif |
532 | | |
533 | | /* Objects behave like an unbound method */ |
534 | 203M | #define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17) |
535 | | |
536 | | /* Unused. Legacy flag */ |
537 | | #define Py_TPFLAGS_VALID_VERSION_TAG (1UL << 19) |
538 | | |
539 | | /* Type is abstract and cannot be instantiated */ |
540 | 39.2M | #define Py_TPFLAGS_IS_ABSTRACT (1UL << 20) |
541 | | |
542 | | // This undocumented flag gives certain built-ins their unique pattern-matching |
543 | | // behavior, which allows a single positional subpattern to match against the |
544 | | // subject itself (rather than a mapped attribute on it): |
545 | 481k | #define _Py_TPFLAGS_MATCH_SELF (1UL << 22) |
546 | | |
547 | | /* Items (ob_size*tp_itemsize) are found at the end of an instance's memory */ |
548 | 18.4M | #define Py_TPFLAGS_ITEMS_AT_END (1UL << 23) |
549 | | |
550 | | /* These flags are used to determine if a type is a subclass. */ |
551 | 321 | #define Py_TPFLAGS_LONG_SUBCLASS (1UL << 24) |
552 | 153 | #define Py_TPFLAGS_LIST_SUBCLASS (1UL << 25) |
553 | 1.07k | #define Py_TPFLAGS_TUPLE_SUBCLASS (1UL << 26) |
554 | 6 | #define Py_TPFLAGS_BYTES_SUBCLASS (1UL << 27) |
555 | 12.5M | #define Py_TPFLAGS_UNICODE_SUBCLASS (1UL << 28) |
556 | 225 | #define Py_TPFLAGS_DICT_SUBCLASS (1UL << 29) |
557 | 3.92k | #define Py_TPFLAGS_BASE_EXC_SUBCLASS (1UL << 30) |
558 | 155 | #define Py_TPFLAGS_TYPE_SUBCLASS (1UL << 31) |
559 | | |
560 | 241k | #define Py_TPFLAGS_DEFAULT ( \ |
561 | 241k | Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \ |
562 | 241k | 0) |
563 | | |
564 | | /* NOTE: Some of the following flags reuse lower bits (removed as part of the |
565 | | * Python 3.0 transition). */ |
566 | | |
567 | | /* The following flags are kept for compatibility; in previous |
568 | | * versions they indicated presence of newer tp_* fields on the |
569 | | * type struct. |
570 | | * Starting with 3.8, binary compatibility of C extensions across |
571 | | * feature releases of Python is not supported anymore (except when |
572 | | * using the stable ABI, in which all classes are created dynamically, |
573 | | * using the interpreter's memory layout.) |
574 | | * Note that older extensions using the stable ABI set these flags, |
575 | | * so the bits must not be repurposed. |
576 | | */ |
577 | | #define Py_TPFLAGS_HAVE_FINALIZE (1UL << 0) |
578 | | #define Py_TPFLAGS_HAVE_VERSION_TAG (1UL << 18) |
579 | | |
580 | | // Flag values for ob_flags (16 bits available, if SIZEOF_VOID_P > 4). |
581 | 250M | #define _Py_IMMORTAL_FLAGS (1 << 0) |
582 | | #define _Py_LEGACY_ABI_CHECK_FLAG (1 << 1) /* see PyModuleDef_Init() */ |
583 | 250M | #define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2) |
584 | | #if !defined(Py_LIMITED_API) |
585 | | # if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) |
586 | | # define _Py_TYPE_REVEALED_FLAG (1 << 3) |
587 | | # endif |
588 | | #endif |
589 | | |
590 | | #define Py_CONSTANT_NONE 0 |
591 | | #define Py_CONSTANT_FALSE 1 |
592 | | #define Py_CONSTANT_TRUE 2 |
593 | | #define Py_CONSTANT_ELLIPSIS 3 |
594 | | #define Py_CONSTANT_NOT_IMPLEMENTED 4 |
595 | 37 | #define Py_CONSTANT_ZERO 5 |
596 | 37 | #define Py_CONSTANT_ONE 6 |
597 | 7.75M | #define Py_CONSTANT_EMPTY_STR 7 |
598 | 24.0M | #define Py_CONSTANT_EMPTY_BYTES 8 |
599 | 37 | #define Py_CONSTANT_EMPTY_TUPLE 9 |
600 | | |
601 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000 |
602 | | PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id); |
603 | | PyAPI_FUNC(PyObject*) Py_GetConstantBorrowed(unsigned int constant_id); |
604 | | #endif |
605 | | |
606 | | |
607 | | /* |
608 | | _Py_NoneStruct is an object of undefined type which can be used in contexts |
609 | | where NULL (nil) is not suitable (since NULL often means 'error'). |
610 | | */ |
611 | | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ |
612 | | |
613 | | #if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000 |
614 | | # define Py_None Py_GetConstantBorrowed(Py_CONSTANT_NONE) |
615 | | #else |
616 | 1.52G | # define Py_None (&_Py_NoneStruct) |
617 | | #endif |
618 | | |
619 | | // Test if an object is the None singleton, the same as "x is None" in Python. |
620 | | PyAPI_FUNC(int) Py_IsNone(PyObject *x); |
621 | 305M | #define Py_IsNone(x) Py_Is((x), Py_None) |
622 | | |
623 | | /* Macro for returning Py_None from a function. |
624 | | * Only treat Py_None as immortal in the limited C API 3.12 and newer. */ |
625 | | #if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000 |
626 | | # define Py_RETURN_NONE return Py_NewRef(Py_None) |
627 | | #else |
628 | 222M | # define Py_RETURN_NONE return Py_None |
629 | | #endif |
630 | | |
631 | | /* |
632 | | Py_NotImplemented is a singleton used to signal that an operation is |
633 | | not implemented for a given type combination. |
634 | | */ |
635 | | PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */ |
636 | | |
637 | | #if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000 |
638 | | # define Py_NotImplemented Py_GetConstantBorrowed(Py_CONSTANT_NOT_IMPLEMENTED) |
639 | | #else |
640 | 569M | # define Py_NotImplemented (&_Py_NotImplementedStruct) |
641 | | #endif |
642 | | |
643 | | /* Macro for returning Py_NotImplemented from a function. Only treat |
644 | | * Py_NotImplemented as immortal in the limited C API 3.12 and newer. */ |
645 | | #if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000 |
646 | | # define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented) |
647 | | #else |
648 | 39.3M | # define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented |
649 | | #endif |
650 | | |
651 | | /* Rich comparison opcodes */ |
652 | 99.2M | #define Py_LT 0 |
653 | 3.84M | #define Py_LE 1 |
654 | 629M | #define Py_EQ 2 |
655 | 154M | #define Py_NE 3 |
656 | 15.2M | #define Py_GT 4 |
657 | 3.23M | #define Py_GE 5 |
658 | | |
659 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000 |
660 | | /* Result of calling PyIter_Send */ |
661 | | typedef enum { |
662 | | PYGEN_RETURN = 0, |
663 | | PYGEN_ERROR = -1, |
664 | | PYGEN_NEXT = 1 |
665 | | } PySendResult; |
666 | | #endif |
667 | | |
668 | | /* |
669 | | * Macro for implementing rich comparisons |
670 | | * |
671 | | * Needs to be a macro because any C-comparable type can be used. |
672 | | */ |
673 | | #define Py_RETURN_RICHCOMPARE(val1, val2, op) \ |
674 | 109M | do { \ |
675 | 109M | switch (op) { \ |
676 | 51.7M | case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
677 | 51.7M | case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
678 | 48.4M | case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
679 | 48.4M | case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
680 | 7.75M | case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
681 | 607k | case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \ |
682 | 2.74k | default: \ |
683 | 0 | Py_UNREACHABLE(); \ |
684 | 109M | } \ |
685 | 109M | } while (0) |
686 | | |
687 | | |
688 | | /* |
689 | | More conventions |
690 | | ================ |
691 | | |
692 | | Argument Checking |
693 | | ----------------- |
694 | | |
695 | | Functions that take objects as arguments normally don't check for nil |
696 | | arguments, but they do check the type of the argument, and return an |
697 | | error if the function doesn't apply to the type. |
698 | | |
699 | | Failure Modes |
700 | | ------------- |
701 | | |
702 | | Functions may fail for a variety of reasons, including running out of |
703 | | memory. This is communicated to the caller in two ways: an error string |
704 | | is set (see errors.h), and the function result differs: functions that |
705 | | normally return a pointer return NULL for failure, functions returning |
706 | | an integer return -1 (which could be a legal return value too!), and |
707 | | other functions return 0 for success and -1 for failure. |
708 | | Callers should always check for errors before using the result. If |
709 | | an error was set, the caller must either explicitly clear it, or pass |
710 | | the error on to its caller. |
711 | | |
712 | | Reference Counts |
713 | | ---------------- |
714 | | |
715 | | It takes a while to get used to the proper usage of reference counts. |
716 | | |
717 | | Functions that create an object set the reference count to 1; such new |
718 | | objects must be stored somewhere or destroyed again with Py_DECREF(). |
719 | | Some functions that 'store' objects, such as PyTuple_SetItem() and |
720 | | PyList_SetItem(), |
721 | | don't increment the reference count of the object, since the most |
722 | | frequent use is to store a fresh object. Functions that 'retrieve' |
723 | | objects, such as PyTuple_GetItem() and PyDict_GetItemString(), also |
724 | | don't increment |
725 | | the reference count, since most frequently the object is only looked at |
726 | | quickly. Thus, to retrieve an object and store it again, the caller |
727 | | must call Py_INCREF() explicitly. |
728 | | |
729 | | NOTE: functions that 'consume' a reference count, like |
730 | | PyList_SetItem(), consume the reference even if the object wasn't |
731 | | successfully stored, to simplify error handling. |
732 | | |
733 | | It seems attractive to make other functions that take an object as |
734 | | argument consume a reference count; however, this may quickly get |
735 | | confusing (even the current practice is already confusing). Consider |
736 | | it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at |
737 | | times. |
738 | | */ |
739 | | |
740 | | #ifndef Py_LIMITED_API |
741 | | # define Py_CPYTHON_OBJECT_H |
742 | | # include "cpython/object.h" |
743 | | # undef Py_CPYTHON_OBJECT_H |
744 | | #endif |
745 | | |
746 | | |
747 | | static inline int |
748 | | PyType_HasFeature(PyTypeObject *type, unsigned long feature) |
749 | 8.14G | { |
750 | 8.14G | unsigned long flags; |
751 | | #ifdef Py_LIMITED_API |
752 | | // PyTypeObject is opaque in the limited C API |
753 | | flags = PyType_GetFlags(type); |
754 | | #else |
755 | | flags = type->tp_flags; |
756 | | #endif |
757 | 8.14G | return ((flags & feature) != 0); |
758 | 8.14G | } bytesobject.c:PyType_HasFeature Line | Count | Source | 749 | 247M | { | 750 | 247M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 247M | flags = type->tp_flags; | 756 | 247M | #endif | 757 | 247M | return ((flags & feature) != 0); | 758 | 247M | } |
Line | Count | Source | 749 | 511M | { | 750 | 511M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 511M | flags = type->tp_flags; | 756 | 511M | #endif | 757 | 511M | return ((flags & feature) != 0); | 758 | 511M | } |
exceptions.c:PyType_HasFeature Line | Count | Source | 749 | 3.26M | { | 750 | 3.26M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.26M | flags = type->tp_flags; | 756 | 3.26M | #endif | 757 | 3.26M | return ((flags & feature) != 0); | 758 | 3.26M | } |
genericaliasobject.c:PyType_HasFeature Line | Count | Source | 749 | 3.20k | { | 750 | 3.20k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.20k | flags = type->tp_flags; | 756 | 3.20k | #endif | 757 | 3.20k | return ((flags & feature) != 0); | 758 | 3.20k | } |
floatobject.c:PyType_HasFeature Line | Count | Source | 749 | 9.03M | { | 750 | 9.03M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 9.03M | flags = type->tp_flags; | 756 | 9.03M | #endif | 757 | 9.03M | return ((flags & feature) != 0); | 758 | 9.03M | } |
listobject.c:PyType_HasFeature Line | Count | Source | 749 | 304M | { | 750 | 304M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 304M | flags = type->tp_flags; | 756 | 304M | #endif | 757 | 304M | return ((flags & feature) != 0); | 758 | 304M | } |
longobject.c:PyType_HasFeature Line | Count | Source | 749 | 1.21G | { | 750 | 1.21G | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.21G | flags = type->tp_flags; | 756 | 1.21G | #endif | 757 | 1.21G | return ((flags & feature) != 0); | 758 | 1.21G | } |
dictobject.c:PyType_HasFeature Line | Count | Source | 749 | 739M | { | 750 | 739M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 739M | flags = type->tp_flags; | 756 | 739M | #endif | 757 | 739M | return ((flags & feature) != 0); | 758 | 739M | } |
memoryobject.c:PyType_HasFeature Line | Count | Source | 749 | 119k | { | 750 | 119k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 119k | flags = type->tp_flags; | 756 | 119k | #endif | 757 | 119k | return ((flags & feature) != 0); | 758 | 119k | } |
moduleobject.c:PyType_HasFeature Line | Count | Source | 749 | 11.2k | { | 750 | 11.2k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 11.2k | flags = type->tp_flags; | 756 | 11.2k | #endif | 757 | 11.2k | return ((flags & feature) != 0); | 758 | 11.2k | } |
object.c:PyType_HasFeature Line | Count | Source | 749 | 1.00G | { | 750 | 1.00G | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.00G | flags = type->tp_flags; | 756 | 1.00G | #endif | 757 | 1.00G | return ((flags & feature) != 0); | 758 | 1.00G | } |
Unexecuted instantiation: obmalloc.c:PyType_HasFeature Unexecuted instantiation: picklebufobject.c:PyType_HasFeature Unexecuted instantiation: rangeobject.c:PyType_HasFeature sentinelobject.c:PyType_HasFeature Line | Count | Source | 749 | 47 | { | 750 | 47 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 47 | flags = type->tp_flags; | 756 | 47 | #endif | 757 | 47 | return ((flags & feature) != 0); | 758 | 47 | } |
Unexecuted instantiation: setobject.c:PyType_HasFeature Unexecuted instantiation: sliceobject.c:PyType_HasFeature structseq.c:PyType_HasFeature Line | Count | Source | 749 | 124k | { | 750 | 124k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 124k | flags = type->tp_flags; | 756 | 124k | #endif | 757 | 124k | return ((flags & feature) != 0); | 758 | 124k | } |
Unexecuted instantiation: templateobject.c:PyType_HasFeature tupleobject.c:PyType_HasFeature Line | Count | Source | 749 | 93.1M | { | 750 | 93.1M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 93.1M | flags = type->tp_flags; | 756 | 93.1M | #endif | 757 | 93.1M | return ((flags & feature) != 0); | 758 | 93.1M | } |
typeobject.c:PyType_HasFeature Line | Count | Source | 749 | 378M | { | 750 | 378M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 378M | flags = type->tp_flags; | 756 | 378M | #endif | 757 | 378M | return ((flags & feature) != 0); | 758 | 378M | } |
typevarobject.c:PyType_HasFeature Line | Count | Source | 749 | 188 | { | 750 | 188 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 188 | flags = type->tp_flags; | 756 | 188 | #endif | 757 | 188 | return ((flags & feature) != 0); | 758 | 188 | } |
unicode_format.c:PyType_HasFeature Line | Count | Source | 749 | 53.0M | { | 750 | 53.0M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 53.0M | flags = type->tp_flags; | 756 | 53.0M | #endif | 757 | 53.0M | return ((flags & feature) != 0); | 758 | 53.0M | } |
Unexecuted instantiation: unicode_formatter.c:PyType_HasFeature unicode_writer.c:PyType_HasFeature Line | Count | Source | 749 | 660k | { | 750 | 660k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 660k | flags = type->tp_flags; | 756 | 660k | #endif | 757 | 660k | return ((flags & feature) != 0); | 758 | 660k | } |
Unexecuted instantiation: unicodectype.c:PyType_HasFeature unicodeobject.c:PyType_HasFeature Line | Count | Source | 749 | 1.47G | { | 750 | 1.47G | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.47G | flags = type->tp_flags; | 756 | 1.47G | #endif | 757 | 1.47G | return ((flags & feature) != 0); | 758 | 1.47G | } |
unionobject.c:PyType_HasFeature Line | Count | Source | 749 | 3.25k | { | 750 | 3.25k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.25k | flags = type->tp_flags; | 756 | 3.25k | #endif | 757 | 3.25k | return ((flags & feature) != 0); | 758 | 3.25k | } |
weakrefobject.c:PyType_HasFeature Line | Count | Source | 749 | 50.1M | { | 750 | 50.1M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 50.1M | flags = type->tp_flags; | 756 | 50.1M | #endif | 757 | 50.1M | return ((flags & feature) != 0); | 758 | 50.1M | } |
_warnings.c:PyType_HasFeature Line | Count | Source | 749 | 27.1M | { | 750 | 27.1M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 27.1M | flags = type->tp_flags; | 756 | 27.1M | #endif | 757 | 27.1M | return ((flags & feature) != 0); | 758 | 27.1M | } |
bltinmodule.c:PyType_HasFeature Line | Count | Source | 749 | 330M | { | 750 | 330M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 330M | flags = type->tp_flags; | 756 | 330M | #endif | 757 | 330M | return ((flags & feature) != 0); | 758 | 330M | } |
ceval.c:PyType_HasFeature Line | Count | Source | 749 | 383M | { | 750 | 383M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 383M | flags = type->tp_flags; | 756 | 383M | #endif | 757 | 383M | return ((flags & feature) != 0); | 758 | 383M | } |
codecs.c:PyType_HasFeature Line | Count | Source | 749 | 4.92M | { | 750 | 4.92M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 4.92M | flags = type->tp_flags; | 756 | 4.92M | #endif | 757 | 4.92M | return ((flags & feature) != 0); | 758 | 4.92M | } |
codegen.c:PyType_HasFeature Line | Count | Source | 749 | 357 | { | 750 | 357 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 357 | flags = type->tp_flags; | 756 | 357 | #endif | 757 | 357 | return ((flags & feature) != 0); | 758 | 357 | } |
Unexecuted instantiation: compile.c:PyType_HasFeature context.c:PyType_HasFeature Line | Count | Source | 749 | 62 | { | 750 | 62 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 62 | flags = type->tp_flags; | 756 | 62 | #endif | 757 | 62 | return ((flags & feature) != 0); | 758 | 62 | } |
errors.c:PyType_HasFeature Line | Count | Source | 749 | 516M | { | 750 | 516M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 516M | flags = type->tp_flags; | 756 | 516M | #endif | 757 | 516M | return ((flags & feature) != 0); | 758 | 516M | } |
flowgraph.c:PyType_HasFeature Line | Count | Source | 749 | 86 | { | 750 | 86 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 86 | flags = type->tp_flags; | 756 | 86 | #endif | 757 | 86 | return ((flags & feature) != 0); | 758 | 86 | } |
Unexecuted instantiation: frame.c:PyType_HasFeature Unexecuted instantiation: future.c:PyType_HasFeature Unexecuted instantiation: gc.c:PyType_HasFeature Unexecuted instantiation: gc_gil.c:PyType_HasFeature getargs.c:PyType_HasFeature Line | Count | Source | 749 | 21.3M | { | 750 | 21.3M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 21.3M | flags = type->tp_flags; | 756 | 21.3M | #endif | 757 | 21.3M | return ((flags & feature) != 0); | 758 | 21.3M | } |
Unexecuted instantiation: ceval_gil.c:PyType_HasFeature Unexecuted instantiation: hamt.c:PyType_HasFeature Unexecuted instantiation: hashtable.c:PyType_HasFeature import.c:PyType_HasFeature Line | Count | Source | 749 | 4.29M | { | 750 | 4.29M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 4.29M | flags = type->tp_flags; | 756 | 4.29M | #endif | 757 | 4.29M | return ((flags & feature) != 0); | 758 | 4.29M | } |
importdl.c:PyType_HasFeature Line | Count | Source | 749 | 418 | { | 750 | 418 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 418 | flags = type->tp_flags; | 756 | 418 | #endif | 757 | 418 | return ((flags & feature) != 0); | 758 | 418 | } |
initconfig.c:PyType_HasFeature Line | Count | Source | 749 | 740 | { | 750 | 740 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 740 | flags = type->tp_flags; | 756 | 740 | #endif | 757 | 740 | return ((flags & feature) != 0); | 758 | 740 | } |
Unexecuted instantiation: instrumentation.c:PyType_HasFeature Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature intrinsics.c:PyType_HasFeature Line | Count | Source | 749 | 37.1k | { | 750 | 37.1k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 37.1k | flags = type->tp_flags; | 756 | 37.1k | #endif | 757 | 37.1k | return ((flags & feature) != 0); | 758 | 37.1k | } |
Unexecuted instantiation: legacy_tracing.c:PyType_HasFeature Unexecuted instantiation: lock.c:PyType_HasFeature Unexecuted instantiation: marshal.c:PyType_HasFeature Unexecuted instantiation: modsupport.c:PyType_HasFeature Unexecuted instantiation: mysnprintf.c:PyType_HasFeature Unexecuted instantiation: parking_lot.c:PyType_HasFeature Unexecuted instantiation: preconfig.c:PyType_HasFeature Unexecuted instantiation: pyarena.c:PyType_HasFeature Unexecuted instantiation: pyctype.c:PyType_HasFeature Unexecuted instantiation: pyhash.c:PyType_HasFeature pylifecycle.c:PyType_HasFeature Line | Count | Source | 749 | 37 | { | 750 | 37 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 37 | flags = type->tp_flags; | 756 | 37 | #endif | 757 | 37 | return ((flags & feature) != 0); | 758 | 37 | } |
Unexecuted instantiation: pymath.c:PyType_HasFeature Unexecuted instantiation: pystate.c:PyType_HasFeature pythonrun.c:PyType_HasFeature Line | Count | Source | 749 | 122k | { | 750 | 122k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 122k | flags = type->tp_flags; | 756 | 122k | #endif | 757 | 122k | return ((flags & feature) != 0); | 758 | 122k | } |
Unexecuted instantiation: pytime.c:PyType_HasFeature Unexecuted instantiation: qsbr.c:PyType_HasFeature Unexecuted instantiation: bootstrap_hash.c:PyType_HasFeature specialize.c:PyType_HasFeature Line | Count | Source | 749 | 4.31M | { | 750 | 4.31M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 4.31M | flags = type->tp_flags; | 756 | 4.31M | #endif | 757 | 4.31M | return ((flags & feature) != 0); | 758 | 4.31M | } |
Unexecuted instantiation: slots.c:PyType_HasFeature Unexecuted instantiation: slots_generated.c:PyType_HasFeature Unexecuted instantiation: structmember.c:PyType_HasFeature symtable.c:PyType_HasFeature Line | Count | Source | 749 | 79.7k | { | 750 | 79.7k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 79.7k | flags = type->tp_flags; | 756 | 79.7k | #endif | 757 | 79.7k | return ((flags & feature) != 0); | 758 | 79.7k | } |
sysmodule.c:PyType_HasFeature Line | Count | Source | 749 | 1.15M | { | 750 | 1.15M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.15M | flags = type->tp_flags; | 756 | 1.15M | #endif | 757 | 1.15M | return ((flags & feature) != 0); | 758 | 1.15M | } |
Unexecuted instantiation: thread.c:PyType_HasFeature Unexecuted instantiation: traceback.c:PyType_HasFeature Unexecuted instantiation: tracemalloc.c:PyType_HasFeature Unexecuted instantiation: getopt.c:PyType_HasFeature Unexecuted instantiation: pystrcmp.c:PyType_HasFeature Unexecuted instantiation: pystrtod.c:PyType_HasFeature Unexecuted instantiation: pystrhex.c:PyType_HasFeature Unexecuted instantiation: dtoa.c:PyType_HasFeature Unexecuted instantiation: fileutils.c:PyType_HasFeature Unexecuted instantiation: suggestions.c:PyType_HasFeature Unexecuted instantiation: perf_trampoline.c:PyType_HasFeature Unexecuted instantiation: perf_jit_trampoline.c:PyType_HasFeature Unexecuted instantiation: jit_unwind.c:PyType_HasFeature Unexecuted instantiation: remote_debugging.c:PyType_HasFeature Unexecuted instantiation: dynload_shlib.c:PyType_HasFeature Unexecuted instantiation: config.c:PyType_HasFeature Unexecuted instantiation: gcmodule.c:PyType_HasFeature Unexecuted instantiation: _asynciomodule.c:PyType_HasFeature Unexecuted instantiation: atexitmodule.c:PyType_HasFeature Unexecuted instantiation: faulthandler.c:PyType_HasFeature posixmodule.c:PyType_HasFeature Line | Count | Source | 749 | 3.57M | { | 750 | 3.57M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.57M | flags = type->tp_flags; | 756 | 3.57M | #endif | 757 | 3.57M | return ((flags & feature) != 0); | 758 | 3.57M | } |
Unexecuted instantiation: signalmodule.c:PyType_HasFeature Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature Unexecuted instantiation: _suggestions.c:PyType_HasFeature _datetimemodule.c:PyType_HasFeature Line | Count | Source | 749 | 37.1k | { | 750 | 37.1k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 37.1k | flags = type->tp_flags; | 756 | 37.1k | #endif | 757 | 37.1k | return ((flags & feature) != 0); | 758 | 37.1k | } |
_codecsmodule.c:PyType_HasFeature Line | Count | Source | 749 | 1.75M | { | 750 | 1.75M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.75M | flags = type->tp_flags; | 756 | 1.75M | #endif | 757 | 1.75M | return ((flags & feature) != 0); | 758 | 1.75M | } |
_collectionsmodule.c:PyType_HasFeature Line | Count | Source | 749 | 34.9k | { | 750 | 34.9k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 34.9k | flags = type->tp_flags; | 756 | 34.9k | #endif | 757 | 34.9k | return ((flags & feature) != 0); | 758 | 34.9k | } |
Unexecuted instantiation: errnomodule.c:PyType_HasFeature _iomodule.c:PyType_HasFeature Line | Count | Source | 749 | 65.7k | { | 750 | 65.7k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 65.7k | flags = type->tp_flags; | 756 | 65.7k | #endif | 757 | 65.7k | return ((flags & feature) != 0); | 758 | 65.7k | } |
Unexecuted instantiation: iobase.c:PyType_HasFeature fileio.c:PyType_HasFeature Line | Count | Source | 749 | 29.7k | { | 750 | 29.7k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 29.7k | flags = type->tp_flags; | 756 | 29.7k | #endif | 757 | 29.7k | return ((flags & feature) != 0); | 758 | 29.7k | } |
Unexecuted instantiation: bytesio.c:PyType_HasFeature bufferedio.c:PyType_HasFeature Line | Count | Source | 749 | 12.9k | { | 750 | 12.9k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 12.9k | flags = type->tp_flags; | 756 | 12.9k | #endif | 757 | 12.9k | return ((flags & feature) != 0); | 758 | 12.9k | } |
textio.c:PyType_HasFeature Line | Count | Source | 749 | 838k | { | 750 | 838k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 838k | flags = type->tp_flags; | 756 | 838k | #endif | 757 | 838k | return ((flags & feature) != 0); | 758 | 838k | } |
stringio.c:PyType_HasFeature Line | Count | Source | 749 | 95.8k | { | 750 | 95.8k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 95.8k | flags = type->tp_flags; | 756 | 95.8k | #endif | 757 | 95.8k | return ((flags & feature) != 0); | 758 | 95.8k | } |
itertoolsmodule.c:PyType_HasFeature Line | Count | Source | 749 | 12 | { | 750 | 12 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 12 | flags = type->tp_flags; | 756 | 12 | #endif | 757 | 12 | return ((flags & feature) != 0); | 758 | 12 | } |
Line | Count | Source | 749 | 145M | { | 750 | 145M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 145M | flags = type->tp_flags; | 756 | 145M | #endif | 757 | 145M | return ((flags & feature) != 0); | 758 | 145M | } |
Unexecuted instantiation: _sysconfig.c:PyType_HasFeature _threadmodule.c:PyType_HasFeature Line | Count | Source | 749 | 8 | { | 750 | 8 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 8 | flags = type->tp_flags; | 756 | 8 | #endif | 757 | 8 | return ((flags & feature) != 0); | 758 | 8 | } |
timemodule.c:PyType_HasFeature Line | Count | Source | 749 | 192 | { | 750 | 192 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 192 | flags = type->tp_flags; | 756 | 192 | #endif | 757 | 192 | return ((flags & feature) != 0); | 758 | 192 | } |
Unexecuted instantiation: _typesmodule.c:PyType_HasFeature Unexecuted instantiation: _typingmodule.c:PyType_HasFeature _weakref.c:PyType_HasFeature Line | Count | Source | 749 | 15.9k | { | 750 | 15.9k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 15.9k | flags = type->tp_flags; | 756 | 15.9k | #endif | 757 | 15.9k | return ((flags & feature) != 0); | 758 | 15.9k | } |
Line | Count | Source | 749 | 114k | { | 750 | 114k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 114k | flags = type->tp_flags; | 756 | 114k | #endif | 757 | 114k | return ((flags & feature) != 0); | 758 | 114k | } |
_functoolsmodule.c:PyType_HasFeature Line | Count | Source | 749 | 41.5k | { | 750 | 41.5k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 41.5k | flags = type->tp_flags; | 756 | 41.5k | #endif | 757 | 41.5k | return ((flags & feature) != 0); | 758 | 41.5k | } |
Unexecuted instantiation: _localemodule.c:PyType_HasFeature Unexecuted instantiation: _opcode.c:PyType_HasFeature _operator.c:PyType_HasFeature Line | Count | Source | 749 | 4 | { | 750 | 4 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 4 | flags = type->tp_flags; | 756 | 4 | #endif | 757 | 4 | return ((flags & feature) != 0); | 758 | 4 | } |
_stat.c:PyType_HasFeature Line | Count | Source | 749 | 2.08k | { | 750 | 2.08k | unsigned long flags; | 751 | 2.08k | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | 2.08k | flags = PyType_GetFlags(type); | 754 | | #else | 755 | | flags = type->tp_flags; | 756 | | #endif | 757 | 2.08k | return ((flags & feature) != 0); | 758 | 2.08k | } |
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature Unexecuted instantiation: pwdmodule.c:PyType_HasFeature getpath.c:PyType_HasFeature Line | Count | Source | 749 | 999 | { | 750 | 999 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 999 | flags = type->tp_flags; | 756 | 999 | #endif | 757 | 999 | return ((flags & feature) != 0); | 758 | 999 | } |
Unexecuted instantiation: frozen.c:PyType_HasFeature Unexecuted instantiation: getbuildinfo.c:PyType_HasFeature Unexecuted instantiation: peg_api.c:PyType_HasFeature Unexecuted instantiation: file_tokenizer.c:PyType_HasFeature Unexecuted instantiation: helpers.c:PyType_HasFeature Unexecuted instantiation: myreadline.c:PyType_HasFeature abstract.c:PyType_HasFeature Line | Count | Source | 749 | 520M | { | 750 | 520M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 520M | flags = type->tp_flags; | 756 | 520M | #endif | 757 | 520M | return ((flags & feature) != 0); | 758 | 520M | } |
Unexecuted instantiation: boolobject.c:PyType_HasFeature bytes_methods.c:PyType_HasFeature Line | Count | Source | 749 | 3.87M | { | 750 | 3.87M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.87M | flags = type->tp_flags; | 756 | 3.87M | #endif | 757 | 3.87M | return ((flags & feature) != 0); | 758 | 3.87M | } |
bytearrayobject.c:PyType_HasFeature Line | Count | Source | 749 | 17.3M | { | 750 | 17.3M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 17.3M | flags = type->tp_flags; | 756 | 17.3M | #endif | 757 | 17.3M | return ((flags & feature) != 0); | 758 | 17.3M | } |
Unexecuted instantiation: capsule.c:PyType_HasFeature Unexecuted instantiation: cellobject.c:PyType_HasFeature Unexecuted instantiation: classobject.c:PyType_HasFeature codeobject.c:PyType_HasFeature Line | Count | Source | 749 | 1.90M | { | 750 | 1.90M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 1.90M | flags = type->tp_flags; | 756 | 1.90M | #endif | 757 | 1.90M | return ((flags & feature) != 0); | 758 | 1.90M | } |
Unexecuted instantiation: complexobject.c:PyType_HasFeature descrobject.c:PyType_HasFeature Line | Count | Source | 749 | 26.6M | { | 750 | 26.6M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 26.6M | flags = type->tp_flags; | 756 | 26.6M | #endif | 757 | 26.6M | return ((flags & feature) != 0); | 758 | 26.6M | } |
enumobject.c:PyType_HasFeature Line | Count | Source | 749 | 40.3M | { | 750 | 40.3M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 40.3M | flags = type->tp_flags; | 756 | 40.3M | #endif | 757 | 40.3M | return ((flags & feature) != 0); | 758 | 40.3M | } |
genobject.c:PyType_HasFeature Line | Count | Source | 749 | 88.4k | { | 750 | 88.4k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 88.4k | flags = type->tp_flags; | 756 | 88.4k | #endif | 757 | 88.4k | return ((flags & feature) != 0); | 758 | 88.4k | } |
fileobject.c:PyType_HasFeature Line | Count | Source | 749 | 6.46k | { | 750 | 6.46k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 6.46k | flags = type->tp_flags; | 756 | 6.46k | #endif | 757 | 6.46k | return ((flags & feature) != 0); | 758 | 6.46k | } |
Unexecuted instantiation: frameobject.c:PyType_HasFeature funcobject.c:PyType_HasFeature Line | Count | Source | 749 | 106k | { | 750 | 106k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 106k | flags = type->tp_flags; | 756 | 106k | #endif | 757 | 106k | return ((flags & feature) != 0); | 758 | 106k | } |
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature iterobject.c:PyType_HasFeature Line | Count | Source | 749 | 3.21M | { | 750 | 3.21M | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 3.21M | flags = type->tp_flags; | 756 | 3.21M | #endif | 757 | 3.21M | return ((flags & feature) != 0); | 758 | 3.21M | } |
lazyimportobject.c:PyType_HasFeature Line | Count | Source | 749 | 739 | { | 750 | 739 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 739 | flags = type->tp_flags; | 756 | 739 | #endif | 757 | 739 | return ((flags & feature) != 0); | 758 | 739 | } |
Unexecuted instantiation: odictobject.c:PyType_HasFeature methodobject.c:PyType_HasFeature Line | Count | Source | 749 | 222 | { | 750 | 222 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 222 | flags = type->tp_flags; | 756 | 222 | #endif | 757 | 222 | return ((flags & feature) != 0); | 758 | 222 | } |
Unexecuted instantiation: namespaceobject.c:PyType_HasFeature Unexecuted instantiation: _contextvars.c:PyType_HasFeature Unexecuted instantiation: Python-ast.c:PyType_HasFeature Python-tokenize.c:PyType_HasFeature Line | Count | Source | 749 | 4 | { | 750 | 4 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 4 | flags = type->tp_flags; | 756 | 4 | #endif | 757 | 4 | return ((flags & feature) != 0); | 758 | 4 | } |
Unexecuted instantiation: asdl.c:PyType_HasFeature Unexecuted instantiation: assemble.c:PyType_HasFeature Unexecuted instantiation: ast.c:PyType_HasFeature ast_preprocess.c:PyType_HasFeature Line | Count | Source | 749 | 105 | { | 750 | 105 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 105 | flags = type->tp_flags; | 756 | 105 | #endif | 757 | 105 | return ((flags & feature) != 0); | 758 | 105 | } |
Unexecuted instantiation: ast_unparse.c:PyType_HasFeature Unexecuted instantiation: critical_section.c:PyType_HasFeature Unexecuted instantiation: crossinterp.c:PyType_HasFeature Unexecuted instantiation: getcopyright.c:PyType_HasFeature Unexecuted instantiation: getplatform.c:PyType_HasFeature Unexecuted instantiation: getversion.c:PyType_HasFeature Unexecuted instantiation: optimizer.c:PyType_HasFeature Unexecuted instantiation: pathconfig.c:PyType_HasFeature pegen.c:PyType_HasFeature Line | Count | Source | 749 | 62.5k | { | 750 | 62.5k | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 62.5k | flags = type->tp_flags; | 756 | 62.5k | #endif | 757 | 62.5k | return ((flags & feature) != 0); | 758 | 62.5k | } |
Unexecuted instantiation: pegen_errors.c:PyType_HasFeature Unexecuted instantiation: parser.c:PyType_HasFeature Unexecuted instantiation: buffer.c:PyType_HasFeature Unexecuted instantiation: lexer.c:PyType_HasFeature Unexecuted instantiation: state.c:PyType_HasFeature readline_tokenizer.c:PyType_HasFeature Line | Count | Source | 749 | 344 | { | 750 | 344 | unsigned long flags; | 751 | | #ifdef Py_LIMITED_API | 752 | | // PyTypeObject is opaque in the limited C API | 753 | | flags = PyType_GetFlags(type); | 754 | | #else | 755 | 344 | flags = type->tp_flags; | 756 | 344 | #endif | 757 | 344 | return ((flags & feature) != 0); | 758 | 344 | } |
Unexecuted instantiation: string_tokenizer.c:PyType_HasFeature Unexecuted instantiation: utf8_tokenizer.c:PyType_HasFeature Unexecuted instantiation: getcompiler.c:PyType_HasFeature Unexecuted instantiation: mystrtoul.c:PyType_HasFeature Unexecuted instantiation: token.c:PyType_HasFeature Unexecuted instantiation: action_helpers.c:PyType_HasFeature Unexecuted instantiation: string_parser.c:PyType_HasFeature |
759 | | |
760 | 8.55G | #define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag)) |
761 | | |
762 | 602M | static inline int PyType_Check(PyObject *op) { |
763 | 602M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); |
764 | 602M | } Unexecuted instantiation: bytesobject.c:PyType_Check Unexecuted instantiation: call.c:PyType_Check Unexecuted instantiation: exceptions.c:PyType_Check genericaliasobject.c:PyType_Check Line | Count | Source | 762 | 200 | static inline int PyType_Check(PyObject *op) { | 763 | 200 | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 200 | } |
Unexecuted instantiation: floatobject.c:PyType_Check Unexecuted instantiation: listobject.c:PyType_Check Unexecuted instantiation: longobject.c:PyType_Check Unexecuted instantiation: dictobject.c:PyType_Check Unexecuted instantiation: memoryobject.c:PyType_Check Unexecuted instantiation: moduleobject.c:PyType_Check Unexecuted instantiation: object.c:PyType_Check Unexecuted instantiation: obmalloc.c:PyType_Check Unexecuted instantiation: picklebufobject.c:PyType_Check Unexecuted instantiation: rangeobject.c:PyType_Check Unexecuted instantiation: sentinelobject.c:PyType_Check Unexecuted instantiation: setobject.c:PyType_Check Unexecuted instantiation: sliceobject.c:PyType_Check Unexecuted instantiation: structseq.c:PyType_Check Unexecuted instantiation: templateobject.c:PyType_Check Unexecuted instantiation: tupleobject.c:PyType_Check typeobject.c:PyType_Check Line | Count | Source | 762 | 85.3M | static inline int PyType_Check(PyObject *op) { | 763 | 85.3M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 85.3M | } |
Unexecuted instantiation: typevarobject.c:PyType_Check Unexecuted instantiation: unicode_format.c:PyType_Check Unexecuted instantiation: unicode_formatter.c:PyType_Check Unexecuted instantiation: unicode_writer.c:PyType_Check Unexecuted instantiation: unicodectype.c:PyType_Check Unexecuted instantiation: unicodeobject.c:PyType_Check unionobject.c:PyType_Check Line | Count | Source | 762 | 2.28k | static inline int PyType_Check(PyObject *op) { | 763 | 2.28k | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 2.28k | } |
weakrefobject.c:PyType_Check Line | Count | Source | 762 | 50.1M | static inline int PyType_Check(PyObject *op) { | 763 | 50.1M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 50.1M | } |
Line | Count | Source | 762 | 1.05M | static inline int PyType_Check(PyObject *op) { | 763 | 1.05M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 1.05M | } |
bltinmodule.c:PyType_Check Line | Count | Source | 762 | 21.2k | static inline int PyType_Check(PyObject *op) { | 763 | 21.2k | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 21.2k | } |
Line | Count | Source | 762 | 196M | static inline int PyType_Check(PyObject *op) { | 763 | 196M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 196M | } |
Unexecuted instantiation: codecs.c:PyType_Check Unexecuted instantiation: codegen.c:PyType_Check Unexecuted instantiation: compile.c:PyType_Check Unexecuted instantiation: context.c:PyType_Check Line | Count | Source | 762 | 149M | static inline int PyType_Check(PyObject *op) { | 763 | 149M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 149M | } |
Unexecuted instantiation: flowgraph.c:PyType_Check Unexecuted instantiation: frame.c:PyType_Check Unexecuted instantiation: future.c:PyType_Check Unexecuted instantiation: gc.c:PyType_Check Unexecuted instantiation: gc_gil.c:PyType_Check Unexecuted instantiation: getargs.c:PyType_Check Unexecuted instantiation: ceval_gil.c:PyType_Check Unexecuted instantiation: hamt.c:PyType_Check Unexecuted instantiation: hashtable.c:PyType_Check Unexecuted instantiation: import.c:PyType_Check Unexecuted instantiation: importdl.c:PyType_Check Unexecuted instantiation: initconfig.c:PyType_Check Unexecuted instantiation: instrumentation.c:PyType_Check Unexecuted instantiation: instruction_sequence.c:PyType_Check Unexecuted instantiation: intrinsics.c:PyType_Check Unexecuted instantiation: legacy_tracing.c:PyType_Check Unexecuted instantiation: lock.c:PyType_Check Unexecuted instantiation: marshal.c:PyType_Check Unexecuted instantiation: modsupport.c:PyType_Check Unexecuted instantiation: mysnprintf.c:PyType_Check Unexecuted instantiation: parking_lot.c:PyType_Check Unexecuted instantiation: preconfig.c:PyType_Check Unexecuted instantiation: pyarena.c:PyType_Check Unexecuted instantiation: pyctype.c:PyType_Check Unexecuted instantiation: pyhash.c:PyType_Check Unexecuted instantiation: pylifecycle.c:PyType_Check Unexecuted instantiation: pymath.c:PyType_Check Unexecuted instantiation: pystate.c:PyType_Check Unexecuted instantiation: pythonrun.c:PyType_Check Unexecuted instantiation: pytime.c:PyType_Check Unexecuted instantiation: qsbr.c:PyType_Check Unexecuted instantiation: bootstrap_hash.c:PyType_Check specialize.c:PyType_Check Line | Count | Source | 762 | 4.24M | static inline int PyType_Check(PyObject *op) { | 763 | 4.24M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 4.24M | } |
Unexecuted instantiation: slots.c:PyType_Check Unexecuted instantiation: slots_generated.c:PyType_Check Unexecuted instantiation: structmember.c:PyType_Check Unexecuted instantiation: symtable.c:PyType_Check Unexecuted instantiation: sysmodule.c:PyType_Check Unexecuted instantiation: thread.c:PyType_Check Unexecuted instantiation: traceback.c:PyType_Check Unexecuted instantiation: tracemalloc.c:PyType_Check Unexecuted instantiation: getopt.c:PyType_Check Unexecuted instantiation: pystrcmp.c:PyType_Check Unexecuted instantiation: pystrtod.c:PyType_Check Unexecuted instantiation: pystrhex.c:PyType_Check Unexecuted instantiation: dtoa.c:PyType_Check Unexecuted instantiation: fileutils.c:PyType_Check Unexecuted instantiation: suggestions.c:PyType_Check Unexecuted instantiation: perf_trampoline.c:PyType_Check Unexecuted instantiation: perf_jit_trampoline.c:PyType_Check Unexecuted instantiation: jit_unwind.c:PyType_Check Unexecuted instantiation: remote_debugging.c:PyType_Check Unexecuted instantiation: dynload_shlib.c:PyType_Check Unexecuted instantiation: config.c:PyType_Check Unexecuted instantiation: gcmodule.c:PyType_Check Unexecuted instantiation: _asynciomodule.c:PyType_Check Unexecuted instantiation: atexitmodule.c:PyType_Check Unexecuted instantiation: faulthandler.c:PyType_Check Unexecuted instantiation: posixmodule.c:PyType_Check Unexecuted instantiation: signalmodule.c:PyType_Check Unexecuted instantiation: _tracemalloc.c:PyType_Check Unexecuted instantiation: _suggestions.c:PyType_Check Unexecuted instantiation: _datetimemodule.c:PyType_Check Unexecuted instantiation: _codecsmodule.c:PyType_Check Unexecuted instantiation: _collectionsmodule.c:PyType_Check Unexecuted instantiation: errnomodule.c:PyType_Check Unexecuted instantiation: _iomodule.c:PyType_Check Unexecuted instantiation: iobase.c:PyType_Check Unexecuted instantiation: fileio.c:PyType_Check Unexecuted instantiation: bytesio.c:PyType_Check Unexecuted instantiation: bufferedio.c:PyType_Check Unexecuted instantiation: textio.c:PyType_Check Unexecuted instantiation: stringio.c:PyType_Check Unexecuted instantiation: itertoolsmodule.c:PyType_Check Unexecuted instantiation: sre.c:PyType_Check Unexecuted instantiation: _sysconfig.c:PyType_Check Unexecuted instantiation: _threadmodule.c:PyType_Check Unexecuted instantiation: timemodule.c:PyType_Check Unexecuted instantiation: _typesmodule.c:PyType_Check Unexecuted instantiation: _typingmodule.c:PyType_Check Unexecuted instantiation: _weakref.c:PyType_Check Line | Count | Source | 762 | 36.4k | static inline int PyType_Check(PyObject *op) { | 763 | 36.4k | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 36.4k | } |
Unexecuted instantiation: _functoolsmodule.c:PyType_Check Unexecuted instantiation: _localemodule.c:PyType_Check Unexecuted instantiation: _opcode.c:PyType_Check Unexecuted instantiation: _operator.c:PyType_Check Unexecuted instantiation: _stat.c:PyType_Check Unexecuted instantiation: symtablemodule.c:PyType_Check Unexecuted instantiation: pwdmodule.c:PyType_Check Unexecuted instantiation: getpath.c:PyType_Check Unexecuted instantiation: frozen.c:PyType_Check Unexecuted instantiation: getbuildinfo.c:PyType_Check Unexecuted instantiation: peg_api.c:PyType_Check Unexecuted instantiation: file_tokenizer.c:PyType_Check Unexecuted instantiation: helpers.c:PyType_Check Unexecuted instantiation: myreadline.c:PyType_Check Line | Count | Source | 762 | 89.4M | static inline int PyType_Check(PyObject *op) { | 763 | 89.4M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 89.4M | } |
Unexecuted instantiation: boolobject.c:PyType_Check Unexecuted instantiation: bytes_methods.c:PyType_Check Unexecuted instantiation: bytearrayobject.c:PyType_Check Unexecuted instantiation: capsule.c:PyType_Check Unexecuted instantiation: cellobject.c:PyType_Check Unexecuted instantiation: classobject.c:PyType_Check Unexecuted instantiation: codeobject.c:PyType_Check Unexecuted instantiation: complexobject.c:PyType_Check descrobject.c:PyType_Check Line | Count | Source | 762 | 26.4M | static inline int PyType_Check(PyObject *op) { | 763 | 26.4M | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 26.4M | } |
Unexecuted instantiation: enumobject.c:PyType_Check Line | Count | Source | 762 | 44.2k | static inline int PyType_Check(PyObject *op) { | 763 | 44.2k | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 44.2k | } |
Unexecuted instantiation: fileobject.c:PyType_Check Unexecuted instantiation: frameobject.c:PyType_Check Unexecuted instantiation: funcobject.c:PyType_Check Unexecuted instantiation: interpolationobject.c:PyType_Check Unexecuted instantiation: iterobject.c:PyType_Check Unexecuted instantiation: lazyimportobject.c:PyType_Check Unexecuted instantiation: odictobject.c:PyType_Check methodobject.c:PyType_Check Line | Count | Source | 762 | 111 | static inline int PyType_Check(PyObject *op) { | 763 | 111 | return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS); | 764 | 111 | } |
Unexecuted instantiation: namespaceobject.c:PyType_Check Unexecuted instantiation: _contextvars.c:PyType_Check Unexecuted instantiation: Python-ast.c:PyType_Check Unexecuted instantiation: Python-tokenize.c:PyType_Check Unexecuted instantiation: asdl.c:PyType_Check Unexecuted instantiation: assemble.c:PyType_Check Unexecuted instantiation: ast.c:PyType_Check Unexecuted instantiation: ast_preprocess.c:PyType_Check Unexecuted instantiation: ast_unparse.c:PyType_Check Unexecuted instantiation: critical_section.c:PyType_Check Unexecuted instantiation: crossinterp.c:PyType_Check Unexecuted instantiation: getcopyright.c:PyType_Check Unexecuted instantiation: getplatform.c:PyType_Check Unexecuted instantiation: getversion.c:PyType_Check Unexecuted instantiation: optimizer.c:PyType_Check Unexecuted instantiation: pathconfig.c:PyType_Check Unexecuted instantiation: pegen.c:PyType_Check Unexecuted instantiation: pegen_errors.c:PyType_Check Unexecuted instantiation: parser.c:PyType_Check Unexecuted instantiation: buffer.c:PyType_Check Unexecuted instantiation: lexer.c:PyType_Check Unexecuted instantiation: state.c:PyType_Check Unexecuted instantiation: readline_tokenizer.c:PyType_Check Unexecuted instantiation: string_tokenizer.c:PyType_Check Unexecuted instantiation: utf8_tokenizer.c:PyType_Check Unexecuted instantiation: getcompiler.c:PyType_Check Unexecuted instantiation: mystrtoul.c:PyType_Check Unexecuted instantiation: token.c:PyType_Check Unexecuted instantiation: action_helpers.c:PyType_Check Unexecuted instantiation: string_parser.c:PyType_Check |
765 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 |
766 | 915M | # define PyType_Check(op) PyType_Check(_PyObject_CAST(op)) |
767 | | #endif |
768 | | |
769 | | #define _PyType_CAST(op) \ |
770 | 333M | (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op))) |
771 | | |
772 | 86.0M | static inline int PyType_CheckExact(PyObject *op) { |
773 | 86.0M | return Py_IS_TYPE(op, &PyType_Type); |
774 | 86.0M | } Unexecuted instantiation: bytesobject.c:PyType_CheckExact Unexecuted instantiation: call.c:PyType_CheckExact Unexecuted instantiation: exceptions.c:PyType_CheckExact Unexecuted instantiation: genericaliasobject.c:PyType_CheckExact Unexecuted instantiation: floatobject.c:PyType_CheckExact Unexecuted instantiation: listobject.c:PyType_CheckExact Unexecuted instantiation: longobject.c:PyType_CheckExact Unexecuted instantiation: dictobject.c:PyType_CheckExact Unexecuted instantiation: memoryobject.c:PyType_CheckExact Unexecuted instantiation: moduleobject.c:PyType_CheckExact Unexecuted instantiation: object.c:PyType_CheckExact Unexecuted instantiation: obmalloc.c:PyType_CheckExact Unexecuted instantiation: picklebufobject.c:PyType_CheckExact Unexecuted instantiation: rangeobject.c:PyType_CheckExact Unexecuted instantiation: sentinelobject.c:PyType_CheckExact Unexecuted instantiation: setobject.c:PyType_CheckExact Unexecuted instantiation: sliceobject.c:PyType_CheckExact Unexecuted instantiation: structseq.c:PyType_CheckExact Unexecuted instantiation: templateobject.c:PyType_CheckExact Unexecuted instantiation: tupleobject.c:PyType_CheckExact Unexecuted instantiation: typeobject.c:PyType_CheckExact Unexecuted instantiation: typevarobject.c:PyType_CheckExact Unexecuted instantiation: unicode_format.c:PyType_CheckExact Unexecuted instantiation: unicode_formatter.c:PyType_CheckExact Unexecuted instantiation: unicode_writer.c:PyType_CheckExact Unexecuted instantiation: unicodectype.c:PyType_CheckExact Unexecuted instantiation: unicodeobject.c:PyType_CheckExact Unexecuted instantiation: unionobject.c:PyType_CheckExact Unexecuted instantiation: weakrefobject.c:PyType_CheckExact Unexecuted instantiation: _warnings.c:PyType_CheckExact Unexecuted instantiation: bltinmodule.c:PyType_CheckExact Unexecuted instantiation: ceval.c:PyType_CheckExact Unexecuted instantiation: codecs.c:PyType_CheckExact Unexecuted instantiation: codegen.c:PyType_CheckExact Unexecuted instantiation: compile.c:PyType_CheckExact Unexecuted instantiation: context.c:PyType_CheckExact Unexecuted instantiation: errors.c:PyType_CheckExact Unexecuted instantiation: flowgraph.c:PyType_CheckExact Unexecuted instantiation: frame.c:PyType_CheckExact Unexecuted instantiation: future.c:PyType_CheckExact Unexecuted instantiation: gc.c:PyType_CheckExact Unexecuted instantiation: gc_gil.c:PyType_CheckExact Unexecuted instantiation: getargs.c:PyType_CheckExact Unexecuted instantiation: ceval_gil.c:PyType_CheckExact Unexecuted instantiation: hamt.c:PyType_CheckExact Unexecuted instantiation: hashtable.c:PyType_CheckExact Unexecuted instantiation: import.c:PyType_CheckExact Unexecuted instantiation: importdl.c:PyType_CheckExact Unexecuted instantiation: initconfig.c:PyType_CheckExact Unexecuted instantiation: instrumentation.c:PyType_CheckExact Unexecuted instantiation: instruction_sequence.c:PyType_CheckExact Unexecuted instantiation: intrinsics.c:PyType_CheckExact Unexecuted instantiation: legacy_tracing.c:PyType_CheckExact Unexecuted instantiation: lock.c:PyType_CheckExact Unexecuted instantiation: marshal.c:PyType_CheckExact Unexecuted instantiation: modsupport.c:PyType_CheckExact Unexecuted instantiation: mysnprintf.c:PyType_CheckExact Unexecuted instantiation: parking_lot.c:PyType_CheckExact Unexecuted instantiation: preconfig.c:PyType_CheckExact Unexecuted instantiation: pyarena.c:PyType_CheckExact Unexecuted instantiation: pyctype.c:PyType_CheckExact Unexecuted instantiation: pyhash.c:PyType_CheckExact Unexecuted instantiation: pylifecycle.c:PyType_CheckExact Unexecuted instantiation: pymath.c:PyType_CheckExact Unexecuted instantiation: pystate.c:PyType_CheckExact Unexecuted instantiation: pythonrun.c:PyType_CheckExact Unexecuted instantiation: pytime.c:PyType_CheckExact Unexecuted instantiation: qsbr.c:PyType_CheckExact Unexecuted instantiation: bootstrap_hash.c:PyType_CheckExact Unexecuted instantiation: specialize.c:PyType_CheckExact Unexecuted instantiation: slots.c:PyType_CheckExact Unexecuted instantiation: slots_generated.c:PyType_CheckExact Unexecuted instantiation: structmember.c:PyType_CheckExact Unexecuted instantiation: symtable.c:PyType_CheckExact Unexecuted instantiation: sysmodule.c:PyType_CheckExact Unexecuted instantiation: thread.c:PyType_CheckExact Unexecuted instantiation: traceback.c:PyType_CheckExact Unexecuted instantiation: tracemalloc.c:PyType_CheckExact Unexecuted instantiation: getopt.c:PyType_CheckExact Unexecuted instantiation: pystrcmp.c:PyType_CheckExact Unexecuted instantiation: pystrtod.c:PyType_CheckExact Unexecuted instantiation: pystrhex.c:PyType_CheckExact Unexecuted instantiation: dtoa.c:PyType_CheckExact Unexecuted instantiation: fileutils.c:PyType_CheckExact Unexecuted instantiation: suggestions.c:PyType_CheckExact Unexecuted instantiation: perf_trampoline.c:PyType_CheckExact Unexecuted instantiation: perf_jit_trampoline.c:PyType_CheckExact Unexecuted instantiation: jit_unwind.c:PyType_CheckExact Unexecuted instantiation: remote_debugging.c:PyType_CheckExact Unexecuted instantiation: dynload_shlib.c:PyType_CheckExact Unexecuted instantiation: config.c:PyType_CheckExact Unexecuted instantiation: gcmodule.c:PyType_CheckExact Unexecuted instantiation: _asynciomodule.c:PyType_CheckExact Unexecuted instantiation: atexitmodule.c:PyType_CheckExact Unexecuted instantiation: faulthandler.c:PyType_CheckExact Unexecuted instantiation: posixmodule.c:PyType_CheckExact Unexecuted instantiation: signalmodule.c:PyType_CheckExact Unexecuted instantiation: _tracemalloc.c:PyType_CheckExact Unexecuted instantiation: _suggestions.c:PyType_CheckExact Unexecuted instantiation: _datetimemodule.c:PyType_CheckExact Unexecuted instantiation: _codecsmodule.c:PyType_CheckExact Unexecuted instantiation: _collectionsmodule.c:PyType_CheckExact Unexecuted instantiation: errnomodule.c:PyType_CheckExact Unexecuted instantiation: _iomodule.c:PyType_CheckExact Unexecuted instantiation: iobase.c:PyType_CheckExact Unexecuted instantiation: fileio.c:PyType_CheckExact Unexecuted instantiation: bytesio.c:PyType_CheckExact Unexecuted instantiation: bufferedio.c:PyType_CheckExact Unexecuted instantiation: textio.c:PyType_CheckExact Unexecuted instantiation: stringio.c:PyType_CheckExact Unexecuted instantiation: itertoolsmodule.c:PyType_CheckExact Unexecuted instantiation: sre.c:PyType_CheckExact Unexecuted instantiation: _sysconfig.c:PyType_CheckExact Unexecuted instantiation: _threadmodule.c:PyType_CheckExact Unexecuted instantiation: timemodule.c:PyType_CheckExact Unexecuted instantiation: _typesmodule.c:PyType_CheckExact Unexecuted instantiation: _typingmodule.c:PyType_CheckExact Unexecuted instantiation: _weakref.c:PyType_CheckExact Unexecuted instantiation: _abc.c:PyType_CheckExact Unexecuted instantiation: _functoolsmodule.c:PyType_CheckExact Unexecuted instantiation: _localemodule.c:PyType_CheckExact Unexecuted instantiation: _opcode.c:PyType_CheckExact Unexecuted instantiation: _operator.c:PyType_CheckExact Unexecuted instantiation: _stat.c:PyType_CheckExact Unexecuted instantiation: symtablemodule.c:PyType_CheckExact Unexecuted instantiation: pwdmodule.c:PyType_CheckExact Unexecuted instantiation: getpath.c:PyType_CheckExact Unexecuted instantiation: frozen.c:PyType_CheckExact Unexecuted instantiation: getbuildinfo.c:PyType_CheckExact Unexecuted instantiation: peg_api.c:PyType_CheckExact Unexecuted instantiation: file_tokenizer.c:PyType_CheckExact Unexecuted instantiation: helpers.c:PyType_CheckExact Unexecuted instantiation: myreadline.c:PyType_CheckExact abstract.c:PyType_CheckExact Line | Count | Source | 772 | 86.0M | static inline int PyType_CheckExact(PyObject *op) { | 773 | 86.0M | return Py_IS_TYPE(op, &PyType_Type); | 774 | 86.0M | } |
Unexecuted instantiation: boolobject.c:PyType_CheckExact Unexecuted instantiation: bytes_methods.c:PyType_CheckExact Unexecuted instantiation: bytearrayobject.c:PyType_CheckExact Unexecuted instantiation: capsule.c:PyType_CheckExact Unexecuted instantiation: cellobject.c:PyType_CheckExact Unexecuted instantiation: classobject.c:PyType_CheckExact Unexecuted instantiation: codeobject.c:PyType_CheckExact Unexecuted instantiation: complexobject.c:PyType_CheckExact Unexecuted instantiation: descrobject.c:PyType_CheckExact Unexecuted instantiation: enumobject.c:PyType_CheckExact Unexecuted instantiation: genobject.c:PyType_CheckExact Unexecuted instantiation: fileobject.c:PyType_CheckExact Unexecuted instantiation: frameobject.c:PyType_CheckExact Unexecuted instantiation: funcobject.c:PyType_CheckExact Unexecuted instantiation: interpolationobject.c:PyType_CheckExact Unexecuted instantiation: iterobject.c:PyType_CheckExact Unexecuted instantiation: lazyimportobject.c:PyType_CheckExact Unexecuted instantiation: odictobject.c:PyType_CheckExact Unexecuted instantiation: methodobject.c:PyType_CheckExact Unexecuted instantiation: namespaceobject.c:PyType_CheckExact Unexecuted instantiation: _contextvars.c:PyType_CheckExact Unexecuted instantiation: Python-ast.c:PyType_CheckExact Unexecuted instantiation: Python-tokenize.c:PyType_CheckExact Unexecuted instantiation: asdl.c:PyType_CheckExact Unexecuted instantiation: assemble.c:PyType_CheckExact Unexecuted instantiation: ast.c:PyType_CheckExact Unexecuted instantiation: ast_preprocess.c:PyType_CheckExact Unexecuted instantiation: ast_unparse.c:PyType_CheckExact Unexecuted instantiation: critical_section.c:PyType_CheckExact Unexecuted instantiation: crossinterp.c:PyType_CheckExact Unexecuted instantiation: getcopyright.c:PyType_CheckExact Unexecuted instantiation: getplatform.c:PyType_CheckExact Unexecuted instantiation: getversion.c:PyType_CheckExact Unexecuted instantiation: optimizer.c:PyType_CheckExact Unexecuted instantiation: pathconfig.c:PyType_CheckExact Unexecuted instantiation: pegen.c:PyType_CheckExact Unexecuted instantiation: pegen_errors.c:PyType_CheckExact Unexecuted instantiation: parser.c:PyType_CheckExact Unexecuted instantiation: buffer.c:PyType_CheckExact Unexecuted instantiation: lexer.c:PyType_CheckExact Unexecuted instantiation: state.c:PyType_CheckExact Unexecuted instantiation: readline_tokenizer.c:PyType_CheckExact Unexecuted instantiation: string_tokenizer.c:PyType_CheckExact Unexecuted instantiation: utf8_tokenizer.c:PyType_CheckExact Unexecuted instantiation: getcompiler.c:PyType_CheckExact Unexecuted instantiation: mystrtoul.c:PyType_CheckExact Unexecuted instantiation: token.c:PyType_CheckExact Unexecuted instantiation: action_helpers.c:PyType_CheckExact Unexecuted instantiation: string_parser.c:PyType_CheckExact |
775 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 |
776 | 86.0M | # define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op)) |
777 | | #endif |
778 | | |
779 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000 |
780 | | PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *); |
781 | | #endif |
782 | | |
783 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030e0000 |
784 | | PyAPI_FUNC(int) PyType_Freeze(PyTypeObject *type); |
785 | | #endif |
786 | | |
787 | | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15) |
788 | | PyAPI_FUNC(int) PyObject_CallFinalizerFromDealloc(PyObject *); |
789 | | PyAPI_FUNC(PyObject *) PyType_GetModuleByToken(PyTypeObject *type, |
790 | | const void *token); |
791 | | PyAPI_FUNC(void *) PyObject_GetTypeData_DuringGC(PyObject *obj, |
792 | | PyTypeObject *cls); |
793 | | PyAPI_FUNC(void *) PyType_GetModuleState_DuringGC(PyTypeObject *); |
794 | | PyAPI_FUNC(int) PyType_GetBaseByToken_DuringGC(PyTypeObject *, |
795 | | void *, PyTypeObject **); |
796 | | PyAPI_FUNC(PyObject *) PyType_GetModule_DuringGC(PyTypeObject *); |
797 | | PyAPI_FUNC(PyObject *) PyType_GetModuleByToken_DuringGC(PyTypeObject *type, |
798 | | const void *token); |
799 | | #endif |
800 | | |
801 | | #ifdef __cplusplus |
802 | | } |
803 | | #endif |
804 | | #endif // !Py_OBJECT_H |