Coverage Report

Created: 2025-07-04 06:49

/src/cpython/Include/object.h
Line
Count
Source (jump to first uncovered line)
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
/* PyObject_HEAD defines the initial segment of every PyObject. */
60
#define PyObject_HEAD                   PyObject ob_base;
61
62
// Kept for backward compatibility. It was needed by Py_TRACE_REFS build.
63
#define _PyObject_EXTRA_INIT
64
65
/* Make all uses of PyObject_HEAD_INIT immortal.
66
 *
67
 * Statically allocated objects might be shared between
68
 * interpreters, so must be marked as immortal.
69
 */
70
#if defined(Py_GIL_DISABLED)
71
#define PyObject_HEAD_INIT(type)    \
72
    {                               \
73
        0,                          \
74
        _Py_STATICALLY_ALLOCATED_FLAG, \
75
        { 0 },                      \
76
        0,                          \
77
        _Py_IMMORTAL_REFCNT_LOCAL,  \
78
        0,                          \
79
        (type),                     \
80
    },
81
#else
82
#define PyObject_HEAD_INIT(type)    \
83
279M
    {                               \
84
279M
        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
85
279M
        (type)                      \
86
279M
    },
87
#endif
88
89
#define PyVarObject_HEAD_INIT(type, size) \
90
279M
    {                                     \
91
279M
        PyObject_HEAD_INIT(type)          \
92
279M
        (size)                            \
93
279M
    },
94
95
/* PyObject_VAR_HEAD defines the initial segment of all variable-size
96
 * container objects.  These end with a declaration of an array with 1
97
 * element, but enough space is malloc'ed so that the array actually
98
 * has room for ob_size elements.  Note that ob_size is an element count,
99
 * not necessarily a byte count.
100
 */
101
#define PyObject_VAR_HEAD      PyVarObject ob_base;
102
#define Py_INVALID_SIZE (Py_ssize_t)-1
103
104
/* PyObjects are given a minimum alignment so that the least significant bits
105
 * of an object pointer become available for other purposes.
106
 * This must be an integer literal with the value (1 << _PyGC_PREV_SHIFT), number of bytes.
107
 */
108
#define _PyObject_MIN_ALIGNMENT 4
109
110
/* Nothing is actually declared to be a PyObject, but every pointer to
111
 * a Python object can be cast to a PyObject*.  This is inheritance built
112
 * by hand.  Similarly every pointer to a variable-size Python object can,
113
 * in addition, be cast to PyVarObject*.
114
 */
115
#ifndef Py_GIL_DISABLED
116
struct _object {
117
#if (defined(__GNUC__) || defined(__clang__)) \
118
        && !(defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L)
119
    // On C99 and older, anonymous union is a GCC and clang extension
120
    __extension__
121
#endif
122
#ifdef _MSC_VER
123
    // Ignore MSC warning C4201: "nonstandard extension used:
124
    // nameless struct/union"
125
    __pragma(warning(push))
126
    __pragma(warning(disable: 4201))
127
#endif
128
    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
#ifdef _MSC_VER
148
    __pragma(warning(pop))
149
#endif
150
151
    PyTypeObject *ob_type;
152
};
153
#else
154
// Objects that are not owned by any thread use a thread id (tid) of zero.
155
// This includes both immortal objects and objects whose reference count
156
// fields have been merged.
157
#define _Py_UNOWNED_TID             0
158
159
struct _object {
160
    // ob_tid stores the thread id (or zero). It is also used by the GC and the
161
    // trashcan mechanism as a linked list pointer and by the GC to store the
162
    // computed "gc_refs" refcount.
163
    _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, uintptr_t) ob_tid;
164
    uint16_t ob_flags;
165
    PyMutex ob_mutex;           // per-object lock
166
    uint8_t ob_gc_bits;         // gc-related state
167
    uint32_t ob_ref_local;      // local reference count
168
    Py_ssize_t ob_ref_shared;   // shared (atomic) reference count
169
    PyTypeObject *ob_type;
170
};
171
#endif
172
173
/* Cast argument to PyObject* type. */
174
145G
#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
175
176
typedef struct {
177
    PyObject ob_base;
178
    Py_ssize_t ob_size; /* Number of items in variable part */
179
} PyVarObject;
180
181
/* Cast argument to PyVarObject* type. */
182
7.69G
#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
207M
#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
33.0G
    {
277
33.0G
        return ob->ob_type;
278
33.0G
    }
bytesobject.c:_Py_TYPE
Line
Count
Source
276
25.2M
    {
277
25.2M
        return ob->ob_type;
278
25.2M
    }
call.c:_Py_TYPE
Line
Count
Source
276
629M
    {
277
629M
        return ob->ob_type;
278
629M
    }
exceptions.c:_Py_TYPE
Line
Count
Source
276
76.1M
    {
277
76.1M
        return ob->ob_type;
278
76.1M
    }
genericaliasobject.c:_Py_TYPE
Line
Count
Source
276
824
    {
277
824
        return ob->ob_type;
278
824
    }
floatobject.c:_Py_TYPE
Line
Count
Source
276
17.4M
    {
277
17.4M
        return ob->ob_type;
278
17.4M
    }
listobject.c:_Py_TYPE
Line
Count
Source
276
698M
    {
277
698M
        return ob->ob_type;
278
698M
    }
longobject.c:_Py_TYPE
Line
Count
Source
276
1.30G
    {
277
1.30G
        return ob->ob_type;
278
1.30G
    }
dictobject.c:_Py_TYPE
Line
Count
Source
276
3.15G
    {
277
3.15G
        return ob->ob_type;
278
3.15G
    }
memoryobject.c:_Py_TYPE
Line
Count
Source
276
2.18k
    {
277
2.18k
        return ob->ob_type;
278
2.18k
    }
moduleobject.c:_Py_TYPE
Line
Count
Source
276
22.8M
    {
277
22.8M
        return ob->ob_type;
278
22.8M
    }
object.c:_Py_TYPE
Line
Count
Source
276
5.96G
    {
277
5.96G
        return ob->ob_type;
278
5.96G
    }
Unexecuted instantiation: obmalloc.c:_Py_TYPE
Unexecuted instantiation: picklebufobject.c:_Py_TYPE
rangeobject.c:_Py_TYPE
Line
Count
Source
276
1.47k
    {
277
1.47k
        return ob->ob_type;
278
1.47k
    }
setobject.c:_Py_TYPE
Line
Count
Source
276
46.5M
    {
277
46.5M
        return ob->ob_type;
278
46.5M
    }
sliceobject.c:_Py_TYPE
Line
Count
Source
276
1.14k
    {
277
1.14k
        return ob->ob_type;
278
1.14k
    }
structseq.c:_Py_TYPE
Line
Count
Source
276
9.47k
    {
277
9.47k
        return ob->ob_type;
278
9.47k
    }
Unexecuted instantiation: templateobject.c:_Py_TYPE
tupleobject.c:_Py_TYPE
Line
Count
Source
276
672M
    {
277
672M
        return ob->ob_type;
278
672M
    }
typeobject.c:_Py_TYPE
Line
Count
Source
276
1.11G
    {
277
1.11G
        return ob->ob_type;
278
1.11G
    }
Unexecuted instantiation: typevarobject.c:_Py_TYPE
unicodeobject.c:_Py_TYPE
Line
Count
Source
276
2.74G
    {
277
2.74G
        return ob->ob_type;
278
2.74G
    }
Unexecuted instantiation: unicodectype.c:_Py_TYPE
unionobject.c:_Py_TYPE
Line
Count
Source
276
875
    {
277
875
        return ob->ob_type;
278
875
    }
weakrefobject.c:_Py_TYPE
Line
Count
Source
276
115M
    {
277
115M
        return ob->ob_type;
278
115M
    }
_warnings.c:_Py_TYPE
Line
Count
Source
276
61.1k
    {
277
61.1k
        return ob->ob_type;
278
61.1k
    }
bltinmodule.c:_Py_TYPE
Line
Count
Source
276
186M
    {
277
186M
        return ob->ob_type;
278
186M
    }
ceval.c:_Py_TYPE
Line
Count
Source
276
10.1G
    {
277
10.1G
        return ob->ob_type;
278
10.1G
    }
codecs.c:_Py_TYPE
Line
Count
Source
276
2.85M
    {
277
2.85M
        return ob->ob_type;
278
2.85M
    }
codegen.c:_Py_TYPE
Line
Count
Source
276
1.26k
    {
277
1.26k
        return ob->ob_type;
278
1.26k
    }
compile.c:_Py_TYPE
Line
Count
Source
276
145k
    {
277
145k
        return ob->ob_type;
278
145k
    }
context.c:_Py_TYPE
Line
Count
Source
276
17.2k
    {
277
17.2k
        return ob->ob_type;
278
17.2k
    }
errors.c:_Py_TYPE
Line
Count
Source
276
373M
    {
277
373M
        return ob->ob_type;
278
373M
    }
flowgraph.c:_Py_TYPE
Line
Count
Source
276
60.1k
    {
277
60.1k
        return ob->ob_type;
278
60.1k
    }
Unexecuted instantiation: frame.c:_Py_TYPE
Unexecuted instantiation: future.c:_Py_TYPE
gc.c:_Py_TYPE
Line
Count
Source
276
2.28G
    {
277
2.28G
        return ob->ob_type;
278
2.28G
    }
Unexecuted instantiation: gc_gil.c:_Py_TYPE
getargs.c:_Py_TYPE
Line
Count
Source
276
14.4M
    {
277
14.4M
        return ob->ob_type;
278
14.4M
    }
Unexecuted instantiation: ceval_gil.c:_Py_TYPE
Unexecuted instantiation: hamt.c:_Py_TYPE
Unexecuted instantiation: hashtable.c:_Py_TYPE
import.c:_Py_TYPE
Line
Count
Source
276
32.9k
    {
277
32.9k
        return ob->ob_type;
278
32.9k
    }
importdl.c:_Py_TYPE
Line
Count
Source
276
908
    {
277
908
        return ob->ob_type;
278
908
    }
initconfig.c:_Py_TYPE
Line
Count
Source
276
448
    {
277
448
        return ob->ob_type;
278
448
    }
Unexecuted instantiation: instrumentation.c:_Py_TYPE
Unexecuted instantiation: instruction_sequence.c:_Py_TYPE
intrinsics.c:_Py_TYPE
Line
Count
Source
276
26.9k
    {
277
26.9k
        return ob->ob_type;
278
26.9k
    }
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE
Unexecuted instantiation: lock.c:_Py_TYPE
marshal.c:_Py_TYPE
Line
Count
Source
276
430k
    {
277
430k
        return ob->ob_type;
278
430k
    }
modsupport.c:_Py_TYPE
Line
Count
Source
276
209k
    {
277
209k
        return ob->ob_type;
278
209k
    }
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
16
    {
277
16
        return ob->ob_type;
278
16
    }
Unexecuted instantiation: pymath.c:_Py_TYPE
Unexecuted instantiation: pystate.c:_Py_TYPE
pythonrun.c:_Py_TYPE
Line
Count
Source
276
46.7k
    {
277
46.7k
        return ob->ob_type;
278
46.7k
    }
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
28.8M
    {
277
28.8M
        return ob->ob_type;
278
28.8M
    }
symtable.c:_Py_TYPE
Line
Count
Source
276
108k
    {
277
108k
        return ob->ob_type;
278
108k
    }
sysmodule.c:_Py_TYPE
Line
Count
Source
276
798
    {
277
798
        return ob->ob_type;
278
798
    }
Unexecuted instantiation: thread.c:_Py_TYPE
traceback.c:_Py_TYPE
Line
Count
Source
276
34.6M
    {
277
34.6M
        return ob->ob_type;
278
34.6M
    }
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: pystrhex.c:_Py_TYPE
Unexecuted instantiation: dtoa.c:_Py_TYPE
formatter_unicode.c:_Py_TYPE
Line
Count
Source
276
16.2M
    {
277
16.2M
        return ob->ob_type;
278
16.2M
    }
Unexecuted instantiation: fileutils.c:_Py_TYPE
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: atexitmodule.c:_Py_TYPE
Unexecuted instantiation: faulthandler.c:_Py_TYPE
posixmodule.c:_Py_TYPE
Line
Count
Source
276
51.7k
    {
277
51.7k
        return ob->ob_type;
278
51.7k
    }
Unexecuted instantiation: signalmodule.c:_Py_TYPE
Unexecuted instantiation: _tracemalloc.c:_Py_TYPE
Unexecuted instantiation: _suggestions.c:_Py_TYPE
_codecsmodule.c:_Py_TYPE
Line
Count
Source
276
801k
    {
277
801k
        return ob->ob_type;
278
801k
    }
_collectionsmodule.c:_Py_TYPE
Line
Count
Source
276
373k
    {
277
373k
        return ob->ob_type;
278
373k
    }
Unexecuted instantiation: errnomodule.c:_Py_TYPE
_iomodule.c:_Py_TYPE
Line
Count
Source
276
2.88k
    {
277
2.88k
        return ob->ob_type;
278
2.88k
    }
iobase.c:_Py_TYPE
Line
Count
Source
276
15.3k
    {
277
15.3k
        return ob->ob_type;
278
15.3k
    }
fileio.c:_Py_TYPE
Line
Count
Source
276
36.9k
    {
277
36.9k
        return ob->ob_type;
278
36.9k
    }
bytesio.c:_Py_TYPE
Line
Count
Source
276
25.2k
    {
277
25.2k
        return ob->ob_type;
278
25.2k
    }
bufferedio.c:_Py_TYPE
Line
Count
Source
276
39.2k
    {
277
39.2k
        return ob->ob_type;
278
39.2k
    }
textio.c:_Py_TYPE
Line
Count
Source
276
123k
    {
277
123k
        return ob->ob_type;
278
123k
    }
stringio.c:_Py_TYPE
Line
Count
Source
276
21.0M
    {
277
21.0M
        return ob->ob_type;
278
21.0M
    }
itertoolsmodule.c:_Py_TYPE
Line
Count
Source
276
7.99k
    {
277
7.99k
        return ob->ob_type;
278
7.99k
    }
sre.c:_Py_TYPE
Line
Count
Source
276
274M
    {
277
274M
        return ob->ob_type;
278
274M
    }
Unexecuted instantiation: _sysconfig.c:_Py_TYPE
_threadmodule.c:_Py_TYPE
Line
Count
Source
276
23.9k
    {
277
23.9k
        return ob->ob_type;
278
23.9k
    }
Unexecuted instantiation: timemodule.c:_Py_TYPE
Unexecuted instantiation: _typesmodule.c:_Py_TYPE
Unexecuted instantiation: _typingmodule.c:_Py_TYPE
_weakref.c:_Py_TYPE
Line
Count
Source
276
8.75k
    {
277
8.75k
        return ob->ob_type;
278
8.75k
    }
_abc.c:_Py_TYPE
Line
Count
Source
276
676k
    {
277
676k
        return ob->ob_type;
278
676k
    }
_functoolsmodule.c:_Py_TYPE
Line
Count
Source
276
135k
    {
277
135k
        return ob->ob_type;
278
135k
    }
Unexecuted instantiation: _localemodule.c:_Py_TYPE
Unexecuted instantiation: _opcode.c:_Py_TYPE
_operator.c:_Py_TYPE
Line
Count
Source
276
1.69M
    {
277
1.69M
        return ob->ob_type;
278
1.69M
    }
_stat.c:_Py_TYPE
Line
Count
Source
276
16
    {
277
16
        return ob->ob_type;
278
16
    }
