Coverage Report

Created: 2025-11-11 07:03

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/cpython3/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
2.32M
    {                               \
91
2.32M
        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
92
2.32M
        (type)                      \
93
2.32M
    },
94
#endif
95
96
#define PyVarObject_HEAD_INIT(type, size) \
97
2.32M
    {                                     \
98
2.32M
        PyObject_HEAD_INIT(type)          \
99
2.32M
        (size)                            \
100
2.32M
    },
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
        PY_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;
144
#endif
145
        _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, char) _aligner;
146
    };
147
148
    PyTypeObject *ob_type;
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
50.7G
#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 */
177
};
178
#endif
179
typedef struct PyVarObject PyVarObject;
180
181
/* Cast argument to PyVarObject* type. */
182
2.13G
#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
43.7M
#define Py_Is(x, y) ((x) == (y))
188
189
#if defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API)
190
PyAPI_FUNC(uintptr_t) _Py_GetThreadLocal_Addr(void);
191
192
static inline uintptr_t
193
_Py_ThreadId(void)
194
{
195
    uintptr_t tid;
196
#if defined(_MSC_VER) && defined(_M_X64)
197
    tid = __readgsqword(48);
198
#elif defined(_MSC_VER) && defined(_M_IX86)
199
    tid = __readfsdword(24);
200
#elif defined(_MSC_VER) && defined(_M_ARM64)
201
    tid = __getReg(18);
202
#elif defined(__MINGW32__) && defined(_M_X64)
203
    tid = __readgsqword(48);
204
#elif defined(__MINGW32__) && defined(_M_IX86)
205
    tid = __readfsdword(24);
206
#elif defined(__MINGW32__) && defined(_M_ARM64)
207
    tid = __getReg(18);
208
#elif defined(__i386__)
209
    __asm__("movl %%gs:0, %0" : "=r" (tid));  // 32-bit always uses GS
210
#elif defined(__MACH__) && defined(__x86_64__)
211
    __asm__("movq %%gs:0, %0" : "=r" (tid));  // x86_64 macOSX uses GS
212
#elif defined(__x86_64__)
213
   __asm__("movq %%fs:0, %0" : "=r" (tid));  // x86_64 Linux, BSD uses FS
214
#elif defined(__arm__) && __ARM_ARCH >= 7
215
    __asm__ ("mrc p15, 0, %0, c13, c0, 3\nbic %0, %0, #3" : "=r" (tid));
216
#elif defined(__aarch64__) && defined(__APPLE__)
217
    __asm__ ("mrs %0, tpidrro_el0" : "=r" (tid));
218
#elif defined(__aarch64__)
219
    __asm__ ("mrs %0, tpidr_el0" : "=r" (tid));
220
#elif defined(__powerpc64__)
221
    #if defined(__clang__) && _Py__has_builtin(__builtin_thread_pointer)
222
    tid = (uintptr_t)__builtin_thread_pointer();
223
    #else
224
    // r13 is reserved for use as system thread ID by the Power 64-bit ABI.
225
    register uintptr_t tp __asm__ ("r13");
226
    __asm__("" : "=r" (tp));
227
    tid = tp;
228
    #endif
229
#elif defined(__powerpc__)
230
    #if defined(__clang__) && _Py__has_builtin(__builtin_thread_pointer)
231
    tid = (uintptr_t)__builtin_thread_pointer();
232
    #else
233
    // r2 is reserved for use as system thread ID by the Power 32-bit ABI.
234
    register uintptr_t tp __asm__ ("r2");
235
    __asm__ ("" : "=r" (tp));
236
    tid = tp;
237
    #endif
238
#elif defined(__s390__) && defined(__GNUC__)
239
    // Both GCC and Clang have supported __builtin_thread_pointer
240
    // for s390 from long time ago.
241
    tid = (uintptr_t)__builtin_thread_pointer();
242
#elif defined(__riscv)
243
    #if defined(__clang__) && _Py__has_builtin(__builtin_thread_pointer)
244
    tid = (uintptr_t)__builtin_thread_pointer();
245
    #else
246
    // tp is Thread Pointer provided by the RISC-V ABI.
247
    __asm__ ("mv %0, tp" : "=r" (tid));
248
    #endif
249
#else
250
    // Fallback to a portable implementation if we do not have a faster
251
    // platform-specific implementation.
252
    tid = _Py_GetThreadLocal_Addr();
253
#endif
254
  return tid;
255
}
256
257
static inline Py_ALWAYS_INLINE int
258
_Py_IsOwnedByCurrentThread(PyObject *ob)
259
{
260
#ifdef _Py_THREAD_SANITIZER
261
    return _Py_atomic_load_uintptr_relaxed(&ob->ob_tid) == _Py_ThreadId();
262
#else
263
    return ob->ob_tid == _Py_ThreadId();
264
#endif
265
}
266
#endif
267
268
// Py_TYPE() implementation for the stable ABI
269
PyAPI_FUNC(PyTypeObject*) Py_TYPE(PyObject *ob);
270
271
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030e0000
272
    // Stable ABI implements Py_TYPE() as a function call
273
    // on limited C API version 3.14 and newer.
274
#else
275
    static inline PyTypeObject* _Py_TYPE(PyObject *ob)
276
43.0G
    {
277
43.0G
        return ob->ob_type;
278
43.0G
    }
exceptions.c:_Py_TYPE
Line
Count
Source
276
26.2M
    {
277
26.2M
        return ob->ob_type;
278
26.2M
    }
genericaliasobject.c:_Py_TYPE
Line
Count
Source
276
172
    {
277
172
        return ob->ob_type;
278
172
    }
listobject.c:_Py_TYPE
Line
Count
Source
276
1.92G
    {
277
1.92G
        return ob->ob_type;
278
1.92G
    }
longobject.c:_Py_TYPE
Line
Count
Source
276
575M
    {
277
575M
        return ob->ob_type;
278
575M
    }
dictobject.c:_Py_TYPE
Line
Count
Source
276
507M
    {
277
507M
        return ob->ob_type;
278
507M
    }
moduleobject.c:_Py_TYPE
Line
Count
Source
276
64.5M
    {
277
64.5M
        return ob->ob_type;
278
64.5M
    }
object.c:_Py_TYPE
Line
Count
Source
276
1.67G
    {
277
1.67G
        return ob->ob_type;
278
1.67G
    }
Unexecuted instantiation: obmalloc.c:_Py_TYPE
Unexecuted instantiation: picklebufobject.c:_Py_TYPE
rangeobject.c:_Py_TYPE
Line
Count
Source
276
27.2M
    {
277
27.2M
        return ob->ob_type;
278
27.2M
    }
setobject.c:_Py_TYPE
Line
Count
Source
276
93.0M
    {
277
93.0M
        return ob->ob_type;
278
93.0M
    }
sliceobject.c:_Py_TYPE
Line
Count
Source
276
4.86M
    {
277
4.86M
        return ob->ob_type;
278
4.86M
    }
structseq.c:_Py_TYPE
Line
Count
Source
276
174k
    {
277
174k
        return ob->ob_type;
278
174k
    }
Unexecuted instantiation: templateobject.c:_Py_TYPE
tupleobject.c:_Py_TYPE
Line
Count
Source
276
2.96G
    {
277
2.96G
        return ob->ob_type;
278
2.96G
    }
typeobject.c:_Py_TYPE
Line
Count
Source
276
566M
    {
277
566M
        return ob->ob_type;
278
566M
    }
Unexecuted instantiation: typevarobject.c:_Py_TYPE
unicode_formatter.c:_Py_TYPE
Line
Count
Source
276
1.30k
    {
277
1.30k
        return ob->ob_type;
278
1.30k
    }
unicode_writer.c:_Py_TYPE
Line
Count
Source
276
90.9M
    {
277
90.9M
        return ob->ob_type;
278
90.9M
    }
Unexecuted instantiation: unicodectype.c:_Py_TYPE
unicodeobject.c:_Py_TYPE
Line
Count
Source
276
10.2G
    {
277
10.2G
        return ob->ob_type;
278
10.2G
    }
unionobject.c:_Py_TYPE
Line
Count
Source
276
261
    {
277
261
        return ob->ob_type;
278
261
    }
weakrefobject.c:_Py_TYPE
Line
Count
Source
276
19.8M
    {
277
19.8M
        return ob->ob_type;
278
19.8M
    }
_warnings.c:_Py_TYPE
Line
Count
Source
276
437M
    {
277
437M
        return ob->ob_type;
278
437M
    }
bltinmodule.c:_Py_TYPE
Line
Count
Source
276
188M
    {
277
188M
        return ob->ob_type;
278
188M
    }
ceval.c:_Py_TYPE
Line
Count
Source
276
15.1G
    {
277
15.1G
        return ob->ob_type;
278
15.1G
    }
codecs.c:_Py_TYPE
Line
Count
Source
276
571k
    {
277
571k
        return ob->ob_type;
278
571k
    }
codegen.c:_Py_TYPE
Line
Count
Source
276
728k
    {
277
728k
        return ob->ob_type;
278
728k
    }
compile.c:_Py_TYPE
Line
Count
Source
276
6.90M
    {
277
6.90M
        return ob->ob_type;
278
6.90M
    }
context.c:_Py_TYPE
Line
Count
Source
276
454k
    {
277
454k
        return ob->ob_type;
278
454k
    }
errors.c:_Py_TYPE
Line
Count
Source
276
31.6M
    {
277
31.6M
        return ob->ob_type;
278
31.6M
    }
flowgraph.c:_Py_TYPE
Line
Count
Source
276
211M
    {
277
211M
        return ob->ob_type;
278
211M
    }
frame.c:_Py_TYPE
Line
Count
Source
276
23.0M
    {
277
23.0M
        return ob->ob_type;
278
23.0M
    }
Unexecuted instantiation: future.c:_Py_TYPE
gc.c:_Py_TYPE
Line
Count
Source
276
1.76G
    {
277
1.76G
        return ob->ob_type;
278
1.76G
    }
Unexecuted instantiation: gc_gil.c:_Py_TYPE
getargs.c:_Py_TYPE
Line
Count
Source
276
16.1M
    {
277
16.1M
        return ob->ob_type;
278
16.1M
    }
Unexecuted instantiation: ceval_gil.c:_Py_TYPE
hamt.c:_Py_TYPE
Line
Count
Source
276
213k
    {
277
213k
        return ob->ob_type;
278
213k
    }
Unexecuted instantiation: hashtable.c:_Py_TYPE
import.c:_Py_TYPE
Line
Count
Source
276
7.94M
    {
277
7.94M
        return ob->ob_type;
278
7.94M
    }
importdl.c:_Py_TYPE
Line
Count
Source
276
1.15k
    {
277
1.15k
        return ob->ob_type;
278
1.15k
    }
initconfig.c:_Py_TYPE
Line
Count
Source
276
1.10k
    {
277
1.10k
        return ob->ob_type;
278
1.10k
    }
Unexecuted instantiation: instrumentation.c:_Py_TYPE
Unexecuted instantiation: instruction_sequence.c:_Py_TYPE
intrinsics.c:_Py_TYPE
Line
Count
Source
276
98.1k
    {
277
98.1k
        return ob->ob_type;
278
98.1k
    }
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE
Unexecuted instantiation: lock.c:_Py_TYPE
marshal.c:_Py_TYPE
Line
Count
Source
276
2.14M
    {
277
2.14M
        return ob->ob_type;
278
2.14M
    }
modsupport.c:_Py_TYPE
Line
Count
Source
276
903k
    {
277
903k
        return ob->ob_type;
278
903k
    }
Unexecuted instantiation: mysnprintf.c:_Py_TYPE
Unexecuted instantiation: parking_lot.c:_Py_TYPE
Unexecuted instantiation: preconfig.c:_Py_TYPE
Unexecuted instantiation: pyarena.c:_Py_TYPE
Unexecuted instantiation: pyctype.c:_Py_TYPE
Unexecuted instantiation: pyhash.c:_Py_TYPE
pylifecycle.c:_Py_TYPE
Line
Count
Source
276
22
    {
277
22
        return ob->ob_type;
278
22
    }
pystate.c:_Py_TYPE
Line
Count
Source
276
5.03M
    {
277
5.03M
        return ob->ob_type;
278
5.03M
    }
pythonrun.c:_Py_TYPE
Line
Count
Source
276
53
    {
277
53
        return ob->ob_type;
278
53
    }
Unexecuted instantiation: pytime.c:_Py_TYPE
Unexecuted instantiation: qsbr.c:_Py_TYPE
Unexecuted instantiation: bootstrap_hash.c:_Py_TYPE
specialize.c:_Py_TYPE
Line
Count
Source
276
22.5M
    {
277
22.5M
        return ob->ob_type;
278
22.5M
    }
symtable.c:_Py_TYPE
Line
Count
Source
276
3.43M
    {
277
3.43M
        return ob->ob_type;
278
3.43M
    }
sysmodule.c:_Py_TYPE
Line
Count
Source
276
21.1k
    {
277
21.1k
        return ob->ob_type;
278
21.1k
    }
Unexecuted instantiation: thread.c:_Py_TYPE
traceback.c:_Py_TYPE
Line
Count
Source
276
8.10M
    {
277
8.10M
        return ob->ob_type;
278
8.10M
    }
Unexecuted instantiation: tracemalloc.c:_Py_TYPE
Unexecuted instantiation: getopt.c:_Py_TYPE
Unexecuted instantiation: pystrcmp.c:_Py_TYPE
Unexecuted instantiation: pystrtod.c:_Py_TYPE
Unexecuted instantiation: dtoa.c:_Py_TYPE
fileutils.c:_Py_TYPE
Line
Count
Source
276
5.63k
    {
277
5.63k
        return ob->ob_type;
278
5.63k
    }
Unexecuted instantiation: suggestions.c:_Py_TYPE
Unexecuted instantiation: perf_trampoline.c:_Py_TYPE
Unexecuted instantiation: perf_jit_trampoline.c:_Py_TYPE
Unexecuted instantiation: remote_debugging.c:_Py_TYPE
Unexecuted instantiation: dynload_shlib.c:_Py_TYPE
Unexecuted instantiation: config.c:_Py_TYPE
Unexecuted instantiation: gcmodule.c:_Py_TYPE
Unexecuted instantiation: _asynciomodule.c:_Py_TYPE
Unexecuted instantiation: atexitmodule.c:_Py_TYPE
Unexecuted instantiation: faulthandler.c:_Py_TYPE
posixmodule.c:_Py_TYPE
Line
Count
Source
276
27.3k
    {
277
27.3k
        return ob->ob_type;
278
27.3k
    }
Unexecuted instantiation: signalmodule.c:_Py_TYPE
Unexecuted instantiation: _tracemalloc.c:_Py_TYPE
Unexecuted instantiation: _suggestions.c:_Py_TYPE
_datetimemodule.c:_Py_TYPE
Line
Count
Source
276
44
    {
277
44
        return ob->ob_type;
278
44
    }
_codecsmodule.c:_Py_TYPE
Line
Count
Source
276
4.36k
    {
277
4.36k
        return ob->ob_type;
278
4.36k
    }
_collectionsmodule.c:_Py_TYPE
Line
Count
Source
276
84.3k
    {
277
84.3k
        return ob->ob_type;
278
84.3k
    }
Unexecuted instantiation: errnomodule.c:_Py_TYPE
_iomodule.c:_Py_TYPE
Line
Count
Source
276
4.89k
    {
277
4.89k
        return ob->ob_type;
278
4.89k
    }
Unexecuted instantiation: iobase.c:_Py_TYPE
fileio.c:_Py_TYPE
Line
Count
Source
276
24.0k
    {
277
24.0k
        return ob->ob_type;
278
24.0k
    }
bytesio.c:_Py_TYPE
Line
Count
Source
276
260k
    {
277
260k
        return ob->ob_type;
278
260k
    }
bufferedio.c:_Py_TYPE
Line
Count
Source
276
24.8k
    {
277
24.8k
        return ob->ob_type;
278
24.8k
    }
textio.c:_Py_TYPE
Line
Count
Source
276
3.88M
    {
277
3.88M
        return ob->ob_type;
278
3.88M
    }
Unexecuted instantiation: stringio.c:_Py_TYPE
itertoolsmodule.c:_Py_TYPE
Line
Count
Source
276
12.8k
    {
277
12.8k
        return ob->ob_type;
278
12.8k
    }
sre.c:_Py_TYPE
Line
Count
Source
276
16.2M
    {
277
16.2M
        return ob->ob_type;
278
16.2M
    }
Unexecuted instantiation: _sysconfig.c:_Py_TYPE
_threadmodule.c:_Py_TYPE
Line
Count
Source
276
8.51k
    {
277
8.51k
        return ob->ob_type;
278
8.51k
    }
timemodule.c:_Py_TYPE
Line
Count
Source
276
3.39k
    {
277
3.39k
        return ob->ob_type;
278
3.39k
    }
Unexecuted instantiation: _typesmodule.c:_Py_TYPE
Unexecuted instantiation: _typingmodule.c:_Py_TYPE
_weakref.c:_Py_TYPE
Line
Count
Source
276
7.25k
    {
277
7.25k
        return ob->ob_type;
278
7.25k
    }