Unexecuted instantiation: symtablemodule.c:_Py_TYPE
Unexecuted instantiation: pwdmodule.c:_Py_TYPE
getpath.c:_Py_TYPE
Line
Count
Source
276
448
    {
277
448
        return ob->ob_type;
278
448
    }
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
Unexecuted instantiation: helpers.c:_Py_TYPE
Unexecuted instantiation: myreadline.c:_Py_TYPE
abstract.c:_Py_TYPE
Line
Count
Source
276
2.03G
    {
277
2.03G
        return ob->ob_type;
278
2.03G
    }
Unexecuted instantiation: boolobject.c:_Py_TYPE
bytes_methods.c:_Py_TYPE
Line
Count
Source
276
1.15M
    {
277
1.15M
        return ob->ob_type;
278
1.15M
    }
bytearrayobject.c:_Py_TYPE
Line
Count
Source
276
2.97M
    {
277
2.97M
        return ob->ob_type;
278
2.97M
    }
capsule.c:_Py_TYPE
Line
Count
Source
276
14.8k
    {
277
14.8k
        return ob->ob_type;
278
14.8k
    }
cellobject.c:_Py_TYPE
Line
Count
Source
276
3.23k
    {
277
3.23k
        return ob->ob_type;
278
3.23k
    }
classobject.c:_Py_TYPE
Line
Count
Source
276
22.4M
    {
277
22.4M
        return ob->ob_type;
278
22.4M
    }
codeobject.c:_Py_TYPE
Line
Count
Source
276
1.53M
    {
277
1.53M
        return ob->ob_type;
278
1.53M
    }
complexobject.c:_Py_TYPE
Line
Count
Source
276
10.1k
    {
277
10.1k
        return ob->ob_type;
278
10.1k
    }
descrobject.c:_Py_TYPE
Line
Count
Source
276
809M
    {
277
809M
        return ob->ob_type;
278
809M
    }
enumobject.c:_Py_TYPE
Line
Count
Source
276
149M
    {
277
149M
        return ob->ob_type;
278
149M
    }
genobject.c:_Py_TYPE
Line
Count
Source
276
55.4M
    {
277
55.4M
        return ob->ob_type;
278
55.4M
    }
fileobject.c:_Py_TYPE
Line
Count
Source
276
944
    {
277
944
        return ob->ob_type;
278
944
    }
frameobject.c:_Py_TYPE
Line
Count
Source
276
32
    {
277
32
        return ob->ob_type;
278
32
    }
funcobject.c:_Py_TYPE
Line
Count
Source
276
28.3k
    {
277
28.3k
        return ob->ob_type;
278
28.3k
    }
Unexecuted instantiation: interpolationobject.c:_Py_TYPE
iterobject.c:_Py_TYPE
Line
Count
Source
276
2.73M
    {
277
2.73M
        return ob->ob_type;
278
2.73M
    }
Unexecuted instantiation: odictobject.c:_Py_TYPE
methodobject.c:_Py_TYPE
Line
Count
Source
276
3.62k
    {
277
3.62k
        return ob->ob_type;
278
3.62k
    }
namespaceobject.c:_Py_TYPE
Line
Count
Source
276
218
    {
277
218
        return ob->ob_type;
278
218
    }
Unexecuted instantiation: _contextvars.c:_Py_TYPE
Python-ast.c:_Py_TYPE
Line
Count
Source
276
1.13M
    {
277
1.13M
        return ob->ob_type;
278
1.13M
    }
Unexecuted instantiation: Python-tokenize.c:_Py_TYPE
Unexecuted instantiation: asdl.c:_Py_TYPE
Unexecuted instantiation: assemble.c:_Py_TYPE
ast.c:_Py_TYPE
Line
Count
Source
276
10.7k
    {
277
10.7k
        return ob->ob_type;
278
10.7k
    }
ast_preprocess.c:_Py_TYPE
Line
Count
Source
276
471
    {
277
471
        return ob->ob_type;
278
471
    }
Unexecuted instantiation: ast_unparse.c:_Py_TYPE
Unexecuted instantiation: critical_section.c:_Py_TYPE
crossinterp.c:_Py_TYPE
Line
Count
Source
276
16
    {
277
16
        return ob->ob_type;
278
16
    }
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: structmember.c:_Py_TYPE
pegen.c:_Py_TYPE
Line
Count
Source
276
72.8k
    {
277
72.8k
        return ob->ob_type;
278
72.8k
    }
Unexecuted instantiation: pegen_errors.c:_Py_TYPE
Unexecuted instantiation: parser.c:_Py_TYPE
Unexecuted instantiation: buffer.c:_Py_TYPE
Unexecuted instantiation: lexer.c:_Py_TYPE
Unexecuted instantiation: state.c:_Py_TYPE
Unexecuted instantiation: readline_tokenizer.c:_Py_TYPE
Unexecuted instantiation: string_tokenizer.c:_Py_TYPE
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
175k
    {
277
175k
        return ob->ob_type;
278
175k
    }
Unexecuted instantiation: string_parser.c:_Py_TYPE
279
    #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
280
27.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
// bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
290
6.31G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
6.31G
    assert(Py_TYPE(ob) != &PyLong_Type);
292
6.31G
    assert(Py_TYPE(ob) != &PyBool_Type);
293
6.31G
    return  _PyVarObject_CAST(ob)->ob_size;
294
6.31G
}
bytesobject.c:Py_SIZE
Line
Count
Source
290
26.1M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
26.1M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
26.1M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
26.1M
    return  _PyVarObject_CAST(ob)->ob_size;
294
26.1M
}
call.c:Py_SIZE
Line
Count
Source
290
81.9M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
81.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
81.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
81.9M
    return  _PyVarObject_CAST(ob)->ob_size;
294
81.9M
}
exceptions.c:Py_SIZE
Line
Count
Source
290
12.5M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
12.5M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
12.5M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
12.5M
    return  _PyVarObject_CAST(ob)->ob_size;
294
12.5M
}
Unexecuted instantiation: genericaliasobject.c:Py_SIZE
floatobject.c:Py_SIZE
Line
Count
Source
290
575k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
575k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
575k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
575k
    return  _PyVarObject_CAST(ob)->ob_size;
294
575k
}
listobject.c:Py_SIZE
Line
Count
Source
290
2.12G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
2.12G
    assert(Py_TYPE(ob) != &PyLong_Type);
292
2.12G
    assert(Py_TYPE(ob) != &PyBool_Type);
293
2.12G
    return  _PyVarObject_CAST(ob)->ob_size;
294
2.12G
}
longobject.c:Py_SIZE
Line
Count
Source
290
6.43k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
6.43k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
6.43k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
6.43k
    return  _PyVarObject_CAST(ob)->ob_size;
294
6.43k
}
dictobject.c:Py_SIZE
Line
Count
Source
290
87.7k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
87.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
87.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
87.7k
    return  _PyVarObject_CAST(ob)->ob_size;
294
87.7k
}
memoryobject.c:Py_SIZE
Line
Count
Source
290
730
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
730
    assert(Py_TYPE(ob) != &PyLong_Type);
292
730
    assert(Py_TYPE(ob) != &PyBool_Type);
293
730
    return  _PyVarObject_CAST(ob)->ob_size;
294
730
}
moduleobject.c:Py_SIZE
Line
Count
Source
290
912
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
912
    assert(Py_TYPE(ob) != &PyLong_Type);
292
912
    assert(Py_TYPE(ob) != &PyBool_Type);
293
912
    return  _PyVarObject_CAST(ob)->ob_size;
294
912
}
object.c:Py_SIZE
Line
Count
Source
290
7.83M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
7.83M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
7.83M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
7.83M
    return  _PyVarObject_CAST(ob)->ob_size;
294
7.83M
}
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
290
4.67k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
4.67k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
4.67k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
4.67k
    return  _PyVarObject_CAST(ob)->ob_size;
294
4.67k
}
Unexecuted instantiation: templateobject.c:Py_SIZE
tupleobject.c:Py_SIZE
Line
Count
Source
290
1.49G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
1.49G
    assert(Py_TYPE(ob) != &PyLong_Type);
292
1.49G
    assert(Py_TYPE(ob) != &PyBool_Type);
293
1.49G
    return  _PyVarObject_CAST(ob)->ob_size;
294
1.49G
}
typeobject.c:Py_SIZE
Line
Count
Source
290
621M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
621M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
621M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
621M
    return  _PyVarObject_CAST(ob)->ob_size;
294
621M
}
Unexecuted instantiation: typevarobject.c:Py_SIZE
unicodeobject.c:Py_SIZE
Line
Count
Source
290
83.4M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
83.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
83.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
83.4M
    return  _PyVarObject_CAST(ob)->ob_size;
294
83.4M
}
Unexecuted instantiation: unicodectype.c:Py_SIZE
unionobject.c:Py_SIZE
Line
Count
Source
290
421
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
421
    assert(Py_TYPE(ob) != &PyLong_Type);
292
421
    assert(Py_TYPE(ob) != &PyBool_Type);
293
421
    return  _PyVarObject_CAST(ob)->ob_size;
294
421
}
Unexecuted instantiation: weakrefobject.c:Py_SIZE
_warnings.c:Py_SIZE
Line
Count
Source
290
34.4k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
34.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
34.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
34.4k
    return  _PyVarObject_CAST(ob)->ob_size;
294
34.4k
}
bltinmodule.c:Py_SIZE
Line
Count
Source
290
2.34M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
2.34M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
2.34M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
2.34M
    return  _PyVarObject_CAST(ob)->ob_size;
294
2.34M
}
ceval.c:Py_SIZE
Line
Count
Source
290
1.52G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
1.52G
    assert(Py_TYPE(ob) != &PyLong_Type);
292
1.52G
    assert(Py_TYPE(ob) != &PyBool_Type);
293
1.52G
    return  _PyVarObject_CAST(ob)->ob_size;
294
1.52G
}
codecs.c:Py_SIZE
Line
Count
Source
290
837k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
837k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
837k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
837k
    return  _PyVarObject_CAST(ob)->ob_size;
294
837k
}
codegen.c:Py_SIZE
Line
Count
Source
290
555
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
555
    assert(Py_TYPE(ob) != &PyLong_Type);
292
555
    assert(Py_TYPE(ob) != &PyBool_Type);
293
555
    return  _PyVarObject_CAST(ob)->ob_size;
294
555
}
compile.c:Py_SIZE
Line
Count
Source
290
34.2k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
34.2k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
34.2k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
34.2k
    return  _PyVarObject_CAST(ob)->ob_size;
294
34.2k
}
Unexecuted instantiation: context.c:Py_SIZE
Unexecuted instantiation: errors.c:Py_SIZE
flowgraph.c:Py_SIZE
Line
Count
Source
290
90.3k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
90.3k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
90.3k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
90.3k
    return  _PyVarObject_CAST(ob)->ob_size;
294
90.3k
}
Unexecuted instantiation: frame.c:Py_SIZE
Unexecuted instantiation: future.c:Py_SIZE
gc.c:Py_SIZE
Line
Count
Source
290
256k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
256k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
256k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
256k
    return  _PyVarObject_CAST(ob)->ob_size;
294
256k
}
Unexecuted instantiation: gc_gil.c:Py_SIZE
getargs.c:Py_SIZE
Line
Count
Source
290
2.90M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
2.90M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
2.90M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
2.90M
    return  _PyVarObject_CAST(ob)->ob_size;
294
2.90M
}
Unexecuted instantiation: ceval_gil.c:Py_SIZE
Unexecuted instantiation: hamt.c:Py_SIZE
Unexecuted instantiation: hashtable.c:Py_SIZE
import.c:Py_SIZE
Line
Count
Source
290
112
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
112
    assert(Py_TYPE(ob) != &PyLong_Type);
292
112
    assert(Py_TYPE(ob) != &PyBool_Type);
293
112
    return  _PyVarObject_CAST(ob)->ob_size;
294
112
}
Unexecuted instantiation: importdl.c:Py_SIZE
initconfig.c:Py_SIZE
Line
Count
Source
290
64
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
64
    assert(Py_TYPE(ob) != &PyLong_Type);
292
64
    assert(Py_TYPE(ob) != &PyBool_Type);
293
64
    return  _PyVarObject_CAST(ob)->ob_size;
294
64
}
Unexecuted instantiation: instrumentation.c:Py_SIZE
Unexecuted instantiation: instruction_sequence.c:Py_SIZE
intrinsics.c:Py_SIZE
Line
Count
Source
290
14.9M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
14.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
14.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
14.9M
    return  _PyVarObject_CAST(ob)->ob_size;
294
14.9M
}
Unexecuted instantiation: legacy_tracing.c:Py_SIZE
Unexecuted instantiation: lock.c:Py_SIZE
marshal.c:Py_SIZE
Line
Count
Source
290
302k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
302k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
302k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
302k
    return  _PyVarObject_CAST(ob)->ob_size;
294
302k
}
Unexecuted instantiation: modsupport.c:Py_SIZE
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: pymath.c:Py_SIZE
Unexecuted instantiation: pystate.c:Py_SIZE
pythonrun.c:Py_SIZE
Line
Count
Source
290
23.3k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
23.3k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
23.3k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
23.3k
    return  _PyVarObject_CAST(ob)->ob_size;
294
23.3k
}
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
290
10.9k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
10.9k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
10.9k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
10.9k
    return  _PyVarObject_CAST(ob)->ob_size;
294
10.9k
}
symtable.c:Py_SIZE
Line
Count
Source
290
40.0k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
40.0k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
40.0k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
40.0k
    return  _PyVarObject_CAST(ob)->ob_size;
294
40.0k
}
Unexecuted instantiation: sysmodule.c:Py_SIZE
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: pystrhex.c:Py_SIZE
Unexecuted instantiation: dtoa.c:Py_SIZE
Unexecuted instantiation: formatter_unicode.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: atexitmodule.c:Py_SIZE
Unexecuted instantiation: faulthandler.c:Py_SIZE
posixmodule.c:Py_SIZE
Line
Count
Source
290
5.74k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
5.74k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
5.74k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
5.74k
    return  _PyVarObject_CAST(ob)->ob_size;
294
5.74k
}
Unexecuted instantiation: signalmodule.c:Py_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SIZE
Unexecuted instantiation: _suggestions.c:Py_SIZE
Unexecuted instantiation: _codecsmodule.c:Py_SIZE
_collectionsmodule.c:Py_SIZE
Line
Count
Source
290
164M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
164M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
164M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
164M
    return  _PyVarObject_CAST(ob)->ob_size;
294
164M
}
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
290
2.15k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
2.15k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
2.15k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
2.15k
    return  _PyVarObject_CAST(ob)->ob_size;
294
2.15k
}
bytesio.c:Py_SIZE
Line
Count
Source
290
29.6k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
29.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
29.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
29.6k
    return  _PyVarObject_CAST(ob)->ob_size;
294
29.6k
}
bufferedio.c:Py_SIZE
Line
Count
Source
290
992
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
992
    assert(Py_TYPE(ob) != &PyLong_Type);
292
992
    assert(Py_TYPE(ob) != &PyBool_Type);
293
992
    return  _PyVarObject_CAST(ob)->ob_size;
294
992
}
textio.c:Py_SIZE
Line
Count
Source
290
17.4k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
17.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
17.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
17.4k
    return  _PyVarObject_CAST(ob)->ob_size;
294
17.4k
}
stringio.c:Py_SIZE
Line
Count
Source
290
34.8k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
34.8k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
34.8k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
34.8k
    return  _PyVarObject_CAST(ob)->ob_size;
294
34.8k
}
itertoolsmodule.c:Py_SIZE
Line
Count
Source
290
2
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
2
    assert(Py_TYPE(ob) != &PyLong_Type);
292
2
    assert(Py_TYPE(ob) != &PyBool_Type);
293
2
    return  _PyVarObject_CAST(ob)->ob_size;
294
2
}
sre.c:Py_SIZE
Line
Count
Source
290
68.2M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
68.2M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
68.2M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
68.2M
    return  _PyVarObject_CAST(ob)->ob_size;
294
68.2M
}
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
290
18.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
18.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
18.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
18.5k
    return  _PyVarObject_CAST(ob)->ob_size;
294
18.5k
}
_functoolsmodule.c:Py_SIZE
Line
Count
Source
290
28.1k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
28.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
28.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
28.1k
    return  _PyVarObject_CAST(ob)->ob_size;
294
28.1k
}
Unexecuted instantiation: _localemodule.c:Py_SIZE
Unexecuted instantiation: _opcode.c:Py_SIZE
_operator.c:Py_SIZE
Line
Count
Source
290
1.43M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
1.43M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
1.43M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
1.43M
    return  _PyVarObject_CAST(ob)->ob_size;
294
1.43M
}
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
290
144
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
144
    assert(Py_TYPE(ob) != &PyLong_Type);
292
144
    assert(Py_TYPE(ob) != &PyBool_Type);
293
144
    return  _PyVarObject_CAST(ob)->ob_size;
294
144
}
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
290
114k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
114k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
114k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
114k
    return  _PyVarObject_CAST(ob)->ob_size;
294
114k
}
Unexecuted instantiation: boolobject.c:Py_SIZE
bytes_methods.c:Py_SIZE
Line
Count
Source
290
576k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
576k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
576k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
576k
    return  _PyVarObject_CAST(ob)->ob_size;
294
576k
}
bytearrayobject.c:Py_SIZE
Line
Count
Source
290
68.4M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
68.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
68.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
68.4M
    return  _PyVarObject_CAST(ob)->ob_size;
294
68.4M
}
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
290
1.68M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
1.68M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
1.68M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
1.68M
    return  _PyVarObject_CAST(ob)->ob_size;
294
1.68M
}
Unexecuted instantiation: complexobject.c:Py_SIZE
descrobject.c:Py_SIZE
Line
Count
Source
290
13.8M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
13.8M
    assert(Py_TYPE(ob) != &PyLong_Type);
292
13.8M
    assert(Py_TYPE(ob) != &PyBool_Type);
293
13.8M
    return  _PyVarObject_CAST(ob)->ob_size;
294
13.8M
}
Unexecuted instantiation: enumobject.c:Py_SIZE
Unexecuted instantiation: genobject.c:Py_SIZE
Unexecuted instantiation: fileobject.c:Py_SIZE
frameobject.c:Py_SIZE
Line
Count
Source
290
16
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
16
    assert(Py_TYPE(ob) != &PyLong_Type);
292
16
    assert(Py_TYPE(ob) != &PyBool_Type);
293
16
    return  _PyVarObject_CAST(ob)->ob_size;
294
16
}
Unexecuted instantiation: funcobject.c:Py_SIZE
Unexecuted instantiation: interpolationobject.c:Py_SIZE
Unexecuted instantiation: iterobject.c:Py_SIZE
Unexecuted instantiation: odictobject.c:Py_SIZE
Unexecuted instantiation: methodobject.c:Py_SIZE
Unexecuted instantiation: namespaceobject.c:Py_SIZE
Unexecuted instantiation: _contextvars.c:Py_SIZE
Unexecuted instantiation: Python-ast.c:Py_SIZE
Unexecuted instantiation: Python-tokenize.c:Py_SIZE
Unexecuted instantiation: asdl.c:Py_SIZE
assemble.c:Py_SIZE
Line
Count
Source
290
509k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
509k
    assert(Py_TYPE(ob) != &PyLong_Type);
292
509k
    assert(Py_TYPE(ob) != &PyBool_Type);
293
509k
    return  _PyVarObject_CAST(ob)->ob_size;
294
509k
}
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: structmember.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
290
430
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
291
430
    assert(Py_TYPE(ob) != &PyLong_Type);
292
430
    assert(Py_TYPE(ob) != &PyBool_Type);
293
430
    return  _PyVarObject_CAST(ob)->ob_size;
294
430
}
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
Unexecuted instantiation: action_helpers.c:Py_SIZE
Unexecuted instantiation: string_parser.c:Py_SIZE
295
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
296
6.26G
#  define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
297
#endif
298
299
9.66G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
9.66G
    return Py_TYPE(ob) == type;
301
9.66G
}
bytesobject.c:Py_IS_TYPE
Line
Count
Source
299
7.08M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
7.08M
    return Py_TYPE(ob) == type;
301
7.08M
}
Unexecuted instantiation: call.c:Py_IS_TYPE
exceptions.c:Py_IS_TYPE
Line
Count
Source
299
34.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
34.4M
    return Py_TYPE(ob) == type;
301
34.4M
}
Unexecuted instantiation: genericaliasobject.c:Py_IS_TYPE
floatobject.c:Py_IS_TYPE
Line
Count
Source
299
16.3M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
16.3M
    return Py_TYPE(ob) == type;
301
16.3M
}
listobject.c:Py_IS_TYPE
Line
Count
Source
299
397M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
397M
    return Py_TYPE(ob) == type;
301
397M
}
longobject.c:Py_IS_TYPE
Line
Count
Source
299
641M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
641M
    return Py_TYPE(ob) == type;
301
641M
}
dictobject.c:Py_IS_TYPE
Line
Count
Source
299
2.23G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
2.23G
    return Py_TYPE(ob) == type;
301
2.23G
}
memoryobject.c:Py_IS_TYPE
Line
Count
Source
299
1.45k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.45k
    return Py_TYPE(ob) == type;
301
1.45k
}
moduleobject.c:Py_IS_TYPE
Line
Count
Source
299
22.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
22.8M
    return Py_TYPE(ob) == type;
301
22.8M
}
object.c:Py_IS_TYPE
Line
Count
Source
299
247M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
247M
    return Py_TYPE(ob) == type;
301
247M
}
Unexecuted instantiation: obmalloc.c:Py_IS_TYPE
Unexecuted instantiation: picklebufobject.c:Py_IS_TYPE
rangeobject.c:Py_IS_TYPE
Line
Count
Source
299
491
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
491
    return Py_TYPE(ob) == type;
301
491
}
setobject.c:Py_IS_TYPE
Line
Count
Source
299
45.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
45.8M
    return Py_TYPE(ob) == type;
301
45.8M
}
sliceobject.c:Py_IS_TYPE
Line
Count
Source
299
652
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
652
    return Py_TYPE(ob) == type;
301
652
}
Unexecuted instantiation: structseq.c:Py_IS_TYPE
Unexecuted instantiation: templateobject.c:Py_IS_TYPE
tupleobject.c:Py_IS_TYPE
Line
Count
Source
299
513M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
513M
    return Py_TYPE(ob) == type;
301
513M
}
typeobject.c:Py_IS_TYPE
Line
Count
Source
299
192M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
192M
    return Py_TYPE(ob) == type;
301
192M
}
Unexecuted instantiation: typevarobject.c:Py_IS_TYPE
unicodeobject.c:Py_IS_TYPE
Line
Count
Source
299
482M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
482M
    return Py_TYPE(ob) == type;
301
482M
}
Unexecuted instantiation: unicodectype.c:Py_IS_TYPE
unionobject.c:Py_IS_TYPE
Line
Count
Source
299
432
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
432
    return Py_TYPE(ob) == type;
301
432
}
weakrefobject.c:Py_IS_TYPE
Line
Count
Source
299
495k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
495k
    return Py_TYPE(ob) == type;
301
495k
}
_warnings.c:Py_IS_TYPE
Line
Count
Source
299
2.35k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
2.35k
    return Py_TYPE(ob) == type;
301
2.35k
}
bltinmodule.c:Py_IS_TYPE
Line
Count
Source
299
38.1M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
38.1M
    return Py_TYPE(ob) == type;
301
38.1M
}
ceval.c:Py_IS_TYPE
Line
Count
Source
299
3.76G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
3.76G
    return Py_TYPE(ob) == type;
301
3.76G
}
codecs.c:Py_IS_TYPE
Line
Count
Source
299
1.36M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.36M
    return Py_TYPE(ob) == type;
301
1.36M
}
codegen.c:Py_IS_TYPE
Line
Count
Source
299
48
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
48
    return Py_TYPE(ob) == type;
301
48
}
compile.c:Py_IS_TYPE
Line
Count
Source
299
145k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
145k
    return Py_TYPE(ob) == type;
301
145k
}
context.c:Py_IS_TYPE
Line
Count
Source
299
17.2k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
17.2k
    return Py_TYPE(ob) == type;
301
17.2k
}
Unexecuted instantiation: errors.c:Py_IS_TYPE
flowgraph.c:Py_IS_TYPE
Line
Count
Source
299
59.9k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
59.9k
    return Py_TYPE(ob) == type;
301
59.9k
}
Unexecuted instantiation: frame.c:Py_IS_TYPE
Unexecuted instantiation: future.c:Py_IS_TYPE
gc.c:Py_IS_TYPE
Line
Count
Source
299
187M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
187M
    return Py_TYPE(ob) == type;
301
187M
}
Unexecuted instantiation: gc_gil.c:Py_IS_TYPE
getargs.c:Py_IS_TYPE
Line
Count
Source
299
11.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
11.2M
    return Py_TYPE(ob) == type;
301
11.2M
}
Unexecuted instantiation: ceval_gil.c:Py_IS_TYPE
Unexecuted instantiation: hamt.c:Py_IS_TYPE
Unexecuted instantiation: hashtable.c:Py_IS_TYPE
import.c:Py_IS_TYPE
Line
Count
Source
299
1.13k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.13k
    return Py_TYPE(ob) == type;
301
1.13k
}
importdl.c:Py_IS_TYPE
Line
Count
Source
299
750
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
750
    return Py_TYPE(ob) == type;
301
750
}
initconfig.c:Py_IS_TYPE
Line
Count
Source
299
128
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
128
    return Py_TYPE(ob) == type;
301
128
}
Unexecuted instantiation: instrumentation.c:Py_IS_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_IS_TYPE
intrinsics.c:Py_IS_TYPE
Line
Count
Source
299
13.0k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
13.0k
    return Py_TYPE(ob) == type;
301
13.0k
}
Unexecuted instantiation: legacy_tracing.c:Py_IS_TYPE
Unexecuted instantiation: lock.c:Py_IS_TYPE
marshal.c:Py_IS_TYPE
Line
Count
Source
299
430k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
430k
    return Py_TYPE(ob) == type;
301
430k
}
modsupport.c:Py_IS_TYPE
Line
Count
Source
299
8.66k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
8.66k
    return Py_TYPE(ob) == type;
301
8.66k
}
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
Unexecuted instantiation: pymath.c:Py_IS_TYPE
Unexecuted instantiation: pystate.c:Py_IS_TYPE
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
299
22.1M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
22.1M
    return Py_TYPE(ob) == type;
301
22.1M
}
Unexecuted instantiation: symtable.c:Py_IS_TYPE
sysmodule.c:Py_IS_TYPE
Line
Count
Source
299
399
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
399
    return Py_TYPE(ob) == type;
301
399
}
Unexecuted instantiation: thread.c:Py_IS_TYPE
traceback.c:Py_IS_TYPE
Line
Count
Source
299
34.6M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
34.6M
    return Py_TYPE(ob) == type;
301
34.6M
}
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: pystrhex.c:Py_IS_TYPE
Unexecuted instantiation: dtoa.c:Py_IS_TYPE
formatter_unicode.c:Py_IS_TYPE
Line
Count
Source
299
16.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
16.2M
    return Py_TYPE(ob) == type;
301
16.2M
}
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: atexitmodule.c:Py_IS_TYPE
Unexecuted instantiation: faulthandler.c:Py_IS_TYPE
Unexecuted instantiation: posixmodule.c:Py_IS_TYPE
Unexecuted instantiation: signalmodule.c:Py_IS_TYPE
Unexecuted instantiation: _tracemalloc.c:Py_IS_TYPE
Unexecuted instantiation: _suggestions.c:Py_IS_TYPE
Unexecuted instantiation: _codecsmodule.c:Py_IS_TYPE
Unexecuted instantiation: _collectionsmodule.c:Py_IS_TYPE
Unexecuted instantiation: errnomodule.c:Py_IS_TYPE
Unexecuted instantiation: _iomodule.c:Py_IS_TYPE
Unexecuted instantiation: iobase.c:Py_IS_TYPE
fileio.c:Py_IS_TYPE
Line
Count
Source
299
1.20k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.20k
    return Py_TYPE(ob) == type;
301
1.20k
}
bytesio.c:Py_IS_TYPE
Line
Count
Source
299
9.90k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
9.90k
    return Py_TYPE(ob) == type;
301
9.90k
}
bufferedio.c:Py_IS_TYPE
Line
Count
Source
299
1.98k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.98k
    return Py_TYPE(ob) == type;
301
1.98k
}
textio.c:Py_IS_TYPE
Line
Count
Source
299
128
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
128
    return Py_TYPE(ob) == type;
301
128
}
stringio.c:Py_IS_TYPE
Line
Count
Source
299
20.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
20.8M
    return Py_TYPE(ob) == type;
301
20.8M
}
Unexecuted instantiation: itertoolsmodule.c:Py_IS_TYPE
sre.c:Py_IS_TYPE
Line
Count
Source
299
81.7k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
81.7k
    return Py_TYPE(ob) == type;
301
81.7k
}
Unexecuted instantiation: _sysconfig.c:Py_IS_TYPE
Unexecuted instantiation: _threadmodule.c:Py_IS_TYPE
Unexecuted instantiation: timemodule.c:Py_IS_TYPE
Unexecuted instantiation: _typesmodule.c:Py_IS_TYPE
Unexecuted instantiation: _typingmodule.c:Py_IS_TYPE
_weakref.c:Py_IS_TYPE
Line
Count
Source
299
2.91k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
2.91k
    return Py_TYPE(ob) == type;
301
2.91k
}
_abc.c:Py_IS_TYPE
Line
Count
Source
299
956
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
956
    return Py_TYPE(ob) == type;
301
956
}
_functoolsmodule.c:Py_IS_TYPE
Line
Count
Source
299
20
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
20
    return Py_TYPE(ob) == type;
301
20
}
Unexecuted instantiation: _localemodule.c:Py_IS_TYPE
Unexecuted instantiation: _opcode.c:Py_IS_TYPE
_operator.c:Py_IS_TYPE
Line
Count
Source
299
1.43M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.43M
    return Py_TYPE(ob) == type;
301
1.43M
}
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
299
16
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
16
    return Py_TYPE(ob) == type;
301
16
}
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
299
188M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
188M
    return Py_TYPE(ob) == type;
301
188M
}
Unexecuted instantiation: boolobject.c:Py_IS_TYPE
Unexecuted instantiation: bytes_methods.c:Py_IS_TYPE
bytearrayobject.c:Py_IS_TYPE
Line
Count
Source
299
9.94k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
9.94k
    return Py_TYPE(ob) == type;
301
9.94k
}
capsule.c:Py_IS_TYPE
Line
Count
Source
299
14.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
14.8k
    return Py_TYPE(ob) == type;