_abc.c:_Py_TYPE
Line
Count
Source
276
426k
    {
277
426k
        return ob->ob_type;
278
426k
    }
_functoolsmodule.c:_Py_TYPE
Line
Count
Source
276
16.8k
    {
277
16.8k
        return ob->ob_type;
278
16.8k
    }
Unexecuted instantiation: _localemodule.c:_Py_TYPE
Unexecuted instantiation: _opcode.c:_Py_TYPE
_operator.c:_Py_TYPE
Line
Count
Source
276
3.36k
    {
277
3.36k
        return ob->ob_type;
278
3.36k
    }
_stat.c:_Py_TYPE
Line
Count
Source
276
22
    {
277
22
        return ob->ob_type;
278
22
    }
Unexecuted instantiation: symtablemodule.c:_Py_TYPE
Unexecuted instantiation: pwdmodule.c:_Py_TYPE
getpath.c:_Py_TYPE
Line
Count
Source
276
2.44k
    {
277
2.44k
        return ob->ob_type;
278
2.44k
    }
Unexecuted instantiation: frozen.c:_Py_TYPE
Unexecuted instantiation: getbuildinfo.c:_Py_TYPE
Unexecuted instantiation: peg_api.c:_Py_TYPE
Unexecuted instantiation: file_tokenizer.c:_Py_TYPE
helpers.c:_Py_TYPE
Line
Count
Source
276
2.39k
    {
277
2.39k
        return ob->ob_type;
278
2.39k
    }
Unexecuted instantiation: myreadline.c:_Py_TYPE
abstract.c:_Py_TYPE
Line
Count
Source
276
427M
    {
277
427M
        return ob->ob_type;
278
427M
    }
boolobject.c:_Py_TYPE
Line
Count
Source
276
3.42k
    {
277
3.42k
        return ob->ob_type;
278
3.42k
    }
bytes_methods.c:_Py_TYPE
Line
Count
Source
276
1.40M
    {
277
1.40M
        return ob->ob_type;
278
1.40M
    }
bytearrayobject.c:_Py_TYPE
Line
Count
Source
276
102M
    {
277
102M
        return ob->ob_type;
278
102M
    }
bytesobject.c:_Py_TYPE
Line
Count
Source
276
154M
    {
277
154M
        return ob->ob_type;
278
154M
    }
call.c:_Py_TYPE
Line
Count
Source
276
36.6M
    {
277
36.6M
        return ob->ob_type;
278
36.6M
    }
capsule.c:_Py_TYPE
Line
Count
Source
276
51.5k
    {
277
51.5k
        return ob->ob_type;
278
51.5k
    }
cellobject.c:_Py_TYPE
Line
Count
Source
276
2.48k
    {
277
2.48k
        return ob->ob_type;
278
2.48k
    }
classobject.c:_Py_TYPE
Line
Count
Source
276
9.00M
    {
277
9.00M
        return ob->ob_type;
278
9.00M
    }
codeobject.c:_Py_TYPE
Line
Count
Source
276
1.66G
    {
277
1.66G
        return ob->ob_type;
278
1.66G
    }
complexobject.c:_Py_TYPE
Line
Count
Source
276
1.54M
    {
277
1.54M
        return ob->ob_type;
278
1.54M
    }
descrobject.c:_Py_TYPE
Line
Count
Source
276
77.2M
    {
277
77.2M
        return ob->ob_type;
278
77.2M
    }
enumobject.c:_Py_TYPE
Line
Count
Source
276
4.09M
    {
277
4.09M
        return ob->ob_type;
278
4.09M
    }
genobject.c:_Py_TYPE
Line
Count
Source
276
18.5k
    {
277
18.5k
        return ob->ob_type;
278
18.5k
    }
fileobject.c:_Py_TYPE
Line
Count
Source
276
342
    {
277
342
        return ob->ob_type;
278
342
    }
floatobject.c:_Py_TYPE
Line
Count
Source
276
179M
    {
277
179M
        return ob->ob_type;
278
179M
    }
frameobject.c:_Py_TYPE
Line
Count
Source
276
3.62G
    {
277
3.62G
        return ob->ob_type;
278
3.62G
    }
funcobject.c:_Py_TYPE
Line
Count
Source
276
6.10M
    {
277
6.10M
        return ob->ob_type;
278
6.10M
    }
Unexecuted instantiation: interpolationobject.c:_Py_TYPE
iterobject.c:_Py_TYPE
Line
Count
Source
276
6.11M
    {
277
6.11M
        return ob->ob_type;
278
6.11M
    }
Unexecuted instantiation: odictobject.c:_Py_TYPE
memoryobject.c:_Py_TYPE
Line
Count
Source
276
5.34k
    {
277
5.34k
        return ob->ob_type;
278
5.34k
    }
methodobject.c:_Py_TYPE
Line
Count
Source
276
63.8M
    {
277
63.8M
        return ob->ob_type;
278
63.8M
    }
namespaceobject.c:_Py_TYPE
Line
Count
Source
276
291
    {
277
291
        return ob->ob_type;
278
291
    }
unicode_format.c:_Py_TYPE
Line
Count
Source
276
16.4M
    {
277
16.4M
        return ob->ob_type;
278
16.4M
    }
Unexecuted instantiation: _contextvars.c:_Py_TYPE
Python-ast.c:_Py_TYPE
Line
Count
Source
276
843
    {
277
843
        return ob->ob_type;
278
843
    }
Unexecuted instantiation: Python-tokenize.c:_Py_TYPE
Unexecuted instantiation: asdl.c:_Py_TYPE
assemble.c:_Py_TYPE
Line
Count
Source
276
27.8M
    {
277
27.8M
        return ob->ob_type;
278
27.8M
    }
ast.c:_Py_TYPE
Line
Count
Source
276
12.1k
    {
277
12.1k
        return ob->ob_type;
278
12.1k
    }
ast_preprocess.c:_Py_TYPE
Line
Count
Source
276
223k
    {
277
223k
        return ob->ob_type;
278
223k
    }
ast_unparse.c:_Py_TYPE
Line
Count
Source
276
336k
    {
277
336k
        return ob->ob_type;
278
336k
    }
Unexecuted instantiation: critical_section.c:_Py_TYPE
crossinterp.c:_Py_TYPE
Line
Count
Source
276
22
    {
277
22
        return ob->ob_type;
278
22
    }
Unexecuted instantiation: getcopyright.c:_Py_TYPE
Unexecuted instantiation: getplatform.c:_Py_TYPE
Unexecuted instantiation: getversion.c:_Py_TYPE
Unexecuted instantiation: optimizer.c:_Py_TYPE
Unexecuted instantiation: pathconfig.c:_Py_TYPE
Unexecuted instantiation: pymath.c:_Py_TYPE
Unexecuted instantiation: structmember.c:_Py_TYPE
Unexecuted instantiation: pystrhex.c:_Py_TYPE
pegen.c:_Py_TYPE
Line
Count
Source
276
3.66M
    {
277
3.66M
        return ob->ob_type;
278
3.66M
    }
Unexecuted instantiation: pegen_errors.c:_Py_TYPE
parser.c:_Py_TYPE
Line
Count
Source
276
3
    {
277
3
        return ob->ob_type;
278
3
    }
Unexecuted instantiation: buffer.c:_Py_TYPE
lexer.c:_Py_TYPE
Line
Count
Source
276
97.1k
    {
277
97.1k
        return ob->ob_type;
278
97.1k
    }
Unexecuted instantiation: state.c:_Py_TYPE
Unexecuted instantiation: readline_tokenizer.c:_Py_TYPE
string_tokenizer.c:_Py_TYPE
Line
Count
Source
276
2.43k
    {
277
2.43k
        return ob->ob_type;
278
2.43k
    }
Unexecuted instantiation: utf8_tokenizer.c:_Py_TYPE
Unexecuted instantiation: getcompiler.c:_Py_TYPE
Unexecuted instantiation: mystrtoul.c:_Py_TYPE
Unexecuted instantiation: token.c:_Py_TYPE
action_helpers.c:_Py_TYPE
Line
Count
Source
276
543k
    {
277
543k
        return ob->ob_type;
278
543k
    }
string_parser.c:_Py_TYPE
Line
Count
Source
276
945k
    {
277
945k
        return ob->ob_type;
278
945k
    }
279
    #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
280
22.4G
    #   define Py_TYPE(ob) _Py_TYPE(_PyObject_CAST(ob))
281
    #else
282
    #   define Py_TYPE(ob) _Py_TYPE(ob)
283
    #endif
284
#endif
285
286
PyAPI_DATA(PyTypeObject) PyLong_Type;
287
PyAPI_DATA(PyTypeObject) PyBool_Type;
288
289
#ifndef _Py_OPAQUE_PYOBJECT
290
// bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
291
1.73G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.73G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.73G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.73G
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.73G
}
exceptions.c:Py_SIZE
Line
Count
Source
291
350k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
350k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
350k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
350k
    return  _PyVarObject_CAST(ob)->ob_size;
295
350k
}
Unexecuted instantiation: genericaliasobject.c:Py_SIZE
listobject.c:Py_SIZE
Line
Count
Source
291
447M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
447M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
447M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
447M
    return  _PyVarObject_CAST(ob)->ob_size;
295
447M
}
longobject.c:Py_SIZE
Line
Count
Source
291
918k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
918k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
918k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
918k
    return  _PyVarObject_CAST(ob)->ob_size;
295
918k
}
dictobject.c:Py_SIZE
Line
Count
Source
291
24.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
24.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
24.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
24.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
24.5k
}
moduleobject.c:Py_SIZE
Line
Count
Source
291
589
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
589
    assert(Py_TYPE(ob) != &PyLong_Type);
293
589
    assert(Py_TYPE(ob) != &PyBool_Type);
294
589
    return  _PyVarObject_CAST(ob)->ob_size;
295
589
}
object.c:Py_SIZE
Line
Count
Source
291
304
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
304
    assert(Py_TYPE(ob) != &PyLong_Type);
293
304
    assert(Py_TYPE(ob) != &PyBool_Type);
294
304
    return  _PyVarObject_CAST(ob)->ob_size;
295
304
}
Unexecuted instantiation: obmalloc.c:Py_SIZE
Unexecuted instantiation: picklebufobject.c:Py_SIZE
Unexecuted instantiation: rangeobject.c:Py_SIZE
Unexecuted instantiation: setobject.c:Py_SIZE
Unexecuted instantiation: sliceobject.c:Py_SIZE
structseq.c:Py_SIZE
Line
Count
Source
291
42.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
42.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
42.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
42.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
42.5k
}
Unexecuted instantiation: templateobject.c:Py_SIZE
tupleobject.c:Py_SIZE
Line
Count
Source
291
764M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
764M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
764M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
764M
    return  _PyVarObject_CAST(ob)->ob_size;
295
764M
}
typeobject.c:Py_SIZE
Line
Count
Source
291
71.8M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
71.8M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
71.8M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
71.8M
    return  _PyVarObject_CAST(ob)->ob_size;
295
71.8M
}
Unexecuted instantiation: typevarobject.c:Py_SIZE
Unexecuted instantiation: unicode_formatter.c:Py_SIZE
Unexecuted instantiation: unicode_writer.c:Py_SIZE
Unexecuted instantiation: unicodectype.c:Py_SIZE
unicodeobject.c:Py_SIZE
Line
Count
Source
291
1.39M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.39M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.39M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.39M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.39M
}
unionobject.c:Py_SIZE
Line
Count
Source
291
48
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
48
    assert(Py_TYPE(ob) != &PyLong_Type);
293
48
    assert(Py_TYPE(ob) != &PyBool_Type);
294
48
    return  _PyVarObject_CAST(ob)->ob_size;
295
48
}
weakrefobject.c:Py_SIZE
Line
Count
Source
291
5.45k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
5.45k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
5.45k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
5.45k
    return  _PyVarObject_CAST(ob)->ob_size;
295
5.45k
}
_warnings.c:Py_SIZE
Line
Count
Source
291
4.08M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4.08M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4.08M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4.08M
    return  _PyVarObject_CAST(ob)->ob_size;
295
4.08M
}
bltinmodule.c:Py_SIZE
Line
Count
Source
291
10.0M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
10.0M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
10.0M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
10.0M
    return  _PyVarObject_CAST(ob)->ob_size;
295
10.0M
}
ceval.c:Py_SIZE
Line
Count
Source
291
112M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
112M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
112M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
112M
    return  _PyVarObject_CAST(ob)->ob_size;
295
112M
}
codecs.c:Py_SIZE
Line
Count
Source
291
64.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
64.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
64.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
64.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
64.5k
}
codegen.c:Py_SIZE
Line
Count
Source
291
91.1k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
91.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
91.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
91.1k
    return  _PyVarObject_CAST(ob)->ob_size;
295
91.1k
}
compile.c:Py_SIZE
Line
Count
Source
291
343k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
343k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
343k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
343k
    return  _PyVarObject_CAST(ob)->ob_size;
295
343k
}
Unexecuted instantiation: context.c:Py_SIZE
Unexecuted instantiation: errors.c:Py_SIZE
flowgraph.c:Py_SIZE
Line
Count
Source
291
50.9M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
50.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
50.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
50.9M
    return  _PyVarObject_CAST(ob)->ob_size;
295
50.9M
}
Unexecuted instantiation: frame.c:Py_SIZE
Unexecuted instantiation: future.c:Py_SIZE
gc.c:Py_SIZE
Line
Count
Source
291
108k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
108k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
108k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
108k
    return  _PyVarObject_CAST(ob)->ob_size;
295
108k
}
Unexecuted instantiation: gc_gil.c:Py_SIZE
getargs.c:Py_SIZE
Line
Count
Source
291
3.96M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
3.96M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
3.96M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
3.96M
    return  _PyVarObject_CAST(ob)->ob_size;
295
3.96M
}
Unexecuted instantiation: ceval_gil.c:Py_SIZE
hamt.c:Py_SIZE
Line
Count
Source
291
7.92k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
7.92k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
7.92k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
7.92k
    return  _PyVarObject_CAST(ob)->ob_size;
295
7.92k
}
Unexecuted instantiation: hashtable.c:Py_SIZE
import.c:Py_SIZE
Line
Count
Source
291
154
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
154
    assert(Py_TYPE(ob) != &PyLong_Type);
293
154
    assert(Py_TYPE(ob) != &PyBool_Type);
294
154
    return  _PyVarObject_CAST(ob)->ob_size;
295
154
}
Unexecuted instantiation: importdl.c:Py_SIZE
initconfig.c:Py_SIZE
Line
Count
Source
291
110
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
110
    assert(Py_TYPE(ob) != &PyLong_Type);
293
110
    assert(Py_TYPE(ob) != &PyBool_Type);
294
110
    return  _PyVarObject_CAST(ob)->ob_size;
295
110
}
Unexecuted instantiation: instrumentation.c:Py_SIZE
Unexecuted instantiation: instruction_sequence.c:Py_SIZE
intrinsics.c:Py_SIZE
Line
Count
Source
291
623
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
623
    assert(Py_TYPE(ob) != &PyLong_Type);
293
623
    assert(Py_TYPE(ob) != &PyBool_Type);
294
623
    return  _PyVarObject_CAST(ob)->ob_size;
295
623
}
Unexecuted instantiation: legacy_tracing.c:Py_SIZE
Unexecuted instantiation: lock.c:Py_SIZE
marshal.c:Py_SIZE
Line
Count
Source
291
601k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
601k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
601k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
601k
    return  _PyVarObject_CAST(ob)->ob_size;
295
601k
}
modsupport.c:Py_SIZE
Line
Count
Source
291
287k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
287k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
287k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
287k
    return  _PyVarObject_CAST(ob)->ob_size;
295
287k
}
Unexecuted instantiation: mysnprintf.c:Py_SIZE
Unexecuted instantiation: parking_lot.c:Py_SIZE
Unexecuted instantiation: preconfig.c:Py_SIZE
Unexecuted instantiation: pyarena.c:Py_SIZE
Unexecuted instantiation: pyctype.c:Py_SIZE
Unexecuted instantiation: pyhash.c:Py_SIZE
Unexecuted instantiation: pylifecycle.c:Py_SIZE
Unexecuted instantiation: pystate.c:Py_SIZE
Unexecuted instantiation: pythonrun.c:Py_SIZE
Unexecuted instantiation: pytime.c:Py_SIZE
Unexecuted instantiation: qsbr.c:Py_SIZE
Unexecuted instantiation: bootstrap_hash.c:Py_SIZE
specialize.c:Py_SIZE
Line
Count
Source
291
905
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
905
    assert(Py_TYPE(ob) != &PyLong_Type);
293
905
    assert(Py_TYPE(ob) != &PyBool_Type);
294
905
    return  _PyVarObject_CAST(ob)->ob_size;
295
905
}
symtable.c:Py_SIZE
Line
Count
Source
291
246k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
246k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
246k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
246k
    return  _PyVarObject_CAST(ob)->ob_size;
295
246k
}
sysmodule.c:Py_SIZE
Line
Count
Source
291
6.51k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
6.51k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
6.51k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
6.51k
    return  _PyVarObject_CAST(ob)->ob_size;
295
6.51k
}
Unexecuted instantiation: thread.c:Py_SIZE
Unexecuted instantiation: traceback.c:Py_SIZE
Unexecuted instantiation: tracemalloc.c:Py_SIZE
Unexecuted instantiation: getopt.c:Py_SIZE
Unexecuted instantiation: pystrcmp.c:Py_SIZE
Unexecuted instantiation: pystrtod.c:Py_SIZE
Unexecuted instantiation: dtoa.c:Py_SIZE
Unexecuted instantiation: fileutils.c:Py_SIZE
Unexecuted instantiation: suggestions.c:Py_SIZE
Unexecuted instantiation: perf_trampoline.c:Py_SIZE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SIZE
Unexecuted instantiation: remote_debugging.c:Py_SIZE
Unexecuted instantiation: dynload_shlib.c:Py_SIZE
Unexecuted instantiation: config.c:Py_SIZE
Unexecuted instantiation: gcmodule.c:Py_SIZE
Unexecuted instantiation: _asynciomodule.c:Py_SIZE
Unexecuted instantiation: atexitmodule.c:Py_SIZE
Unexecuted instantiation: faulthandler.c:Py_SIZE
posixmodule.c:Py_SIZE
Line
Count
Source
291
2.23k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.23k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.23k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.23k
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.23k
}
Unexecuted instantiation: signalmodule.c:Py_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SIZE
Unexecuted instantiation: _suggestions.c:Py_SIZE
Unexecuted instantiation: _datetimemodule.c:Py_SIZE
Unexecuted instantiation: _codecsmodule.c:Py_SIZE
_collectionsmodule.c:Py_SIZE
Line
Count
Source
291
114
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
114
    assert(Py_TYPE(ob) != &PyLong_Type);
293
114
    assert(Py_TYPE(ob) != &PyBool_Type);
294
114
    return  _PyVarObject_CAST(ob)->ob_size;
295
114
}
Unexecuted instantiation: errnomodule.c:Py_SIZE
Unexecuted instantiation: _iomodule.c:Py_SIZE
Unexecuted instantiation: iobase.c:Py_SIZE
fileio.c:Py_SIZE
Line
Count
Source
291
408
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
408
    assert(Py_TYPE(ob) != &PyLong_Type);
293
408
    assert(Py_TYPE(ob) != &PyBool_Type);
294
408
    return  _PyVarObject_CAST(ob)->ob_size;
295
408
}
bytesio.c:Py_SIZE
Line
Count
Source
291
56.1k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
56.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
56.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
56.1k
    return  _PyVarObject_CAST(ob)->ob_size;
295
56.1k
}
bufferedio.c:Py_SIZE
Line
Count
Source
291
408
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
408
    assert(Py_TYPE(ob) != &PyLong_Type);
293
408
    assert(Py_TYPE(ob) != &PyBool_Type);
294
408
    return  _PyVarObject_CAST(ob)->ob_size;
295
408
}
textio.c:Py_SIZE
Line
Count
Source
291
66
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
66
    assert(Py_TYPE(ob) != &PyLong_Type);
293
66
    assert(Py_TYPE(ob) != &PyBool_Type);
294
66
    return  _PyVarObject_CAST(ob)->ob_size;
295
66
}
Unexecuted instantiation: stringio.c:Py_SIZE
itertoolsmodule.c:Py_SIZE
Line
Count
Source
291
2.26k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.26k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.26k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.26k
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.26k
}
sre.c:Py_SIZE
Line
Count
Source
291
2.32k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.32k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.32k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.32k
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.32k
}
Unexecuted instantiation: _sysconfig.c:Py_SIZE
Unexecuted instantiation: _threadmodule.c:Py_SIZE
Unexecuted instantiation: timemodule.c:Py_SIZE
Unexecuted instantiation: _typesmodule.c:Py_SIZE
Unexecuted instantiation: _typingmodule.c:Py_SIZE
Unexecuted instantiation: _weakref.c:Py_SIZE
_abc.c:Py_SIZE
Line
Count
Source
291
18.8k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
18.8k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
18.8k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
18.8k
    return  _PyVarObject_CAST(ob)->ob_size;
295
18.8k
}
_functoolsmodule.c:Py_SIZE
Line
Count
Source
291
62
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
62
    assert(Py_TYPE(ob) != &PyLong_Type);
293
62
    assert(Py_TYPE(ob) != &PyBool_Type);
294
62
    return  _PyVarObject_CAST(ob)->ob_size;
295
62
}
Unexecuted instantiation: _localemodule.c:Py_SIZE
Unexecuted instantiation: _opcode.c:Py_SIZE
Unexecuted instantiation: _operator.c:Py_SIZE
Unexecuted instantiation: _stat.c:Py_SIZE
Unexecuted instantiation: symtablemodule.c:Py_SIZE
Unexecuted instantiation: pwdmodule.c:Py_SIZE
getpath.c:Py_SIZE
Line
Count
Source
291
286
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
286
    assert(Py_TYPE(ob) != &PyLong_Type);
293
286
    assert(Py_TYPE(ob) != &PyBool_Type);
294
286
    return  _PyVarObject_CAST(ob)->ob_size;
295
286
}
Unexecuted instantiation: frozen.c:Py_SIZE
Unexecuted instantiation: getbuildinfo.c:Py_SIZE
Unexecuted instantiation: peg_api.c:Py_SIZE
Unexecuted instantiation: file_tokenizer.c:Py_SIZE
Unexecuted instantiation: helpers.c:Py_SIZE
Unexecuted instantiation: myreadline.c:Py_SIZE
abstract.c:Py_SIZE
Line
Count
Source
291
21.1k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
21.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
21.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
21.1k
    return  _PyVarObject_CAST(ob)->ob_size;
295
21.1k
}
Unexecuted instantiation: boolobject.c:Py_SIZE
bytes_methods.c:Py_SIZE
Line
Count
Source
291
134k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
134k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
134k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
134k
    return  _PyVarObject_CAST(ob)->ob_size;
295
134k
}
bytearrayobject.c:Py_SIZE
Line
Count
Source
291
23.6M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
23.6M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
23.6M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
23.6M
    return  _PyVarObject_CAST(ob)->ob_size;
295
23.6M
}
bytesobject.c:Py_SIZE
Line
Count
Source
291
30.4M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
30.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
30.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
30.4M
    return  _PyVarObject_CAST(ob)->ob_size;
295
30.4M
}
call.c:Py_SIZE
Line
Count
Source
291
473k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
473k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
473k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
473k
    return  _PyVarObject_CAST(ob)->ob_size;
295
473k
}
Unexecuted instantiation: capsule.c:Py_SIZE
Unexecuted instantiation: cellobject.c:Py_SIZE
Unexecuted instantiation: classobject.c:Py_SIZE
codeobject.c:Py_SIZE
Line
Count
Source
291
203M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
203M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
203M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
203M
    return  _PyVarObject_CAST(ob)->ob_size;
295
203M
}
Unexecuted instantiation: complexobject.c:Py_SIZE
descrobject.c:Py_SIZE
Line
Count
Source
291
11.2k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
11.2k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
11.2k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
11.2k
    return  _PyVarObject_CAST(ob)->ob_size;
295
11.2k
}
enumobject.c:Py_SIZE
Line
Count
Source
291
801k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
801k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
801k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
801k
    return  _PyVarObject_CAST(ob)->ob_size;
295
801k
}
Unexecuted instantiation: genobject.c:Py_SIZE
Unexecuted instantiation: fileobject.c:Py_SIZE
floatobject.c:Py_SIZE
Line
Count
Source
291
108k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
108k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
108k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
108k
    return  _PyVarObject_CAST(ob)->ob_size;
295
108k
}
frameobject.c:Py_SIZE
Line
Count
Source
291
38
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
38
    assert(Py_TYPE(ob) != &PyLong_Type);
293
38
    assert(Py_TYPE(ob) != &PyBool_Type);
294
38
    return  _PyVarObject_CAST(ob)->ob_size;
295
38
}
Unexecuted instantiation: funcobject.c:Py_SIZE
Unexecuted instantiation: interpolationobject.c:Py_SIZE
Unexecuted instantiation: iterobject.c:Py_SIZE
Unexecuted instantiation: odictobject.c:Py_SIZE
memoryobject.c:Py_SIZE
Line
Count
Source
291
346
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
346
    assert(Py_TYPE(ob) != &PyLong_Type);
293
346
    assert(Py_TYPE(ob) != &PyBool_Type);
294
346
    return  _PyVarObject_CAST(ob)->ob_size;
295
346
}
Unexecuted instantiation: methodobject.c:Py_SIZE
Unexecuted instantiation: namespaceobject.c:Py_SIZE
Unexecuted instantiation: unicode_format.c:Py_SIZE
Unexecuted instantiation: _contextvars.c:Py_SIZE
Python-ast.c:Py_SIZE
Line
Count
Source
291
228
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
228
    assert(Py_TYPE(ob) != &PyLong_Type);
293
228
    assert(Py_TYPE(ob) != &PyBool_Type);
294
228
    return  _PyVarObject_CAST(ob)->ob_size;
295
228
}
Unexecuted instantiation: Python-tokenize.c:Py_SIZE
Unexecuted instantiation: asdl.c:Py_SIZE
assemble.c:Py_SIZE
Line
Count
Source
291
5.43M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
5.43M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
5.43M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
5.43M
    return  _PyVarObject_CAST(ob)->ob_size;
295
5.43M
}
Unexecuted instantiation: ast.c:Py_SIZE
Unexecuted instantiation: ast_preprocess.c:Py_SIZE
Unexecuted instantiation: ast_unparse.c:Py_SIZE
Unexecuted instantiation: critical_section.c:Py_SIZE
Unexecuted instantiation: crossinterp.c:Py_SIZE
Unexecuted instantiation: getcopyright.c:Py_SIZE
Unexecuted instantiation: getplatform.c:Py_SIZE
Unexecuted instantiation: getversion.c:Py_SIZE
Unexecuted instantiation: optimizer.c:Py_SIZE
Unexecuted instantiation: pathconfig.c:Py_SIZE
Unexecuted instantiation: pymath.c:Py_SIZE
Unexecuted instantiation: structmember.c:Py_SIZE
Unexecuted instantiation: pystrhex.c:Py_SIZE
Unexecuted instantiation: pegen.c:Py_SIZE
Unexecuted instantiation: pegen_errors.c:Py_SIZE
Unexecuted instantiation: parser.c:Py_SIZE
Unexecuted instantiation: buffer.c:Py_SIZE
lexer.c:Py_SIZE
Line
Count
Source
291
294
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
294
    assert(Py_TYPE(ob) != &PyLong_Type);
293
294
    assert(Py_TYPE(ob) != &PyBool_Type);
294
294
    return  _PyVarObject_CAST(ob)->ob_size;
295
294
}
Unexecuted instantiation: state.c:Py_SIZE
Unexecuted instantiation: readline_tokenizer.c:Py_SIZE
Unexecuted instantiation: string_tokenizer.c:Py_SIZE
Unexecuted instantiation: utf8_tokenizer.c:Py_SIZE
Unexecuted instantiation: getcompiler.c:Py_SIZE
Unexecuted instantiation: mystrtoul.c:Py_SIZE
Unexecuted instantiation: token.c:Py_SIZE
action_helpers.c:Py_SIZE
Line
Count
Source
291
9.74k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
9.74k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
9.74k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
9.74k
    return  _PyVarObject_CAST(ob)->ob_size;
295
9.74k
}
string_parser.c:Py_SIZE
Line
Count
Source
291
118k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
118k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
118k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
118k
    return  _PyVarObject_CAST(ob)->ob_size;
295
118k
}
296
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
297
1.53G
#  define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
298
#endif
299
#endif // !defined(_Py_OPAQUE_PYOBJECT)
300
301
18.1G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
18.1G
    return Py_TYPE(ob) == type;
303
18.1G
}
exceptions.c:Py_IS_TYPE
Line
Count
Source
301
3.17M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.17M
    return Py_TYPE(ob) == type;
303
3.17M
}
Unexecuted instantiation: genericaliasobject.c:Py_IS_TYPE
listobject.c:Py_IS_TYPE
Line
Count
Source
301
67.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
67.2M
    return Py_TYPE(ob) == type;
303
67.2M
}
longobject.c:Py_IS_TYPE
Line
Count
Source
301
68.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
68.2M
    return Py_TYPE(ob) == type;
303
68.2M
}
dictobject.c:Py_IS_TYPE
Line
Count
Source
301
202M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
202M
    return Py_TYPE(ob) == type;
303
202M
}
moduleobject.c:Py_IS_TYPE
Line
Count
Source
301
64.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
64.4M
    return Py_TYPE(ob) == type;
303
64.4M
}
object.c:Py_IS_TYPE
Line
Count
Source
301
92.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
92.2M
    return Py_TYPE(ob) == type;
303
92.2M
}
Unexecuted instantiation: obmalloc.c:Py_IS_TYPE
Unexecuted instantiation: picklebufobject.c:Py_IS_TYPE
rangeobject.c:Py_IS_TYPE
Line
Count
Source
301
7.54M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
7.54M
    return Py_TYPE(ob) == type;
303
7.54M
}
setobject.c:Py_IS_TYPE
Line
Count
Source
301
83.5M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
83.5M
    return Py_TYPE(ob) == type;
303
83.5M
}
sliceobject.c:Py_IS_TYPE
Line
Count
Source
301
26.0k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
26.0k
    return Py_TYPE(ob) == type;
303
26.0k
}
Unexecuted instantiation: structseq.c:Py_IS_TYPE
Unexecuted instantiation: templateobject.c:Py_IS_TYPE
tupleobject.c:Py_IS_TYPE
Line
Count
Source
301
304M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
304M
    return Py_TYPE(ob) == type;
303
304M
}
typeobject.c:Py_IS_TYPE
Line
Count
Source
301
34.1M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
34.1M
    return Py_TYPE(ob) == type;
303
34.1M
}
Unexecuted instantiation: typevarobject.c:Py_IS_TYPE
unicode_formatter.c:Py_IS_TYPE
Line
Count
Source
301
67
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
67
    return Py_TYPE(ob) == type;
303
67
}
Unexecuted instantiation: unicode_writer.c:Py_IS_TYPE
Unexecuted instantiation: unicodectype.c:Py_IS_TYPE
unicodeobject.c:Py_IS_TYPE
Line
Count
Source
301
35.7M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
35.7M
    return Py_TYPE(ob) == type;
303
35.7M
}
unionobject.c:Py_IS_TYPE
Line
Count
Source
301
55
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
55
    return Py_TYPE(ob) == type;
303
55
}
weakrefobject.c:Py_IS_TYPE
Line
Count
Source
301
5.03M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.03M
    return Py_TYPE(ob) == type;
303
5.03M
}
_warnings.c:Py_IS_TYPE
Line
Count
Source
301
4.34M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
4.34M
    return Py_TYPE(ob) == type;
303
4.34M
}
bltinmodule.c:Py_IS_TYPE
Line
Count
Source
301
17.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
17.4k
    return Py_TYPE(ob) == type;
303
17.4k
}
ceval.c:Py_IS_TYPE
Line
Count
Source
301
12.2G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.2G
    return Py_TYPE(ob) == type;
303
12.2G
}
codecs.c:Py_IS_TYPE
Line
Count
Source
301
123k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
123k
    return Py_TYPE(ob) == type;
303
123k
}
codegen.c:Py_IS_TYPE
Line
Count
Source
301
75.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
75.8k
    return Py_TYPE(ob) == type;
303
75.8k
}
compile.c:Py_IS_TYPE
Line
Count
Source
301
3.81M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.81M
    return Py_TYPE(ob) == type;
303
3.81M
}
context.c:Py_IS_TYPE
Line
Count
Source
301
454k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
454k
    return Py_TYPE(ob) == type;
303
454k
}
Unexecuted instantiation: errors.c:Py_IS_TYPE
flowgraph.c:Py_IS_TYPE
Line
Count
Source
301
5.46M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.46M
    return Py_TYPE(ob) == type;
303
5.46M
}
frame.c:Py_IS_TYPE
Line
Count
Source
301
23.0M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
23.0M
    return Py_TYPE(ob) == type;
303
23.0M
}
Unexecuted instantiation: future.c:Py_IS_TYPE
gc.c:Py_IS_TYPE
Line
Count
Source
301
125M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
125M
    return Py_TYPE(ob) == type;
303
125M
}
Unexecuted instantiation: gc_gil.c:Py_IS_TYPE
getargs.c:Py_IS_TYPE
Line
Count
Source
301
1.28k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.28k
    return Py_TYPE(ob) == type;
303
1.28k
}
Unexecuted instantiation: ceval_gil.c:Py_IS_TYPE
hamt.c:Py_IS_TYPE
Line
Count
Source
301
197k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
197k
    return Py_TYPE(ob) == type;