301
14.8k
}
cellobject.c:Py_IS_TYPE
Line
Count
Source
299
3.23k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
3.23k
    return Py_TYPE(ob) == type;
301
3.23k
}
Unexecuted instantiation: classobject.c:Py_IS_TYPE
codeobject.c:Py_IS_TYPE
Line
Count
Source
299
1.20M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
1.20M
    return Py_TYPE(ob) == type;
301
1.20M
}
complexobject.c:Py_IS_TYPE
Line
Count
Source
299
10.1k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
10.1k
    return Py_TYPE(ob) == type;
301
10.1k
}
descrobject.c:Py_IS_TYPE
Line
Count
Source
299
477M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
477M
    return Py_TYPE(ob) == type;
301
477M
}
Unexecuted instantiation: enumobject.c:Py_IS_TYPE
genobject.c:Py_IS_TYPE
Line
Count
Source
299
55.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
55.4M
    return Py_TYPE(ob) == type;
301
55.4M
}
Unexecuted instantiation: fileobject.c:Py_IS_TYPE
frameobject.c:Py_IS_TYPE
Line
Count
Source
299
16
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
16
    return Py_TYPE(ob) == type;
301
16
}
funcobject.c:Py_IS_TYPE
Line
Count
Source
299
43
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
43
    return Py_TYPE(ob) == type;
301
43
}
Unexecuted instantiation: interpolationobject.c:Py_IS_TYPE
Unexecuted instantiation: iterobject.c:Py_IS_TYPE
Unexecuted instantiation: odictobject.c:Py_IS_TYPE
methodobject.c:Py_IS_TYPE
Line
Count
Source
299
3.55k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
3.55k
    return Py_TYPE(ob) == type;
301
3.55k
}
Unexecuted instantiation: namespaceobject.c:Py_IS_TYPE
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
299
10.7k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
10.7k
    return Py_TYPE(ob) == type;
301
10.7k
}
Unexecuted instantiation: ast_preprocess.c:Py_IS_TYPE
Unexecuted instantiation: ast_unparse.c:Py_IS_TYPE
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: structmember.c:Py_IS_TYPE
pegen.c:Py_IS_TYPE
Line
Count
Source
299
13.3k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
13.3k
    return Py_TYPE(ob) == type;
301
13.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
299
175k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
300
175k
    return Py_TYPE(ob) == type;
301
175k
}
Unexecuted instantiation: string_parser.c:Py_IS_TYPE
302
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
303
14.8G
#  define Py_IS_TYPE(ob, type) Py_IS_TYPE(_PyObject_CAST(ob), (type))
304
#endif
305
306
307
1.11G
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
1.11G
    ob->ob_type = type;
309
1.11G
}
bytesobject.c:Py_SET_TYPE
Line
Count
Source
307
17.3M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
17.3M
    ob->ob_type = type;
309
17.3M
}
Unexecuted instantiation: call.c:Py_SET_TYPE
Unexecuted instantiation: exceptions.c:Py_SET_TYPE
Unexecuted instantiation: genericaliasobject.c:Py_SET_TYPE
floatobject.c:Py_SET_TYPE
Line
Count
Source
307
550k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
550k
    ob->ob_type = type;
309
550k
}
Unexecuted instantiation: listobject.c:Py_SET_TYPE
longobject.c:Py_SET_TYPE
Line
Count
Source
307
94.6M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
94.6M
    ob->ob_type = type;
309
94.6M
}
Unexecuted instantiation: dictobject.c:Py_SET_TYPE
Unexecuted instantiation: memoryobject.c:Py_SET_TYPE
moduleobject.c:Py_SET_TYPE
Line
Count
Source
307
439
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
439
    ob->ob_type = type;
309
439
}
object.c:Py_SET_TYPE
Line
Count
Source
307
42.4k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
42.4k
    ob->ob_type = type;
309
42.4k
}
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
307
128
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
128
    ob->ob_type = type;
309
128
}
Unexecuted instantiation: templateobject.c:Py_SET_TYPE
Unexecuted instantiation: tupleobject.c:Py_SET_TYPE
typeobject.c:Py_SET_TYPE
Line
Count
Source
307
117M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
117M
    ob->ob_type = type;
309
117M
}
Unexecuted instantiation: typevarobject.c:Py_SET_TYPE
unicodeobject.c:Py_SET_TYPE
Line
Count
Source
307
519M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
519M
    ob->ob_type = type;
309
519M
}
Unexecuted instantiation: unicodectype.c:Py_SET_TYPE
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
307
366M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
366M
    ob->ob_type = type;
309
366M
}
Unexecuted instantiation: gc_gil.c:Py_SET_TYPE
Unexecuted instantiation: getargs.c:Py_SET_TYPE
Unexecuted instantiation: ceval_gil.c:Py_SET_TYPE
Unexecuted instantiation: hamt.c:Py_SET_TYPE
Unexecuted instantiation: hashtable.c:Py_SET_TYPE
Unexecuted instantiation: import.c:Py_SET_TYPE
Unexecuted instantiation: importdl.c:Py_SET_TYPE
Unexecuted instantiation: initconfig.c:Py_SET_TYPE
Unexecuted instantiation: instrumentation.c:Py_SET_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_SET_TYPE
Unexecuted instantiation: intrinsics.c:Py_SET_TYPE
Unexecuted instantiation: legacy_tracing.c:Py_SET_TYPE
Unexecuted instantiation: lock.c:Py_SET_TYPE
Unexecuted instantiation: marshal.c:Py_SET_TYPE
Unexecuted instantiation: modsupport.c:Py_SET_TYPE
Unexecuted instantiation: mysnprintf.c:Py_SET_TYPE
Unexecuted instantiation: parking_lot.c:Py_SET_TYPE
Unexecuted instantiation: preconfig.c:Py_SET_TYPE
Unexecuted instantiation: pyarena.c:Py_SET_TYPE
Unexecuted instantiation: pyctype.c:Py_SET_TYPE
Unexecuted instantiation: pyhash.c:Py_SET_TYPE
Unexecuted instantiation: pylifecycle.c:Py_SET_TYPE
Unexecuted instantiation: pymath.c:Py_SET_TYPE
Unexecuted instantiation: pystate.c:Py_SET_TYPE
Unexecuted instantiation: pythonrun.c:Py_SET_TYPE
Unexecuted instantiation: pytime.c:Py_SET_TYPE
Unexecuted instantiation: qsbr.c:Py_SET_TYPE
Unexecuted instantiation: bootstrap_hash.c:Py_SET_TYPE
Unexecuted instantiation: specialize.c:Py_SET_TYPE
Unexecuted instantiation: symtable.c:Py_SET_TYPE
Unexecuted instantiation: sysmodule.c:Py_SET_TYPE
Unexecuted instantiation: thread.c:Py_SET_TYPE
Unexecuted instantiation: traceback.c:Py_SET_TYPE
Unexecuted instantiation: tracemalloc.c:Py_SET_TYPE
Unexecuted instantiation: getopt.c:Py_SET_TYPE
Unexecuted instantiation: pystrcmp.c:Py_SET_TYPE
Unexecuted instantiation: pystrtod.c:Py_SET_TYPE
Unexecuted instantiation: pystrhex.c:Py_SET_TYPE
Unexecuted instantiation: dtoa.c:Py_SET_TYPE
Unexecuted instantiation: formatter_unicode.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: 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
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
307
12
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
12
    ob->ob_type = type;
309
12
}
Unexecuted instantiation: sre.c:Py_SET_TYPE
Unexecuted instantiation: _sysconfig.c:Py_SET_TYPE
Unexecuted instantiation: _threadmodule.c:Py_SET_TYPE
Unexecuted instantiation: timemodule.c:Py_SET_TYPE
Unexecuted instantiation: _typesmodule.c:Py_SET_TYPE
Unexecuted instantiation: _typingmodule.c:Py_SET_TYPE
Unexecuted instantiation: _weakref.c:Py_SET_TYPE
Unexecuted instantiation: _abc.c:Py_SET_TYPE
Unexecuted instantiation: _functoolsmodule.c:Py_SET_TYPE
Unexecuted instantiation: _localemodule.c:Py_SET_TYPE
Unexecuted instantiation: _opcode.c:Py_SET_TYPE
Unexecuted instantiation: _operator.c:Py_SET_TYPE
Unexecuted instantiation: _stat.c:Py_SET_TYPE
Unexecuted instantiation: symtablemodule.c:Py_SET_TYPE
Unexecuted instantiation: pwdmodule.c:Py_SET_TYPE
Unexecuted instantiation: getpath.c:Py_SET_TYPE
Unexecuted instantiation: frozen.c:Py_SET_TYPE
Unexecuted instantiation: getbuildinfo.c:Py_SET_TYPE
Unexecuted instantiation: peg_api.c:Py_SET_TYPE
Unexecuted instantiation: file_tokenizer.c:Py_SET_TYPE
Unexecuted instantiation: helpers.c:Py_SET_TYPE
Unexecuted instantiation: myreadline.c:Py_SET_TYPE
Unexecuted instantiation: abstract.c:Py_SET_TYPE
Unexecuted instantiation: boolobject.c:Py_SET_TYPE
Unexecuted instantiation: bytes_methods.c:Py_SET_TYPE
Unexecuted instantiation: bytearrayobject.c:Py_SET_TYPE
Unexecuted instantiation: capsule.c:Py_SET_TYPE
Unexecuted instantiation: cellobject.c:Py_SET_TYPE
Unexecuted instantiation: classobject.c:Py_SET_TYPE
Unexecuted instantiation: codeobject.c:Py_SET_TYPE
complexobject.c:Py_SET_TYPE
Line
Count
Source
307
3.69k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
308
3.69k
    ob->ob_type = type;
309
3.69k
}
Unexecuted instantiation: descrobject.c:Py_SET_TYPE
Unexecuted instantiation: enumobject.c:Py_SET_TYPE
Unexecuted instantiation: genobject.c:Py_SET_TYPE
Unexecuted instantiation: fileobject.c:Py_SET_TYPE
Unexecuted instantiation: frameobject.c:Py_SET_TYPE
Unexecuted instantiation: funcobject.c:Py_SET_TYPE
Unexecuted instantiation: interpolationobject.c:Py_SET_TYPE
Unexecuted instantiation: iterobject.c:Py_SET_TYPE
Unexecuted instantiation: odictobject.c:Py_SET_TYPE
Unexecuted instantiation: methodobject.c:Py_SET_TYPE
Unexecuted instantiation: namespaceobject.c:Py_SET_TYPE
Unexecuted instantiation: _contextvars.c:Py_SET_TYPE
Unexecuted instantiation: Python-ast.c:Py_SET_TYPE
Unexecuted instantiation: Python-tokenize.c:Py_SET_TYPE
Unexecuted instantiation: asdl.c:Py_SET_TYPE
Unexecuted instantiation: assemble.c:Py_SET_TYPE
Unexecuted instantiation: ast.c:Py_SET_TYPE
Unexecuted instantiation: ast_preprocess.c:Py_SET_TYPE
Unexecuted instantiation: ast_unparse.c:Py_SET_TYPE
Unexecuted instantiation: critical_section.c:Py_SET_TYPE
Unexecuted instantiation: crossinterp.c:Py_SET_TYPE
Unexecuted instantiation: getcopyright.c:Py_SET_TYPE
Unexecuted instantiation: getplatform.c:Py_SET_TYPE
Unexecuted instantiation: getversion.c:Py_SET_TYPE
Unexecuted instantiation: optimizer.c:Py_SET_TYPE
Unexecuted instantiation: pathconfig.c:Py_SET_TYPE
Unexecuted instantiation: structmember.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
310
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
311
1.11G
#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
312
#endif
313
314
1.33G
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
1.33G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
1.33G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
1.33G
    ob->ob_size = size;
321
1.33G
#endif
322
1.33G
}
bytesobject.c:Py_SET_SIZE
Line
Count
Source
314
20.1M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
20.1M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
20.1M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
20.1M
    ob->ob_size = size;
321
20.1M
#endif
322
20.1M
}
Unexecuted instantiation: call.c:Py_SET_SIZE
Unexecuted instantiation: exceptions.c:Py_SET_SIZE
Unexecuted instantiation: genericaliasobject.c:Py_SET_SIZE
Unexecuted instantiation: floatobject.c:Py_SET_SIZE
listobject.c:Py_SET_SIZE
Line
Count
Source
314
623M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
623M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
623M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
623M
    ob->ob_size = size;
321
623M
#endif
322
623M
}
Unexecuted instantiation: longobject.c:Py_SET_SIZE
Unexecuted instantiation: dictobject.c:Py_SET_SIZE
Unexecuted instantiation: memoryobject.c:Py_SET_SIZE
Unexecuted instantiation: moduleobject.c:Py_SET_SIZE
object.c:Py_SET_SIZE
Line
Count
Source
314
30.9k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
30.9k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
30.9k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
30.9k
    ob->ob_size = size;
321
30.9k
#endif
322
30.9k
}
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
314
4.77k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
4.77k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
4.77k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
4.77k
    ob->ob_size = size;
321
4.77k
#endif
322
4.77k
}
Unexecuted instantiation: templateobject.c:Py_SET_SIZE
Unexecuted instantiation: tupleobject.c:Py_SET_SIZE
typeobject.c:Py_SET_SIZE
Line
Count
Source
314
2.23M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
2.23M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
2.23M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
2.23M
    ob->ob_size = size;
321
2.23M
#endif
322
2.23M
}
Unexecuted instantiation: typevarobject.c:Py_SET_SIZE
unicodeobject.c:Py_SET_SIZE
Line
Count
Source
314
18.0M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
18.0M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
18.0M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
18.0M
    ob->ob_size = size;
321
18.0M
#endif
322
18.0M
}
Unexecuted instantiation: unicodectype.c:Py_SET_SIZE
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
314
368M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
368M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
368M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
368M
    ob->ob_size = size;
321
368M
#endif
322
368M
}
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
314
211M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
211M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
211M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
211M
    ob->ob_size = size;
321
211M
#endif
322
211M
}
Unexecuted instantiation: gc_gil.c:Py_SET_SIZE
Unexecuted instantiation: getargs.c:Py_SET_SIZE
Unexecuted instantiation: ceval_gil.c:Py_SET_SIZE
Unexecuted instantiation: hamt.c:Py_SET_SIZE
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: pymath.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: pystrhex.c:Py_SET_SIZE
Unexecuted instantiation: dtoa.c:Py_SET_SIZE
Unexecuted instantiation: formatter_unicode.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: 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: _codecsmodule.c:Py_SET_SIZE
_collectionsmodule.c:Py_SET_SIZE
Line
Count
Source
314
81.8M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
81.8M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
81.8M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
81.8M
    ob->ob_size = size;
321
81.8M
#endif
322
81.8M
}
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
Unexecuted instantiation: abstract.c:Py_SET_SIZE
Unexecuted instantiation: boolobject.c:Py_SET_SIZE
Unexecuted instantiation: bytes_methods.c:Py_SET_SIZE
bytearrayobject.c:Py_SET_SIZE
Line
Count
Source
314
5.62M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
315
5.62M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
316
5.62M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
317
#ifdef Py_GIL_DISABLED
318
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
319
#else
320
5.62M
    ob->ob_size = size;