303
197k
}
Unexecuted instantiation: hashtable.c:Py_IS_TYPE
import.c:Py_IS_TYPE
Line
Count
Source
301
2.03k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.03k
    return Py_TYPE(ob) == type;
303
2.03k
}
importdl.c:Py_IS_TYPE
Line
Count
Source
301
696
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
696
    return Py_TYPE(ob) == type;
303
696
}
initconfig.c:Py_IS_TYPE
Line
Count
Source
301
176
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
176
    return Py_TYPE(ob) == type;
303
176
}
Unexecuted instantiation: instrumentation.c:Py_IS_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_IS_TYPE
intrinsics.c:Py_IS_TYPE
Line
Count
Source
301
13.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
13.4k
    return Py_TYPE(ob) == type;
303
13.4k
}
Unexecuted instantiation: legacy_tracing.c:Py_IS_TYPE
Unexecuted instantiation: lock.c:Py_IS_TYPE
Unexecuted instantiation: marshal.c:Py_IS_TYPE
modsupport.c:Py_IS_TYPE
Line
Count
Source
301
7.58k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
7.58k
    return Py_TYPE(ob) == type;
303
7.58k
}
Unexecuted instantiation: mysnprintf.c:Py_IS_TYPE
Unexecuted instantiation: parking_lot.c:Py_IS_TYPE
Unexecuted instantiation: preconfig.c:Py_IS_TYPE
Unexecuted instantiation: pyarena.c:Py_IS_TYPE
Unexecuted instantiation: pyctype.c:Py_IS_TYPE
Unexecuted instantiation: pyhash.c:Py_IS_TYPE
Unexecuted instantiation: pylifecycle.c:Py_IS_TYPE
pystate.c:Py_IS_TYPE
Line
Count
Source
301
5.03M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.03M
    return Py_TYPE(ob) == type;
303
5.03M
}
Unexecuted instantiation: pythonrun.c:Py_IS_TYPE
Unexecuted instantiation: pytime.c:Py_IS_TYPE
Unexecuted instantiation: qsbr.c:Py_IS_TYPE
Unexecuted instantiation: bootstrap_hash.c:Py_IS_TYPE
specialize.c:Py_IS_TYPE
Line
Count
Source
301
22.0M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
22.0M
    return Py_TYPE(ob) == type;
303
22.0M
}
symtable.c:Py_IS_TYPE
Line
Count
Source
301
149k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
149k
    return Py_TYPE(ob) == type;
303
149k
}
sysmodule.c:Py_IS_TYPE
Line
Count
Source
301
208
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
208
    return Py_TYPE(ob) == type;
303
208
}
Unexecuted instantiation: thread.c:Py_IS_TYPE
traceback.c:Py_IS_TYPE
Line
Count
Source
301
5.68M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.68M
    return Py_TYPE(ob) == type;
303
5.68M
}
Unexecuted instantiation: tracemalloc.c:Py_IS_TYPE
Unexecuted instantiation: getopt.c:Py_IS_TYPE
Unexecuted instantiation: pystrcmp.c:Py_IS_TYPE
Unexecuted instantiation: pystrtod.c:Py_IS_TYPE
Unexecuted instantiation: dtoa.c:Py_IS_TYPE
Unexecuted instantiation: fileutils.c:Py_IS_TYPE
Unexecuted instantiation: suggestions.c:Py_IS_TYPE
Unexecuted instantiation: perf_trampoline.c:Py_IS_TYPE
Unexecuted instantiation: perf_jit_trampoline.c:Py_IS_TYPE
Unexecuted instantiation: remote_debugging.c:Py_IS_TYPE
Unexecuted instantiation: dynload_shlib.c:Py_IS_TYPE
Unexecuted instantiation: config.c:Py_IS_TYPE
Unexecuted instantiation: gcmodule.c:Py_IS_TYPE
Unexecuted instantiation: _asynciomodule.c:Py_IS_TYPE
Unexecuted instantiation: atexitmodule.c:Py_IS_TYPE
Unexecuted instantiation: faulthandler.c:Py_IS_TYPE
posixmodule.c:Py_IS_TYPE
Line
Count
Source
301
5.28k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.28k
    return Py_TYPE(ob) == type;
303
5.28k
}
Unexecuted instantiation: signalmodule.c:Py_IS_TYPE
Unexecuted instantiation: _tracemalloc.c:Py_IS_TYPE
Unexecuted instantiation: _suggestions.c:Py_IS_TYPE
_datetimemodule.c:Py_IS_TYPE
Line
Count
Source
301
44
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
44
    return Py_TYPE(ob) == type;
303
44
}
Unexecuted instantiation: _codecsmodule.c:Py_IS_TYPE
_collectionsmodule.c:Py_IS_TYPE
Line
Count
Source
301
3.36k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.36k
    return Py_TYPE(ob) == type;
303
3.36k
}
Unexecuted instantiation: errnomodule.c:Py_IS_TYPE
_iomodule.c:Py_IS_TYPE
Line
Count
Source
301
3.80k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.80k
    return Py_TYPE(ob) == type;
303
3.80k
}
Unexecuted instantiation: iobase.c:Py_IS_TYPE
fileio.c:Py_IS_TYPE
Line
Count
Source
301
408
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
408
    return Py_TYPE(ob) == type;
303
408
}
bytesio.c:Py_IS_TYPE
Line
Count
Source
301
18.7k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
18.7k
    return Py_TYPE(ob) == type;
303
18.7k
}
bufferedio.c:Py_IS_TYPE
Line
Count
Source
301
1.22k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.22k
    return Py_TYPE(ob) == type;
303
1.22k
}
textio.c:Py_IS_TYPE
Line
Count
Source
301
257k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
257k
    return Py_TYPE(ob) == type;
303
257k
}
Unexecuted instantiation: stringio.c:Py_IS_TYPE
itertoolsmodule.c:Py_IS_TYPE
Line
Count
Source
301
3.46k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.46k
    return Py_TYPE(ob) == type;
303
3.46k
}
sre.c:Py_IS_TYPE
Line
Count
Source
301
15.2k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
15.2k
    return Py_TYPE(ob) == type;
303
15.2k
}
Unexecuted instantiation: _sysconfig.c:Py_IS_TYPE
_threadmodule.c:Py_IS_TYPE
Line
Count
Source
301
5.95k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.95k
    return Py_TYPE(ob) == type;
303
5.95k
}
timemodule.c:Py_IS_TYPE
Line
Count
Source
301
3.39k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.39k
    return Py_TYPE(ob) == type;
303
3.39k
}
Unexecuted instantiation: _typesmodule.c:Py_IS_TYPE
Unexecuted instantiation: _typingmodule.c:Py_IS_TYPE
_weakref.c:Py_IS_TYPE
Line
Count
Source
301
2.90k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.90k
    return Py_TYPE(ob) == type;
303
2.90k
}
_abc.c:Py_IS_TYPE
Line
Count
Source
301
8.44k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
8.44k
    return Py_TYPE(ob) == type;
303
8.44k
}
_functoolsmodule.c:Py_IS_TYPE
Line
Count
Source
301
3.40k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.40k
    return Py_TYPE(ob) == type;
303
3.40k
}
Unexecuted instantiation: _localemodule.c:Py_IS_TYPE
Unexecuted instantiation: _opcode.c:Py_IS_TYPE
_operator.c:Py_IS_TYPE
Line
Count
Source
301
3.36k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.36k
    return Py_TYPE(ob) == type;
303
3.36k
}
Unexecuted instantiation: _stat.c:Py_IS_TYPE
Unexecuted instantiation: symtablemodule.c:Py_IS_TYPE
Unexecuted instantiation: pwdmodule.c:Py_IS_TYPE
getpath.c:Py_IS_TYPE
Line
Count
Source
301
22
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
22
    return Py_TYPE(ob) == type;
303
22
}
Unexecuted instantiation: frozen.c:Py_IS_TYPE
Unexecuted instantiation: getbuildinfo.c:Py_IS_TYPE
Unexecuted instantiation: peg_api.c:Py_IS_TYPE
Unexecuted instantiation: file_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: helpers.c:Py_IS_TYPE
Unexecuted instantiation: myreadline.c:Py_IS_TYPE
abstract.c:Py_IS_TYPE
Line
Count
Source
301
85.6M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
85.6M
    return Py_TYPE(ob) == type;
303
85.6M
}
boolobject.c:Py_IS_TYPE
Line
Count
Source
301
3.37k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.37k
    return Py_TYPE(ob) == type;
303
3.37k
}
Unexecuted instantiation: bytes_methods.c:Py_IS_TYPE
bytearrayobject.c:Py_IS_TYPE
Line
Count
Source
301
32.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
32.4M
    return Py_TYPE(ob) == type;
303
32.4M
}
bytesobject.c:Py_IS_TYPE
Line
Count
Source
301
220k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
220k
    return Py_TYPE(ob) == type;
303
220k
}
call.c:Py_IS_TYPE
Line
Count
Source
301
17.0M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
17.0M
    return Py_TYPE(ob) == type;
303
17.0M
}
capsule.c:Py_IS_TYPE
Line
Count
Source
301
51.5k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
51.5k
    return Py_TYPE(ob) == type;
303
51.5k
}
cellobject.c:Py_IS_TYPE
Line
Count
Source
301
2.48k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.48k
    return Py_TYPE(ob) == type;
303
2.48k
}
classobject.c:Py_IS_TYPE
Line
Count
Source
301
8.97M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
8.97M
    return Py_TYPE(ob) == type;
303
8.97M
}
codeobject.c:Py_IS_TYPE
Line
Count
Source
301
767M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
767M
    return Py_TYPE(ob) == type;
303
767M
}
complexobject.c:Py_IS_TYPE
Line
Count
Source
301
1.27M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.27M
    return Py_TYPE(ob) == type;
303
1.27M
}
descrobject.c:Py_IS_TYPE
Line
Count
Source
301
26.6M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
26.6M
    return Py_TYPE(ob) == type;
303
26.6M
}
Unexecuted instantiation: enumobject.c:Py_IS_TYPE
genobject.c:Py_IS_TYPE
Line
Count
Source
301
18.5k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
18.5k
    return Py_TYPE(ob) == type;
303
18.5k
}
Unexecuted instantiation: fileobject.c:Py_IS_TYPE
floatobject.c:Py_IS_TYPE
Line
Count
Source
301
178M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
178M
    return Py_TYPE(ob) == type;
303
178M
}
frameobject.c:Py_IS_TYPE
Line
Count
Source
301
3.62G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.62G
    return Py_TYPE(ob) == type;
303
3.62G
}
funcobject.c:Py_IS_TYPE
Line
Count
Source
301
6.00M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
6.00M
    return Py_TYPE(ob) == type;
303
6.00M
}
Unexecuted instantiation: interpolationobject.c:Py_IS_TYPE
iterobject.c:Py_IS_TYPE
Line
Count
Source
301
6.11M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
6.11M
    return Py_TYPE(ob) == type;
303
6.11M
}
Unexecuted instantiation: odictobject.c:Py_IS_TYPE
memoryobject.c:Py_IS_TYPE
Line
Count
Source
301
2.32k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.32k
    return Py_TYPE(ob) == type;
303
2.32k
}
methodobject.c:Py_IS_TYPE
Line
Count
Source
301
63.7M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
63.7M
    return Py_TYPE(ob) == type;
303
63.7M
}
Unexecuted instantiation: namespaceobject.c:Py_IS_TYPE
unicode_format.c:Py_IS_TYPE
Line
Count
Source
301
3.28M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.28M
    return Py_TYPE(ob) == type;
303
3.28M
}
Unexecuted instantiation: _contextvars.c:Py_IS_TYPE
Unexecuted instantiation: Python-ast.c:Py_IS_TYPE
Unexecuted instantiation: Python-tokenize.c:Py_IS_TYPE
Unexecuted instantiation: asdl.c:Py_IS_TYPE
Unexecuted instantiation: assemble.c:Py_IS_TYPE
ast.c:Py_IS_TYPE
Line
Count
Source
301
12.1k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.1k
    return Py_TYPE(ob) == type;
303
12.1k
}
Unexecuted instantiation: ast_preprocess.c:Py_IS_TYPE
ast_unparse.c:Py_IS_TYPE
Line
Count
Source
301
336k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
336k
    return Py_TYPE(ob) == type;
303
336k
}
Unexecuted instantiation: critical_section.c:Py_IS_TYPE
Unexecuted instantiation: crossinterp.c:Py_IS_TYPE
Unexecuted instantiation: getcopyright.c:Py_IS_TYPE
Unexecuted instantiation: getplatform.c:Py_IS_TYPE
Unexecuted instantiation: getversion.c:Py_IS_TYPE
Unexecuted instantiation: optimizer.c:Py_IS_TYPE
Unexecuted instantiation: pathconfig.c:Py_IS_TYPE
Unexecuted instantiation: pymath.c:Py_IS_TYPE
Unexecuted instantiation: structmember.c:Py_IS_TYPE
Unexecuted instantiation: pystrhex.c:Py_IS_TYPE
pegen.c:Py_IS_TYPE
Line
Count
Source
301
10.3k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
10.3k
    return Py_TYPE(ob) == type;
303
10.3k
}
Unexecuted instantiation: pegen_errors.c:Py_IS_TYPE
Unexecuted instantiation: parser.c:Py_IS_TYPE
Unexecuted instantiation: buffer.c:Py_IS_TYPE
Unexecuted instantiation: lexer.c:Py_IS_TYPE
Unexecuted instantiation: state.c:Py_IS_TYPE
Unexecuted instantiation: readline_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: string_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: utf8_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: getcompiler.c:Py_IS_TYPE
Unexecuted instantiation: mystrtoul.c:Py_IS_TYPE
Unexecuted instantiation: token.c:Py_IS_TYPE
action_helpers.c:Py_IS_TYPE
Line
Count
Source
301
238k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
238k
    return Py_TYPE(ob) == type;
303
238k
}
Unexecuted instantiation: string_parser.c:Py_IS_TYPE
304
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
305
4.56G
#  define Py_IS_TYPE(ob, type) Py_IS_TYPE(_PyObject_CAST(ob), (type))
306
#endif
307
308
309
#ifndef _Py_OPAQUE_PYOBJECT
310
223M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
223M
    ob->ob_type = type;
312
223M
}
Unexecuted instantiation: exceptions.c:Py_SET_TYPE
Unexecuted instantiation: genericaliasobject.c:Py_SET_TYPE
Unexecuted instantiation: listobject.c:Py_SET_TYPE
longobject.c:Py_SET_TYPE
Line
Count
Source
310
9.86M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
9.86M
    ob->ob_type = type;
312
9.86M
}
Unexecuted instantiation: dictobject.c:Py_SET_TYPE
moduleobject.c:Py_SET_TYPE
Line
Count
Source
310
436
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
436
    ob->ob_type = type;
312
436
}
object.c:Py_SET_TYPE
Line
Count
Source
310
713k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
713k
    ob->ob_type = type;
312
713k
}
Unexecuted instantiation: obmalloc.c:Py_SET_TYPE
Unexecuted instantiation: picklebufobject.c:Py_SET_TYPE
Unexecuted instantiation: rangeobject.c:Py_SET_TYPE
Unexecuted instantiation: setobject.c:Py_SET_TYPE
Unexecuted instantiation: sliceobject.c:Py_SET_TYPE
structseq.c:Py_SET_TYPE
Line
Count
Source
310
176
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
176
    ob->ob_type = type;
312
176
}
Unexecuted instantiation: templateobject.c:Py_SET_TYPE
Unexecuted instantiation: tupleobject.c:Py_SET_TYPE
typeobject.c:Py_SET_TYPE
Line
Count
Source
310
10.2M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
10.2M
    ob->ob_type = type;
312
10.2M
}
Unexecuted instantiation: typevarobject.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
310
41.8M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
41.8M
    ob->ob_type = type;
312
41.8M
}
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
gc.c:Py_SET_TYPE
Line
Count
Source
310
146M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
146M
    ob->ob_type = type;
312
146M
}
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: 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: 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: 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: 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
310
88
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
88
    ob->ob_type = type;
312
88
}
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
310
7
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
7
    ob->ob_type = type;
312
7
}
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
bytesobject.c:Py_SET_TYPE
Line
Count
Source
310
13.2M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
13.2M
    ob->ob_type = type;
312
13.2M
}
Unexecuted instantiation: call.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
310
82.2k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
82.2k
    ob->ob_type = type;
312
82.2k
}
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
floatobject.c:Py_SET_TYPE
Line
Count
Source
310
169k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
169k
    ob->ob_type = type;
312
169k
}
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: odictobject.c:Py_SET_TYPE
Unexecuted instantiation: memoryobject.c:Py_SET_TYPE
Unexecuted instantiation: methodobject.c:Py_SET_TYPE
Unexecuted instantiation: namespaceobject.c:Py_SET_TYPE
Unexecuted instantiation: unicode_format.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: pymath.c:Py_SET_TYPE
Unexecuted instantiation: structmember.c:Py_SET_TYPE
Unexecuted instantiation: pystrhex.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
313
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
314
223M
#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
315
#endif
316
317
402M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
402M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
402M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
402M
    ob->ob_size = size;
324
402M
#endif
325
402M
}
Unexecuted instantiation: exceptions.c:Py_SET_SIZE
Unexecuted instantiation: genericaliasobject.c:Py_SET_SIZE
listobject.c:Py_SET_SIZE
Line
Count
Source
317
274M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
274M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
274M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
274M
    ob->ob_size = size;
324
274M
#endif
325
274M
}
Unexecuted instantiation: longobject.c:Py_SET_SIZE
Unexecuted instantiation: dictobject.c:Py_SET_SIZE
Unexecuted instantiation: moduleobject.c:Py_SET_SIZE
object.c:Py_SET_SIZE
Line
Count
Source
317
72.5k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
72.5k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
72.5k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
72.5k
    ob->ob_size = size;
324
72.5k
#endif
325
72.5k
}
Unexecuted instantiation: obmalloc.c:Py_SET_SIZE
Unexecuted instantiation: picklebufobject.c:Py_SET_SIZE
Unexecuted instantiation: rangeobject.c:Py_SET_SIZE
Unexecuted instantiation: setobject.c:Py_SET_SIZE
Unexecuted instantiation: sliceobject.c:Py_SET_SIZE
structseq.c:Py_SET_SIZE
Line
Count
Source
317
2.01k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
2.01k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
2.01k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
2.01k
    ob->ob_size = size;
324
2.01k
#endif
325
2.01k
}
Unexecuted instantiation: templateobject.c:Py_SET_SIZE
Unexecuted instantiation: tupleobject.c:Py_SET_SIZE
typeobject.c:Py_SET_SIZE
Line
Count
Source
317
5.28k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
5.28k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
5.28k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
5.28k
    ob->ob_size = size;
324
5.28k
#endif
325
5.28k
}
Unexecuted instantiation: typevarobject.c:Py_SET_SIZE
Unexecuted instantiation: unicode_formatter.c:Py_SET_SIZE
Unexecuted instantiation: unicode_writer.c:Py_SET_SIZE
Unexecuted instantiation: unicodectype.c:Py_SET_SIZE
unicodeobject.c:Py_SET_SIZE
Line
Count
Source
317
1.64k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
1.64k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
1.64k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
1.64k
    ob->ob_size = size;
324
1.64k
#endif
325
1.64k
}
Unexecuted instantiation: unionobject.c:Py_SET_SIZE
Unexecuted instantiation: weakrefobject.c:Py_SET_SIZE
Unexecuted instantiation: _warnings.c:Py_SET_SIZE
Unexecuted instantiation: bltinmodule.c:Py_SET_SIZE
ceval.c:Py_SET_SIZE
Line
Count
Source
317
7.31M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
7.31M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
7.31M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
7.31M
    ob->ob_size = size;
324
7.31M
#endif
325
7.31M
}
Unexecuted instantiation: codecs.c:Py_SET_SIZE
Unexecuted instantiation: codegen.c:Py_SET_SIZE
Unexecuted instantiation: compile.c:Py_SET_SIZE
Unexecuted instantiation: context.c:Py_SET_SIZE
Unexecuted instantiation: errors.c:Py_SET_SIZE
Unexecuted instantiation: flowgraph.c:Py_SET_SIZE
Unexecuted instantiation: frame.c:Py_SET_SIZE
Unexecuted instantiation: future.c:Py_SET_SIZE
gc.c:Py_SET_SIZE
Line
Count
Source
317
106M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
106M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
106M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
106M
    ob->ob_size = size;
324
106M
#endif
325
106M
}
Unexecuted instantiation: gc_gil.c:Py_SET_SIZE
Unexecuted instantiation: getargs.c:Py_SET_SIZE
Unexecuted instantiation: ceval_gil.c:Py_SET_SIZE
hamt.c:Py_SET_SIZE
Line
Count
Source
317
4
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
4
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
4
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
4
    ob->ob_size = size;
324
4
#endif
325
4
}
Unexecuted instantiation: hashtable.c:Py_SET_SIZE
Unexecuted instantiation: import.c:Py_SET_SIZE
Unexecuted instantiation: importdl.c:Py_SET_SIZE
Unexecuted instantiation: initconfig.c:Py_SET_SIZE
Unexecuted instantiation: instrumentation.c:Py_SET_SIZE
Unexecuted instantiation: instruction_sequence.c:Py_SET_SIZE
Unexecuted instantiation: intrinsics.c:Py_SET_SIZE
Unexecuted instantiation: legacy_tracing.c:Py_SET_SIZE
Unexecuted instantiation: lock.c:Py_SET_SIZE
Unexecuted instantiation: marshal.c:Py_SET_SIZE
Unexecuted instantiation: modsupport.c:Py_SET_SIZE
Unexecuted instantiation: mysnprintf.c:Py_SET_SIZE
Unexecuted instantiation: parking_lot.c:Py_SET_SIZE
Unexecuted instantiation: preconfig.c:Py_SET_SIZE
Unexecuted instantiation: pyarena.c:Py_SET_SIZE
Unexecuted instantiation: pyctype.c:Py_SET_SIZE
Unexecuted instantiation: pyhash.c:Py_SET_SIZE
Unexecuted instantiation: pylifecycle.c:Py_SET_SIZE
Unexecuted instantiation: pystate.c:Py_SET_SIZE
Unexecuted instantiation: pythonrun.c:Py_SET_SIZE
Unexecuted instantiation: pytime.c:Py_SET_SIZE
Unexecuted instantiation: qsbr.c:Py_SET_SIZE
Unexecuted instantiation: bootstrap_hash.c:Py_SET_SIZE
Unexecuted instantiation: specialize.c:Py_SET_SIZE
Unexecuted instantiation: symtable.c:Py_SET_SIZE
Unexecuted instantiation: sysmodule.c:Py_SET_SIZE
Unexecuted instantiation: thread.c:Py_SET_SIZE
Unexecuted instantiation: traceback.c:Py_SET_SIZE
Unexecuted instantiation: tracemalloc.c:Py_SET_SIZE
Unexecuted instantiation: getopt.c:Py_SET_SIZE
Unexecuted instantiation: pystrcmp.c:Py_SET_SIZE
Unexecuted instantiation: pystrtod.c:Py_SET_SIZE
Unexecuted instantiation: dtoa.c:Py_SET_SIZE
Unexecuted instantiation: fileutils.c:Py_SET_SIZE
Unexecuted instantiation: suggestions.c:Py_SET_SIZE
Unexecuted instantiation: perf_trampoline.c:Py_SET_SIZE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SET_SIZE
Unexecuted instantiation: remote_debugging.c:Py_SET_SIZE
Unexecuted instantiation: dynload_shlib.c:Py_SET_SIZE
Unexecuted instantiation: config.c:Py_SET_SIZE
Unexecuted instantiation: gcmodule.c:Py_SET_SIZE
Unexecuted instantiation: _asynciomodule.c:Py_SET_SIZE
Unexecuted instantiation: atexitmodule.c:Py_SET_SIZE
Unexecuted instantiation: faulthandler.c:Py_SET_SIZE
Unexecuted instantiation: posixmodule.c:Py_SET_SIZE
Unexecuted instantiation: signalmodule.c:Py_SET_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SET_SIZE
Unexecuted instantiation: _suggestions.c:Py_SET_SIZE
Unexecuted instantiation: _datetimemodule.c:Py_SET_SIZE
Unexecuted instantiation: _codecsmodule.c:Py_SET_SIZE
Unexecuted instantiation: _collectionsmodule.c:Py_SET_SIZE
Unexecuted instantiation: errnomodule.c:Py_SET_SIZE
Unexecuted instantiation: _iomodule.c:Py_SET_SIZE
Unexecuted instantiation: iobase.c:Py_SET_SIZE
Unexecuted instantiation: fileio.c:Py_SET_SIZE
Unexecuted instantiation: bytesio.c:Py_SET_SIZE
Unexecuted instantiation: bufferedio.c:Py_SET_SIZE
Unexecuted instantiation: textio.c:Py_SET_SIZE
Unexecuted instantiation: stringio.c:Py_SET_SIZE
Unexecuted instantiation: itertoolsmodule.c:Py_SET_SIZE
Unexecuted instantiation: sre.c:Py_SET_SIZE
Unexecuted instantiation: _sysconfig.c:Py_SET_SIZE
Unexecuted instantiation: _threadmodule.c:Py_SET_SIZE
Unexecuted instantiation: timemodule.c:Py_SET_SIZE
Unexecuted instantiation: _typesmodule.c:Py_SET_SIZE
Unexecuted instantiation: _typingmodule.c:Py_SET_SIZE
Unexecuted instantiation: _weakref.c:Py_SET_SIZE
Unexecuted instantiation: _abc.c:Py_SET_SIZE
Unexecuted instantiation: _functoolsmodule.c:Py_SET_SIZE
Unexecuted instantiation: _localemodule.c:Py_SET_SIZE
Unexecuted instantiation: _opcode.c:Py_SET_SIZE
Unexecuted instantiation: _operator.c:Py_SET_SIZE
Unexecuted instantiation: _stat.c:Py_SET_SIZE
Unexecuted instantiation: symtablemodule.c:Py_SET_SIZE
Unexecuted instantiation: pwdmodule.c:Py_SET_SIZE
Unexecuted instantiation: getpath.c:Py_SET_SIZE
Unexecuted instantiation: frozen.c:Py_SET_SIZE
Unexecuted instantiation: getbuildinfo.c:Py_SET_SIZE
Unexecuted instantiation: peg_api.c:Py_SET_SIZE
Unexecuted instantiation: file_tokenizer.c:Py_SET_SIZE
Unexecuted instantiation: helpers.c:Py_SET_SIZE
Unexecuted instantiation: myreadline.c:Py_SET_SIZE
abstract.c:Py_SET_SIZE
Line
Count
Source
317
3.54k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
3.54k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
3.54k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
3.54k
    ob->ob_size = size;
324
3.54k
#endif
325
3.54k
}
Unexecuted instantiation: boolobject.c:Py_SET_SIZE
Unexecuted instantiation: bytes_methods.c:Py_SET_SIZE
bytearrayobject.c:Py_SET_SIZE
Line
Count
Source
317
1.16M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
1.16M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
1.16M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
1.16M
    ob->ob_size = size;
324
1.16M
#endif
325
1.16M
}
bytesobject.c:Py_SET_SIZE
Line
Count
Source
317
13.4M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
13.4M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
13.4M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
13.4M
    ob->ob_size = size;
324
13.4M
#endif
325
13.4M
}
Unexecuted instantiation: call.c:Py_SET_SIZE
Unexecuted instantiation: capsule.c:Py_SET_SIZE
Unexecuted instantiation: cellobject.c:Py_SET_SIZE
Unexecuted instantiation: classobject.c:Py_SET_SIZE
Unexecuted instantiation: codeobject.c:Py_SET_SIZE
Unexecuted instantiation: complexobject.c:Py_SET_SIZE
Unexecuted instantiation: descrobject.c:Py_SET_SIZE
Unexecuted instantiation: enumobject.c:Py_SET_SIZE
Unexecuted instantiation: genobject.c:Py_SET_SIZE
Unexecuted instantiation: fileobject.c:Py_SET_SIZE
Unexecuted instantiation: floatobject.c:Py_SET_SIZE
Unexecuted instantiation: frameobject.c:Py_SET_SIZE
Unexecuted instantiation: funcobject.c:Py_SET_SIZE
Unexecuted instantiation: interpolationobject.c:Py_SET_SIZE
Unexecuted instantiation: iterobject.c:Py_SET_SIZE
Unexecuted instantiation: odictobject.c:Py_SET_SIZE
Unexecuted instantiation: memoryobject.c:Py_SET_SIZE
Unexecuted instantiation: methodobject.c:Py_SET_SIZE
Unexecuted instantiation: namespaceobject.c:Py_SET_SIZE
Unexecuted instantiation: unicode_format.c:Py_SET_SIZE
Unexecuted instantiation: _contextvars.c:Py_SET_SIZE
Unexecuted instantiation: Python-ast.c:Py_SET_SIZE
Unexecuted instantiation: Python-tokenize.c:Py_SET_SIZE
Unexecuted instantiation: asdl.c:Py_SET_SIZE
Unexecuted instantiation: assemble.c:Py_SET_SIZE
Unexecuted instantiation: ast.c:Py_SET_SIZE
Unexecuted instantiation: ast_preprocess.c:Py_SET_SIZE
Unexecuted instantiation: ast_unparse.c:Py_SET_SIZE
Unexecuted instantiation: critical_section.c:Py_SET_SIZE
Unexecuted instantiation: crossinterp.c:Py_SET_SIZE
Unexecuted instantiation: getcopyright.c:Py_SET_SIZE
Unexecuted instantiation: getplatform.c:Py_SET_SIZE
Unexecuted instantiation: getversion.c:Py_SET_SIZE
Unexecuted instantiation: optimizer.c:Py_SET_SIZE
Unexecuted instantiation: pathconfig.c:Py_SET_SIZE
Unexecuted instantiation: pymath.c:Py_SET_SIZE
Unexecuted instantiation: structmember.c:Py_SET_SIZE
Unexecuted instantiation: pystrhex.c:Py_SET_SIZE
Unexecuted instantiation: pegen.c:Py_SET_SIZE
Unexecuted instantiation: pegen_errors.c:Py_SET_SIZE
Unexecuted instantiation: parser.c:Py_SET_SIZE
Unexecuted instantiation: buffer.c:Py_SET_SIZE
Unexecuted instantiation: lexer.c:Py_SET_SIZE
Unexecuted instantiation: state.c:Py_SET_SIZE
Unexecuted instantiation: readline_tokenizer.c:Py_SET_SIZE
Unexecuted instantiation: string_tokenizer.c:Py_SET_SIZE
Unexecuted instantiation: utf8_tokenizer.c:Py_SET_SIZE
Unexecuted instantiation: getcompiler.c:Py_SET_SIZE
Unexecuted instantiation: mystrtoul.c:Py_SET_SIZE
Unexecuted instantiation: token.c:Py_SET_SIZE
Unexecuted instantiation: action_helpers.c:Py_SET_SIZE
Unexecuted instantiation: string_parser.c:Py_SET_SIZE
326
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
327
402M
#  define Py_SET_SIZE(ob, size) Py_SET_SIZE(_PyVarObject_CAST(ob), (size))
328
#endif
329
#endif // !defined(_Py_OPAQUE_PYOBJECT)
330
331
332
/*
333
Type objects contain a string containing the type name (to help somewhat
334
in debugging), the allocation parameters (see PyObject_New() and
335
PyObject_NewVar()),
336
and methods for accessing objects of the type.  Methods are optional, a
337
nil pointer meaning that particular kind of access is not available for
338
this type.  The Py_DECREF() macro uses the tp_dealloc method without
339
checking for a nil pointer; it should always be implemented except if
340
the implementation can guarantee that the reference count will never
341
reach zero (e.g., for statically allocated type objects).
342
343
NB: the methods for certain type groups are now contained in separate
344
method blocks.
345
*/
346
347
typedef PyObject * (*unaryfunc)(PyObject *);
348
typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
349
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
350
typedef int (*inquiry)(PyObject *);
351
typedef Py_ssize_t (*lenfunc)(PyObject *);
352
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
353
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
354
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
355
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
356
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
357
358
typedef int (*objobjproc)(PyObject *, PyObject *);
359
typedef int (*visitproc)(PyObject *, void *);
360
typedef int (*traverseproc)(PyObject *, visitproc, void *);
361
362
363
typedef void (*freefunc)(void *);
364
typedef void (*destructor)(PyObject *);
365
typedef PyObject *(*getattrfunc)(PyObject *, char *);
366
typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
367
typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
368
typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
369
typedef PyObject *(*reprfunc)(PyObject *);
370
typedef Py_hash_t (*hashfunc)(PyObject *);
371
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
372
typedef PyObject *(*getiterfunc) (PyObject *);
373
typedef PyObject *(*iternextfunc) (PyObject *);
374
typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
375
typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
376
typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
377
typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *);
378
typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t);
379
380
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 // 3.12
381
typedef PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args,
382
                                    size_t nargsf, PyObject *kwnames);