321
5.62M
#endif
322
5.62M
}
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: 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: methodobject.c:Py_SET_SIZE
Unexecuted instantiation: namespaceobject.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: structmember.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
323
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
324
1.33G
#  define Py_SET_SIZE(ob, size) Py_SET_SIZE(_PyVarObject_CAST(ob), (size))
325
#endif
326
327
328
/*
329
Type objects contain a string containing the type name (to help somewhat
330
in debugging), the allocation parameters (see PyObject_New() and
331
PyObject_NewVar()),
332
and methods for accessing objects of the type.  Methods are optional, a
333
nil pointer meaning that particular kind of access is not available for
334
this type.  The Py_DECREF() macro uses the tp_dealloc method without
335
checking for a nil pointer; it should always be implemented except if
336
the implementation can guarantee that the reference count will never
337
reach zero (e.g., for statically allocated type objects).
338
339
NB: the methods for certain type groups are now contained in separate
340
method blocks.
341
*/
342
343
typedef PyObject * (*unaryfunc)(PyObject *);
344
typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
345
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
346
typedef int (*inquiry)(PyObject *);
347
typedef Py_ssize_t (*lenfunc)(PyObject *);
348
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
349
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
350
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
351
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
352
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
353
354
typedef int (*objobjproc)(PyObject *, PyObject *);
355
typedef int (*visitproc)(PyObject *, void *);
356
typedef int (*traverseproc)(PyObject *, visitproc, void *);
357
358
359
typedef void (*freefunc)(void *);
360
typedef void (*destructor)(PyObject *);
361
typedef PyObject *(*getattrfunc)(PyObject *, char *);
362
typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
363
typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
364
typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
365
typedef PyObject *(*reprfunc)(PyObject *);
366
typedef Py_hash_t (*hashfunc)(PyObject *);
367
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
368
typedef PyObject *(*getiterfunc) (PyObject *);
369
typedef PyObject *(*iternextfunc) (PyObject *);
370
typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
371
typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
372
typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
373
typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *);
374
typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t);
375
376
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 // 3.12
377
typedef PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args,
378
                                    size_t nargsf, PyObject *kwnames);
379
#endif
380
381
typedef struct{
382
    int slot;    /* slot id, see below */
383
    void *pfunc; /* function pointer */
384
} PyType_Slot;
385
386
typedef struct{
387
    const char* name;
388
    int basicsize;
389
    int itemsize;
390
    unsigned int flags;
391
    PyType_Slot *slots; /* terminated by slot==0. */
392
} PyType_Spec;
393
394
PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
395
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
396
PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
397
#endif
398
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03040000
399
PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
400
#endif
401
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000
402
PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *);
403
PyAPI_FUNC(PyObject *) PyType_GetModule(PyTypeObject *);
404
PyAPI_FUNC(void *) PyType_GetModuleState(PyTypeObject *);
405
#endif
406
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
407
PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *);
408
PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *);
409
#endif
410
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
411
PyAPI_FUNC(PyObject *) PyType_GetFullyQualifiedName(PyTypeObject *type);
412
PyAPI_FUNC(PyObject *) PyType_GetModuleName(PyTypeObject *type);
413
#endif
414
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
415
PyAPI_FUNC(PyObject *) PyType_FromMetaclass(PyTypeObject*, PyObject*, PyType_Spec*, PyObject*);
416
PyAPI_FUNC(void *) PyObject_GetTypeData(PyObject *obj, PyTypeObject *cls);
417
PyAPI_FUNC(Py_ssize_t) PyType_GetTypeDataSize(PyTypeObject *cls);
418
#endif
419
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030E0000
420
PyAPI_FUNC(int) PyType_GetBaseByToken(PyTypeObject *, void *, PyTypeObject **);
421
12
#define Py_TP_USE_SPEC NULL
422
#endif
423
424
/* Generic type check */
425
PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
426
427
624M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
624M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
624M
}
Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck
Unexecuted instantiation: call.c:PyObject_TypeCheck
exceptions.c:PyObject_TypeCheck
Line
Count
Source
427
1.02M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
1.02M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
1.02M
}
Unexecuted instantiation: genericaliasobject.c:PyObject_TypeCheck
floatobject.c:PyObject_TypeCheck
Line
Count
Source
427
12.4M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
12.4M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
12.4M
}
Unexecuted instantiation: listobject.c:PyObject_TypeCheck
longobject.c:PyObject_TypeCheck
Line
Count
Source
427
2.24k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
2.24k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
2.24k
}
dictobject.c:PyObject_TypeCheck
Line
Count
Source
427
13.5M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
13.5M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
13.5M
}
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck
moduleobject.c:PyObject_TypeCheck
Line
Count
Source
427
22.8M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
22.8M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
22.8M
}
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
427
80.0M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
80.0M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
80.0M
}
Unexecuted instantiation: typevarobject.c:PyObject_TypeCheck
Unexecuted instantiation: unicodeobject.c:PyObject_TypeCheck
Unexecuted instantiation: unicodectype.c:PyObject_TypeCheck
Unexecuted instantiation: unionobject.c:PyObject_TypeCheck
weakrefobject.c:PyObject_TypeCheck
Line
Count
Source
427
328
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
328
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
328
}
Unexecuted instantiation: _warnings.c:PyObject_TypeCheck
bltinmodule.c:PyObject_TypeCheck
Line
Count
Source
427
8.66M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
8.66M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
8.66M
}
ceval.c:PyObject_TypeCheck
Line
Count
Source
427
14
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
14
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
14
}
codecs.c:PyObject_TypeCheck
Line
Count
Source
427
480k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
480k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
480k
}
codegen.c:PyObject_TypeCheck
Line
Count
Source
427
24
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
24
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
24
}
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
427
964k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
964k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
964k
}
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
427
933
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
933
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
933
}
importdl.c:PyObject_TypeCheck
Line
Count
Source
427
375
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
375
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
375
}
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
427
8.66k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
8.66k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
8.66k
}
Unexecuted instantiation: mysnprintf.c:PyObject_TypeCheck
Unexecuted instantiation: parking_lot.c:PyObject_TypeCheck
Unexecuted instantiation: preconfig.c:PyObject_TypeCheck
Unexecuted instantiation: pyarena.c:PyObject_TypeCheck
Unexecuted instantiation: pyctype.c:PyObject_TypeCheck
Unexecuted instantiation: pyhash.c:PyObject_TypeCheck
Unexecuted instantiation: pylifecycle.c:PyObject_TypeCheck
Unexecuted instantiation: pymath.c:PyObject_TypeCheck
Unexecuted instantiation: pystate.c:PyObject_TypeCheck
Unexecuted instantiation: pythonrun.c:PyObject_TypeCheck
Unexecuted instantiation: pytime.c:PyObject_TypeCheck
Unexecuted instantiation: qsbr.c:PyObject_TypeCheck
Unexecuted instantiation: bootstrap_hash.c:PyObject_TypeCheck
specialize.c:PyObject_TypeCheck
Line
Count
Source
427
358
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
358
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
358
}
Unexecuted instantiation: symtable.c:PyObject_TypeCheck
Unexecuted instantiation: sysmodule.c:PyObject_TypeCheck
Unexecuted instantiation: thread.c:PyObject_TypeCheck
Unexecuted instantiation: traceback.c:PyObject_TypeCheck
Unexecuted instantiation: tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: getopt.c:PyObject_TypeCheck
Unexecuted instantiation: pystrcmp.c:PyObject_TypeCheck
Unexecuted instantiation: pystrtod.c:PyObject_TypeCheck
Unexecuted instantiation: pystrhex.c:PyObject_TypeCheck
Unexecuted instantiation: dtoa.c:PyObject_TypeCheck
Unexecuted instantiation: formatter_unicode.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: atexitmodule.c:PyObject_TypeCheck
Unexecuted instantiation: faulthandler.c:PyObject_TypeCheck
Unexecuted instantiation: posixmodule.c:PyObject_TypeCheck
Unexecuted instantiation: signalmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: _suggestions.c:PyObject_TypeCheck
Unexecuted instantiation: _codecsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _collectionsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: errnomodule.c:PyObject_TypeCheck
Unexecuted instantiation: _iomodule.c:PyObject_TypeCheck
Unexecuted instantiation: iobase.c:PyObject_TypeCheck
Unexecuted instantiation: fileio.c:PyObject_TypeCheck
Unexecuted instantiation: bytesio.c:PyObject_TypeCheck
Unexecuted instantiation: bufferedio.c:PyObject_TypeCheck
Unexecuted instantiation: textio.c:PyObject_TypeCheck
Unexecuted instantiation: stringio.c:PyObject_TypeCheck
Unexecuted instantiation: itertoolsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: sre.c:PyObject_TypeCheck
Unexecuted instantiation: _sysconfig.c:PyObject_TypeCheck
Unexecuted instantiation: _threadmodule.c:PyObject_TypeCheck
Unexecuted instantiation: timemodule.c:PyObject_TypeCheck
Unexecuted instantiation: _typesmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _typingmodule.c:PyObject_TypeCheck
_weakref.c:PyObject_TypeCheck
Line
Count
Source
427
2.91k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
2.91k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
2.91k
}
Unexecuted instantiation: _abc.c:PyObject_TypeCheck
_functoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
427
20
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
20
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
20
}
Unexecuted instantiation: _localemodule.c:PyObject_TypeCheck
Unexecuted instantiation: _opcode.c:PyObject_TypeCheck
Unexecuted instantiation: _operator.c:PyObject_TypeCheck
Unexecuted instantiation: _stat.c:PyObject_TypeCheck
Unexecuted instantiation: symtablemodule.c:PyObject_TypeCheck
Unexecuted instantiation: pwdmodule.c:PyObject_TypeCheck
Unexecuted instantiation: getpath.c:PyObject_TypeCheck
Unexecuted instantiation: frozen.c:PyObject_TypeCheck
Unexecuted instantiation: getbuildinfo.c:PyObject_TypeCheck
Unexecuted instantiation: peg_api.c:PyObject_TypeCheck
Unexecuted instantiation: file_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: helpers.c:PyObject_TypeCheck
Unexecuted instantiation: myreadline.c:PyObject_TypeCheck
abstract.c:PyObject_TypeCheck
Line
Count
Source
427
7.31M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
7.31M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
7.31M
}
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck
Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck
bytearrayobject.c:PyObject_TypeCheck
Line
Count
Source
427
8.69k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
8.69k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
8.69k
}
Unexecuted instantiation: capsule.c:PyObject_TypeCheck
Unexecuted instantiation: cellobject.c:PyObject_TypeCheck
Unexecuted instantiation: classobject.c:PyObject_TypeCheck
Unexecuted instantiation: codeobject.c:PyObject_TypeCheck
Unexecuted instantiation: complexobject.c:PyObject_TypeCheck
descrobject.c:PyObject_TypeCheck
Line
Count
Source
427
477M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
477M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
477M
}
Unexecuted instantiation: enumobject.c:PyObject_TypeCheck
Unexecuted instantiation: genobject.c:PyObject_TypeCheck
Unexecuted instantiation: fileobject.c:PyObject_TypeCheck
Unexecuted instantiation: frameobject.c:PyObject_TypeCheck
Unexecuted instantiation: funcobject.c:PyObject_TypeCheck
Unexecuted instantiation: interpolationobject.c:PyObject_TypeCheck
Unexecuted instantiation: iterobject.c:PyObject_TypeCheck
Unexecuted instantiation: odictobject.c:PyObject_TypeCheck
methodobject.c:PyObject_TypeCheck
Line
Count
Source
427
3.55k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
3.55k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
3.55k
}
Unexecuted instantiation: namespaceobject.c:PyObject_TypeCheck
Unexecuted instantiation: _contextvars.c:PyObject_TypeCheck
Unexecuted instantiation: Python-ast.c:PyObject_TypeCheck
Unexecuted instantiation: Python-tokenize.c:PyObject_TypeCheck
Unexecuted instantiation: asdl.c:PyObject_TypeCheck
Unexecuted instantiation: assemble.c:PyObject_TypeCheck
Unexecuted instantiation: ast.c:PyObject_TypeCheck
Unexecuted instantiation: ast_preprocess.c:PyObject_TypeCheck
Unexecuted instantiation: ast_unparse.c:PyObject_TypeCheck
Unexecuted instantiation: critical_section.c:PyObject_TypeCheck
Unexecuted instantiation: crossinterp.c:PyObject_TypeCheck
Unexecuted instantiation: getcopyright.c:PyObject_TypeCheck
Unexecuted instantiation: getplatform.c:PyObject_TypeCheck
Unexecuted instantiation: getversion.c:PyObject_TypeCheck
Unexecuted instantiation: optimizer.c:PyObject_TypeCheck
Unexecuted instantiation: pathconfig.c:PyObject_TypeCheck
Unexecuted instantiation: structmember.c:PyObject_TypeCheck
pegen.c:PyObject_TypeCheck
Line
Count
Source
427
13.3k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
428
13.3k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
429
13.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
430
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
431
625M
#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
432
#endif
433
434
PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
435
PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
436
PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */
437
438
PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
439
440
PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
441
PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
442
PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
443
                                               PyObject *, PyObject *);
444
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
445
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
446
447
/* Generic operations on objects */
448
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
449
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
450
PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
451
PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
452
PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
453
PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
454
PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
455
PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
456
PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *v, const char *name);
457
PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
458
PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
459
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
460
PyAPI_FUNC(int) PyObject_GetOptionalAttr(PyObject *, PyObject *, PyObject **);
461
PyAPI_FUNC(int) PyObject_GetOptionalAttrString(PyObject *, const char *, PyObject **);
462
#endif
463
PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
464
PyAPI_FUNC(int) PyObject_DelAttr(PyObject *v, PyObject *name);
465
PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
466
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
467
PyAPI_FUNC(int) PyObject_HasAttrWithError(PyObject *, PyObject *);
468
PyAPI_FUNC(int) PyObject_HasAttrStringWithError(PyObject *, const char *);
469
#endif
470
PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
471
PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
472
PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *);
473
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
474
PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
475
#endif
476
PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
477
PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
478
PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
479
PyAPI_FUNC(int) PyObject_Not(PyObject *);
480
PyAPI_FUNC(int) PyCallable_Check(PyObject *);
481
PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
482
483
/* PyObject_Dir(obj) acts like Python builtins.dir(obj), returning a
484
   list of strings.  PyObject_Dir(NULL) is like builtins.dir(),
485
   returning the names of the current locals.  In this case, if there are
486
   no current locals, NULL is returned, and PyErr_Occurred() is false.
487
*/
488
PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
489
490
/* Helpers for printing recursive container types */
491
PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
492
PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
493
494
/* Flag bits for printing: */
495
0
#define Py_PRINT_RAW    1       /* No string quotes etc. */
496
497
/*
498
Type flags (tp_flags)
499
500
These flags are used to change expected features and behavior for a
501
particular type.
502
503
Arbitration of the flag bit positions will need to be coordinated among
504
all extension writers who publicly release their extensions (this will
505
be fewer than you might expect!).
506
507
Most flags were removed as of Python 3.0 to make room for new flags.  (Some
508
flags are not for backwards compatibility but to indicate the presence of an
509
optional feature; these flags remain of course.)
510
511
Type definitions should use Py_TPFLAGS_DEFAULT for their tp_flags value.
512
513
Code can use PyType_HasFeature(type_ob, flag_value) to test whether the
514
given type object has a specified feature.
515
*/
516
517
#ifndef Py_LIMITED_API
518
519
/* Track types initialized using _PyStaticType_InitBuiltin(). */
520
614M
#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
521
522
/* The values array is placed inline directly after the rest of
523
 * the object. Implies Py_TPFLAGS_HAVE_GC.
524
 */