383
#endif
384
385
typedef struct{
386
    int slot;    /* slot id, see below */
387
    void *pfunc; /* function pointer */
388
} PyType_Slot;
389
390
typedef struct{
391
    const char* name;
392
    int basicsize;
393
    int itemsize;
394
    unsigned int flags;
395
    PyType_Slot *slots; /* terminated by slot==0. */
396
} PyType_Spec;
397
398
PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
399
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
400
PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
401
#endif
402
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03040000
403
PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
404
#endif
405
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000
406
PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *);
407
PyAPI_FUNC(PyObject *) PyType_GetModule(PyTypeObject *);
408
PyAPI_FUNC(void *) PyType_GetModuleState(PyTypeObject *);
409
#endif
410
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
411
PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *);
412
PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *);
413
#endif
414
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
415
PyAPI_FUNC(PyObject *) PyType_GetFullyQualifiedName(PyTypeObject *type);
416
PyAPI_FUNC(PyObject *) PyType_GetModuleName(PyTypeObject *type);
417
#endif
418
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
419
PyAPI_FUNC(PyObject *) PyType_FromMetaclass(PyTypeObject*, PyObject*, PyType_Spec*, PyObject*);
420
PyAPI_FUNC(void *) PyObject_GetTypeData(PyObject *obj, PyTypeObject *cls);
421
PyAPI_FUNC(Py_ssize_t) PyType_GetTypeDataSize(PyTypeObject *cls);
422
#endif
423
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030E0000
424
PyAPI_FUNC(int) PyType_GetBaseByToken(PyTypeObject *, void *, PyTypeObject **);
425
7
#define Py_TP_USE_SPEC NULL
426
#endif
427
428
/* Generic type check */
429
PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
430
431
667M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
667M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
667M
}
exceptions.c:PyObject_TypeCheck
Line
Count
Source
431
749k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
749k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
749k
}
Unexecuted instantiation: genericaliasobject.c:PyObject_TypeCheck
Unexecuted instantiation: listobject.c:PyObject_TypeCheck
longobject.c:PyObject_TypeCheck
Line
Count
Source
431
1.37M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.37M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.37M
}
dictobject.c:PyObject_TypeCheck
Line
Count
Source
431
88.5k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
88.5k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
88.5k
}
moduleobject.c:PyObject_TypeCheck
Line
Count
Source
431
64.4M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
64.4M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
64.4M
}
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: 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
431
33.1M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
33.1M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
33.1M
}
Unexecuted instantiation: typevarobject.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
Unexecuted instantiation: unionobject.c:PyObject_TypeCheck
weakrefobject.c:PyObject_TypeCheck
Line
Count
Source
431
5.02M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
5.02M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
5.02M
}
_warnings.c:PyObject_TypeCheck
Line
Count
Source
431
2.56M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
2.56M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
2.56M
}
Unexecuted instantiation: bltinmodule.c:PyObject_TypeCheck
ceval.c:PyObject_TypeCheck
Line
Count
Source
431
150M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
150M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
150M
}
codecs.c:PyObject_TypeCheck
Line
Count
Source
431
92.1k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
92.1k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
92.1k
}
codegen.c:PyObject_TypeCheck
Line
Count
Source
431
24.7k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
24.7k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
24.7k
}
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
gc.c:PyObject_TypeCheck
Line
Count
Source
431
145k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
145k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
145k
}
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
431
910
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
910
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
910
}
importdl.c:PyObject_TypeCheck
Line
Count
Source
431
348
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
348
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
348
}
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
431
7.58k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
7.58k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
7.58k
}
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: 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
431
19.1k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
19.1k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
19.1k
}
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: 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: 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
posixmodule.c:PyObject_TypeCheck
Line
Count
Source
431
5.28k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
5.28k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
5.28k
}
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
431
44
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
44
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
44
}
Unexecuted instantiation: _codecsmodule.c:PyObject_TypeCheck
_collectionsmodule.c:PyObject_TypeCheck
Line
Count
Source
431
3.36k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.36k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.36k
}
Unexecuted instantiation: errnomodule.c:PyObject_TypeCheck
_iomodule.c:PyObject_TypeCheck
Line
Count
Source
431
3.80k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.80k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.80k
}
Unexecuted instantiation: iobase.c:PyObject_TypeCheck
Unexecuted instantiation: fileio.c:PyObject_TypeCheck
Unexecuted instantiation: bytesio.c:PyObject_TypeCheck
bufferedio.c:PyObject_TypeCheck
Line
Count
Source
431
408
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
408
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
408
}
textio.c:PyObject_TypeCheck
Line
Count
Source
431
66
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
66
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
66
}
Unexecuted instantiation: stringio.c:PyObject_TypeCheck
itertoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
431
3.36k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.36k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.36k
}
sre.c:PyObject_TypeCheck
Line
Count
Source
431
15.2k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
15.2k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
15.2k
}
Unexecuted instantiation: _sysconfig.c:PyObject_TypeCheck
_threadmodule.c:PyObject_TypeCheck
Line
Count
Source
431
5.95k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
5.95k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
5.95k
}
timemodule.c:PyObject_TypeCheck
Line
Count
Source
431
3.39k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.39k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.39k
}
Unexecuted instantiation: _typesmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _typingmodule.c:PyObject_TypeCheck
_weakref.c:PyObject_TypeCheck
Line
Count
Source
431
2.90k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
2.90k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
2.90k
}
_abc.c:PyObject_TypeCheck
Line
Count
Source
431
6.65k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
6.65k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
6.65k
}
_functoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
431
3.40k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.40k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.40k
}
Unexecuted instantiation: _localemodule.c:PyObject_TypeCheck
Unexecuted instantiation: _opcode.c:PyObject_TypeCheck
_operator.c:PyObject_TypeCheck
Line
Count
Source
431
3.36k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.36k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.36k
}
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
431
17.1M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
17.1M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
17.1M
}
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck
Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck
bytearrayobject.c:PyObject_TypeCheck
Line
Count
Source
431
31.9M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
31.9M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
31.9M
}
Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck
Unexecuted instantiation: call.c:PyObject_TypeCheck
Unexecuted instantiation: capsule.c:PyObject_TypeCheck
Unexecuted instantiation: cellobject.c:PyObject_TypeCheck
Unexecuted instantiation: classobject.c:PyObject_TypeCheck
codeobject.c:PyObject_TypeCheck
Line
Count
Source
431
92.3M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
92.3M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
92.3M
}
complexobject.c:PyObject_TypeCheck
Line
Count
Source
431
1.07M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.07M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.07M
}
descrobject.c:PyObject_TypeCheck
Line
Count
Source
431
26.6M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
26.6M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
26.6M
}
Unexecuted instantiation: enumobject.c:PyObject_TypeCheck
Unexecuted instantiation: genobject.c:PyObject_TypeCheck
Unexecuted instantiation: fileobject.c:PyObject_TypeCheck
floatobject.c:PyObject_TypeCheck
Line
Count
Source
431
177M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
177M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
177M
}
frameobject.c:PyObject_TypeCheck
Line
Count
Source
431
4.31M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
4.31M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
4.31M
}
funcobject.c:PyObject_TypeCheck
Line
Count
Source
431
332k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
332k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
332k
}
Unexecuted instantiation: interpolationobject.c:PyObject_TypeCheck
Unexecuted instantiation: iterobject.c:PyObject_TypeCheck
Unexecuted instantiation: odictobject.c:PyObject_TypeCheck
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck
methodobject.c:PyObject_TypeCheck
Line
Count
Source
431
57.3M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
57.3M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
57.3M
}
Unexecuted instantiation: namespaceobject.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_format.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
ast_unparse.c:PyObject_TypeCheck
Line
Count
Source
431
33.1k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
33.1k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
33.1k
}
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
Unexecuted instantiation: pymath.c:PyObject_TypeCheck
Unexecuted instantiation: structmember.c:PyObject_TypeCheck
Unexecuted instantiation: pystrhex.c:PyObject_TypeCheck
pegen.c:PyObject_TypeCheck
Line
Count
Source
431
10.3k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
10.3k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
10.3k
}
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
434
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
435
91.1M
#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
436
#endif
437
438
PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
439
PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
440
PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */
441
442
PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
443
444
PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
445
PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
446
PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
447
                                               PyObject *, PyObject *);
448
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
449
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
450
451
/* Generic operations on objects */
452
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
453
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
454
PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
455
PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
456
PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
457
PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
458
PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
459
PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
460
PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *v, const char *name);
461
PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
462
PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
463
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
464
PyAPI_FUNC(int) PyObject_GetOptionalAttr(PyObject *, PyObject *, PyObject **);
465
PyAPI_FUNC(int) PyObject_GetOptionalAttrString(PyObject *, const char *, PyObject **);
466
#endif
467
PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
468
PyAPI_FUNC(int) PyObject_DelAttr(PyObject *v, PyObject *name);
469
PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
470
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
471
PyAPI_FUNC(int) PyObject_HasAttrWithError(PyObject *, PyObject *);
472
PyAPI_FUNC(int) PyObject_HasAttrStringWithError(PyObject *, const char *);
473
#endif
474
PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
475
PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
476
PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *);
477
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
478
PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
479
#endif
480
PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
481
PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
482
PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
483
PyAPI_FUNC(int) PyObject_Not(PyObject *);
484
PyAPI_FUNC(int) PyCallable_Check(PyObject *);
485
PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
486
487
/* PyObject_Dir(obj) acts like Python builtins.dir(obj), returning a
488
   list of strings.  PyObject_Dir(NULL) is like builtins.dir(),
489
   returning the names of the current locals.  In this case, if there are
490
   no current locals, NULL is returned, and PyErr_Occurred() is false.
491
*/
492
PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
493
494
/* Helpers for printing recursive container types */
495
PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
496
PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
497
498
/* Flag bits for printing: */
499
0
#define Py_PRINT_RAW    1       /* No string quotes etc. */
500
501
/*
502
Type flags (tp_flags)
503
504
These flags are used to change expected features and behavior for a
505
particular type.
506
507
Arbitration of the flag bit positions will need to be coordinated among
508
all extension writers who publicly release their extensions (this will
509
be fewer than you might expect!).
510
511
Most flags were removed as of Python 3.0 to make room for new flags.  (Some
512
flags are not for backwards compatibility but to indicate the presence of an
513
optional feature; these flags remain of course.)
514
515
Type definitions should use Py_TPFLAGS_DEFAULT for their tp_flags value.
516
517
Code can use PyType_HasFeature(type_ob, flag_value) to test whether the
518
given type object has a specified feature.
519
*/
520
521
#ifndef Py_LIMITED_API
522
523
/* Track types initialized using _PyStaticType_InitBuiltin(). */
524
45.4M
#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
525
526
/* The values array is placed inline directly after the rest of
527
 * the object. Implies Py_TPFLAGS_HAVE_GC.
528
 */
529
136M
#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
530
531
/* Placement of weakref pointers are managed by the VM, not by the type.
532
 * The VM will automatically set tp_weaklistoffset. Implies Py_TPFLAGS_HAVE_GC.
533
 */
534
313M
#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
535
536
/* Placement of dict (and values) pointers are managed by the VM, not by the type.
537
 * The VM will automatically set tp_dictoffset. Implies Py_TPFLAGS_HAVE_GC.
538
 */
539
344M
#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
540
541
/* Type has dictionary or weakref pointers that are managed by VM and has
542
 * to allocate space to store these.
543
 */
544
313M
#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
545
546
/* Set if instances of the type object are treated as sequences for pattern matching */
547
37.6k
#define Py_TPFLAGS_SEQUENCE (1 << 5)
548
/* Set if instances of the type object are treated as mappings for pattern matching */
549
37.6k
#define Py_TPFLAGS_MAPPING (1 << 6)
550
#endif
551
552
/* Disallow creating instances of the type: set tp_new to NULL and don't create
553
 * the "__new__" key in the type dictionary. */
554
25.0k
#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
555
556
/* Set if the type object is immutable: type attributes cannot be set nor deleted */
557
26.8k
#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
558
559
/* Set if the type object is dynamically allocated */
560
181M
#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
561
562
/* Set if the type allows subclassing */
563
15.3k
#define Py_TPFLAGS_BASETYPE (1UL << 10)
564
565
/* Set if the type implements the vectorcall protocol (PEP 590) */
566
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
567
35.9M
#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
568
#ifndef Py_LIMITED_API
569
// Backwards compatibility alias for API that was provisional in Python 3.8
570
#define _Py_TPFLAGS_HAVE_VECTORCALL Py_TPFLAGS_HAVE_VECTORCALL
571
#endif
572
#endif
573
574
/* Set if the type is 'ready' -- fully initialized */
575
35.4k
#define Py_TPFLAGS_READY (1UL << 12)
576
577
/* Set while the type is being 'readied', to prevent recursive ready calls */
578
23.4k
#define Py_TPFLAGS_READYING (1UL << 13)
579
580
/* Objects support garbage collection (see objimpl.h) */
581
1.98G
#define Py_TPFLAGS_HAVE_GC (1UL << 14)
582
583
/* These two bits are preserved for Stackless Python, next after this is 17 */
584
#ifdef STACKLESS
585
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3UL << 15)
586
#else
587
3.57k
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
588
#endif
589
590
/* Objects behave like an unbound method */
591
17.7M
#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
592
593
/* Unused. Legacy flag */
594
#define Py_TPFLAGS_VALID_VERSION_TAG  (1UL << 19)
595
596
/* Type is abstract and cannot be instantiated */
597
417k
#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
598
599
// This undocumented flag gives certain built-ins their unique pattern-matching
600
// behavior, which allows a single positional subpattern to match against the
601
// subject itself (rather than a mapped attribute on it):
602
9.36k
#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
603
604
/* Items (ob_size*tp_itemsize) are found at the end of an instance's memory */
605
32.2k
#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
606
607
/* These flags are used to determine if a type is a subclass. */
608
57
#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
609
22
#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
610
413
#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
611
0
#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
612
1.34k
#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
613
50
#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
614
1.73k
#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
615
51
#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
616
617
3.57k
#define Py_TPFLAGS_DEFAULT  ( \
618
3.57k
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
619
3.57k
                0)
620
621
/* NOTE: Some of the following flags reuse lower bits (removed as part of the
622
 * Python 3.0 transition). */
623
624
/* The following flags are kept for compatibility; in previous
625
 * versions they indicated presence of newer tp_* fields on the
626
 * type struct.
627
 * Starting with 3.8, binary compatibility of C extensions across
628
 * feature releases of Python is not supported anymore (except when
629
 * using the stable ABI, in which all classes are created dynamically,
630
 * using the interpreter's memory layout.)
631
 * Note that older extensions using the stable ABI set these flags,
632
 * so the bits must not be repurposed.
633
 */
634
#define Py_TPFLAGS_HAVE_FINALIZE (1UL << 0)
635
#define Py_TPFLAGS_HAVE_VERSION_TAG   (1UL << 18)
636
637
// Flag values for ob_flags (16 bits available, if SIZEOF_VOID_P > 4).
638
2.43M
#define _Py_IMMORTAL_FLAGS (1 << 0)
639
#define _Py_LEGACY_ABI_CHECK_FLAG (1 << 1) /* see PyModuleDef_Init() */
640
1.49G
#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
641
#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG)
642
#define _Py_TYPE_REVEALED_FLAG (1 << 3)
643
#endif
644
645
#define Py_CONSTANT_NONE 0
646
#define Py_CONSTANT_FALSE 1
647
#define Py_CONSTANT_TRUE 2
648
#define Py_CONSTANT_ELLIPSIS 3
649
#define Py_CONSTANT_NOT_IMPLEMENTED 4
650
22
#define Py_CONSTANT_ZERO 5
651
22
#define Py_CONSTANT_ONE 6
652
257k
#define Py_CONSTANT_EMPTY_STR 7
653
336
#define Py_CONSTANT_EMPTY_BYTES 8
654
22
#define Py_CONSTANT_EMPTY_TUPLE 9
655
656
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
657
PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id);
658
PyAPI_FUNC(PyObject*) Py_GetConstantBorrowed(unsigned int constant_id);
659
#endif
660
661
662
/*
663
_Py_NoneStruct is an object of undefined type which can be used in contexts
664
where NULL (nil) is not suitable (since NULL often means 'error').
665
*/
666
PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
667
668
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
669
#  define Py_None Py_GetConstantBorrowed(Py_CONSTANT_NONE)
670
#else
671
495M
#  define Py_None (&_Py_NoneStruct)
672
#endif
673
674
// Test if an object is the None singleton, the same as "x is None" in Python.
675
PyAPI_FUNC(int) Py_IsNone(PyObject *x);
676
4.96M
#define Py_IsNone(x) Py_Is((x), Py_None)
677
678
/* Macro for returning Py_None from a function.
679
 * Only treat Py_None as immortal in the limited C API 3.12 and newer. */
680
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
681
#  define Py_RETURN_NONE return Py_NewRef(Py_None)
682
#else
683
22.8M
#  define Py_RETURN_NONE return Py_None
684
#endif
685
686
/*
687
Py_NotImplemented is a singleton used to signal that an operation is
688
not implemented for a given type combination.
689
*/
690
PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
691
692
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
693
#  define Py_NotImplemented Py_GetConstantBorrowed(Py_CONSTANT_NOT_IMPLEMENTED)
694
#else
695
78.8M
#  define Py_NotImplemented (&_Py_NotImplementedStruct)
696
#endif
697
698
/* Macro for returning Py_NotImplemented from a function. Only treat
699
 * Py_NotImplemented as immortal in the limited C API 3.12 and newer. */
700
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
701
#  define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
702
#else
703
1.42M
#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
704
#endif
705
706
/* Rich comparison opcodes */
707
50.8M
#define Py_LT 0
708
51.8k
#define Py_LE 1
709
140M
#define Py_EQ 2
710
21.9M
#define Py_NE 3
711
3.65M
#define Py_GT 4
712
24.7k
#define Py_GE 5
713
714
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
715
/* Result of calling PyIter_Send */
716
typedef enum {
717
    PYGEN_RETURN = 0,
718
    PYGEN_ERROR = -1,
719
    PYGEN_NEXT = 1
720
} PySendResult;
721
#endif
722
723
/*
724
 * Macro for implementing rich comparisons
725
 *
726
 * Needs to be a macro because any C-comparable type can be used.
727
 */