525
928M
#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
526
527
/* Placement of weakref pointers are managed by the VM, not by the type.
528
 * The VM will automatically set tp_weaklistoffset.
529
 */
530
940M
#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
531
532
/* Placement of dict (and values) pointers are managed by the VM, not by the type.
533
 * The VM will automatically set tp_dictoffset. Implies Py_TPFLAGS_HAVE_GC.
534
 */
535
1.30G
#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
536
537
940M
#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
538
539
/* Set if instances of the type object are treated as sequences for pattern matching */
540
2.45M
#define Py_TPFLAGS_SEQUENCE (1 << 5)
541
/* Set if instances of the type object are treated as mappings for pattern matching */
542
2.45M
#define Py_TPFLAGS_MAPPING (1 << 6)
543
#endif
544
545
/* Disallow creating instances of the type: set tp_new to NULL and don't create
546
 * the "__new__" key in the type dictionary. */
547
252k
#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
548
549
/* Set if the type object is immutable: type attributes cannot be set nor deleted */
550
692k
#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
551
552
/* Set if the type object is dynamically allocated */
553
459M
#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
554
555
/* Set if the type allows subclassing */
556
985k
#define Py_TPFLAGS_BASETYPE (1UL << 10)
557
558
/* Set if the type implements the vectorcall protocol (PEP 590) */
559
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
560
603M
#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
561
#ifndef Py_LIMITED_API
562
// Backwards compatibility alias for API that was provisional in Python 3.8
563
#define _Py_TPFLAGS_HAVE_VECTORCALL Py_TPFLAGS_HAVE_VECTORCALL
564
#endif
565
#endif
566
567
/* Set if the type is 'ready' -- fully initialized */
568
32.8M
#define Py_TPFLAGS_READY (1UL << 12)
569
570
/* Set while the type is being 'readied', to prevent recursive ready calls */
571
495k
#define Py_TPFLAGS_READYING (1UL << 13)
572
573
/* Objects support garbage collection (see objimpl.h) */
574
5.47G
#define Py_TPFLAGS_HAVE_GC (1UL << 14)
575
576
/* These two bits are preserved for Stackless Python, next after this is 17 */
577
#ifdef STACKLESS
578
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3UL << 15)
579
#else
580
246k
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
581
#endif
582
583
/* Objects behave like an unbound method */
584
104M
#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
585
586
/* Unused. Legacy flag */
587
#define Py_TPFLAGS_VALID_VERSION_TAG  (1UL << 19)
588
589
/* Type is abstract and cannot be instantiated */
590
34.0M
#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
591
592
// This undocumented flag gives certain built-ins their unique pattern-matching
593
// behavior, which allows a single positional subpattern to match against the
594
// subject itself (rather than a mapped attribute on it):
595
492k
#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
596
597
/* Items (ob_size*tp_itemsize) are found at the end of an instance's memory */
598
913k
#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
599
600
/* These flags are used to determine if a type is a subclass. */
601
132
#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
602
116
#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
603
397
#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
604
0
#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
605
7.67M
#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
606
75
#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
607
1.56k
#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
608
27
#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
609
610
246k
#define Py_TPFLAGS_DEFAULT  ( \
611
246k
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
612
246k
                0)
613
614
/* NOTE: Some of the following flags reuse lower bits (removed as part of the
615
 * Python 3.0 transition). */
616
617
/* The following flags are kept for compatibility; in previous
618
 * versions they indicated presence of newer tp_* fields on the
619
 * type struct.
620
 * Starting with 3.8, binary compatibility of C extensions across
621
 * feature releases of Python is not supported anymore (except when
622
 * using the stable ABI, in which all classes are created dynamically,
623
 * using the interpreter's memory layout.)
624
 * Note that older extensions using the stable ABI set these flags,
625
 * so the bits must not be repurposed.
626
 */
627
#define Py_TPFLAGS_HAVE_FINALIZE (1UL << 0)
628
#define Py_TPFLAGS_HAVE_VERSION_TAG   (1UL << 18)
629
630
// Flag values for ob_flags (16 bits available, if SIZEOF_VOID_P > 4).
631
279M
#define _Py_IMMORTAL_FLAGS (1 << 0)
632
279M
#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
633
#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG)
634
#define _Py_TYPE_REVEALED_FLAG (1 << 3)
635
#endif
636
637
#define Py_CONSTANT_NONE 0
638
#define Py_CONSTANT_FALSE 1
639
#define Py_CONSTANT_TRUE 2
640
#define Py_CONSTANT_ELLIPSIS 3
641
#define Py_CONSTANT_NOT_IMPLEMENTED 4
642
16
#define Py_CONSTANT_ZERO 5
643
16
#define Py_CONSTANT_ONE 6
644
248k
#define Py_CONSTANT_EMPTY_STR 7
645
4.01M
#define Py_CONSTANT_EMPTY_BYTES 8
646
16
#define Py_CONSTANT_EMPTY_TUPLE 9
647
648
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
649
PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id);
650
PyAPI_FUNC(PyObject*) Py_GetConstantBorrowed(unsigned int constant_id);
651
#endif
652
653
654
/*
655
_Py_NoneStruct is an object of undefined type which can be used in contexts
656
where NULL (nil) is not suitable (since NULL often means 'error').
657
*/
658
PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
659
660
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
661
#  define Py_None Py_GetConstantBorrowed(Py_CONSTANT_NONE)
662
#else
663
2.01G
#  define Py_None (&_Py_NoneStruct)
664
#endif
665
666
// Test if an object is the None singleton, the same as "x is None" in Python.
667
PyAPI_FUNC(int) Py_IsNone(PyObject *x);
668
133M
#define Py_IsNone(x) Py_Is((x), Py_None)
669
670
/* Macro for returning Py_None from a function.
671
 * Only treat Py_None as immortal in the limited C API 3.12 and newer. */
672
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
673
#  define Py_RETURN_NONE return Py_NewRef(Py_None)
674
#else
675
105M
#  define Py_RETURN_NONE return Py_None
676
#endif
677
678
/*
679
Py_NotImplemented is a singleton used to signal that an operation is
680
not implemented for a given type combination.
681
*/
682
PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
683
684
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
685
#  define Py_NotImplemented Py_GetConstantBorrowed(Py_CONSTANT_NOT_IMPLEMENTED)
686
#else
687
191M
#  define Py_NotImplemented (&_Py_NotImplementedStruct)
688
#endif
689
690
/* Macro for returning Py_NotImplemented from a function */
691
21.3M
#define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
692
693
/* Rich comparison opcodes */
694
73.0M
#define Py_LT 0
695
560k
#define Py_LE 1
696
127M
#define Py_EQ 2
697
38.2M
#define Py_NE 3
698
2.12M
#define Py_GT 4
699
1.26k
#define Py_GE 5
700
701
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
702
/* Result of calling PyIter_Send */
703
typedef enum {
704
    PYGEN_RETURN = 0,
705
    PYGEN_ERROR = -1,
706
    PYGEN_NEXT = 1
707
} PySendResult;
708
#endif
709
710
/*
711
 * Macro for implementing rich comparisons
712
 *
713
 * Needs to be a macro because any C-comparable type can be used.
714
 */
715
#define Py_RETURN_RICHCOMPARE(val1, val2, op)                               \
716
59.7M
    do {                                                                    \
717
59.7M
        switch (op) {                                                       \
718
17.8M
        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
719
17.8M
        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
720
39.9M
        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
721
39.9M
        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
722
1.28M
        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
723
559k
        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
724
87
        default:                                                            \
725
0
            Py_UNREACHABLE();                                               \
726
59.7M
        }                                                                   \
727
59.7M
    } while (0)