728
#define Py_RETURN_RICHCOMPARE(val1, val2, op)                               \
729
32.3M
    do {                                                                    \
730
32.3M
        switch (op) {                                                       \
731
12.1M
        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
732
12.1M
        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
733
18.0M
        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
734
18.0M
        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
735
1.80M
        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
736
49.1k
        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
737
253
        default:                                                            \
738
0
            Py_UNREACHABLE();                                               \
739
32.3M
        }                                                                   \
740
32.3M
    } while (0)
741
742
743
/*
744
More conventions
745
================
746
747
Argument Checking
748
-----------------
749
750
Functions that take objects as arguments normally don't check for nil
751
arguments, but they do check the type of the argument, and return an
752
error if the function doesn't apply to the type.
753
754
Failure Modes
755
-------------
756
757
Functions may fail for a variety of reasons, including running out of
758
memory.  This is communicated to the caller in two ways: an error string
759
is set (see errors.h), and the function result differs: functions that
760
normally return a pointer return NULL for failure, functions returning
761
an integer return -1 (which could be a legal return value too!), and
762
other functions return 0 for success and -1 for failure.
763
Callers should always check for errors before using the result.  If
764
an error was set, the caller must either explicitly clear it, or pass
765
the error on to its caller.
766
767
Reference Counts
768
----------------
769
770
It takes a while to get used to the proper usage of reference counts.
771
772
Functions that create an object set the reference count to 1; such new
773
objects must be stored somewhere or destroyed again with Py_DECREF().
774
Some functions that 'store' objects, such as PyTuple_SetItem() and
775
PyList_SetItem(),
776
don't increment the reference count of the object, since the most
777
frequent use is to store a fresh object.  Functions that 'retrieve'
778
objects, such as PyTuple_GetItem() and PyDict_GetItemString(), also
779
don't increment
780
the reference count, since most frequently the object is only looked at
781
quickly.  Thus, to retrieve an object and store it again, the caller
782
must call Py_INCREF() explicitly.
783
784
NOTE: functions that 'consume' a reference count, like
785
PyList_SetItem(), consume the reference even if the object wasn't
786
successfully stored, to simplify error handling.
787
788
It seems attractive to make other functions that take an object as
789
argument consume a reference count; however, this may quickly get
790
confusing (even the current practice is already confusing).  Consider
791
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
792
times.
793
*/
794
795
#ifndef Py_LIMITED_API
796
#  define Py_CPYTHON_OBJECT_H
797
#  include "cpython/object.h"
798
#  undef Py_CPYTHON_OBJECT_H
799
#endif
800
801
802
static inline int
803
PyType_HasFeature(PyTypeObject *type, unsigned long feature)
804
16.8G
{
805
16.8G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
    flags = type->tp_flags;
811
#endif
812
16.8G
    return ((flags & feature) != 0);
813
16.8G
}
exceptions.c:PyType_HasFeature
Line
Count
Source
804
18.3M
{
805
18.3M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
18.3M
    flags = type->tp_flags;
811
18.3M
#endif
812
18.3M
    return ((flags & feature) != 0);
813
18.3M
}
genericaliasobject.c:PyType_HasFeature
Line
Count
Source
804
123
{
805
123
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
123
    flags = type->tp_flags;
811
123
#endif
812
123
    return ((flags & feature) != 0);
813
123
}
listobject.c:PyType_HasFeature
Line
Count
Source
804
409M
{
805
409M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
409M
    flags = type->tp_flags;
811
409M
#endif
812
409M
    return ((flags & feature) != 0);
813
409M
}
longobject.c:PyType_HasFeature
Line
Count
Source
804
1.85G
{
805
1.85G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.85G
    flags = type->tp_flags;
811
1.85G
#endif
812
1.85G
    return ((flags & feature) != 0);
813
1.85G
}
dictobject.c:PyType_HasFeature
Line
Count
Source
804
180M
{
805
180M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
180M
    flags = type->tp_flags;
811
180M
#endif
812
180M
    return ((flags & feature) != 0);
813
180M
}
moduleobject.c:PyType_HasFeature
Line
Count
Source
804
3.37k
{
805
3.37k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.37k
    flags = type->tp_flags;
811
3.37k
#endif
812
3.37k
    return ((flags & feature) != 0);
813
3.37k
}
object.c:PyType_HasFeature
Line
Count
Source
804
84.3M
{
805
84.3M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
84.3M
    flags = type->tp_flags;
811
84.3M
#endif
812
84.3M
    return ((flags & feature) != 0);
813
84.3M
}
Unexecuted instantiation: obmalloc.c:PyType_HasFeature
Unexecuted instantiation: picklebufobject.c:PyType_HasFeature
rangeobject.c:PyType_HasFeature
Line
Count
Source
804
14.8M
{
805
14.8M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
14.8M
    flags = type->tp_flags;
811
14.8M
#endif
812
14.8M
    return ((flags & feature) != 0);
813
14.8M
}
setobject.c:PyType_HasFeature
Line
Count
Source
804
8.64M
{
805
8.64M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
8.64M
    flags = type->tp_flags;
811
8.64M
#endif
812
8.64M
    return ((flags & feature) != 0);
813
8.64M
}
sliceobject.c:PyType_HasFeature
Line
Count
Source
804
2.41M
{
805
2.41M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.41M
    flags = type->tp_flags;
811
2.41M
#endif
812
2.41M
    return ((flags & feature) != 0);
813
2.41M
}
structseq.c:PyType_HasFeature
Line
Count
Source
804
42.6k
{
805
42.6k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
42.6k
    flags = type->tp_flags;
811
42.6k
#endif
812
42.6k
    return ((flags & feature) != 0);
813
42.6k
}
Unexecuted instantiation: templateobject.c:PyType_HasFeature
tupleobject.c:PyType_HasFeature
Line
Count
Source
804
900M
{
805
900M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
900M
    flags = type->tp_flags;
811
900M
#endif
812
900M
    return ((flags & feature) != 0);
813
900M
}
typeobject.c:PyType_HasFeature
Line
Count
Source
804
306M
{
805
306M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
306M
    flags = type->tp_flags;
811
306M
#endif
812
306M
    return ((flags & feature) != 0);
813
306M
}
Unexecuted instantiation: typevarobject.c:PyType_HasFeature
unicode_formatter.c:PyType_HasFeature
Line
Count
Source
804
1.24k
{
805
1.24k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.24k
    flags = type->tp_flags;
811
1.24k
#endif
812
1.24k
    return ((flags & feature) != 0);
813
1.24k
}
unicode_writer.c:PyType_HasFeature
Line
Count
Source
804
90.7M
{
805
90.7M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
90.7M
    flags = type->tp_flags;
811
90.7M
#endif
812
90.7M
    return ((flags & feature) != 0);
813
90.7M
}
Unexecuted instantiation: unicodectype.c:PyType_HasFeature
unicodeobject.c:PyType_HasFeature
Line
Count
Source
804
10.1G
{
805
10.1G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
10.1G
    flags = type->tp_flags;
811
10.1G
#endif
812
10.1G
    return ((flags & feature) != 0);
813
10.1G
}
unionobject.c:PyType_HasFeature
Line
Count
Source
804
103
{
805
103
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
103
    flags = type->tp_flags;
811
103
#endif
812
103
    return ((flags & feature) != 0);
813
103
}
weakrefobject.c:PyType_HasFeature
Line
Count
Source
804
4.92M
{
805
4.92M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
4.92M
    flags = type->tp_flags;
811
4.92M
#endif
812
4.92M
    return ((flags & feature) != 0);
813
4.92M
}
_warnings.c:PyType_HasFeature
Line
Count
Source
804
422M
{
805
422M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
422M
    flags = type->tp_flags;
811
422M
#endif
812
422M
    return ((flags & feature) != 0);
813
422M
}
bltinmodule.c:PyType_HasFeature
Line
Count
Source
804
158M
{
805
158M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
158M
    flags = type->tp_flags;
811
158M
#endif
812
158M
    return ((flags & feature) != 0);
813
158M
}
ceval.c:PyType_HasFeature
Line
Count
Source
804
1.32G
{
805
1.32G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.32G
    flags = type->tp_flags;
811
1.32G
#endif
812
1.32G
    return ((flags & feature) != 0);
813
1.32G
}
codecs.c:PyType_HasFeature
Line
Count
Source
804
244k
{
805
244k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
244k
    flags = type->tp_flags;
811
244k
#endif
812
244k
    return ((flags & feature) != 0);
813
244k
}
codegen.c:PyType_HasFeature
Line
Count
Source
804
423k
{
805
423k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
423k
    flags = type->tp_flags;
811
423k
#endif
812
423k
    return ((flags & feature) != 0);
813
423k
}
compile.c:PyType_HasFeature
Line
Count
Source
804
2.40M
{
805
2.40M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.40M
    flags = type->tp_flags;
811
2.40M
#endif
812
2.40M
    return ((flags & feature) != 0);
813
2.40M
}
context.c:PyType_HasFeature
Line
Count
Source
804
29
{
805
29
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
29
    flags = type->tp_flags;
811
29
#endif
812
29
    return ((flags & feature) != 0);
813
29
}
errors.c:PyType_HasFeature
Line
Count
Source
804
33.6M
{
805
33.6M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
33.6M
    flags = type->tp_flags;
811
33.6M
#endif
812
33.6M
    return ((flags & feature) != 0);
813
33.6M
}
flowgraph.c:PyType_HasFeature
Line
Count
Source
804
104M
{
805
104M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
104M
    flags = type->tp_flags;
811
104M
#endif
812
104M
    return ((flags & feature) != 0);
813
104M
}
Unexecuted instantiation: frame.c:PyType_HasFeature
Unexecuted instantiation: future.c:PyType_HasFeature
gc.c:PyType_HasFeature
Line
Count
Source
804
150k
{
805
150k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
150k
    flags = type->tp_flags;
811
150k
#endif
812
150k
    return ((flags & feature) != 0);
813
150k
}
Unexecuted instantiation: gc_gil.c:PyType_HasFeature
getargs.c:PyType_HasFeature
Line
Count
Source
804
8.25M
{
805
8.25M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
8.25M
    flags = type->tp_flags;
811
8.25M
#endif
812
8.25M
    return ((flags & feature) != 0);
813
8.25M
}
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
804
7.94M
{
805
7.94M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
7.94M
    flags = type->tp_flags;
811
7.94M
#endif
812
7.94M
    return ((flags & feature) != 0);
813
7.94M
}
importdl.c:PyType_HasFeature
Line
Count
Source
804
460
{
805
460
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
460
    flags = type->tp_flags;
811
460
#endif
812
460
    return ((flags & feature) != 0);
813
460
}
initconfig.c:PyType_HasFeature
Line
Count
Source
804
704
{
805
704
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
704
    flags = type->tp_flags;
811
704
#endif
812
704
    return ((flags & feature) != 0);
813
704
}
Unexecuted instantiation: instrumentation.c:PyType_HasFeature
Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature
intrinsics.c:PyType_HasFeature
Line
Count
Source
804
83.4k
{
805
83.4k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
83.4k
    flags = type->tp_flags;
811
83.4k
#endif
812
83.4k
    return ((flags & feature) != 0);
813
83.4k
}
Unexecuted instantiation: legacy_tracing.c:PyType_HasFeature
Unexecuted instantiation: lock.c:PyType_HasFeature
marshal.c:PyType_HasFeature
Line
Count
Source
804
937k
{
805
937k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
937k
    flags = type->tp_flags;
811
937k
#endif
812
937k
    return ((flags & feature) != 0);
813
937k
}
modsupport.c:PyType_HasFeature
Line
Count
Source
804
287k
{
805
287k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
287k
    flags = type->tp_flags;
811
287k
#endif
812
287k
    return ((flags & feature) != 0);
813
287k
}
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
804
22
{
805
22
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
22
    flags = type->tp_flags;
811
22
#endif
812
22
    return ((flags & feature) != 0);
813
22
}
Unexecuted instantiation: pystate.c:PyType_HasFeature
pythonrun.c:PyType_HasFeature
Line
Count
Source
804
53
{
805
53
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
53
    flags = type->tp_flags;
811
53
#endif
812
53
    return ((flags & feature) != 0);
813
53
}
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
804
63.0M
{
805
63.0M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
63.0M
    flags = type->tp_flags;
811
63.0M
#endif
812
63.0M
    return ((flags & feature) != 0);
813
63.0M
}
symtable.c:PyType_HasFeature
Line
Count
Source
804
2.79M
{
805
2.79M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.79M
    flags = type->tp_flags;
811
2.79M
#endif
812
2.79M
    return ((flags & feature) != 0);
813
2.79M
}
sysmodule.c:PyType_HasFeature
Line
Count
Source
804
7.91k
{
805
7.91k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
7.91k
    flags = type->tp_flags;
811
7.91k
#endif
812
7.91k
    return ((flags & feature) != 0);
813
7.91k
}
Unexecuted instantiation: thread.c:PyType_HasFeature
traceback.c:PyType_HasFeature
Line
Count
Source
804
2.41M
{
805
2.41M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.41M
    flags = type->tp_flags;
811
2.41M
#endif
812
2.41M
    return ((flags & feature) != 0);
813
2.41M
}
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: dtoa.c:PyType_HasFeature
fileutils.c:PyType_HasFeature
Line
Count
Source
804
5.63k
{
805
5.63k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
5.63k
    flags = type->tp_flags;
811
5.63k
#endif
812
5.63k
    return ((flags & feature) != 0);
813
5.63k
}
Unexecuted instantiation: suggestions.c:PyType_HasFeature
Unexecuted instantiation: perf_trampoline.c:PyType_HasFeature
Unexecuted instantiation: perf_jit_trampoline.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
804
17.6k
{
805
17.6k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
17.6k
    flags = type->tp_flags;
811
17.6k
#endif
812
17.6k
    return ((flags & feature) != 0);
813
17.6k
}
Unexecuted instantiation: signalmodule.c:PyType_HasFeature
Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: _suggestions.c:PyType_HasFeature
Unexecuted instantiation: _datetimemodule.c:PyType_HasFeature
_codecsmodule.c:PyType_HasFeature
Line
Count
Source
804
4.36k
{
805
4.36k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
4.36k
    flags = type->tp_flags;
811
4.36k
#endif
812
4.36k
    return ((flags & feature) != 0);
813
4.36k
}
_collectionsmodule.c:PyType_HasFeature
Line
Count
Source
804
287
{
805
287
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
287
    flags = type->tp_flags;
811
287
#endif
812
287
    return ((flags & feature) != 0);
813
287
}
Unexecuted instantiation: errnomodule.c:PyType_HasFeature
_iomodule.c:PyType_HasFeature
Line
Count
Source
804
1.09k
{
805
1.09k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.09k
    flags = type->tp_flags;
811
1.09k
#endif
812
1.09k
    return ((flags & feature) != 0);
813
1.09k
}
Unexecuted instantiation: iobase.c:PyType_HasFeature
fileio.c:PyType_HasFeature
Line
Count
Source
804
2.31k
{
805
2.31k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.31k
    flags = type->tp_flags;
811
2.31k
#endif
812
2.31k
    return ((flags & feature) != 0);
813
2.31k
}
bytesio.c:PyType_HasFeature
Line
Count
Source
804
111k
{
805
111k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
111k
    flags = type->tp_flags;
811
111k
#endif
812
111k
    return ((flags & feature) != 0);
813
111k
}
bufferedio.c:PyType_HasFeature
Line
Count
Source
804
1.90k
{
805
1.90k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.90k
    flags = type->tp_flags;
811
1.90k
#endif
812
1.90k
    return ((flags & feature) != 0);
813
1.90k
}
textio.c:PyType_HasFeature
Line
Count
Source
804
3.60M
{
805
3.60M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.60M
    flags = type->tp_flags;
811
3.60M
#endif
812
3.60M
    return ((flags & feature) != 0);
813
3.60M
}
Unexecuted instantiation: stringio.c:PyType_HasFeature
itertoolsmodule.c:PyType_HasFeature
Line
Count
Source
804
4.72k
{
805
4.72k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
4.72k
    flags = type->tp_flags;
811
4.72k
#endif
812
4.72k
    return ((flags & feature) != 0);
813
4.72k
}
sre.c:PyType_HasFeature
Line
Count
Source
804
16.0M
{
805
16.0M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
16.0M
    flags = type->tp_flags;
811
16.0M
#endif
812
16.0M
    return ((flags & feature) != 0);
813
16.0M
}
Unexecuted instantiation: _sysconfig.c:PyType_HasFeature
Unexecuted instantiation: _threadmodule.c:PyType_HasFeature
Unexecuted instantiation: timemodule.c:PyType_HasFeature
Unexecuted instantiation: _typesmodule.c:PyType_HasFeature
Unexecuted instantiation: _typingmodule.c:PyType_HasFeature
_weakref.c:PyType_HasFeature
Line
Count
Source
804
1.45k
{
805
1.45k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.45k
    flags = type->tp_flags;
811
1.45k
#endif
812
1.45k
    return ((flags & feature) != 0);
813
1.45k
}
_abc.c:PyType_HasFeature
Line
Count
Source
804
73.1k
{
805
73.1k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
73.1k
    flags = type->tp_flags;
811
73.1k
#endif
812
73.1k
    return ((flags & feature) != 0);
813
73.1k
}
_functoolsmodule.c:PyType_HasFeature
Line
Count
Source
804
124
{
805
124
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
124
    flags = type->tp_flags;
811
124
#endif
812
124
    return ((flags & feature) != 0);
813
124
}
Unexecuted instantiation: _localemodule.c:PyType_HasFeature
Unexecuted instantiation: _opcode.c:PyType_HasFeature
Unexecuted instantiation: _operator.c:PyType_HasFeature
_stat.c:PyType_HasFeature
Line
Count
Source
804
22
{
805
22
    unsigned long flags;
806
22
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
22
    flags = PyType_GetFlags(type);
809
#else
810
    flags = type->tp_flags;
811
#endif
812
22
    return ((flags & feature) != 0);
813
22
}
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature
Unexecuted instantiation: pwdmodule.c:PyType_HasFeature
getpath.c:PyType_HasFeature
Line
Count
Source
804
1.84k
{
805
1.84k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.84k
    flags = type->tp_flags;
811
1.84k
#endif
812
1.84k
    return ((flags & feature) != 0);
813
1.84k
}
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
helpers.c:PyType_HasFeature
Line
Count
Source
804
2.39k
{
805
2.39k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.39k
    flags = type->tp_flags;
811
2.39k
#endif
812
2.39k
    return ((flags & feature) != 0);
813
2.39k
}
Unexecuted instantiation: myreadline.c:PyType_HasFeature
abstract.c:PyType_HasFeature
Line
Count
Source
804
74.7M
{
805
74.7M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
74.7M
    flags = type->tp_flags;
811
74.7M
#endif
812
74.7M
    return ((flags & feature) != 0);
813
74.7M
}
boolobject.c:PyType_HasFeature
Line
Count
Source
804
50
{
805
50
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
50
    flags = type->tp_flags;
811
50
#endif
812
50
    return ((flags & feature) != 0);
813
50
}
bytes_methods.c:PyType_HasFeature
Line
Count
Source
804
403k
{
805
403k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
403k
    flags = type->tp_flags;
811
403k
#endif
812
403k
    return ((flags & feature) != 0);
813
403k
}
bytearrayobject.c:PyType_HasFeature
Line
Count
Source
804
1.25M
{
805
1.25M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.25M
    flags = type->tp_flags;
811
1.25M
#endif
812
1.25M
    return ((flags & feature) != 0);
813
1.25M
}
bytesobject.c:PyType_HasFeature
Line
Count
Source
804
65.8M
{
805
65.8M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
65.8M
    flags = type->tp_flags;
811
65.8M
#endif
812
65.8M
    return ((flags & feature) != 0);
813
65.8M
}
call.c:PyType_HasFeature
Line
Count
Source
804
11.6M
{
805
11.6M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
11.6M
    flags = type->tp_flags;
811
11.6M
#endif
812
11.6M
    return ((flags & feature) != 0);
813
11.6M
}
Unexecuted instantiation: capsule.c:PyType_HasFeature
Unexecuted instantiation: cellobject.c:PyType_HasFeature
classobject.c:PyType_HasFeature
Line
Count
Source
804
29.8k
{
805
29.8k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
29.8k
    flags = type->tp_flags;
811
29.8k
#endif
812
29.8k
    return ((flags & feature) != 0);
813
29.8k
}
codeobject.c:PyType_HasFeature
Line
Count
Source
804
398M
{
805
398M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
398M
    flags = type->tp_flags;
811
398M
#endif
812
398M
    return ((flags & feature) != 0);
813
398M
}
complexobject.c:PyType_HasFeature
Line
Count
Source
804
87.0k
{
805
87.0k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
87.0k
    flags = type->tp_flags;
811
87.0k
#endif
812
87.0k
    return ((flags & feature) != 0);
813
87.0k
}
descrobject.c:PyType_HasFeature
Line
Count
Source
804
368k
{
805
368k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
368k
    flags = type->tp_flags;
811
368k
#endif
812
368k
    return ((flags & feature) != 0);
813
368k
}
enumobject.c:PyType_HasFeature
Line
Count
Source
804
2.03M
{
805
2.03M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.03M
    flags = type->tp_flags;
811
2.03M
#endif
812
2.03M
    return ((flags & feature) != 0);
813
2.03M
}
Unexecuted instantiation: genobject.c:PyType_HasFeature
fileobject.c:PyType_HasFeature
Line
Count
Source
804
342
{
805
342
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
342
    flags = type->tp_flags;
811
342
#endif
812
342
    return ((flags & feature) != 0);
813
342
}
floatobject.c:PyType_HasFeature
Line
Count
Source
804
548k
{
805
548k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
548k
    flags = type->tp_flags;
811
548k
#endif
812
548k
    return ((flags & feature) != 0);
813
548k
}
frameobject.c:PyType_HasFeature
Line
Count
Source
804
92
{
805
92
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
92
    flags = type->tp_flags;
811
92
#endif
812
92
    return ((flags & feature) != 0);
813
92
}
funcobject.c:PyType_HasFeature
Line
Count
Source
804
102k
{
805
102k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
102k
    flags = type->tp_flags;
811
102k
#endif
812
102k
    return ((flags & feature) != 0);
813
102k
}
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature
Unexecuted instantiation: iterobject.c:PyType_HasFeature
Unexecuted instantiation: odictobject.c:PyType_HasFeature
memoryobject.c:PyType_HasFeature
Line
Count
Source
804
1.16k
{
805
1.16k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.16k
    flags = type->tp_flags;
811
1.16k
#endif
812
1.16k
    return ((flags & feature) != 0);
813
1.16k
}
methodobject.c:PyType_HasFeature
Line
Count
Source
804
802
{
805
802
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
802
    flags = type->tp_flags;
811
802
#endif
812
802
    return ((flags & feature) != 0);
813
802
}
Unexecuted instantiation: namespaceobject.c:PyType_HasFeature
unicode_format.c:PyType_HasFeature
Line
Count
Source
804
13.1M
{
805
13.1M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
13.1M
    flags = type->tp_flags;
811
13.1M
#endif
812
13.1M
    return ((flags & feature) != 0);
813
13.1M
}
Unexecuted instantiation: _contextvars.c:PyType_HasFeature
Python-ast.c:PyType_HasFeature
Line
Count
Source
804
288
{
805
288
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
288
    flags = type->tp_flags;
811
288
#endif
812
288
    return ((flags & feature) != 0);
813
288
}
Unexecuted instantiation: Python-tokenize.c:PyType_HasFeature
Unexecuted instantiation: asdl.c:PyType_HasFeature
assemble.c:PyType_HasFeature
Line
Count
Source
804
17.0M
{
805
17.0M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
17.0M
    flags = type->tp_flags;
811
17.0M
#endif
812
17.0M
    return ((flags & feature) != 0);
813
17.0M
}
Unexecuted instantiation: ast.c:PyType_HasFeature
ast_preprocess.c:PyType_HasFeature
Line
Count
Source
804
223k
{
805
223k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
223k
    flags = type->tp_flags;
811
223k
#endif
812
223k
    return ((flags & feature) != 0);
813
223k
}
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
Unexecuted instantiation: pymath.c:PyType_HasFeature
Unexecuted instantiation: structmember.c:PyType_HasFeature
Unexecuted instantiation: pystrhex.c:PyType_HasFeature
pegen.c:PyType_HasFeature
Line
Count
Source
804
3.65M
{
805
3.65M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.65M
    flags = type->tp_flags;
811
3.65M
#endif
812
3.65M
    return ((flags & feature) != 0);
813
3.65M
}
Unexecuted instantiation: pegen_errors.c:PyType_HasFeature
parser.c:PyType_HasFeature
Line
Count
Source
804
3
{
805
3
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3
    flags = type->tp_flags;
811
3
#endif
812
3
    return ((flags & feature) != 0);
813
3
}
Unexecuted instantiation: buffer.c:PyType_HasFeature
lexer.c:PyType_HasFeature
Line
Count
Source
804
96.5k
{
805
96.5k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
96.5k
    flags = type->tp_flags;
811
96.5k
#endif
812
96.5k
    return ((flags & feature) != 0);
813
96.5k
}
Unexecuted instantiation: state.c:PyType_HasFeature
Unexecuted instantiation: readline_tokenizer.c:PyType_HasFeature
string_tokenizer.c:PyType_HasFeature
Line
Count
Source
804
2.43k
{
805
2.43k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.43k
    flags = type->tp_flags;
811
2.43k
#endif
812
2.43k
    return ((flags & feature) != 0);
813
2.43k
}
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
action_helpers.c:PyType_HasFeature
Line
Count
Source
804
285k
{
805
285k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
285k
    flags = type->tp_flags;
811
285k
#endif
812
285k
    return ((flags & feature) != 0);
813
285k
}
string_parser.c:PyType_HasFeature
Line
Count
Source
804
708k
{
805
708k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
708k
    flags = type->tp_flags;
811
708k
#endif
812
708k
    return ((flags & feature) != 0);
813
708k
}
814
815
2.18G
#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
816
817
82.8M
static inline int PyType_Check(PyObject *op) {
818
82.8M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
82.8M
}
exceptions.c:PyType_Check
Line
Count
Source
817
3.33M
static inline int PyType_Check(PyObject *op) {
818
3.33M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
3.33M
}
Unexecuted instantiation: genericaliasobject.c:PyType_Check
listobject.c:PyType_Check
Line
Count
Source
817
321k
static inline int PyType_Check(PyObject *op) {
818
321k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
321k
}
longobject.c:PyType_Check
Line
Count
Source
817
461k
static inline int PyType_Check(PyObject *op) {
818
461k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
461k
}
dictobject.c:PyType_Check
Line
Count
Source
817
320k
static inline int PyType_Check(PyObject *op) {
818
320k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
320k
}
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
setobject.c:PyType_Check
Line
Count
Source
817
841k
static inline int PyType_Check(PyObject *op) {
818
841k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
841k
}
Unexecuted instantiation: sliceobject.c:PyType_Check
Unexecuted instantiation: structseq.c:PyType_Check
Unexecuted instantiation: templateobject.c:PyType_Check
tupleobject.c:PyType_Check
Line
Count
Source
817
67
static inline int PyType_Check(PyObject *op) {
818
67
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
67
}
typeobject.c:PyType_Check
Line
Count
Source
817
33.6M
static inline int PyType_Check(PyObject *op) {
818
33.6M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
33.6M
}
Unexecuted instantiation: typevarobject.c:PyType_Check
Unexecuted instantiation: unicode_formatter.c:PyType_Check
Unexecuted instantiation: unicode_writer.c:PyType_Check
Unexecuted instantiation: unicodectype.c:PyType_Check
unicodeobject.c:PyType_Check
Line
Count
Source
817
63.3k
static inline int PyType_Check(PyObject *op) {
818
63.3k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
63.3k
}
unionobject.c:PyType_Check
Line
Count
Source
817
55
static inline int PyType_Check(PyObject *op) {
818
55
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
55
}
weakrefobject.c:PyType_Check
Line
Count
Source
817
4.91M
static inline int PyType_Check(PyObject *op) {
818
4.91M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
4.91M
}
_warnings.c:PyType_Check
Line
Count
Source
817
1.25M
static inline int PyType_Check(PyObject *op) {
818
1.25M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
1.25M
}
bltinmodule.c:PyType_Check
Line
Count
Source
817
88.2k
static inline int PyType_Check(PyObject *op) {
818
88.2k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
88.2k
}
ceval.c:PyType_Check
Line
Count
Source
817
8.43M
static inline int PyType_Check(PyObject *op) {
818
8.43M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
8.43M
}
Unexecuted instantiation: codecs.c:PyType_Check
Unexecuted instantiation: codegen.c:PyType_Check
Unexecuted instantiation: compile.c:PyType_Check
Unexecuted instantiation: context.c:PyType_Check
errors.c:PyType_Check
Line
Count
Source
817
9.10M
static inline int PyType_Check(PyObject *op) {
818
9.10M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
9.10M
}
Unexecuted instantiation: flowgraph.c:PyType_Check
Unexecuted instantiation: frame.c:PyType_Check
Unexecuted instantiation: future.c:PyType_Check
gc.c:PyType_Check
Line
Count
Source
817
42.0k
static inline int PyType_Check(PyObject *op) {
818
42.0k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
42.0k
}
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: 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
817
28.2k
static inline int PyType_Check(PyObject *op) {
818
28.2k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
28.2k
}
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: 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: 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
_collectionsmodule.c:PyType_Check
Line
Count
Source
817
55
static inline int PyType_Check(PyObject *op) {
818
55
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
55
}
Unexecuted instantiation: errnomodule.c:PyType_Check
Unexecuted instantiation: _iomodule.c:PyType_Check
Unexecuted instantiation: iobase.c:PyType_Check
fileio.c:PyType_Check
Line
Count
Source
817
342
static inline int PyType_Check(PyObject *op) {
818
342
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
342
}
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
_abc.c:PyType_Check
Line
Count
Source
817
3.54k
static inline int PyType_Check(PyObject *op) {
818
3.54k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
3.54k
}
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
abstract.c:PyType_Check
Line
Count
Source
817
19.7M
static inline int PyType_Check(PyObject *op) {
818
19.7M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
19.7M
}
boolobject.c:PyType_Check
Line
Count
Source
817
50
static inline int PyType_Check(PyObject *op) {
818
50
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
50
}
Unexecuted instantiation: bytes_methods.c:PyType_Check
Unexecuted instantiation: bytearrayobject.c:PyType_Check
Unexecuted instantiation: bytesobject.c:PyType_Check
Unexecuted instantiation: call.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
817
328k
static inline int PyType_Check(PyObject *op) {
818
328k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
328k
}
enumobject.c:PyType_Check
Line
Count
Source
817
27.7k
static inline int PyType_Check(PyObject *op) {
818
27.7k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
27.7k
}
Unexecuted instantiation: genobject.c:PyType_Check
Unexecuted instantiation: fileobject.c:PyType_Check
floatobject.c:PyType_Check
Line
Count
Source
817
4
static inline int PyType_Check(PyObject *op) {
818
4
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
4
}
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: odictobject.c:PyType_Check
Unexecuted instantiation: memoryobject.c:PyType_Check
Unexecuted instantiation: methodobject.c:PyType_Check
Unexecuted instantiation: namespaceobject.c:PyType_Check
Unexecuted instantiation: unicode_format.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: pymath.c:PyType_Check
Unexecuted instantiation: structmember.c:PyType_Check
Unexecuted instantiation: pystrhex.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
820
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
821
54.9M
#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
822
#endif
823
824
#define _PyType_CAST(op) \
825
6.18M
    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