728
729
730
/*
731
More conventions
732
================
733
734
Argument Checking
735
-----------------
736
737
Functions that take objects as arguments normally don't check for nil
738
arguments, but they do check the type of the argument, and return an
739
error if the function doesn't apply to the type.
740
741
Failure Modes
742
-------------
743
744
Functions may fail for a variety of reasons, including running out of
745
memory.  This is communicated to the caller in two ways: an error string
746
is set (see errors.h), and the function result differs: functions that
747
normally return a pointer return NULL for failure, functions returning
748
an integer return -1 (which could be a legal return value too!), and
749
other functions return 0 for success and -1 for failure.
750
Callers should always check for errors before using the result.  If
751
an error was set, the caller must either explicitly clear it, or pass
752
the error on to its caller.
753
754
Reference Counts
755
----------------
756
757
It takes a while to get used to the proper usage of reference counts.
758
759
Functions that create an object set the reference count to 1; such new
760
objects must be stored somewhere or destroyed again with Py_DECREF().
761
Some functions that 'store' objects, such as PyTuple_SetItem() and
762
PyList_SetItem(),
763
don't increment the reference count of the object, since the most
764
frequent use is to store a fresh object.  Functions that 'retrieve'
765
objects, such as PyTuple_GetItem() and PyDict_GetItemString(), also
766
don't increment
767
the reference count, since most frequently the object is only looked at
768
quickly.  Thus, to retrieve an object and store it again, the caller
769
must call Py_INCREF() explicitly.
770
771
NOTE: functions that 'consume' a reference count, like
772
PyList_SetItem(), consume the reference even if the object wasn't
773
successfully stored, to simplify error handling.
774
775
It seems attractive to make other functions that take an object as
776
argument consume a reference count; however, this may quickly get
777
confusing (even the current practice is already confusing).  Consider
778
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
779
times.
780
*/
781
782
#ifndef Py_LIMITED_API
783
#  define Py_CPYTHON_OBJECT_H
784
#  include "cpython/object.h"
785
#  undef Py_CPYTHON_OBJECT_H
786
#endif
787
788
789
static inline int
790
PyType_HasFeature(PyTypeObject *type, unsigned long feature)
791
5.88G
{
792
5.88G
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
    flags = type->tp_flags;
798
#endif
799
5.88G
    return ((flags & feature) != 0);
800
5.88G
}
bytesobject.c:PyType_HasFeature
Line
Count
Source
791
12.5M
{
792
12.5M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
12.5M
    flags = type->tp_flags;
798
12.5M
#endif
799
12.5M
    return ((flags & feature) != 0);
800
12.5M
}
call.c:PyType_HasFeature
Line
Count
Source
791
490M
{
792
490M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
490M
    flags = type->tp_flags;
798
490M
#endif
799
490M
    return ((flags & feature) != 0);
800
490M
}
exceptions.c:PyType_HasFeature
Line
Count
Source
791
644k
{
792
644k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
644k
    flags = type->tp_flags;
798
644k
#endif
799
644k
    return ((flags & feature) != 0);
800
644k
}
genericaliasobject.c:PyType_HasFeature
Line
Count
Source
791
782
{
792
782
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
782
    flags = type->tp_flags;
798
782
#endif
799
782
    return ((flags & feature) != 0);
800
782
}
floatobject.c:PyType_HasFeature
Line
Count
Source
791
1.15M
{
792
1.15M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.15M
    flags = type->tp_flags;
798
1.15M
#endif
799
1.15M
    return ((flags & feature) != 0);
800
1.15M
}
listobject.c:PyType_HasFeature
Line
Count
Source
791
257M
{
792
257M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
257M
    flags = type->tp_flags;
798
257M
#endif
799
257M
    return ((flags & feature) != 0);
800
257M
}
longobject.c:PyType_HasFeature
Line
Count
Source
791
661M
{
792
661M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
661M
    flags = type->tp_flags;
798
661M
#endif
799
661M
    return ((flags & feature) != 0);
800
661M
}
dictobject.c:PyType_HasFeature
Line
Count
Source
791
324M
{
792
324M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
324M
    flags = type->tp_flags;
798
324M
#endif
799
324M
    return ((flags & feature) != 0);
800
324M
}
memoryobject.c:PyType_HasFeature
Line
Count
Source
791
4
{
792
4
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
4
    flags = type->tp_flags;
798
4
#endif
799
4
    return ((flags & feature) != 0);
800
4
}
moduleobject.c:PyType_HasFeature
Line
Count
Source
791
3.01k
{
792
3.01k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
3.01k
    flags = type->tp_flags;
798
3.01k
#endif
799
3.01k
    return ((flags & feature) != 0);
800
3.01k
}
object.c:PyType_HasFeature
Line
Count
Source
791
692M
{
792
692M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
692M
    flags = type->tp_flags;
798
692M
#endif
799
692M
    return ((flags & feature) != 0);
800
692M
}
Unexecuted instantiation: obmalloc.c:PyType_HasFeature
Unexecuted instantiation: picklebufobject.c:PyType_HasFeature
Unexecuted instantiation: rangeobject.c:PyType_HasFeature
Unexecuted instantiation: setobject.c:PyType_HasFeature
Unexecuted instantiation: sliceobject.c:PyType_HasFeature
Unexecuted instantiation: structseq.c:PyType_HasFeature
Unexecuted instantiation: templateobject.c:PyType_HasFeature
tupleobject.c:PyType_HasFeature
Line
Count
Source
791
79.9M
{
792
79.9M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
79.9M
    flags = type->tp_flags;
798
79.9M
#endif
799
79.9M
    return ((flags & feature) != 0);
800
79.9M
}
typeobject.c:PyType_HasFeature
Line
Count
Source
791
266M
{
792
266M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
266M
    flags = type->tp_flags;
798
266M
#endif
799
266M
    return ((flags & feature) != 0);
800
266M
}
Unexecuted instantiation: typevarobject.c:PyType_HasFeature
unicodeobject.c:PyType_HasFeature
Line
Count
Source
791
1.56G
{
792
1.56G
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.56G
    flags = type->tp_flags;
798
1.56G
#endif
799
1.56G
    return ((flags & feature) != 0);
800
1.56G
}
Unexecuted instantiation: unicodectype.c:PyType_HasFeature
unionobject.c:PyType_HasFeature
Line
Count
Source
791
432
{
792
432
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
432
    flags = type->tp_flags;
798
432
#endif
799
432
    return ((flags & feature) != 0);
800
432
}
weakrefobject.c:PyType_HasFeature
Line
Count
Source
791
38.3M
{
792
38.3M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
38.3M
    flags = type->tp_flags;
798
38.3M
#endif
799
38.3M
    return ((flags & feature) != 0);
800
38.3M
}
_warnings.c:PyType_HasFeature
Line
Count
Source
791
58.7k
{
792
58.7k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
58.7k
    flags = type->tp_flags;
798
58.7k
#endif
799
58.7k
    return ((flags & feature) != 0);
800
58.7k
}
bltinmodule.c:PyType_HasFeature
Line
Count
Source
791
75.6M
{
792
75.6M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
75.6M
    flags = type->tp_flags;
798
75.6M
#endif
799
75.6M
    return ((flags & feature) != 0);
800
75.6M
}
ceval.c:PyType_HasFeature
Line
Count
Source
791
234M
{
792
234M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
234M
    flags = type->tp_flags;
798
234M
#endif
799
234M
    return ((flags & feature) != 0);
800
234M
}
codecs.c:PyType_HasFeature
Line
Count
Source
791
1.03M
{
792
1.03M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.03M
    flags = type->tp_flags;
798
1.03M
#endif
799
1.03M
    return ((flags & feature) != 0);
800
1.03M
}
codegen.c:PyType_HasFeature
Line
Count
Source
791
1.16k
{
792
1.16k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.16k
    flags = type->tp_flags;
798
1.16k
#endif
799
1.16k
    return ((flags & feature) != 0);
800
1.16k
}
Unexecuted instantiation: compile.c:PyType_HasFeature
context.c:PyType_HasFeature
Line
Count
Source
791
24
{
792
24
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
24
    flags = type->tp_flags;
798
24
#endif
799
24
    return ((flags & feature) != 0);
800
24
}
errors.c:PyType_HasFeature
Line
Count
Source
791
352M
{
792
352M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
352M
    flags = type->tp_flags;
798
352M
#endif
799
352M
    return ((flags & feature) != 0);
800
352M
}
flowgraph.c:PyType_HasFeature
Line
Count
Source
791
176
{
792
176
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
176
    flags = type->tp_flags;
798
176
#endif
799
176
    return ((flags & feature) != 0);
800
176
}
Unexecuted instantiation: frame.c:PyType_HasFeature
Unexecuted instantiation: future.c:PyType_HasFeature
Unexecuted instantiation: gc.c:PyType_HasFeature
Unexecuted instantiation: gc_gil.c:PyType_HasFeature
getargs.c:PyType_HasFeature
Line
Count
Source
791
2.79M
{
792
2.79M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
2.79M
    flags = type->tp_flags;
798
2.79M
#endif
799
2.79M
    return ((flags & feature) != 0);
800
2.79M
}
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
791
30.2k
{
792
30.2k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
30.2k
    flags = type->tp_flags;
798
30.2k
#endif
799
30.2k
    return ((flags & feature) != 0);
800
30.2k
}
importdl.c:PyType_HasFeature
Line
Count
Source
791
158
{
792
158
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
158
    flags = type->tp_flags;
798
158
#endif
799
158
    return ((flags & feature) != 0);
800
158
}
initconfig.c:PyType_HasFeature
Line
Count
Source
791
320
{
792
320
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
320
    flags = type->tp_flags;
798
320
#endif
799
320
    return ((flags & feature) != 0);
800
320
}
Unexecuted instantiation: instrumentation.c:PyType_HasFeature
Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature
intrinsics.c:PyType_HasFeature
Line
Count
Source
791
13.8k
{
792
13.8k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
13.8k
    flags = type->tp_flags;
798
13.8k
#endif
799
13.8k
    return ((flags & feature) != 0);
800
13.8k
}
Unexecuted instantiation: legacy_tracing.c:PyType_HasFeature
Unexecuted instantiation: lock.c:PyType_HasFeature
Unexecuted instantiation: marshal.c:PyType_HasFeature
Unexecuted instantiation: modsupport.c:PyType_HasFeature
Unexecuted instantiation: mysnprintf.c:PyType_HasFeature
Unexecuted instantiation: parking_lot.c:PyType_HasFeature
Unexecuted instantiation: preconfig.c:PyType_HasFeature
Unexecuted instantiation: pyarena.c:PyType_HasFeature
Unexecuted instantiation: pyctype.c:PyType_HasFeature
Unexecuted instantiation: pyhash.c:PyType_HasFeature
pylifecycle.c:PyType_HasFeature
Line
Count
Source
791
16
{
792
16
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
16
    flags = type->tp_flags;
798
16
#endif
799
16
    return ((flags & feature) != 0);
800
16
}
Unexecuted instantiation: pymath.c:PyType_HasFeature
Unexecuted instantiation: pystate.c:PyType_HasFeature
pythonrun.c:PyType_HasFeature
Line
Count
Source
791
46.7k
{
792
46.7k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
46.7k
    flags = type->tp_flags;
798
46.7k
#endif
799
46.7k
    return ((flags & feature) != 0);
800
46.7k
}
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
791
1.27M
{
792
1.27M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.27M
    flags = type->tp_flags;
798
1.27M
#endif
799
1.27M
    return ((flags & feature) != 0);
800
1.27M
}
symtable.c:PyType_HasFeature
Line
Count
Source
791
108k
{
792
108k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
108k
    flags = type->tp_flags;
798
108k
#endif
799
108k
    return ((flags & feature) != 0);
800
108k
}
sysmodule.c:PyType_HasFeature
Line
Count
Source
791
399
{
792
399
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
399
    flags = type->tp_flags;
798
399
#endif
799
399
    return ((flags & feature) != 0);
800
399
}
Unexecuted instantiation: thread.c:PyType_HasFeature
Unexecuted instantiation: traceback.c:PyType_HasFeature
Unexecuted instantiation: tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: getopt.c:PyType_HasFeature
Unexecuted instantiation: pystrcmp.c:PyType_HasFeature
Unexecuted instantiation: pystrtod.c:PyType_HasFeature
Unexecuted instantiation: pystrhex.c:PyType_HasFeature
Unexecuted instantiation: dtoa.c:PyType_HasFeature
Unexecuted instantiation: formatter_unicode.c:PyType_HasFeature
Unexecuted instantiation: fileutils.c:PyType_HasFeature
Unexecuted instantiation: suggestions.c:PyType_HasFeature
Unexecuted instantiation: perf_trampoline.c:PyType_HasFeature
Unexecuted instantiation: perf_jit_trampoline.c:PyType_HasFeature
Unexecuted instantiation: 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: atexitmodule.c:PyType_HasFeature
Unexecuted instantiation: faulthandler.c:PyType_HasFeature
posixmodule.c:PyType_HasFeature
Line
Count
Source
791
51.7k
{
792
51.7k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
51.7k
    flags = type->tp_flags;
798
51.7k
#endif
799
51.7k
    return ((flags & feature) != 0);
800
51.7k
}
Unexecuted instantiation: signalmodule.c:PyType_HasFeature
Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: _suggestions.c:PyType_HasFeature
_codecsmodule.c:PyType_HasFeature
Line
Count
Source
791
801k
{
792
801k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
801k
    flags = type->tp_flags;
798
801k
#endif
799
801k
    return ((flags & feature) != 0);
800
801k
}
Unexecuted instantiation: _collectionsmodule.c:PyType_HasFeature
Unexecuted instantiation: errnomodule.c:PyType_HasFeature
_iomodule.c:PyType_HasFeature
Line
Count
Source
791
2.88k
{
792
2.88k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
2.88k
    flags = type->tp_flags;
798
2.88k
#endif
799
2.88k
    return ((flags & feature) != 0);
800
2.88k
}
Unexecuted instantiation: iobase.c:PyType_HasFeature
fileio.c:PyType_HasFeature
Line
Count
Source
791
1.20k
{
792
1.20k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.20k
    flags = type->tp_flags;
798
1.20k
#endif
799
1.20k
    return ((flags & feature) != 0);
800
1.20k
}
Unexecuted instantiation: bytesio.c:PyType_HasFeature
bufferedio.c:PyType_HasFeature
Line
Count
Source
791
1.88k
{
792
1.88k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.88k
    flags = type->tp_flags;
798
1.88k
#endif
799
1.88k
    return ((flags & feature) != 0);
800
1.88k
}
textio.c:PyType_HasFeature
Line
Count
Source
791
66.2k
{
792
66.2k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
66.2k
    flags = type->tp_flags;
798
66.2k
#endif
799
66.2k
    return ((flags & feature) != 0);
800
66.2k
}
stringio.c:PyType_HasFeature
Line
Count
Source
791
100k
{
792
100k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
100k
    flags = type->tp_flags;
798
100k
#endif
799
100k
    return ((flags & feature) != 0);
800
100k
}
Unexecuted instantiation: itertoolsmodule.c:PyType_HasFeature
sre.c:PyType_HasFeature
Line
Count
Source
791
185M
{
792
185M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
185M
    flags = type->tp_flags;
798
185M
#endif
799
185M
    return ((flags & feature) != 0);
800
185M
}
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
791
2.91k
{
792
2.91k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
2.91k
    flags = type->tp_flags;
798
2.91k
#endif
799
2.91k
    return ((flags & feature) != 0);
800
2.91k
}
_abc.c:PyType_HasFeature
Line
Count
Source
791
27.3k
{
792
27.3k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
27.3k
    flags = type->tp_flags;
798
27.3k
#endif
799
27.3k
    return ((flags & feature) != 0);
800
27.3k
}
_functoolsmodule.c:PyType_HasFeature
Line
Count
Source
791
28.1k
{
792
28.1k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
28.1k
    flags = type->tp_flags;
798
28.1k
#endif
799
28.1k
    return ((flags & feature) != 0);
800
28.1k
}
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
791
16
{
792
16
    unsigned long flags;
793
16
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
16
    flags = PyType_GetFlags(type);
796
#else
797
    flags = type->tp_flags;
798
#endif
799
16
    return ((flags & feature) != 0);
800
16
}
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature
Unexecuted instantiation: pwdmodule.c:PyType_HasFeature
getpath.c:PyType_HasFeature
Line
Count
Source
791
432
{
792
432
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
432
    flags = type->tp_flags;
798
432
#endif
799
432
    return ((flags & feature) != 0);
800
432
}
Unexecuted instantiation: frozen.c:PyType_HasFeature
Unexecuted instantiation: getbuildinfo.c:PyType_HasFeature
Unexecuted instantiation: peg_api.c:PyType_HasFeature
Unexecuted instantiation: file_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: helpers.c:PyType_HasFeature
Unexecuted instantiation: myreadline.c:PyType_HasFeature
abstract.c:PyType_HasFeature
Line
Count
Source
791
561M
{
792
561M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
561M
    flags = type->tp_flags;
798
561M
#endif
799
561M
    return ((flags & feature) != 0);
800
561M
}
Unexecuted instantiation: boolobject.c:PyType_HasFeature
bytes_methods.c:PyType_HasFeature
Line
Count
Source
791
1.15M
{
792
1.15M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.15M
    flags = type->tp_flags;
798
1.15M
#endif
799
1.15M
    return ((flags & feature) != 0);
800
1.15M
}
bytearrayobject.c:PyType_HasFeature
Line
Count
Source
791
1.49M
{
792
1.49M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
1.49M
    flags = type->tp_flags;
798
1.49M
#endif
799
1.49M
    return ((flags & feature) != 0);
800
1.49M
}
Unexecuted instantiation: capsule.c:PyType_HasFeature
Unexecuted instantiation: cellobject.c:PyType_HasFeature
classobject.c:PyType_HasFeature
Line
Count
Source
791
22.4M
{
792
22.4M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
22.4M
    flags = type->tp_flags;
798
22.4M
#endif
799
22.4M
    return ((flags & feature) != 0);
800
22.4M
}
codeobject.c:PyType_HasFeature
Line
Count
Source
791
309k
{
792
309k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
309k
    flags = type->tp_flags;
798
309k
#endif
799
309k
    return ((flags & feature) != 0);
800
309k
}
Unexecuted instantiation: complexobject.c:PyType_HasFeature
descrobject.c:PyType_HasFeature
Line
Count
Source
791
7.26M
{
792
7.26M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
7.26M
    flags = type->tp_flags;
798
7.26M
#endif
799
7.26M
    return ((flags & feature) != 0);
800
7.26M
}
enumobject.c:PyType_HasFeature
Line
Count
Source
791
41.4M
{
792
41.4M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
41.4M
    flags = type->tp_flags;
798
41.4M
#endif
799
41.4M
    return ((flags & feature) != 0);
800
41.4M
}
genobject.c:PyType_HasFeature
Line
Count
Source
791
5.85k
{
792
5.85k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
5.85k
    flags = type->tp_flags;
798
5.85k
#endif
799
5.85k
    return ((flags & feature) != 0);
800
5.85k
}
fileobject.c:PyType_HasFeature
Line
Count
Source
791
944
{
792
944
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
944
    flags = type->tp_flags;
798
944
#endif
799
944
    return ((flags & feature) != 0);
800
944
}
Unexecuted instantiation: frameobject.c:PyType_HasFeature
funcobject.c:PyType_HasFeature
Line
Count
Source
791
28.2k
{
792
28.2k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
28.2k
    flags = type->tp_flags;
798
28.2k
#endif
799
28.2k
    return ((flags & feature) != 0);
800
28.2k
}
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature
iterobject.c:PyType_HasFeature
Line
Count
Source
791
2.73M
{
792
2.73M
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
2.73M
    flags = type->tp_flags;
798
2.73M
#endif
799
2.73M
    return ((flags & feature) != 0);
800
2.73M
}
Unexecuted instantiation: odictobject.c:PyType_HasFeature
Unexecuted instantiation: methodobject.c:PyType_HasFeature
Unexecuted instantiation: namespaceobject.c:PyType_HasFeature
Unexecuted instantiation: _contextvars.c:PyType_HasFeature
Unexecuted instantiation: Python-ast.c:PyType_HasFeature
Unexecuted instantiation: Python-tokenize.c:PyType_HasFeature
Unexecuted instantiation: asdl.c:PyType_HasFeature
Unexecuted instantiation: assemble.c:PyType_HasFeature
Unexecuted instantiation: ast.c:PyType_HasFeature
ast_preprocess.c:PyType_HasFeature
Line
Count
Source
791
471
{
792
471
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
471
    flags = type->tp_flags;
798
471
#endif
799
471
    return ((flags & feature) != 0);
800
471
}
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: structmember.c:PyType_HasFeature
pegen.c:PyType_HasFeature
Line
Count
Source
791
59.2k
{
792
59.2k
    unsigned long flags;
793
#ifdef Py_LIMITED_API
794
    // PyTypeObject is opaque in the limited C API
795
    flags = PyType_GetFlags(type);
796
#else
797
59.2k
    flags = type->tp_flags;
798
59.2k
#endif
799
59.2k
    return ((flags & feature) != 0);
800
59.2k
}
Unexecuted instantiation: pegen_errors.c:PyType_HasFeature
Unexecuted instantiation: parser.c:PyType_HasFeature
Unexecuted instantiation: buffer.c:PyType_HasFeature
Unexecuted instantiation: lexer.c:PyType_HasFeature
Unexecuted instantiation: state.c:PyType_HasFeature
Unexecuted instantiation: readline_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: string_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: utf8_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: getcompiler.c:PyType_HasFeature
Unexecuted instantiation: mystrtoul.c:PyType_HasFeature
Unexecuted instantiation: token.c:PyType_HasFeature
Unexecuted instantiation: action_helpers.c:PyType_HasFeature
Unexecuted instantiation: string_parser.c:PyType_HasFeature
801
802
5.54G
#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
803
804
391M
static inline int PyType_Check(PyObject *op) {
805
391M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
391M
}
Unexecuted instantiation: bytesobject.c:PyType_Check
Unexecuted instantiation: call.c:PyType_Check
Unexecuted instantiation: exceptions.c:PyType_Check
Unexecuted instantiation: genericaliasobject.c:PyType_Check
Unexecuted instantiation: floatobject.c:PyType_Check
Unexecuted instantiation: listobject.c:PyType_Check
Unexecuted instantiation: longobject.c:PyType_Check
Unexecuted instantiation: dictobject.c:PyType_Check
Unexecuted instantiation: memoryobject.c:PyType_Check
Unexecuted instantiation: moduleobject.c:PyType_Check
Unexecuted instantiation: object.c:PyType_Check
Unexecuted instantiation: obmalloc.c:PyType_Check
Unexecuted instantiation: picklebufobject.c:PyType_Check
Unexecuted instantiation: rangeobject.c:PyType_Check
Unexecuted instantiation: setobject.c:PyType_Check
Unexecuted instantiation: sliceobject.c:PyType_Check
Unexecuted instantiation: structseq.c:PyType_Check
Unexecuted instantiation: templateobject.c:PyType_Check
Unexecuted instantiation: tupleobject.c:PyType_Check
typeobject.c:PyType_Check
Line
Count
Source
804
71.1M
static inline int PyType_Check(PyObject *op) {
805
71.1M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
71.1M
}
Unexecuted instantiation: typevarobject.c:PyType_Check
Unexecuted instantiation: unicodeobject.c:PyType_Check
Unexecuted instantiation: unicodectype.c:PyType_Check
unionobject.c:PyType_Check
Line
Count
Source
804
432
static inline int PyType_Check(PyObject *op) {
805
432
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
432
}
weakrefobject.c:PyType_Check
Line
Count
Source
804
38.3M
static inline int PyType_Check(PyObject *op) {
805
38.3M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
38.3M
}
Unexecuted instantiation: _warnings.c:PyType_Check
bltinmodule.c:PyType_Check
Line
Count
Source
804
8.79k
static inline int PyType_Check(PyObject *op) {
805
8.79k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
8.79k
}
ceval.c:PyType_Check
Line
Count
Source
804
148M
static inline int PyType_Check(PyObject *op) {
805
148M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
148M
}
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
804
96.7M
static inline int PyType_Check(PyObject *op) {
805
96.7M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
96.7M
}
Unexecuted instantiation: flowgraph.c:PyType_Check
Unexecuted instantiation: frame.c:PyType_Check
Unexecuted instantiation: future.c:PyType_Check
Unexecuted instantiation: gc.c:PyType_Check
Unexecuted instantiation: gc_gil.c:PyType_Check
Unexecuted instantiation: getargs.c:PyType_Check
Unexecuted instantiation: ceval_gil.c:PyType_Check
Unexecuted instantiation: hamt.c:PyType_Check
Unexecuted instantiation: hashtable.c:PyType_Check
Unexecuted instantiation: import.c:PyType_Check
Unexecuted instantiation: importdl.c:PyType_Check
Unexecuted instantiation: initconfig.c:PyType_Check
Unexecuted instantiation: instrumentation.c:PyType_Check
Unexecuted instantiation: instruction_sequence.c:PyType_Check
Unexecuted instantiation: intrinsics.c:PyType_Check
Unexecuted instantiation: legacy_tracing.c:PyType_Check
Unexecuted instantiation: lock.c:PyType_Check
Unexecuted instantiation: marshal.c:PyType_Check
Unexecuted instantiation: modsupport.c:PyType_Check
Unexecuted instantiation: mysnprintf.c:PyType_Check
Unexecuted instantiation: parking_lot.c:PyType_Check
Unexecuted instantiation: preconfig.c:PyType_Check
Unexecuted instantiation: pyarena.c:PyType_Check
Unexecuted instantiation: pyctype.c:PyType_Check
Unexecuted instantiation: pyhash.c:PyType_Check
Unexecuted instantiation: pylifecycle.c:PyType_Check
Unexecuted instantiation: pymath.c:PyType_Check
Unexecuted instantiation: pystate.c:PyType_Check
Unexecuted instantiation: pythonrun.c:PyType_Check
Unexecuted instantiation: pytime.c:PyType_Check
Unexecuted instantiation: qsbr.c:PyType_Check
Unexecuted instantiation: bootstrap_hash.c:PyType_Check
specialize.c:PyType_Check
Line
Count
Source
804
1.20M
static inline int PyType_Check(PyObject *op) {
805
1.20M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
1.20M
}
Unexecuted instantiation: symtable.c:PyType_Check
Unexecuted instantiation: sysmodule.c:PyType_Check
Unexecuted instantiation: thread.c:PyType_Check
Unexecuted instantiation: traceback.c:PyType_Check
Unexecuted instantiation: tracemalloc.c:PyType_Check
Unexecuted instantiation: getopt.c:PyType_Check
Unexecuted instantiation: pystrcmp.c:PyType_Check
Unexecuted instantiation: pystrtod.c:PyType_Check
Unexecuted instantiation: pystrhex.c:PyType_Check
Unexecuted instantiation: dtoa.c:PyType_Check
Unexecuted instantiation: formatter_unicode.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: 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: _codecsmodule.c:PyType_Check
Unexecuted instantiation: _collectionsmodule.c:PyType_Check
Unexecuted instantiation: errnomodule.c:PyType_Check
Unexecuted instantiation: _iomodule.c:PyType_Check
Unexecuted instantiation: iobase.c:PyType_Check
Unexecuted instantiation: fileio.c:PyType_Check
Unexecuted instantiation: bytesio.c:PyType_Check
Unexecuted instantiation: bufferedio.c:PyType_Check
Unexecuted instantiation: textio.c:PyType_Check
Unexecuted instantiation: stringio.c:PyType_Check
Unexecuted instantiation: itertoolsmodule.c:PyType_Check
Unexecuted instantiation: sre.c:PyType_Check
Unexecuted instantiation: _sysconfig.c:PyType_Check
Unexecuted instantiation: _threadmodule.c:PyType_Check
Unexecuted instantiation: timemodule.c:PyType_Check
Unexecuted instantiation: _typesmodule.c:PyType_Check
Unexecuted instantiation: _typingmodule.c:PyType_Check
Unexecuted instantiation: _weakref.c:PyType_Check
_abc.c:PyType_Check
Line
Count
Source
804
2.18k
static inline int PyType_Check(PyObject *op) {
805
2.18k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
2.18k
}
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
804
29.1M
static inline int PyType_Check(PyObject *op) {
805
29.1M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
29.1M
}
Unexecuted instantiation: boolobject.c:PyType_Check
Unexecuted instantiation: bytes_methods.c:PyType_Check
Unexecuted instantiation: bytearrayobject.c:PyType_Check
Unexecuted instantiation: capsule.c:PyType_Check
Unexecuted instantiation: cellobject.c:PyType_Check
Unexecuted instantiation: classobject.c:PyType_Check
Unexecuted instantiation: codeobject.c:PyType_Check
Unexecuted instantiation: complexobject.c:PyType_Check
descrobject.c:PyType_Check
Line
Count
Source
804
7.25M
static inline int PyType_Check(PyObject *op) {
805
7.25M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
7.25M
}
Unexecuted instantiation: enumobject.c:PyType_Check
genobject.c:PyType_Check
Line
Count
Source
804
2.92k
static inline int PyType_Check(PyObject *op) {
805
2.92k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
806
2.92k
}
Unexecuted instantiation: fileobject.c:PyType_Check
Unexecuted instantiation: frameobject.c:PyType_Check
Unexecuted instantiation: funcobject.c:PyType_Check
Unexecuted instantiation: interpolationobject.c:PyType_Check
Unexecuted instantiation: iterobject.c:PyType_Check
Unexecuted instantiation: odictobject.c:PyType_Check
Unexecuted instantiation: methodobject.c:PyType_Check
Unexecuted instantiation: namespaceobject.c:PyType_Check
Unexecuted instantiation: _contextvars.c:PyType_Check
Unexecuted instantiation: Python-ast.c:PyType_Check
Unexecuted instantiation: Python-tokenize.c:PyType_Check
Unexecuted instantiation: asdl.c:PyType_Check
Unexecuted instantiation: assemble.c:PyType_Check
Unexecuted instantiation: ast.c:PyType_Check
Unexecuted instantiation: ast_preprocess.c:PyType_Check
Unexecuted instantiation: ast_unparse.c:PyType_Check
Unexecuted instantiation: critical_section.c:PyType_Check
Unexecuted instantiation: crossinterp.c:PyType_Check
Unexecuted instantiation: getcopyright.c:PyType_Check
Unexecuted instantiation: getplatform.c:PyType_Check
Unexecuted instantiation: getversion.c:PyType_Check
Unexecuted instantiation: optimizer.c:PyType_Check
Unexecuted instantiation: pathconfig.c:PyType_Check
Unexecuted instantiation: structmember.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
807
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
808
617M
#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
809
#endif
810
811
#define _PyType_CAST(op) \
812
333M
    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