826
827
18.4M
static inline int PyType_CheckExact(PyObject *op) {
828
18.4M
    return Py_IS_TYPE(op, &PyType_Type);
829
18.4M
}
Unexecuted instantiation: exceptions.c:PyType_CheckExact
Unexecuted instantiation: genericaliasobject.c:PyType_CheckExact
Unexecuted instantiation: listobject.c:PyType_CheckExact
Unexecuted instantiation: longobject.c:PyType_CheckExact
Unexecuted instantiation: dictobject.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: 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_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: 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: 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: 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: 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
827
18.4M
static inline int PyType_CheckExact(PyObject *op) {
828
18.4M
    return Py_IS_TYPE(op, &PyType_Type);
829
18.4M
}
Unexecuted instantiation: boolobject.c:PyType_CheckExact
Unexecuted instantiation: bytes_methods.c:PyType_CheckExact
Unexecuted instantiation: bytearrayobject.c:PyType_CheckExact
Unexecuted instantiation: bytesobject.c:PyType_CheckExact
Unexecuted instantiation: call.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: floatobject.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: odictobject.c:PyType_CheckExact
Unexecuted instantiation: memoryobject.c:PyType_CheckExact
Unexecuted instantiation: methodobject.c:PyType_CheckExact
Unexecuted instantiation: namespaceobject.c:PyType_CheckExact
Unexecuted instantiation: unicode_format.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: pymath.c:PyType_CheckExact
Unexecuted instantiation: structmember.c:PyType_CheckExact
Unexecuted instantiation: pystrhex.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
830
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
831
18.4M
#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
832
#endif
833
834
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
835
PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
836
#endif
837
838
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030e0000
839
PyAPI_FUNC(int) PyType_Freeze(PyTypeObject *type);
840
#endif
841
842
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15)
843
PyAPI_FUNC(PyObject *) PyType_GetModuleByToken(PyTypeObject *type,
844
                                               const void *token);
845
#endif
846
847
#ifdef __cplusplus
848
}
849
#endif
850
#endif   // !Py_OBJECT_H