813
814
18.4M
static inline int PyType_CheckExact(PyObject *op) {
815
18.4M
    return Py_IS_TYPE(op, &PyType_Type);
816
18.4M
}
Unexecuted instantiation: bytesobject.c:PyType_CheckExact
Unexecuted instantiation: call.c:PyType_CheckExact
Unexecuted instantiation: exceptions.c:PyType_CheckExact
Unexecuted instantiation: genericaliasobject.c:PyType_CheckExact
Unexecuted instantiation: floatobject.c:PyType_CheckExact
Unexecuted instantiation: listobject.c:PyType_CheckExact
Unexecuted instantiation: longobject.c:PyType_CheckExact
Unexecuted instantiation: dictobject.c:PyType_CheckExact
Unexecuted instantiation: memoryobject.c:PyType_CheckExact
Unexecuted instantiation: moduleobject.c:PyType_CheckExact
Unexecuted instantiation: object.c:PyType_CheckExact
Unexecuted instantiation: obmalloc.c:PyType_CheckExact
Unexecuted instantiation: picklebufobject.c:PyType_CheckExact
Unexecuted instantiation: rangeobject.c:PyType_CheckExact
Unexecuted instantiation: 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: unicodeobject.c:PyType_CheckExact
Unexecuted instantiation: unicodectype.c:PyType_CheckExact
Unexecuted instantiation: unionobject.c:PyType_CheckExact
Unexecuted instantiation: weakrefobject.c:PyType_CheckExact
Unexecuted instantiation: _warnings.c:PyType_CheckExact
Unexecuted instantiation: bltinmodule.c:PyType_CheckExact
Unexecuted instantiation: ceval.c:PyType_CheckExact
Unexecuted instantiation: codecs.c:PyType_CheckExact
Unexecuted instantiation: codegen.c:PyType_CheckExact
Unexecuted instantiation: compile.c:PyType_CheckExact
Unexecuted instantiation: context.c:PyType_CheckExact
Unexecuted instantiation: errors.c:PyType_CheckExact
Unexecuted instantiation: flowgraph.c:PyType_CheckExact
Unexecuted instantiation: frame.c:PyType_CheckExact
Unexecuted instantiation: future.c:PyType_CheckExact
Unexecuted instantiation: gc.c:PyType_CheckExact
Unexecuted instantiation: gc_gil.c:PyType_CheckExact
Unexecuted instantiation: getargs.c:PyType_CheckExact
Unexecuted instantiation: ceval_gil.c:PyType_CheckExact
Unexecuted instantiation: hamt.c:PyType_CheckExact
Unexecuted instantiation: hashtable.c:PyType_CheckExact
Unexecuted instantiation: import.c:PyType_CheckExact
Unexecuted instantiation: importdl.c:PyType_CheckExact
Unexecuted instantiation: initconfig.c:PyType_CheckExact
Unexecuted instantiation: instrumentation.c:PyType_CheckExact
Unexecuted instantiation: instruction_sequence.c:PyType_CheckExact
Unexecuted instantiation: intrinsics.c:PyType_CheckExact
Unexecuted instantiation: legacy_tracing.c:PyType_CheckExact
Unexecuted instantiation: lock.c:PyType_CheckExact
Unexecuted instantiation: marshal.c:PyType_CheckExact
Unexecuted instantiation: modsupport.c:PyType_CheckExact
Unexecuted instantiation: mysnprintf.c:PyType_CheckExact
Unexecuted instantiation: parking_lot.c:PyType_CheckExact
Unexecuted instantiation: preconfig.c:PyType_CheckExact
Unexecuted instantiation: pyarena.c:PyType_CheckExact
Unexecuted instantiation: pyctype.c:PyType_CheckExact
Unexecuted instantiation: pyhash.c:PyType_CheckExact
Unexecuted instantiation: pylifecycle.c:PyType_CheckExact
Unexecuted instantiation: pymath.c:PyType_CheckExact
Unexecuted instantiation: pystate.c:PyType_CheckExact
Unexecuted instantiation: pythonrun.c:PyType_CheckExact
Unexecuted instantiation: pytime.c:PyType_CheckExact
Unexecuted instantiation: qsbr.c:PyType_CheckExact
Unexecuted instantiation: bootstrap_hash.c:PyType_CheckExact
Unexecuted instantiation: specialize.c:PyType_CheckExact
Unexecuted instantiation: symtable.c:PyType_CheckExact
Unexecuted instantiation: sysmodule.c:PyType_CheckExact
Unexecuted instantiation: thread.c:PyType_CheckExact
Unexecuted instantiation: traceback.c:PyType_CheckExact
Unexecuted instantiation: tracemalloc.c:PyType_CheckExact
Unexecuted instantiation: getopt.c:PyType_CheckExact
Unexecuted instantiation: pystrcmp.c:PyType_CheckExact
Unexecuted instantiation: pystrtod.c:PyType_CheckExact
Unexecuted instantiation: pystrhex.c:PyType_CheckExact
Unexecuted instantiation: dtoa.c:PyType_CheckExact
Unexecuted instantiation: formatter_unicode.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: 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: _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
814
18.4M
static inline int PyType_CheckExact(PyObject *op) {
815
18.4M
    return Py_IS_TYPE(op, &PyType_Type);
816
18.4M
}
Unexecuted instantiation: boolobject.c:PyType_CheckExact
Unexecuted instantiation: bytes_methods.c:PyType_CheckExact
Unexecuted instantiation: bytearrayobject.c:PyType_CheckExact
Unexecuted instantiation: capsule.c:PyType_CheckExact
Unexecuted instantiation: cellobject.c:PyType_CheckExact
Unexecuted instantiation: classobject.c:PyType_CheckExact
Unexecuted instantiation: codeobject.c:PyType_CheckExact
Unexecuted instantiation: complexobject.c:PyType_CheckExact
Unexecuted instantiation: descrobject.c:PyType_CheckExact
Unexecuted instantiation: enumobject.c:PyType_CheckExact
Unexecuted instantiation: genobject.c:PyType_CheckExact
Unexecuted instantiation: fileobject.c:PyType_CheckExact
Unexecuted instantiation: frameobject.c:PyType_CheckExact
Unexecuted instantiation: funcobject.c:PyType_CheckExact
Unexecuted instantiation: interpolationobject.c:PyType_CheckExact
Unexecuted instantiation: iterobject.c:PyType_CheckExact
Unexecuted instantiation: odictobject.c:PyType_CheckExact
Unexecuted instantiation: methodobject.c:PyType_CheckExact
Unexecuted instantiation: namespaceobject.c:PyType_CheckExact
Unexecuted instantiation: _contextvars.c:PyType_CheckExact
Unexecuted instantiation: Python-ast.c:PyType_CheckExact
Unexecuted instantiation: Python-tokenize.c:PyType_CheckExact
Unexecuted instantiation: asdl.c:PyType_CheckExact
Unexecuted instantiation: assemble.c:PyType_CheckExact
Unexecuted instantiation: ast.c:PyType_CheckExact
Unexecuted instantiation: ast_preprocess.c:PyType_CheckExact
Unexecuted instantiation: ast_unparse.c:PyType_CheckExact
Unexecuted instantiation: critical_section.c:PyType_CheckExact
Unexecuted instantiation: crossinterp.c:PyType_CheckExact
Unexecuted instantiation: getcopyright.c:PyType_CheckExact
Unexecuted instantiation: getplatform.c:PyType_CheckExact
Unexecuted instantiation: getversion.c:PyType_CheckExact
Unexecuted instantiation: optimizer.c:PyType_CheckExact
Unexecuted instantiation: pathconfig.c:PyType_CheckExact
Unexecuted instantiation: structmember.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
817
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
818
18.4M
#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
819
#endif
820
821
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
822
PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
823
#endif
824
825
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030e0000
826
PyAPI_FUNC(int) PyType_Freeze(PyTypeObject *type);
827
#endif
828
829
#ifdef __cplusplus
830
}
831
#endif
832
#endif   // !Py_OBJECT_H