Coverage Report

Created: 2025-11-09 06:26

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/cpython/Include/object.h
Line
Count
Source
1
#ifndef Py_OBJECT_H
2
#define Py_OBJECT_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
8
/* Object and type object interface */
9
10
/*
11
Objects are structures allocated on the heap.  Special rules apply to
12
the use of objects to ensure they are properly garbage-collected.
13
Objects are never allocated statically or on the stack; they must be
14
accessed through special macros and functions only.  (Type objects are
15
exceptions to the first rule; the standard types are represented by
16
statically initialized type objects, although work on type/class unification
17
for Python 2.2 made it possible to have heap-allocated type objects too).
18
19
An object has a 'reference count' that is increased or decreased when a
20
pointer to the object is copied or deleted; when the reference count
21
reaches zero there are no references to the object left and it can be
22
removed from the heap.
23
24
An object has a 'type' that determines what it represents and what kind
25
of data it contains.  An object's type is fixed when it is created.
26
Types themselves are represented as objects; an object contains a
27
pointer to the corresponding type object.  The type itself has a type
28
pointer pointing to the object representing the type 'type', which
29
contains a pointer to itself!.
30
31
Objects do not float around in memory; once allocated an object keeps
32
the same size and address.  Objects that must hold variable-size data
33
can contain pointers to variable-size parts of the object.  Not all
34
objects of the same type have the same size; but the size cannot change
35
after allocation.  (These restrictions are made so a reference to an
36
object can be simply a pointer -- moving an object would require
37
updating all the pointers, and changing an object's size would require
38
moving it if there was another object right next to it.)
39
40
Objects are always accessed through pointers of the type 'PyObject *'.
41
The type 'PyObject' is a structure that only contains the reference count
42
and the type pointer.  The actual memory allocated for an object
43
contains other data that can only be accessed after casting the pointer
44
to a pointer to a longer structure type.  This longer type must start
45
with the reference count and type fields; the macro PyObject_HEAD should be
46
used for this (to accommodate for future changes).  The implementation
47
of a particular object type can cast the object pointer to the proper
48
type and back.
49
50
A standard interface exists for objects that contain an array of items
51
whose size is determined when the object is allocated.
52
*/
53
54
/* Py_DEBUG implies Py_REF_DEBUG. */
55
#if defined(Py_DEBUG) && !defined(Py_REF_DEBUG)
56
#  define Py_REF_DEBUG
57
#endif
58
59
#if defined(_Py_OPAQUE_PYOBJECT) && !defined(Py_LIMITED_API)
60
#   error "_Py_OPAQUE_PYOBJECT only makes sense with Py_LIMITED_API"
61
#endif
62
63
#ifndef _Py_OPAQUE_PYOBJECT
64
/* PyObject_HEAD defines the initial segment of every PyObject. */
65
#define PyObject_HEAD                   PyObject ob_base;
66
67
// Kept for backward compatibility. It was needed by Py_TRACE_REFS build.
68
#define _PyObject_EXTRA_INIT
69
70
/* Make all uses of PyObject_HEAD_INIT immortal.
71
 *
72
 * Statically allocated objects might be shared between
73
 * interpreters, so must be marked as immortal.
74
 *
75
 * Before changing this, see the check in PyModuleDef_Init().
76
 */
77
#if defined(Py_GIL_DISABLED)
78
#define PyObject_HEAD_INIT(type)    \
79
    {                               \
80
        0,                          \
81
        _Py_STATICALLY_ALLOCATED_FLAG, \
82
        { 0 },                      \
83
        0,                          \
84
        _Py_IMMORTAL_REFCNT_LOCAL,  \
85
        0,                          \
86
        (type),                     \
87
    },
88
#else
89
#define PyObject_HEAD_INIT(type)    \
90
246M
    {                               \
91
246M
        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
92
246M
        (type)                      \
93
246M
    },
94
#endif
95
96
#define PyVarObject_HEAD_INIT(type, size) \
97
246M
    {                                     \
98
246M
        PyObject_HEAD_INIT(type)          \
99
246M
        (size)                            \
100
246M
    },
101
102
/* PyObject_VAR_HEAD defines the initial segment of all variable-size
103
 * container objects.  These end with a declaration of an array with 1
104
 * element, but enough space is malloc'ed so that the array actually
105
 * has room for ob_size elements.  Note that ob_size is an element count,
106
 * not necessarily a byte count.
107
 */
108
#define PyObject_VAR_HEAD      PyVarObject ob_base;
109
#endif // !defined(_Py_OPAQUE_PYOBJECT)
110
111
#define Py_INVALID_SIZE (Py_ssize_t)-1
112
113
/* PyObjects are given a minimum alignment so that the least significant bits
114
 * of an object pointer become available for other purposes.
115
 * This must be an integer literal with the value (1 << _PyGC_PREV_SHIFT), number of bytes.
116
 */
117
#define _PyObject_MIN_ALIGNMENT 4
118
119
/* Nothing is actually declared to be a PyObject, but every pointer to
120
 * a Python object can be cast to a PyObject*.  This is inheritance built
121
 * by hand.  Similarly every pointer to a variable-size Python object can,
122
 * in addition, be cast to PyVarObject*.
123
 */
124
#ifdef _Py_OPAQUE_PYOBJECT
125
  /* PyObject is opaque */
126
#elif !defined(Py_GIL_DISABLED)
127
struct _object {
128
    _Py_ANONYMOUS union {
129
#if SIZEOF_VOID_P > 4
130
        PY_INT64_T ob_refcnt_full; /* This field is needed for efficient initialization with Clang on ARM */
131
        struct {
132
#  if PY_BIG_ENDIAN
133
            uint16_t ob_flags;
134
            uint16_t ob_overflow;
135
            uint32_t ob_refcnt;
136
#  else
137
            uint32_t ob_refcnt;
138
            uint16_t ob_overflow;
139
            uint16_t ob_flags;
140
#  endif
141
        };
142
#else
143
        Py_ssize_t ob_refcnt;
144
#endif
145
        _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, char) _aligner;
146
    };
147
148
    PyTypeObject *ob_type;
149
};
150
#else
151
// Objects that are not owned by any thread use a thread id (tid) of zero.
152
// This includes both immortal objects and objects whose reference count
153
// fields have been merged.
154
#define _Py_UNOWNED_TID             0
155
156
struct _object {
157
    // ob_tid stores the thread id (or zero). It is also used by the GC and the
158
    // trashcan mechanism as a linked list pointer and by the GC to store the
159
    // computed "gc_refs" refcount.
160
    _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, uintptr_t) ob_tid;
161
    uint16_t ob_flags;
162
    PyMutex ob_mutex;           // per-object lock
163
    uint8_t ob_gc_bits;         // gc-related state
164
    uint32_t ob_ref_local;      // local reference count
165
    Py_ssize_t ob_ref_shared;   // shared (atomic) reference count
166
    PyTypeObject *ob_type;
167
};
168
#endif // !defined(_Py_OPAQUE_PYOBJECT)
169
170
/* Cast argument to PyObject* type. */
171
154G
#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
172
173
#ifndef _Py_OPAQUE_PYOBJECT
174
struct PyVarObject {
175
    PyObject ob_base;
176
    Py_ssize_t ob_size; /* Number of items in variable part */
177
};
178
#endif
179
typedef struct PyVarObject PyVarObject;
180
181
/* Cast argument to PyVarObject* type. */
182
7.38G
#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
272M
#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
37.4G
    {
277
37.4G
        return ob->ob_type;
278
37.4G
    }
bytesobject.c:_Py_TYPE
Line
Count
Source
276
30.2M
    {
277
30.2M
        return ob->ob_type;
278
30.2M
    }
call.c:_Py_TYPE
Line
Count
Source
276
631M
    {
277
631M
        return ob->ob_type;
278
631M
    }
exceptions.c:_Py_TYPE
Line
Count
Source
276
76.2M
    {
277
76.2M
        return ob->ob_type;
278
76.2M
    }
genericaliasobject.c:_Py_TYPE
Line
Count
Source
276
906
    {
277
906
        return ob->ob_type;
278
906
    }
floatobject.c:_Py_TYPE
Line
Count
Source
276
16.5M
    {
277
16.5M
        return ob->ob_type;
278
16.5M
    }
listobject.c:_Py_TYPE
Line
Count
Source
276
755M
    {
277
755M
        return ob->ob_type;
278
755M
    }
longobject.c:_Py_TYPE
Line
Count
Source
276
1.62G
    {
277
1.62G
        return ob->ob_type;
278
1.62G
    }
dictobject.c:_Py_TYPE
Line
Count
Source
276
3.91G
    {
277
3.91G
        return ob->ob_type;
278
3.91G
    }
memoryobject.c:_Py_TYPE
Line
Count
Source
276
2.39k
    {
277
2.39k
        return ob->ob_type;
278
2.39k
    }
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
7.38G
    {
277
7.38G
        return ob->ob_type;
278
7.38G
    }
Unexecuted instantiation: obmalloc.c:_Py_TYPE
Unexecuted instantiation: picklebufobject.c:_Py_TYPE
rangeobject.c:_Py_TYPE
Line
Count
Source
276
1.58k
    {
277
1.58k
        return ob->ob_type;
278
1.58k
    }
setobject.c:_Py_TYPE
Line
Count
Source
276
134M
    {
277
134M
        return ob->ob_type;
278
134M
    }
sliceobject.c:_Py_TYPE
Line
Count
Source
276
1.33k
    {
277
1.33k
        return ob->ob_type;
278
1.33k
    }
structseq.c:_Py_TYPE
Line
Count
Source
276
10.5k
    {
277
10.5k
        return ob->ob_type;
278
10.5k
    }
templateobject.c:_Py_TYPE
Line
Count
Source
276
4
    {
277
4
        return ob->ob_type;
278
4
    }
tupleobject.c:_Py_TYPE
Line
Count
Source
276
908M
    {
277
908M
        return ob->ob_type;
278
908M
    }
typeobject.c:_Py_TYPE
Line
Count
Source
276
1.20G
    {
277
1.20G
        return ob->ob_type;
278
1.20G
    }
Unexecuted instantiation: typevarobject.c:_Py_TYPE
unicode_format.c:_Py_TYPE
Line
Count
Source
276
170M
    {
277
170M
        return ob->ob_type;
278
170M
    }
unicode_formatter.c:_Py_TYPE
Line
Count
Source
276
17.5M
    {
277
17.5M
        return ob->ob_type;
278
17.5M
    }
unicode_writer.c:_Py_TYPE
Line
Count
Source
276
13.0M
    {
277
13.0M
        return ob->ob_type;
278
13.0M
    }
Unexecuted instantiation: unicodectype.c:_Py_TYPE
unicodeobject.c:_Py_TYPE
Line
Count
Source
276
2.50G
    {
277
2.50G
        return ob->ob_type;
278
2.50G
    }
unionobject.c:_Py_TYPE
Line
Count
Source
276
962
    {
277
962
        return ob->ob_type;
278
962
    }
weakrefobject.c:_Py_TYPE
Line
Count
Source
276
128M
    {
277
128M
        return ob->ob_type;
278
128M
    }
_warnings.c:_Py_TYPE
Line
Count
Source
276
72.3k
    {
277
72.3k
        return ob->ob_type;
278
72.3k
    }
bltinmodule.c:_Py_TYPE
Line
Count
Source
276
201M
    {
277
201M
        return ob->ob_type;
278
201M
    }
ceval.c:_Py_TYPE
Line
Count
Source
276
13.1G
    {
277
13.1G
        return ob->ob_type;
278
13.1G
    }
codecs.c:_Py_TYPE
Line
Count
Source
276
3.12M
    {
277
3.12M
        return ob->ob_type;
278
3.12M
    }
codegen.c:_Py_TYPE
Line
Count
Source
276
1.52k
    {
277
1.52k
        return ob->ob_type;
278
1.52k
    }
compile.c:_Py_TYPE
Line
Count
Source
276
173k
    {
277
173k
        return ob->ob_type;
278
173k
    }
context.c:_Py_TYPE
Line
Count
Source
276
14.5k
    {
277
14.5k
        return ob->ob_type;
278
14.5k
    }
errors.c:_Py_TYPE
Line
Count
Source
276
366M
    {
277
366M
        return ob->ob_type;
278
366M
    }
flowgraph.c:_Py_TYPE
Line
Count
Source
276
70.6k
    {
277
70.6k
        return ob->ob_type;
278
70.6k
    }
Unexecuted instantiation: frame.c:_Py_TYPE
Unexecuted instantiation: future.c:_Py_TYPE
gc.c:_Py_TYPE
Line
Count
Source
276
833M
    {
277
833M
        return ob->ob_type;
278
833M
    }
Unexecuted instantiation: gc_gil.c:_Py_TYPE
getargs.c:_Py_TYPE
Line
Count
Source
276
16.6M
    {
277
16.6M
        return ob->ob_type;
278
16.6M
    }
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
40.2k
    {
277
40.2k
        return ob->ob_type;
278
40.2k
    }
importdl.c:_Py_TYPE
Line
Count
Source
276
936
    {
277
936
        return ob->ob_type;
278
936
    }
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
28.9k
    {
277
28.9k
        return ob->ob_type;
278
28.9k
    }
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE
Unexecuted instantiation: lock.c:_Py_TYPE
marshal.c:_Py_TYPE
Line
Count
Source
276
516k
    {
277
516k
        return ob->ob_type;
278
516k
    }
modsupport.c:_Py_TYPE
Line
Count
Source
276
210k
    {
277
210k
        return ob->ob_type;
278
210k
    }
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
42.5k
    {
277
42.5k
        return ob->ob_type;
278
42.5k
    }
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
30.2M
    {
277
30.2M
        return ob->ob_type;
278
30.2M
    }
symtable.c:_Py_TYPE
Line
Count
Source
276
125k
    {
277
125k
        return ob->ob_type;
278
125k
    }
sysmodule.c:_Py_TYPE
Line
Count
Source
276
4.41k
    {
277
4.41k
        return ob->ob_type;
278
4.41k
    }
Unexecuted instantiation: thread.c:_Py_TYPE
traceback.c:_Py_TYPE
Line
Count
Source
276
33.8M
    {
277
33.8M
        return ob->ob_type;
278
33.8M
    }
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
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: _asynciomodule.c:_Py_TYPE
Unexecuted instantiation: atexitmodule.c:_Py_TYPE
Unexecuted instantiation: faulthandler.c:_Py_TYPE
posixmodule.c:_Py_TYPE
Line
Count
Source
276
49.6k
    {
277
49.6k
        return ob->ob_type;
278
49.6k
    }
Unexecuted instantiation: signalmodule.c:_Py_TYPE
Unexecuted instantiation: _tracemalloc.c:_Py_TYPE
Unexecuted instantiation: _suggestions.c:_Py_TYPE
_datetimemodule.c:_Py_TYPE
Line
Count
Source
276
12
    {
277
12
        return ob->ob_type;
278
12
    }
_codecsmodule.c:_Py_TYPE
Line
Count
Source
276
782k
    {
277
782k
        return ob->ob_type;
278
782k
    }
_collectionsmodule.c:_Py_TYPE
Line
Count
Source
276
114k
    {
277
114k
        return ob->ob_type;
278
114k
    }
Unexecuted instantiation: errnomodule.c:_Py_TYPE
_iomodule.c:_Py_TYPE
Line
Count
Source
276
3.15k
    {
277
3.15k
        return ob->ob_type;
278
3.15k
    }
iobase.c:_Py_TYPE
Line
Count
Source
276
12.0k
    {
277
12.0k
        return ob->ob_type;
278
12.0k
    }
fileio.c:_Py_TYPE
Line
Count
Source
276
9.54k
    {
277
9.54k
        return ob->ob_type;
278
9.54k
    }
bytesio.c:_Py_TYPE
Line
Count
Source
276
21.8k
    {
277
21.8k
        return ob->ob_type;
278
21.8k
    }
bufferedio.c:_Py_TYPE
Line
Count
Source
276
11.9k
    {
277
11.9k
        return ob->ob_type;
278
11.9k
    }
textio.c:_Py_TYPE
Line
Count
Source
276
94.7k
    {
277
94.7k
        return ob->ob_type;
278
94.7k
    }
stringio.c:_Py_TYPE
Line
Count
Source
276
20.8M
    {
277
20.8M
        return ob->ob_type;
278
20.8M
    }
itertoolsmodule.c:_Py_TYPE
Line
Count
Source
276
534
    {
277
534
        return ob->ob_type;
278
534
    }
sre.c:_Py_TYPE
Line
Count
Source
276
190M
    {
277
190M
        return ob->ob_type;
278
190M
    }
Unexecuted instantiation: _sysconfig.c:_Py_TYPE
_threadmodule.c:_Py_TYPE
Line
Count
Source
276
6.16k
    {
277
6.16k
        return ob->ob_type;
278
6.16k
    }
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
9.81k
    {
277
9.81k
        return ob->ob_type;
278
9.81k
    }
_abc.c:_Py_TYPE
Line
Count
Source
276
115k
    {
277
115k
        return ob->ob_type;
278
115k
    }
_functoolsmodule.c:_Py_TYPE
Line
Count
Source
276
55.2k
    {
277
55.2k
        return ob->ob_type;
278
55.2k
    }
Unexecuted instantiation: _localemodule.c:_Py_TYPE
Unexecuted instantiation: _opcode.c:_Py_TYPE
_operator.c:_Py_TYPE
Line
Count
Source
276
1.93M
    {
277
1.93M
        return ob->ob_type;
278
1.93M
    }
_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
1.85G
    {
277
1.85G
        return ob->ob_type;
278
1.85G
    }
Unexecuted instantiation: boolobject.c:_Py_TYPE
bytes_methods.c:_Py_TYPE
Line
Count
Source
276
660k
    {
277
660k
        return ob->ob_type;
278
660k
    }
bytearrayobject.c:_Py_TYPE
Line
Count
Source
276
4.00M
    {
277
4.00M
        return ob->ob_type;
278
4.00M
    }
capsule.c:_Py_TYPE
Line
Count
Source
276
12.2k
    {
277
12.2k
        return ob->ob_type;
278
12.2k
    }
cellobject.c:_Py_TYPE
Line
Count
Source
276
3.39k
    {
277
3.39k
        return ob->ob_type;
278
3.39k
    }
classobject.c:_Py_TYPE
Line
Count
Source
276
21.9M
    {
277
21.9M
        return ob->ob_type;
278
21.9M
    }
codeobject.c:_Py_TYPE
Line
Count
Source
276
1.73M
    {
277
1.73M
        return ob->ob_type;
278
1.73M
    }
complexobject.c:_Py_TYPE
Line
Count
Source
276
9.83k
    {
277
9.83k
        return ob->ob_type;
278
9.83k
    }
descrobject.c:_Py_TYPE
Line
Count
Source
276
862M
    {
277
862M
        return ob->ob_type;
278
862M
    }
enumobject.c:_Py_TYPE
Line
Count
Source
276
163M
    {
277
163M
        return ob->ob_type;
278
163M
    }
genobject.c:_Py_TYPE
Line
Count
Source
276
63.2M
    {
277
63.2M
        return ob->ob_type;
278
63.2M
    }
fileobject.c:_Py_TYPE
Line
Count
Source
276
1.03k
    {
277
1.03k
        return ob->ob_type;
278
1.03k
    }
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.8k
    {
277
28.8k
        return ob->ob_type;
278
28.8k
    }
Unexecuted instantiation: interpolationobject.c:_Py_TYPE
iterobject.c:_Py_TYPE
Line
Count
Source
276
3.99M
    {
277
3.99M
        return ob->ob_type;
278
3.99M
    }
odictobject.c:_Py_TYPE
Line
Count
Source
276
8
    {
277
8
        return ob->ob_type;
278
8
    }
methodobject.c:_Py_TYPE
Line
Count
Source
276
4.01k
    {
277
4.01k
        return ob->ob_type;
278
4.01k
    }
namespaceobject.c:_Py_TYPE
Line
Count
Source
276
222
    {
277
222
        return ob->ob_type;
278
222
    }
Unexecuted instantiation: _contextvars.c:_Py_TYPE
Python-ast.c:_Py_TYPE
Line
Count
Source
276
533k
    {
277
533k
        return ob->ob_type;
278
533k
    }
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.9k
    {
277
10.9k
        return ob->ob_type;
278
10.9k
    }
ast_preprocess.c:_Py_TYPE
Line
Count
Source
276
501
    {
277
501
        return ob->ob_type;
278
501
    }
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
67.5k
    {
277
67.5k
        return ob->ob_type;
278
67.5k
    }
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
151k
    {
277
151k
        return ob->ob_type;
278
151k
    }
Unexecuted instantiation: string_parser.c:_Py_TYPE
279
    #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
280
30.8G
    #   define Py_TYPE(ob) _Py_TYPE(_PyObject_CAST(ob))
281
    #else
282
    #   define Py_TYPE(ob) _Py_TYPE(ob)
283
    #endif
284
#endif
285
286
PyAPI_DATA(PyTypeObject) PyLong_Type;
287
PyAPI_DATA(PyTypeObject) PyBool_Type;
288
289
#ifndef _Py_OPAQUE_PYOBJECT
290
// bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
291
6.06G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
6.06G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
6.06G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
6.06G
    return  _PyVarObject_CAST(ob)->ob_size;
295
6.06G
}
bytesobject.c:Py_SIZE
Line
Count
Source
291
31.5M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
31.5M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
31.5M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
31.5M
    return  _PyVarObject_CAST(ob)->ob_size;
295
31.5M
}
call.c:Py_SIZE
Line
Count
Source
291
89.5M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
89.5M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
89.5M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
89.5M
    return  _PyVarObject_CAST(ob)->ob_size;
295
89.5M
}
exceptions.c:Py_SIZE
Line
Count
Source
291
14.5M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
14.5M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
14.5M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
14.5M
    return  _PyVarObject_CAST(ob)->ob_size;
295
14.5M
}
genericaliasobject.c:Py_SIZE
Line
Count
Source
291
4
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4
    return  _PyVarObject_CAST(ob)->ob_size;
295
4
}
floatobject.c:Py_SIZE
Line
Count
Source
291
558k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
558k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
558k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
558k
    return  _PyVarObject_CAST(ob)->ob_size;
295
558k
}
listobject.c:Py_SIZE
Line
Count
Source
291
2.03G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.03G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.03G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.03G
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.03G
}
longobject.c:Py_SIZE
Line
Count
Source
291
7.08k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
7.08k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
7.08k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
7.08k
    return  _PyVarObject_CAST(ob)->ob_size;
295
7.08k
}
dictobject.c:Py_SIZE
Line
Count
Source
291
86.3k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
86.3k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
86.3k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
86.3k
    return  _PyVarObject_CAST(ob)->ob_size;
295
86.3k
}
memoryobject.c:Py_SIZE
Line
Count
Source
291
798
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
798
    assert(Py_TYPE(ob) != &PyLong_Type);
293
798
    assert(Py_TYPE(ob) != &PyBool_Type);
294
798
    return  _PyVarObject_CAST(ob)->ob_size;
295
798
}
moduleobject.c:Py_SIZE
Line
Count
Source
291
984
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
984
    assert(Py_TYPE(ob) != &PyLong_Type);
293
984
    assert(Py_TYPE(ob) != &PyBool_Type);
294
984
    return  _PyVarObject_CAST(ob)->ob_size;
295
984
}
object.c:Py_SIZE
Line
Count
Source
291
8.50M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
8.50M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
8.50M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
8.50M
    return  _PyVarObject_CAST(ob)->ob_size;
295
8.50M
}
Unexecuted instantiation: obmalloc.c:Py_SIZE
Unexecuted instantiation: picklebufobject.c:Py_SIZE
Unexecuted instantiation: rangeobject.c:Py_SIZE
Unexecuted instantiation: setobject.c:Py_SIZE
Unexecuted instantiation: sliceobject.c:Py_SIZE
structseq.c:Py_SIZE
Line
Count
Source
291
5.18k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
5.18k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
5.18k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
5.18k
    return  _PyVarObject_CAST(ob)->ob_size;
295
5.18k
}
Unexecuted instantiation: templateobject.c:Py_SIZE
tupleobject.c:Py_SIZE
Line
Count
Source
291
1.09G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.09G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.09G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.09G
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.09G
}
typeobject.c:Py_SIZE
Line
Count
Source
291
630M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
630M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
630M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
630M
    return  _PyVarObject_CAST(ob)->ob_size;
295
630M
}
Unexecuted instantiation: typevarobject.c:Py_SIZE
Unexecuted instantiation: unicode_format.c:Py_SIZE
Unexecuted instantiation: unicode_formatter.c:Py_SIZE
Unexecuted instantiation: unicode_writer.c:Py_SIZE
Unexecuted instantiation: unicodectype.c:Py_SIZE
unicodeobject.c:Py_SIZE
Line
Count
Source
291
86.5M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
86.5M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
86.5M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
86.5M
    return  _PyVarObject_CAST(ob)->ob_size;
295
86.5M
}
unionobject.c:Py_SIZE
Line
Count
Source
291
463
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
463
    assert(Py_TYPE(ob) != &PyLong_Type);
293
463
    assert(Py_TYPE(ob) != &PyBool_Type);
294
463
    return  _PyVarObject_CAST(ob)->ob_size;
295
463
}
Unexecuted instantiation: weakrefobject.c:Py_SIZE
_warnings.c:Py_SIZE
Line
Count
Source
291
28.9k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
28.9k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
28.9k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
28.9k
    return  _PyVarObject_CAST(ob)->ob_size;
295
28.9k
}
bltinmodule.c:Py_SIZE
Line
Count
Source
291
2.03M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.03M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.03M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.03M
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.03M
}
ceval.c:Py_SIZE
Line
Count
Source
291
1.73G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.73G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.73G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.73G
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.73G
}
codecs.c:Py_SIZE
Line
Count
Source
291
832k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
832k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
832k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
832k
    return  _PyVarObject_CAST(ob)->ob_size;
295
832k
}
codegen.c:Py_SIZE
Line
Count
Source
291
798
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
798
    assert(Py_TYPE(ob) != &PyLong_Type);
293
798
    assert(Py_TYPE(ob) != &PyBool_Type);
294
798
    return  _PyVarObject_CAST(ob)->ob_size;
295
798
}
compile.c:Py_SIZE
Line
Count
Source
291
41.6k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
41.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
41.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
41.6k
    return  _PyVarObject_CAST(ob)->ob_size;
295
41.6k
}
Unexecuted instantiation: context.c:Py_SIZE
Unexecuted instantiation: errors.c:Py_SIZE
flowgraph.c:Py_SIZE
Line
Count
Source
291
114k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
114k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
114k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
114k
    return  _PyVarObject_CAST(ob)->ob_size;
295
114k
}
Unexecuted instantiation: frame.c:Py_SIZE
Unexecuted instantiation: future.c:Py_SIZE
gc.c:Py_SIZE
Line
Count
Source
291
134k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
134k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
134k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
134k
    return  _PyVarObject_CAST(ob)->ob_size;
295
134k
}
Unexecuted instantiation: gc_gil.c:Py_SIZE
getargs.c:Py_SIZE
Line
Count
Source
291
3.62M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
3.62M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
3.62M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
3.62M
    return  _PyVarObject_CAST(ob)->ob_size;
295
3.62M
}
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
291
112
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
112
    assert(Py_TYPE(ob) != &PyLong_Type);
293
112
    assert(Py_TYPE(ob) != &PyBool_Type);
294
112
    return  _PyVarObject_CAST(ob)->ob_size;
295
112
}
Unexecuted instantiation: importdl.c:Py_SIZE
initconfig.c:Py_SIZE
Line
Count
Source
291
64
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
64
    assert(Py_TYPE(ob) != &PyLong_Type);
293
64
    assert(Py_TYPE(ob) != &PyBool_Type);
294
64
    return  _PyVarObject_CAST(ob)->ob_size;
295
64
}
Unexecuted instantiation: instrumentation.c:Py_SIZE
Unexecuted instantiation: instruction_sequence.c:Py_SIZE
intrinsics.c:Py_SIZE
Line
Count
Source
291
13.6M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
13.6M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
13.6M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
13.6M
    return  _PyVarObject_CAST(ob)->ob_size;
295
13.6M
}
Unexecuted instantiation: legacy_tracing.c:Py_SIZE
Unexecuted instantiation: lock.c:Py_SIZE
marshal.c:Py_SIZE
Line
Count
Source
291
322k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
322k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
322k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
322k
    return  _PyVarObject_CAST(ob)->ob_size;
295
322k
}
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
291
21.1k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
21.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
21.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
21.1k
    return  _PyVarObject_CAST(ob)->ob_size;
295
21.1k
}
Unexecuted instantiation: pytime.c:Py_SIZE
Unexecuted instantiation: qsbr.c:Py_SIZE
Unexecuted instantiation: bootstrap_hash.c:Py_SIZE
specialize.c:Py_SIZE
Line
Count
Source
291
17.2k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
17.2k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
17.2k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
17.2k
    return  _PyVarObject_CAST(ob)->ob_size;
295
17.2k
}
symtable.c:Py_SIZE
Line
Count
Source
291
48.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
48.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
48.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
48.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
48.5k
}
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: fileutils.c:Py_SIZE
Unexecuted instantiation: suggestions.c:Py_SIZE
Unexecuted instantiation: perf_trampoline.c:Py_SIZE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SIZE
Unexecuted instantiation: remote_debugging.c:Py_SIZE
Unexecuted instantiation: dynload_shlib.c:Py_SIZE
Unexecuted instantiation: config.c:Py_SIZE
Unexecuted instantiation: gcmodule.c:Py_SIZE
Unexecuted instantiation: _asynciomodule.c:Py_SIZE
Unexecuted instantiation: atexitmodule.c:Py_SIZE
Unexecuted instantiation: faulthandler.c:Py_SIZE
posixmodule.c:Py_SIZE
Line
Count
Source
291
6.34k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
6.34k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
6.34k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
6.34k
    return  _PyVarObject_CAST(ob)->ob_size;
295
6.34k
}
Unexecuted instantiation: signalmodule.c:Py_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SIZE
Unexecuted instantiation: _suggestions.c:Py_SIZE
Unexecuted instantiation: _datetimemodule.c:Py_SIZE
Unexecuted instantiation: _codecsmodule.c:Py_SIZE
_collectionsmodule.c:Py_SIZE
Line
Count
Source
291
175M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
175M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
175M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
175M
    return  _PyVarObject_CAST(ob)->ob_size;
295
175M
}
Unexecuted instantiation: errnomodule.c:Py_SIZE
Unexecuted instantiation: _iomodule.c:Py_SIZE
Unexecuted instantiation: iobase.c:Py_SIZE
fileio.c:Py_SIZE
Line
Count
Source
291
1.32k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.32k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.32k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.32k
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.32k
}
bytesio.c:Py_SIZE
Line
Count
Source
291
29.4k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
29.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
29.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
29.4k
    return  _PyVarObject_CAST(ob)->ob_size;
295
29.4k
}
bufferedio.c:Py_SIZE
Line
Count
Source
291
1.08k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.08k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.08k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.08k
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.08k
}
textio.c:Py_SIZE
Line
Count
Source
291
16.4k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
16.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
16.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
16.4k
    return  _PyVarObject_CAST(ob)->ob_size;
295
16.4k
}
stringio.c:Py_SIZE
Line
Count
Source
291
32.7k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
32.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
32.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
32.7k
    return  _PyVarObject_CAST(ob)->ob_size;
295
32.7k
}
itertoolsmodule.c:Py_SIZE
Line
Count
Source
291
928
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
928
    assert(Py_TYPE(ob) != &PyLong_Type);
293
928
    assert(Py_TYPE(ob) != &PyBool_Type);
294
928
    return  _PyVarObject_CAST(ob)->ob_size;
295
928
}
sre.c:Py_SIZE
Line
Count
Source
291
34.7M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
34.7M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
34.7M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
34.7M
    return  _PyVarObject_CAST(ob)->ob_size;
295
34.7M
}
Unexecuted instantiation: _sysconfig.c:Py_SIZE
Unexecuted instantiation: _threadmodule.c:Py_SIZE
Unexecuted instantiation: timemodule.c:Py_SIZE
Unexecuted instantiation: _typesmodule.c:Py_SIZE
Unexecuted instantiation: _typingmodule.c:Py_SIZE
Unexecuted instantiation: _weakref.c:Py_SIZE
_abc.c:Py_SIZE
Line
Count
Source
291
19.6k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
19.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
19.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
19.6k
    return  _PyVarObject_CAST(ob)->ob_size;
295
19.6k
}
_functoolsmodule.c:Py_SIZE
Line
Count
Source
291
42.2k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
42.2k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
42.2k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
42.2k
    return  _PyVarObject_CAST(ob)->ob_size;
295
42.2k
}
Unexecuted instantiation: _localemodule.c:Py_SIZE
Unexecuted instantiation: _opcode.c:Py_SIZE
_operator.c:Py_SIZE
Line
Count
Source
291
1.61M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.61M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.61M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.61M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.61M
}
Unexecuted instantiation: _stat.c:Py_SIZE
Unexecuted instantiation: symtablemodule.c:Py_SIZE
Unexecuted instantiation: pwdmodule.c:Py_SIZE
getpath.c:Py_SIZE
Line
Count
Source
291
144
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
144
    assert(Py_TYPE(ob) != &PyLong_Type);
293
144
    assert(Py_TYPE(ob) != &PyBool_Type);
294
144
    return  _PyVarObject_CAST(ob)->ob_size;
295
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
291
116k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
116k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
116k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
116k
    return  _PyVarObject_CAST(ob)->ob_size;
295
116k
}
Unexecuted instantiation: boolobject.c:Py_SIZE
bytes_methods.c:Py_SIZE
Line
Count
Source
291
329k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
329k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
329k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
329k
    return  _PyVarObject_CAST(ob)->ob_size;
295
329k
}
bytearrayobject.c:Py_SIZE
Line
Count
Source
291
84.1M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
84.1M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
84.1M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
84.1M
    return  _PyVarObject_CAST(ob)->ob_size;
295
84.1M
}
Unexecuted instantiation: capsule.c:Py_SIZE
Unexecuted instantiation: cellobject.c:Py_SIZE
Unexecuted instantiation: classobject.c:Py_SIZE
codeobject.c:Py_SIZE
Line
Count
Source
291
2.03M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.03M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.03M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.03M
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.03M
}
Unexecuted instantiation: complexobject.c:Py_SIZE
descrobject.c:Py_SIZE
Line
Count
Source
291
15.1M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
15.1M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
15.1M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
15.1M
    return  _PyVarObject_CAST(ob)->ob_size;
295
15.1M
}
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
291
16
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
16
    assert(Py_TYPE(ob) != &PyLong_Type);
293
16
    assert(Py_TYPE(ob) != &PyBool_Type);
294
16
    return  _PyVarObject_CAST(ob)->ob_size;
295
16
}
Unexecuted instantiation: funcobject.c:Py_SIZE
Unexecuted instantiation: interpolationobject.c:Py_SIZE
Unexecuted instantiation: iterobject.c:Py_SIZE
odictobject.c:Py_SIZE
Line
Count
Source
291
16
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
16
    assert(Py_TYPE(ob) != &PyLong_Type);
293
16
    assert(Py_TYPE(ob) != &PyBool_Type);
294
16
    return  _PyVarObject_CAST(ob)->ob_size;
295
16
}
Unexecuted instantiation: methodobject.c:Py_SIZE
Unexecuted instantiation: namespaceobject.c:Py_SIZE
Unexecuted instantiation: _contextvars.c:Py_SIZE
Python-ast.c:Py_SIZE
Line
Count
Source
291
140
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
140
    assert(Py_TYPE(ob) != &PyLong_Type);
293
140
    assert(Py_TYPE(ob) != &PyBool_Type);
294
140
    return  _PyVarObject_CAST(ob)->ob_size;
295
140
}
Unexecuted instantiation: Python-tokenize.c:Py_SIZE
Unexecuted instantiation: asdl.c:Py_SIZE
assemble.c:Py_SIZE
Line
Count
Source
291
635k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
635k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
635k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
635k
    return  _PyVarObject_CAST(ob)->ob_size;
295
635k
}
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
291
453
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
453
    assert(Py_TYPE(ob) != &PyLong_Type);
293
453
    assert(Py_TYPE(ob) != &PyBool_Type);
294
453
    return  _PyVarObject_CAST(ob)->ob_size;
295
453
}
Unexecuted instantiation: state.c:Py_SIZE
Unexecuted instantiation: readline_tokenizer.c:Py_SIZE
Unexecuted instantiation: string_tokenizer.c:Py_SIZE
Unexecuted instantiation: utf8_tokenizer.c:Py_SIZE
Unexecuted instantiation: getcompiler.c:Py_SIZE
Unexecuted instantiation: mystrtoul.c:Py_SIZE
Unexecuted instantiation: token.c:Py_SIZE
action_helpers.c:Py_SIZE
Line
Count
Source
291
4.69k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4.69k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4.69k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4.69k
    return  _PyVarObject_CAST(ob)->ob_size;
295
4.69k
}
Unexecuted instantiation: string_parser.c:Py_SIZE
296
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
297
6.00G
#  define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
298
#endif
299
#endif // !defined(_Py_OPAQUE_PYOBJECT)
300
301
12.8G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.8G
    return Py_TYPE(ob) == type;
303
12.8G
}
bytesobject.c:Py_IS_TYPE
Line
Count
Source
301
9.13M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
9.13M
    return Py_TYPE(ob) == type;
303
9.13M
}
Unexecuted instantiation: call.c:Py_IS_TYPE
exceptions.c:Py_IS_TYPE
Line
Count
Source
301
33.9M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
33.9M
    return Py_TYPE(ob) == type;
303
33.9M
}
Unexecuted instantiation: genericaliasobject.c:Py_IS_TYPE
floatobject.c:Py_IS_TYPE
Line
Count
Source
301
15.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
15.4M
    return Py_TYPE(ob) == type;
303
15.4M
}
listobject.c:Py_IS_TYPE
Line
Count
Source
301
434M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
434M
    return Py_TYPE(ob) == type;
303
434M
}
longobject.c:Py_IS_TYPE
Line
Count
Source
301
844M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
844M
    return Py_TYPE(ob) == type;
303
844M
}
dictobject.c:Py_IS_TYPE
Line
Count
Source
301
2.90G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.90G
    return Py_TYPE(ob) == type;
303
2.90G
}
memoryobject.c:Py_IS_TYPE
Line
Count
Source
301
1.59k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.59k
    return Py_TYPE(ob) == type;
303
1.59k
}
moduleobject.c:Py_IS_TYPE
Line
Count
Source
301
22.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
22.8M
    return Py_TYPE(ob) == type;
303
22.8M
}
object.c:Py_IS_TYPE
Line
Count
Source
301
429M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
429M
    return Py_TYPE(ob) == type;
303
429M
}
Unexecuted instantiation: obmalloc.c:Py_IS_TYPE
Unexecuted instantiation: picklebufobject.c:Py_IS_TYPE
rangeobject.c:Py_IS_TYPE
Line
Count
Source
301
528
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
528
    return Py_TYPE(ob) == type;
303
528
}
setobject.c:Py_IS_TYPE
Line
Count
Source
301
134M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
134M
    return Py_TYPE(ob) == type;
303
134M
}
sliceobject.c:Py_IS_TYPE
Line
Count
Source
301
804
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
804
    return Py_TYPE(ob) == type;
303
804
}
Unexecuted instantiation: structseq.c:Py_IS_TYPE
Unexecuted instantiation: templateobject.c:Py_IS_TYPE
tupleobject.c:Py_IS_TYPE
Line
Count
Source
301
320M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
320M
    return Py_TYPE(ob) == type;
303
320M
}
typeobject.c:Py_IS_TYPE
Line
Count
Source
301
208M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
208M
    return Py_TYPE(ob) == type;
303
208M
}
Unexecuted instantiation: typevarobject.c:Py_IS_TYPE
unicode_format.c:Py_IS_TYPE
Line
Count
Source
301
83.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
83.2M
    return Py_TYPE(ob) == type;
303
83.2M
}
unicode_formatter.c:Py_IS_TYPE
Line
Count
Source
301
17.5M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
17.5M
    return Py_TYPE(ob) == type;
303
17.5M
}
Unexecuted instantiation: unicode_writer.c:Py_IS_TYPE
Unexecuted instantiation: unicodectype.c:Py_IS_TYPE
unicodeobject.c:Py_IS_TYPE
Line
Count
Source
301
343M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
343M
    return Py_TYPE(ob) == type;
303
343M
}
unionobject.c:Py_IS_TYPE
Line
Count
Source
301
475
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
475
    return Py_TYPE(ob) == type;
303
475
}
weakrefobject.c:Py_IS_TYPE
Line
Count
Source
301
624k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
624k
    return Py_TYPE(ob) == type;
303
624k
}
_warnings.c:Py_IS_TYPE
Line
Count
Source
301
14.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
14.4k
    return Py_TYPE(ob) == type;
303
14.4k
}
bltinmodule.c:Py_IS_TYPE
Line
Count
Source
301
44.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
44.8M
    return Py_TYPE(ob) == type;
303
44.8M
}
ceval.c:Py_IS_TYPE
Line
Count
Source
301
6.07G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
6.07G
    return Py_TYPE(ob) == type;
303
6.07G
}
codecs.c:Py_IS_TYPE
Line
Count
Source
301
1.45M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.45M
    return Py_TYPE(ob) == type;
303
1.45M
}
codegen.c:Py_IS_TYPE
Line
Count
Source
301
48
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
48
    return Py_TYPE(ob) == type;
303
48
}
compile.c:Py_IS_TYPE
Line
Count
Source
301
173k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
173k
    return Py_TYPE(ob) == type;
303
173k
}
context.c:Py_IS_TYPE
Line
Count
Source
301
14.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
14.4k
    return Py_TYPE(ob) == type;
303
14.4k
}
Unexecuted instantiation: errors.c:Py_IS_TYPE
flowgraph.c:Py_IS_TYPE
Line
Count
Source
301
70.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
70.4k
    return Py_TYPE(ob) == type;
303
70.4k
}
Unexecuted instantiation: frame.c:Py_IS_TYPE
Unexecuted instantiation: future.c:Py_IS_TYPE
gc.c:Py_IS_TYPE
Line
Count
Source
301
71.9M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
71.9M
    return Py_TYPE(ob) == type;
303
71.9M
}
Unexecuted instantiation: gc_gil.c:Py_IS_TYPE
getargs.c:Py_IS_TYPE
Line
Count
Source
301
12.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.4M
    return Py_TYPE(ob) == type;
303
12.4M
}
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
301
1.19k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.19k
    return Py_TYPE(ob) == type;
303
1.19k
}
importdl.c:Py_IS_TYPE
Line
Count
Source
301
778
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
778
    return Py_TYPE(ob) == type;
303
778
}
initconfig.c:Py_IS_TYPE
Line
Count
Source
301
128
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
128
    return Py_TYPE(ob) == type;
303
128
}
Unexecuted instantiation: instrumentation.c:Py_IS_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_IS_TYPE
intrinsics.c:Py_IS_TYPE
Line
Count
Source
301
14.0k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
14.0k
    return Py_TYPE(ob) == type;
303
14.0k
}
Unexecuted instantiation: legacy_tracing.c:Py_IS_TYPE
Unexecuted instantiation: lock.c:Py_IS_TYPE
marshal.c:Py_IS_TYPE
Line
Count
Source
301
516k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
516k
    return Py_TYPE(ob) == type;
303
516k
}
modsupport.c:Py_IS_TYPE
Line
Count
Source
301
9.29k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
9.29k
    return Py_TYPE(ob) == type;
303
9.29k
}
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
301
22.3M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
22.3M
    return Py_TYPE(ob) == type;
303
22.3M
}
Unexecuted instantiation: symtable.c:Py_IS_TYPE
sysmodule.c:Py_IS_TYPE
Line
Count
Source
301
666
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
666
    return Py_TYPE(ob) == type;
303
666
}
Unexecuted instantiation: thread.c:Py_IS_TYPE
traceback.c:Py_IS_TYPE
Line
Count
Source
301
33.8M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
33.8M
    return Py_TYPE(ob) == type;
303
33.8M
}
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
Unexecuted instantiation: fileutils.c:Py_IS_TYPE
Unexecuted instantiation: suggestions.c:Py_IS_TYPE
Unexecuted instantiation: perf_trampoline.c:Py_IS_TYPE
Unexecuted instantiation: perf_jit_trampoline.c:Py_IS_TYPE
Unexecuted instantiation: remote_debugging.c:Py_IS_TYPE
Unexecuted instantiation: dynload_shlib.c:Py_IS_TYPE
Unexecuted instantiation: config.c:Py_IS_TYPE
Unexecuted instantiation: gcmodule.c:Py_IS_TYPE
Unexecuted instantiation: _asynciomodule.c:Py_IS_TYPE
Unexecuted instantiation: atexitmodule.c:Py_IS_TYPE
Unexecuted instantiation: faulthandler.c:Py_IS_TYPE
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
_datetimemodule.c:Py_IS_TYPE
Line
Count
Source
301
6
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
6
    return Py_TYPE(ob) == type;
303
6
}
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
301
1.32k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.32k
    return Py_TYPE(ob) == type;
303
1.32k
}
bytesio.c:Py_IS_TYPE
Line
Count
Source
301
9.83k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
9.83k
    return Py_TYPE(ob) == type;
303
9.83k
}
bufferedio.c:Py_IS_TYPE
Line
Count
Source
301
2.17k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
2.17k
    return Py_TYPE(ob) == type;
303
2.17k
}
textio.c:Py_IS_TYPE
Line
Count
Source
301
128
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
128
    return Py_TYPE(ob) == type;
303
128
}
stringio.c:Py_IS_TYPE
Line
Count
Source
301
20.6M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
20.6M
    return Py_TYPE(ob) == type;
303
20.6M
}
Unexecuted instantiation: itertoolsmodule.c:Py_IS_TYPE
sre.c:Py_IS_TYPE
Line
Count
Source
301
128k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
128k
    return Py_TYPE(ob) == type;
303
128k
}
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
301
3.27k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.27k
    return Py_TYPE(ob) == type;
303
3.27k
}
_abc.c:Py_IS_TYPE
Line
Count
Source
301
1.05k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.05k
    return Py_TYPE(ob) == type;
303
1.05k
}
_functoolsmodule.c:Py_IS_TYPE
Line
Count
Source
301
45
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
45
    return Py_TYPE(ob) == type;
303
45
}
Unexecuted instantiation: _localemodule.c:Py_IS_TYPE
Unexecuted instantiation: _opcode.c:Py_IS_TYPE
_operator.c:Py_IS_TYPE
Line
Count
Source
301
1.61M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.61M
    return Py_TYPE(ob) == type;
303
1.61M
}
Unexecuted instantiation: _stat.c:Py_IS_TYPE
Unexecuted instantiation: symtablemodule.c:Py_IS_TYPE
Unexecuted instantiation: pwdmodule.c:Py_IS_TYPE
getpath.c:Py_IS_TYPE
Line
Count
Source
301
16
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
16
    return Py_TYPE(ob) == type;
303
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
301
209M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
209M
    return Py_TYPE(ob) == type;
303
209M
}
Unexecuted instantiation: boolobject.c:Py_IS_TYPE
Unexecuted instantiation: bytes_methods.c:Py_IS_TYPE
bytearrayobject.c:Py_IS_TYPE
Line
Count
Source
301
10.2k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
10.2k
    return Py_TYPE(ob) == type;
303
10.2k
}
capsule.c:Py_IS_TYPE
Line
Count
Source
301
12.2k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.2k
    return Py_TYPE(ob) == type;
303
12.2k
}
cellobject.c:Py_IS_TYPE
Line
Count
Source
301
3.39k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.39k
    return Py_TYPE(ob) == type;
303
3.39k
}
Unexecuted instantiation: classobject.c:Py_IS_TYPE
codeobject.c:Py_IS_TYPE
Line
Count
Source
301
1.37M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.37M
    return Py_TYPE(ob) == type;
303
1.37M
}
complexobject.c:Py_IS_TYPE
Line
Count
Source
301
9.83k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
9.83k
    return Py_TYPE(ob) == type;
303
9.83k
}
descrobject.c:Py_IS_TYPE
Line
Count
Source
301
470M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
470M
    return Py_TYPE(ob) == type;
303
470M
}
Unexecuted instantiation: enumobject.c:Py_IS_TYPE
genobject.c:Py_IS_TYPE
Line
Count
Source
301
63.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
63.2M
    return Py_TYPE(ob) == type;
303
63.2M
}
Unexecuted instantiation: fileobject.c:Py_IS_TYPE
frameobject.c:Py_IS_TYPE
Line
Count
Source
301
16
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
16
    return Py_TYPE(ob) == type;
303
16
}
funcobject.c:Py_IS_TYPE
Line
Count
Source
301
66
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
66
    return Py_TYPE(ob) == type;
303
66
}
Unexecuted instantiation: interpolationobject.c:Py_IS_TYPE
Unexecuted instantiation: iterobject.c:Py_IS_TYPE
odictobject.c:Py_IS_TYPE
Line
Count
Source
301
8
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
8
    return Py_TYPE(ob) == type;
303
8
}
methodobject.c:Py_IS_TYPE
Line
Count
Source
301
3.93k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
3.93k
    return Py_TYPE(ob) == type;
303
3.93k
}
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
301
10.9k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
10.9k
    return Py_TYPE(ob) == type;
303
10.9k
}
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
301
12.1k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.1k
    return Py_TYPE(ob) == type;
303
12.1k
}
Unexecuted instantiation: pegen_errors.c:Py_IS_TYPE
Unexecuted instantiation: parser.c:Py_IS_TYPE
Unexecuted instantiation: buffer.c:Py_IS_TYPE
Unexecuted instantiation: lexer.c:Py_IS_TYPE
Unexecuted instantiation: state.c:Py_IS_TYPE
Unexecuted instantiation: readline_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: string_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: utf8_tokenizer.c:Py_IS_TYPE
Unexecuted instantiation: getcompiler.c:Py_IS_TYPE
Unexecuted instantiation: mystrtoul.c:Py_IS_TYPE
Unexecuted instantiation: token.c:Py_IS_TYPE
action_helpers.c:Py_IS_TYPE
Line
Count
Source
301
151k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
151k
    return Py_TYPE(ob) == type;
303
151k
}
Unexecuted instantiation: string_parser.c:Py_IS_TYPE
304
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
305
20.4G
#  define Py_IS_TYPE(ob, type) Py_IS_TYPE(_PyObject_CAST(ob), (type))
306
#endif
307
308
309
#ifndef _Py_OPAQUE_PYOBJECT
310
1.03G
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
1.03G
    ob->ob_type = type;
312
1.03G
}
bytesobject.c:Py_SET_TYPE
Line
Count
Source
310
21.3M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
21.3M
    ob->ob_type = type;
312
21.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
310
535k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
535k
    ob->ob_type = type;
312
535k
}
Unexecuted instantiation: listobject.c:Py_SET_TYPE
longobject.c:Py_SET_TYPE
Line
Count
Source
310
100M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
100M
    ob->ob_type = type;
312
100M
}
Unexecuted instantiation: dictobject.c:Py_SET_TYPE
Unexecuted instantiation: memoryobject.c:Py_SET_TYPE
moduleobject.c:Py_SET_TYPE
Line
Count
Source
310
453
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
453
    ob->ob_type = type;
312
453
}
object.c:Py_SET_TYPE
Line
Count
Source
310
48.3k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
48.3k
    ob->ob_type = type;
312
48.3k
}
Unexecuted instantiation: obmalloc.c:Py_SET_TYPE
Unexecuted instantiation: picklebufobject.c:Py_SET_TYPE
Unexecuted instantiation: rangeobject.c:Py_SET_TYPE
Unexecuted instantiation: setobject.c:Py_SET_TYPE
Unexecuted instantiation: sliceobject.c:Py_SET_TYPE
structseq.c:Py_SET_TYPE
Line
Count
Source
310
128
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
128
    ob->ob_type = type;
312
128
}
Unexecuted instantiation: templateobject.c:Py_SET_TYPE
Unexecuted instantiation: tupleobject.c:Py_SET_TYPE
typeobject.c:Py_SET_TYPE
Line
Count
Source
310
127M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
127M
    ob->ob_type = type;
312
127M
}
Unexecuted instantiation: typevarobject.c:Py_SET_TYPE
Unexecuted instantiation: unicode_format.c:Py_SET_TYPE
Unexecuted instantiation: unicode_formatter.c:Py_SET_TYPE
Unexecuted instantiation: unicode_writer.c:Py_SET_TYPE
Unexecuted instantiation: unicodectype.c:Py_SET_TYPE
unicodeobject.c:Py_SET_TYPE
Line
Count
Source
310
473M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
473M
    ob->ob_type = type;
312
473M
}
Unexecuted instantiation: unionobject.c:Py_SET_TYPE
Unexecuted instantiation: weakrefobject.c:Py_SET_TYPE
Unexecuted instantiation: _warnings.c:Py_SET_TYPE
Unexecuted instantiation: bltinmodule.c:Py_SET_TYPE
Unexecuted instantiation: ceval.c:Py_SET_TYPE
Unexecuted instantiation: codecs.c:Py_SET_TYPE
Unexecuted instantiation: codegen.c:Py_SET_TYPE
Unexecuted instantiation: compile.c:Py_SET_TYPE
Unexecuted instantiation: context.c:Py_SET_TYPE
Unexecuted instantiation: errors.c:Py_SET_TYPE
Unexecuted instantiation: flowgraph.c:Py_SET_TYPE
Unexecuted instantiation: frame.c:Py_SET_TYPE
Unexecuted instantiation: future.c:Py_SET_TYPE
gc.c:Py_SET_TYPE
Line
Count
Source
310
313M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
313M
    ob->ob_type = type;
312
313M
}
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: fileutils.c:Py_SET_TYPE
Unexecuted instantiation: suggestions.c:Py_SET_TYPE
Unexecuted instantiation: perf_trampoline.c:Py_SET_TYPE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SET_TYPE
Unexecuted instantiation: remote_debugging.c:Py_SET_TYPE
Unexecuted instantiation: dynload_shlib.c:Py_SET_TYPE
Unexecuted instantiation: config.c:Py_SET_TYPE
Unexecuted instantiation: gcmodule.c:Py_SET_TYPE
Unexecuted instantiation: _asynciomodule.c:Py_SET_TYPE
Unexecuted instantiation: atexitmodule.c:Py_SET_TYPE
Unexecuted instantiation: faulthandler.c:Py_SET_TYPE
Unexecuted instantiation: posixmodule.c:Py_SET_TYPE
Unexecuted instantiation: signalmodule.c:Py_SET_TYPE
Unexecuted instantiation: _tracemalloc.c:Py_SET_TYPE
Unexecuted instantiation: _suggestions.c:Py_SET_TYPE
_datetimemodule.c:Py_SET_TYPE
Line
Count
Source
310
70
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
70
    ob->ob_type = type;
312
70
}
Unexecuted instantiation: _codecsmodule.c:Py_SET_TYPE
Unexecuted instantiation: _collectionsmodule.c:Py_SET_TYPE
Unexecuted instantiation: errnomodule.c:Py_SET_TYPE
Unexecuted instantiation: _iomodule.c:Py_SET_TYPE
Unexecuted instantiation: iobase.c:Py_SET_TYPE
Unexecuted instantiation: fileio.c:Py_SET_TYPE
Unexecuted instantiation: bytesio.c:Py_SET_TYPE
Unexecuted instantiation: bufferedio.c:Py_SET_TYPE
Unexecuted instantiation: textio.c:Py_SET_TYPE
Unexecuted instantiation: stringio.c:Py_SET_TYPE
itertoolsmodule.c:Py_SET_TYPE
Line
Count
Source
310
12
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
12
    ob->ob_type = type;
312
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
310
4.06k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
4.06k
    ob->ob_type = type;
312
4.06k
}
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
313
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
314
1.03G
#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
315
#endif
316
317
1.27G
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
1.27G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
1.27G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
1.27G
    ob->ob_size = size;
324
1.27G
#endif
325
1.27G
}
bytesobject.c:Py_SET_SIZE
Line
Count
Source
317
25.4M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
25.4M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
25.4M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
25.4M
    ob->ob_size = size;
324
25.4M
#endif
325
25.4M
}
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
317
683M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
683M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
683M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
683M
    ob->ob_size = size;
324
683M
#endif
325
683M
}
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
317
33.2k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
33.2k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
33.2k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
33.2k
    ob->ob_size = size;
324
33.2k
#endif
325
33.2k
}
Unexecuted instantiation: obmalloc.c:Py_SET_SIZE
Unexecuted instantiation: picklebufobject.c:Py_SET_SIZE
Unexecuted instantiation: rangeobject.c:Py_SET_SIZE
Unexecuted instantiation: setobject.c:Py_SET_SIZE
Unexecuted instantiation: sliceobject.c:Py_SET_SIZE
structseq.c:Py_SET_SIZE
Line
Count
Source
317
5.28k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
5.28k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
5.28k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
5.28k
    ob->ob_size = size;
324
5.28k
#endif
325
5.28k
}
Unexecuted instantiation: templateobject.c:Py_SET_SIZE
Unexecuted instantiation: tupleobject.c:Py_SET_SIZE
typeobject.c:Py_SET_SIZE
Line
Count
Source
317
2.29M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
2.29M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
2.29M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
2.29M
    ob->ob_size = size;
324
2.29M
#endif
325
2.29M
}
Unexecuted instantiation: typevarobject.c:Py_SET_SIZE
Unexecuted instantiation: unicode_format.c:Py_SET_SIZE
Unexecuted instantiation: unicode_formatter.c:Py_SET_SIZE
Unexecuted instantiation: unicode_writer.c:Py_SET_SIZE
Unexecuted instantiation: unicodectype.c:Py_SET_SIZE
unicodeobject.c:Py_SET_SIZE
Line
Count
Source
317
20.8M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
20.8M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
20.8M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
20.8M
    ob->ob_size = size;
324
20.8M
#endif
325
20.8M
}
Unexecuted instantiation: unionobject.c:Py_SET_SIZE
Unexecuted instantiation: weakrefobject.c:Py_SET_SIZE
Unexecuted instantiation: _warnings.c:Py_SET_SIZE
Unexecuted instantiation: bltinmodule.c:Py_SET_SIZE
ceval.c:Py_SET_SIZE
Line
Count
Source
317
305M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
305M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
305M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
305M
    ob->ob_size = size;
324
305M
#endif
325
305M
}
Unexecuted instantiation: codecs.c:Py_SET_SIZE
Unexecuted instantiation: codegen.c:Py_SET_SIZE
Unexecuted instantiation: compile.c:Py_SET_SIZE
Unexecuted instantiation: context.c:Py_SET_SIZE
Unexecuted instantiation: errors.c:Py_SET_SIZE
Unexecuted instantiation: flowgraph.c:Py_SET_SIZE
Unexecuted instantiation: frame.c:Py_SET_SIZE
Unexecuted instantiation: future.c:Py_SET_SIZE
gc.c:Py_SET_SIZE
Line
Count
Source
317
142M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
142M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
142M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
142M
    ob->ob_size = size;
324
142M
#endif
325
142M
}
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: fileutils.c:Py_SET_SIZE
Unexecuted instantiation: suggestions.c:Py_SET_SIZE
Unexecuted instantiation: perf_trampoline.c:Py_SET_SIZE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SET_SIZE
Unexecuted instantiation: remote_debugging.c:Py_SET_SIZE
Unexecuted instantiation: dynload_shlib.c:Py_SET_SIZE
Unexecuted instantiation: config.c:Py_SET_SIZE
Unexecuted instantiation: gcmodule.c:Py_SET_SIZE
Unexecuted instantiation: _asynciomodule.c:Py_SET_SIZE
Unexecuted instantiation: atexitmodule.c:Py_SET_SIZE
Unexecuted instantiation: faulthandler.c:Py_SET_SIZE
Unexecuted instantiation: posixmodule.c:Py_SET_SIZE
Unexecuted instantiation: signalmodule.c:Py_SET_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SET_SIZE
Unexecuted instantiation: _suggestions.c:Py_SET_SIZE
Unexecuted instantiation: _datetimemodule.c:Py_SET_SIZE
Unexecuted instantiation: _codecsmodule.c:Py_SET_SIZE
_collectionsmodule.c:Py_SET_SIZE
Line
Count
Source
317
87.5M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
87.5M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
87.5M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
87.5M
    ob->ob_size = size;
324
87.5M
#endif
325
87.5M
}
Unexecuted instantiation: errnomodule.c:Py_SET_SIZE
Unexecuted instantiation: _iomodule.c:Py_SET_SIZE
Unexecuted instantiation: iobase.c:Py_SET_SIZE
Unexecuted instantiation: fileio.c:Py_SET_SIZE
Unexecuted instantiation: bytesio.c:Py_SET_SIZE
Unexecuted instantiation: bufferedio.c:Py_SET_SIZE
Unexecuted instantiation: textio.c:Py_SET_SIZE
Unexecuted instantiation: stringio.c:Py_SET_SIZE
Unexecuted instantiation: itertoolsmodule.c:Py_SET_SIZE
Unexecuted instantiation: sre.c:Py_SET_SIZE
Unexecuted instantiation: _sysconfig.c:Py_SET_SIZE
Unexecuted instantiation: _threadmodule.c:Py_SET_SIZE
Unexecuted instantiation: timemodule.c:Py_SET_SIZE
Unexecuted instantiation: _typesmodule.c:Py_SET_SIZE
Unexecuted instantiation: _typingmodule.c:Py_SET_SIZE
Unexecuted instantiation: _weakref.c:Py_SET_SIZE
Unexecuted instantiation: _abc.c:Py_SET_SIZE
Unexecuted instantiation: _functoolsmodule.c:Py_SET_SIZE
Unexecuted instantiation: _localemodule.c:Py_SET_SIZE
Unexecuted instantiation: _opcode.c:Py_SET_SIZE
Unexecuted instantiation: _operator.c:Py_SET_SIZE
Unexecuted instantiation: _stat.c:Py_SET_SIZE
Unexecuted instantiation: symtablemodule.c:Py_SET_SIZE
Unexecuted instantiation: pwdmodule.c:Py_SET_SIZE
Unexecuted instantiation: getpath.c:Py_SET_SIZE
Unexecuted instantiation: frozen.c:Py_SET_SIZE
Unexecuted instantiation: getbuildinfo.c:Py_SET_SIZE
Unexecuted instantiation: peg_api.c:Py_SET_SIZE
Unexecuted instantiation: file_tokenizer.c:Py_SET_SIZE
Unexecuted instantiation: helpers.c:Py_SET_SIZE
Unexecuted instantiation: myreadline.c:Py_SET_SIZE
abstract.c:Py_SET_SIZE
Line
Count
Source
317
222
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
222
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
222
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
222
    ob->ob_size = size;
324
222
#endif
325
222
}
Unexecuted instantiation: boolobject.c:Py_SET_SIZE
Unexecuted instantiation: bytes_methods.c:Py_SET_SIZE
bytearrayobject.c:Py_SET_SIZE
Line
Count
Source
317
6.92M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
6.92M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
6.92M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
320
#ifdef Py_GIL_DISABLED
321
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
322
#else
323
6.92M
    ob->ob_size = size;
324
6.92M
#endif
325
6.92M
}
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
326
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
327
1.27G
#  define Py_SET_SIZE(ob, size) Py_SET_SIZE(_PyVarObject_CAST(ob), (size))
328
#endif
329
#endif // !defined(_Py_OPAQUE_PYOBJECT)
330
331
332
/*
333
Type objects contain a string containing the type name (to help somewhat
334
in debugging), the allocation parameters (see PyObject_New() and
335
PyObject_NewVar()),
336
and methods for accessing objects of the type.  Methods are optional, a
337
nil pointer meaning that particular kind of access is not available for
338
this type.  The Py_DECREF() macro uses the tp_dealloc method without
339
checking for a nil pointer; it should always be implemented except if
340
the implementation can guarantee that the reference count will never
341
reach zero (e.g., for statically allocated type objects).
342
343
NB: the methods for certain type groups are now contained in separate
344
method blocks.
345
*/
346
347
typedef PyObject * (*unaryfunc)(PyObject *);
348
typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
349
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
350
typedef int (*inquiry)(PyObject *);
351
typedef Py_ssize_t (*lenfunc)(PyObject *);
352
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
353
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
354
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
355
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
356
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
357
358
typedef int (*objobjproc)(PyObject *, PyObject *);
359
typedef int (*visitproc)(PyObject *, void *);
360
typedef int (*traverseproc)(PyObject *, visitproc, void *);
361
362
363
typedef void (*freefunc)(void *);
364
typedef void (*destructor)(PyObject *);
365
typedef PyObject *(*getattrfunc)(PyObject *, char *);
366
typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
367
typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
368
typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
369
typedef PyObject *(*reprfunc)(PyObject *);
370
typedef Py_hash_t (*hashfunc)(PyObject *);
371
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
372
typedef PyObject *(*getiterfunc) (PyObject *);
373
typedef PyObject *(*iternextfunc) (PyObject *);
374
typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
375
typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
376
typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
377
typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *);
378
typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t);
379
380
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 // 3.12
381
typedef PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args,
382
                                    size_t nargsf, PyObject *kwnames);
383
#endif
384
385
typedef struct{
386
    int slot;    /* slot id, see below */
387
    void *pfunc; /* function pointer */
388
} PyType_Slot;
389
390
typedef struct{
391
    const char* name;
392
    int basicsize;
393
    int itemsize;
394
    unsigned int flags;
395
    PyType_Slot *slots; /* terminated by slot==0. */
396
} PyType_Spec;
397
398
PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
399
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
400
PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
401
#endif
402
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03040000
403
PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
404
#endif
405
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000
406
PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *);
407
PyAPI_FUNC(PyObject *) PyType_GetModule(PyTypeObject *);
408
PyAPI_FUNC(void *) PyType_GetModuleState(PyTypeObject *);
409
#endif
410
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
411
PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *);
412
PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *);
413
#endif
414
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
415
PyAPI_FUNC(PyObject *) PyType_GetFullyQualifiedName(PyTypeObject *type);
416
PyAPI_FUNC(PyObject *) PyType_GetModuleName(PyTypeObject *type);
417
#endif
418
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
419
PyAPI_FUNC(PyObject *) PyType_FromMetaclass(PyTypeObject*, PyObject*, PyType_Spec*, PyObject*);
420
PyAPI_FUNC(void *) PyObject_GetTypeData(PyObject *obj, PyTypeObject *cls);
421
PyAPI_FUNC(Py_ssize_t) PyType_GetTypeDataSize(PyTypeObject *cls);
422
#endif
423
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030E0000
424
PyAPI_FUNC(int) PyType_GetBaseByToken(PyTypeObject *, void *, PyTypeObject **);
425
12
#define Py_TP_USE_SPEC NULL
426
#endif
427
428
/* Generic type check */
429
PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
430
431
631M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
631M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
631M
}
Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck
Unexecuted instantiation: call.c:PyObject_TypeCheck
exceptions.c:PyObject_TypeCheck
Line
Count
Source
431
1.14M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.14M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.14M
}
Unexecuted instantiation: genericaliasobject.c:PyObject_TypeCheck
floatobject.c:PyObject_TypeCheck
Line
Count
Source
431
11.7M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
11.7M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
11.7M
}
Unexecuted instantiation: listobject.c:PyObject_TypeCheck
longobject.c:PyObject_TypeCheck
Line
Count
Source
431
2.56k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
2.56k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
2.56k
}
dictobject.c:PyObject_TypeCheck
Line
Count
Source
431
15.4M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
15.4M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
15.4M
}
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck
moduleobject.c:PyObject_TypeCheck
Line
Count
Source
431
22.8M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
22.8M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
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
431
91.0M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
91.0M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
91.0M
}
Unexecuted instantiation: typevarobject.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_format.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_formatter.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_writer.c:PyObject_TypeCheck
Unexecuted instantiation: unicodectype.c:PyObject_TypeCheck
Unexecuted instantiation: unicodeobject.c:PyObject_TypeCheck
Unexecuted instantiation: unionobject.c:PyObject_TypeCheck
weakrefobject.c:PyObject_TypeCheck
Line
Count
Source
431
368
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
368
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
368
}
_warnings.c:PyObject_TypeCheck
Line
Count
Source
431
14.4k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
14.4k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
14.4k
}
bltinmodule.c:PyObject_TypeCheck
Line
Count
Source
431
10.4M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
10.4M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
10.4M
}
ceval.c:PyObject_TypeCheck
Line
Count
Source
431
48
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
48
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
48
}
codecs.c:PyObject_TypeCheck
Line
Count
Source
431
562k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
562k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
562k
}
codegen.c:PyObject_TypeCheck
Line
Count
Source
431
24
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
24
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
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
431
1.22M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.22M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.22M
}
Unexecuted instantiation: gc_gil.c:PyObject_TypeCheck
Unexecuted instantiation: getargs.c:PyObject_TypeCheck
Unexecuted instantiation: ceval_gil.c:PyObject_TypeCheck
Unexecuted instantiation: hamt.c:PyObject_TypeCheck
Unexecuted instantiation: hashtable.c:PyObject_TypeCheck
import.c:PyObject_TypeCheck
Line
Count
Source
431
990
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
990
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
990
}
importdl.c:PyObject_TypeCheck
Line
Count
Source
431
389
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
389
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
389
}
Unexecuted instantiation: initconfig.c:PyObject_TypeCheck
Unexecuted instantiation: instrumentation.c:PyObject_TypeCheck
Unexecuted instantiation: instruction_sequence.c:PyObject_TypeCheck
Unexecuted instantiation: intrinsics.c:PyObject_TypeCheck
Unexecuted instantiation: legacy_tracing.c:PyObject_TypeCheck
Unexecuted instantiation: lock.c:PyObject_TypeCheck
Unexecuted instantiation: marshal.c:PyObject_TypeCheck
modsupport.c:PyObject_TypeCheck
Line
Count
Source
431
9.29k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
9.29k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
9.29k
}
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
431
559
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
559
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
559
}
Unexecuted instantiation: symtable.c:PyObject_TypeCheck
Unexecuted instantiation: sysmodule.c:PyObject_TypeCheck
Unexecuted instantiation: thread.c:PyObject_TypeCheck
Unexecuted instantiation: traceback.c:PyObject_TypeCheck
Unexecuted instantiation: tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: getopt.c:PyObject_TypeCheck
Unexecuted instantiation: pystrcmp.c:PyObject_TypeCheck
Unexecuted instantiation: pystrtod.c:PyObject_TypeCheck
Unexecuted instantiation: pystrhex.c:PyObject_TypeCheck
Unexecuted instantiation: dtoa.c:PyObject_TypeCheck
Unexecuted instantiation: fileutils.c:PyObject_TypeCheck
Unexecuted instantiation: suggestions.c:PyObject_TypeCheck
Unexecuted instantiation: perf_trampoline.c:PyObject_TypeCheck
Unexecuted instantiation: perf_jit_trampoline.c:PyObject_TypeCheck
Unexecuted instantiation: remote_debugging.c:PyObject_TypeCheck
Unexecuted instantiation: dynload_shlib.c:PyObject_TypeCheck
Unexecuted instantiation: config.c:PyObject_TypeCheck
Unexecuted instantiation: gcmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _asynciomodule.c:PyObject_TypeCheck
Unexecuted instantiation: atexitmodule.c:PyObject_TypeCheck
Unexecuted instantiation: faulthandler.c:PyObject_TypeCheck
Unexecuted instantiation: posixmodule.c:PyObject_TypeCheck
Unexecuted instantiation: signalmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: _suggestions.c:PyObject_TypeCheck
_datetimemodule.c:PyObject_TypeCheck
Line
Count
Source
431
6
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
6
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
6
}
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
431
3.27k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.27k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.27k
}
Unexecuted instantiation: _abc.c:PyObject_TypeCheck
_functoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
431
45
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
45
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
45
}
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
431
6.51M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
6.51M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
6.51M
}
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck
Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck
bytearrayobject.c:PyObject_TypeCheck
Line
Count
Source
431
8.80k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
8.80k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
8.80k
}
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
431
470M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
470M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
470M
}
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
431
3.93k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
3.93k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
3.93k
}
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
431
12.1k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
12.1k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
12.1k
}
Unexecuted instantiation: pegen_errors.c:PyObject_TypeCheck
Unexecuted instantiation: parser.c:PyObject_TypeCheck
Unexecuted instantiation: buffer.c:PyObject_TypeCheck
Unexecuted instantiation: lexer.c:PyObject_TypeCheck
Unexecuted instantiation: state.c:PyObject_TypeCheck
Unexecuted instantiation: readline_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: string_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: utf8_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: getcompiler.c:PyObject_TypeCheck
Unexecuted instantiation: mystrtoul.c:PyObject_TypeCheck
Unexecuted instantiation: token.c:PyObject_TypeCheck
Unexecuted instantiation: action_helpers.c:PyObject_TypeCheck
Unexecuted instantiation: string_parser.c:PyObject_TypeCheck
434
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
435
632M
#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
436
#endif
437
438
PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
439
PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
440
PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */
441
442
PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
443
444
PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
445
PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
446
PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
447
                                               PyObject *, PyObject *);
448
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
449
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
450
451
/* Generic operations on objects */
452
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
453
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
454
PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
455
PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
456
PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
457
PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
458
PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
459
PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
460
PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *v, const char *name);
461
PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
462
PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
463
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
464
PyAPI_FUNC(int) PyObject_GetOptionalAttr(PyObject *, PyObject *, PyObject **);
465
PyAPI_FUNC(int) PyObject_GetOptionalAttrString(PyObject *, const char *, PyObject **);
466
#endif
467
PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
468
PyAPI_FUNC(int) PyObject_DelAttr(PyObject *v, PyObject *name);
469
PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
470
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
471
PyAPI_FUNC(int) PyObject_HasAttrWithError(PyObject *, PyObject *);
472
PyAPI_FUNC(int) PyObject_HasAttrStringWithError(PyObject *, const char *);
473
#endif
474
PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
475
PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
476
PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *);
477
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
478
PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
479
#endif
480
PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
481
PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
482
PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
483
PyAPI_FUNC(int) PyObject_Not(PyObject *);
484
PyAPI_FUNC(int) PyCallable_Check(PyObject *);
485
PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
486
487
/* PyObject_Dir(obj) acts like Python builtins.dir(obj), returning a
488
   list of strings.  PyObject_Dir(NULL) is like builtins.dir(),
489
   returning the names of the current locals.  In this case, if there are
490
   no current locals, NULL is returned, and PyErr_Occurred() is false.
491
*/
492
PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
493
494
/* Helpers for printing recursive container types */
495
PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
496
PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
497
498
/* Flag bits for printing: */
499
0
#define Py_PRINT_RAW    1       /* No string quotes etc. */
500
501
/*
502
Type flags (tp_flags)
503
504
These flags are used to change expected features and behavior for a
505
particular type.
506
507
Arbitration of the flag bit positions will need to be coordinated among
508
all extension writers who publicly release their extensions (this will
509
be fewer than you might expect!).
510
511
Most flags were removed as of Python 3.0 to make room for new flags.  (Some
512
flags are not for backwards compatibility but to indicate the presence of an
513
optional feature; these flags remain of course.)
514
515
Type definitions should use Py_TPFLAGS_DEFAULT for their tp_flags value.
516
517
Code can use PyType_HasFeature(type_ob, flag_value) to test whether the
518
given type object has a specified feature.
519
*/
520
521
#ifndef Py_LIMITED_API
522
523
/* Track types initialized using _PyStaticType_InitBuiltin(). */
524
723M
#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
525
526
/* The values array is placed inline directly after the rest of
527
 * the object. Implies Py_TPFLAGS_HAVE_GC.
528
 */
529
1.03G
#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
530
531
/* Placement of weakref pointers are managed by the VM, not by the type.
532
 * The VM will automatically set tp_weaklistoffset. Implies Py_TPFLAGS_HAVE_GC.
533
 */
534
850M
#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
535
536
/* Placement of dict (and values) pointers are managed by the VM, not by the type.
537
 * The VM will automatically set tp_dictoffset. Implies Py_TPFLAGS_HAVE_GC.
538
 */
539
1.24G
#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
540
541
/* Type has dictionary or weakref pointers that are managed by VM and has
542
 * to allocate space to store these.
543
 */
544
850M
#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
545
546
/* Set if instances of the type object are treated as sequences for pattern matching */
547
3.09M
#define Py_TPFLAGS_SEQUENCE (1 << 5)
548
/* Set if instances of the type object are treated as mappings for pattern matching */
549
3.09M
#define Py_TPFLAGS_MAPPING (1 << 6)
550
#endif
551
552
/* Disallow creating instances of the type: set tp_new to NULL and don't create
553
 * the "__new__" key in the type dictionary. */
554
316k
#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
555
556
/* Set if the type object is immutable: type attributes cannot be set nor deleted */
557
836k
#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
558
559
/* Set if the type object is dynamically allocated */
560
351M
#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
561
562
/* Set if the type allows subclassing */
563
1.24M
#define Py_TPFLAGS_BASETYPE (1UL << 10)
564
565
/* Set if the type implements the vectorcall protocol (PEP 590) */
566
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
567
594M
#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
568
#ifndef Py_LIMITED_API
569
// Backwards compatibility alias for API that was provisional in Python 3.8
570
#define _Py_TPFLAGS_HAVE_VECTORCALL Py_TPFLAGS_HAVE_VECTORCALL
571
#endif
572
#endif
573
574
/* Set if the type is 'ready' -- fully initialized */
575
30.7M
#define Py_TPFLAGS_READY (1UL << 12)
576
577
/* Set while the type is being 'readied', to prevent recursive ready calls */
578
624k
#define Py_TPFLAGS_READYING (1UL << 13)
579
580
/* Objects support garbage collection (see objimpl.h) */
581
4.86G
#define Py_TPFLAGS_HAVE_GC (1UL << 14)
582
583
/* These two bits are preserved for Stackless Python, next after this is 17 */
584
#ifdef STACKLESS
585
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3UL << 15)
586
#else
587
311k
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
588
#endif
589
590
/* Objects behave like an unbound method */
591
117M
#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
592
593
/* Unused. Legacy flag */
594
#define Py_TPFLAGS_VALID_VERSION_TAG  (1UL << 19)
595
596
/* Type is abstract and cannot be instantiated */
597
39.2M
#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
598
599
// This undocumented flag gives certain built-ins their unique pattern-matching
600
// behavior, which allows a single positional subpattern to match against the
601
// subject itself (rather than a mapped attribute on it):
602
620k
#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
603
604
/* Items (ob_size*tp_itemsize) are found at the end of an instance's memory */
605
700k
#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
606
607
/* These flags are used to determine if a type is a subclass. */
608
143
#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
609
116
#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
610
430
#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
611
0
#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
612
8.94M
#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
613
78
#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
614
1.57k
#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
615
44
#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
616
617
311k
#define Py_TPFLAGS_DEFAULT  ( \
618
311k
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
619
311k
                0)
620
621
/* NOTE: Some of the following flags reuse lower bits (removed as part of the
622
 * Python 3.0 transition). */
623
624
/* The following flags are kept for compatibility; in previous
625
 * versions they indicated presence of newer tp_* fields on the
626
 * type struct.
627
 * Starting with 3.8, binary compatibility of C extensions across
628
 * feature releases of Python is not supported anymore (except when
629
 * using the stable ABI, in which all classes are created dynamically,
630
 * using the interpreter's memory layout.)
631
 * Note that older extensions using the stable ABI set these flags,
632
 * so the bits must not be repurposed.
633
 */
634
#define Py_TPFLAGS_HAVE_FINALIZE (1UL << 0)
635
#define Py_TPFLAGS_HAVE_VERSION_TAG   (1UL << 18)
636
637
// Flag values for ob_flags (16 bits available, if SIZEOF_VOID_P > 4).
638
246M
#define _Py_IMMORTAL_FLAGS (1 << 0)
639
#define _Py_LEGACY_ABI_CHECK_FLAG (1 << 1) /* see PyModuleDef_Init() */
640
246M
#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
641
#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG)
642
#define _Py_TYPE_REVEALED_FLAG (1 << 3)
643
#endif
644
645
#define Py_CONSTANT_NONE 0
646
#define Py_CONSTANT_FALSE 1
647
#define Py_CONSTANT_TRUE 2
648
#define Py_CONSTANT_ELLIPSIS 3
649
#define Py_CONSTANT_NOT_IMPLEMENTED 4
650
16
#define Py_CONSTANT_ZERO 5
651
16
#define Py_CONSTANT_ONE 6
652
251k
#define Py_CONSTANT_EMPTY_STR 7
653
4.95M
#define Py_CONSTANT_EMPTY_BYTES 8
654
16
#define Py_CONSTANT_EMPTY_TUPLE 9
655
656
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
657
PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id);
658
PyAPI_FUNC(PyObject*) Py_GetConstantBorrowed(unsigned int constant_id);
659
#endif
660
661
662
/*
663
_Py_NoneStruct is an object of undefined type which can be used in contexts
664
where NULL (nil) is not suitable (since NULL often means 'error').
665
*/
666
PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
667
668
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
669
#  define Py_None Py_GetConstantBorrowed(Py_CONSTANT_NONE)
670
#else
671
1.91G
#  define Py_None (&_Py_NoneStruct)
672
#endif
673
674
// Test if an object is the None singleton, the same as "x is None" in Python.
675
PyAPI_FUNC(int) Py_IsNone(PyObject *x);
676
191M
#define Py_IsNone(x) Py_Is((x), Py_None)
677
678
/* Macro for returning Py_None from a function.
679
 * Only treat Py_None as immortal in the limited C API 3.12 and newer. */
680
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
681
#  define Py_RETURN_NONE return Py_NewRef(Py_None)
682
#else
683
115M
#  define Py_RETURN_NONE return Py_None
684
#endif
685
686
/*
687
Py_NotImplemented is a singleton used to signal that an operation is
688
not implemented for a given type combination.
689
*/
690
PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
691
692
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
693
#  define Py_NotImplemented Py_GetConstantBorrowed(Py_CONSTANT_NOT_IMPLEMENTED)
694
#else
695
309M
#  define Py_NotImplemented (&_Py_NotImplementedStruct)
696
#endif
697
698
/* Macro for returning Py_NotImplemented from a function. Only treat
699
 * Py_NotImplemented as immortal in the limited C API 3.12 and newer. */
700
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
701
#  define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
702
#else
703
25.1M
#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
704
#endif
705
706
/* Rich comparison opcodes */
707
63.6M
#define Py_LT 0
708
552k
#define Py_LE 1
709
370M
#define Py_EQ 2
710
49.7M
#define Py_NE 3
711
1.84M
#define Py_GT 4
712
1.83k
#define Py_GE 5
713
714
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
715
/* Result of calling PyIter_Send */
716
typedef enum {
717
    PYGEN_RETURN = 0,
718
    PYGEN_ERROR = -1,
719
    PYGEN_NEXT = 1
720
} PySendResult;
721
#endif
722
723
/*
724
 * Macro for implementing rich comparisons
725
 *
726
 * Needs to be a macro because any C-comparable type can be used.
727
 */
728
#define Py_RETURN_RICHCOMPARE(val1, val2, op)                               \
729
148M
    do {                                                                    \
730
148M
        switch (op) {                                                       \
731
113M
        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
732
113M
        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
733
33.3M
        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
734
33.3M
        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
735
1.10M
        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
736
550k
        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
737
92
        default:                                                            \
738
0
            Py_UNREACHABLE();                                               \
739
148M
        }                                                                   \
740
148M
    } while (0)
741
742
743
/*
744
More conventions
745
================
746
747
Argument Checking
748
-----------------
749
750
Functions that take objects as arguments normally don't check for nil
751
arguments, but they do check the type of the argument, and return an
752
error if the function doesn't apply to the type.
753
754
Failure Modes
755
-------------
756
757
Functions may fail for a variety of reasons, including running out of
758
memory.  This is communicated to the caller in two ways: an error string
759
is set (see errors.h), and the function result differs: functions that
760
normally return a pointer return NULL for failure, functions returning
761
an integer return -1 (which could be a legal return value too!), and
762
other functions return 0 for success and -1 for failure.
763
Callers should always check for errors before using the result.  If
764
an error was set, the caller must either explicitly clear it, or pass
765
the error on to its caller.
766
767
Reference Counts
768
----------------
769
770
It takes a while to get used to the proper usage of reference counts.
771
772
Functions that create an object set the reference count to 1; such new
773
objects must be stored somewhere or destroyed again with Py_DECREF().
774
Some functions that 'store' objects, such as PyTuple_SetItem() and
775
PyList_SetItem(),
776
don't increment the reference count of the object, since the most
777
frequent use is to store a fresh object.  Functions that 'retrieve'
778
objects, such as PyTuple_GetItem() and PyDict_GetItemString(), also
779
don't increment
780
the reference count, since most frequently the object is only looked at
781
quickly.  Thus, to retrieve an object and store it again, the caller
782
must call Py_INCREF() explicitly.
783
784
NOTE: functions that 'consume' a reference count, like
785
PyList_SetItem(), consume the reference even if the object wasn't
786
successfully stored, to simplify error handling.
787
788
It seems attractive to make other functions that take an object as
789
argument consume a reference count; however, this may quickly get
790
confusing (even the current practice is already confusing).  Consider
791
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
792
times.
793
*/
794
795
#ifndef Py_LIMITED_API
796
#  define Py_CPYTHON_OBJECT_H
797
#  include "cpython/object.h"
798
#  undef Py_CPYTHON_OBJECT_H
799
#endif
800
801
802
static inline int
803
PyType_HasFeature(PyTypeObject *type, unsigned long feature)
804
6.15G
{
805
6.15G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
    flags = type->tp_flags;
811
#endif
812
6.15G
    return ((flags & feature) != 0);
813
6.15G
}
bytesobject.c:PyType_HasFeature
Line
Count
Source
804
14.4M
{
805
14.4M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
14.4M
    flags = type->tp_flags;
811
14.4M
#endif
812
14.4M
    return ((flags & feature) != 0);
813
14.4M
}
call.c:PyType_HasFeature
Line
Count
Source
804
473M
{
805
473M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
473M
    flags = type->tp_flags;
811
473M
#endif
812
473M
    return ((flags & feature) != 0);
813
473M
}
exceptions.c:PyType_HasFeature
Line
Count
Source
804
787k
{
805
787k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
787k
    flags = type->tp_flags;
811
787k
#endif
812
787k
    return ((flags & feature) != 0);
813
787k
}
genericaliasobject.c:PyType_HasFeature
Line
Count
Source
804
862
{
805
862
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
862
    flags = type->tp_flags;
811
862
#endif
812
862
    return ((flags & feature) != 0);
813
862
}
floatobject.c:PyType_HasFeature
Line
Count
Source
804
1.11M
{
805
1.11M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.11M
    flags = type->tp_flags;
811
1.11M
#endif
812
1.11M
    return ((flags & feature) != 0);
813
1.11M
}
listobject.c:PyType_HasFeature
Line
Count
Source
804
273M
{
805
273M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
273M
    flags = type->tp_flags;
811
273M
#endif
812
273M
    return ((flags & feature) != 0);
813
273M
}
longobject.c:PyType_HasFeature
Line
Count
Source
804
774M
{
805
774M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
774M
    flags = type->tp_flags;
811
774M
#endif
812
774M
    return ((flags & feature) != 0);
813
774M
}
dictobject.c:PyType_HasFeature
Line
Count
Source
804
374M
{
805
374M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
374M
    flags = type->tp_flags;
811
374M
#endif
812
374M
    return ((flags & feature) != 0);
813
374M
}
memoryobject.c:PyType_HasFeature
Line
Count
Source
804
4
{
805
4
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
4
    flags = type->tp_flags;
811
4
#endif
812
4
    return ((flags & feature) != 0);
813
4
}
moduleobject.c:PyType_HasFeature
Line
Count
Source
804
13.1k
{
805
13.1k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
13.1k
    flags = type->tp_flags;
811
13.1k
#endif
812
13.1k
    return ((flags & feature) != 0);
813
13.1k
}
object.c:PyType_HasFeature
Line
Count
Source
804
824M
{
805
824M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
824M
    flags = type->tp_flags;
811
824M
#endif
812
824M
    return ((flags & feature) != 0);
813
824M
}
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
804
79.6M
{
805
79.6M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
79.6M
    flags = type->tp_flags;
811
79.6M
#endif
812
79.6M
    return ((flags & feature) != 0);
813
79.6M
}
typeobject.c:PyType_HasFeature
Line
Count
Source
804
291M
{
805
291M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
291M
    flags = type->tp_flags;
811
291M
#endif
812
291M
    return ((flags & feature) != 0);
813
291M
}
Unexecuted instantiation: typevarobject.c:PyType_HasFeature
unicode_format.c:PyType_HasFeature
Line
Count
Source
804
82.6M
{
805
82.6M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
82.6M
    flags = type->tp_flags;
811
82.6M
#endif
812
82.6M
    return ((flags & feature) != 0);
813
82.6M
}
Unexecuted instantiation: unicode_formatter.c:PyType_HasFeature
unicode_writer.c:PyType_HasFeature
Line
Count
Source
804
624k
{
805
624k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
624k
    flags = type->tp_flags;
811
624k
#endif
812
624k
    return ((flags & feature) != 0);
813
624k
}
Unexecuted instantiation: unicodectype.c:PyType_HasFeature
unicodeobject.c:PyType_HasFeature
Line
Count
Source
804
1.56G
{
805
1.56G
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.56G
    flags = type->tp_flags;
811
1.56G
#endif
812
1.56G
    return ((flags & feature) != 0);
813
1.56G
}
unionobject.c:PyType_HasFeature
Line
Count
Source
804
475
{
805
475
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
475
    flags = type->tp_flags;
811
475
#endif
812
475
    return ((flags & feature) != 0);
813
475
}
weakrefobject.c:PyType_HasFeature
Line
Count
Source
804
42.6M
{
805
42.6M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
42.6M
    flags = type->tp_flags;
811
42.6M
#endif
812
42.6M
    return ((flags & feature) != 0);
813
42.6M
}
_warnings.c:PyType_HasFeature
Line
Count
Source
804
43.4k
{
805
43.4k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
43.4k
    flags = type->tp_flags;
811
43.4k
#endif
812
43.4k
    return ((flags & feature) != 0);
813
43.4k
}
bltinmodule.c:PyType_HasFeature
Line
Count
Source
804
68.0M
{
805
68.0M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
68.0M
    flags = type->tp_flags;
811
68.0M
#endif
812
68.0M
    return ((flags & feature) != 0);
813
68.0M
}
ceval.c:PyType_HasFeature
Line
Count
Source
804
252M
{
805
252M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
252M
    flags = type->tp_flags;
811
252M
#endif
812
252M
    return ((flags & feature) != 0);
813
252M
}
codecs.c:PyType_HasFeature
Line
Count
Source
804
1.09M
{
805
1.09M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.09M
    flags = type->tp_flags;
811
1.09M
#endif
812
1.09M
    return ((flags & feature) != 0);
813
1.09M
}
codegen.c:PyType_HasFeature
Line
Count
Source
804
1.43k
{
805
1.43k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.43k
    flags = type->tp_flags;
811
1.43k
#endif
812
1.43k
    return ((flags & feature) != 0);
813
1.43k
}
Unexecuted instantiation: compile.c:PyType_HasFeature
context.c:PyType_HasFeature
Line
Count
Source
804
24
{
805
24
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
24
    flags = type->tp_flags;
811
24
#endif
812
24
    return ((flags & feature) != 0);
813
24
}
errors.c:PyType_HasFeature
Line
Count
Source
804
341M
{
805
341M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
341M
    flags = type->tp_flags;
811
341M
#endif
812
341M
    return ((flags & feature) != 0);
813
341M
}
flowgraph.c:PyType_HasFeature
Line
Count
Source
804
212
{
805
212
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
212
    flags = type->tp_flags;
811
212
#endif
812
212
    return ((flags & feature) != 0);
813
212
}
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
804
3.54M
{
805
3.54M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.54M
    flags = type->tp_flags;
811
3.54M
#endif
812
3.54M
    return ((flags & feature) != 0);
813
3.54M
}
Unexecuted instantiation: ceval_gil.c:PyType_HasFeature
Unexecuted instantiation: hamt.c:PyType_HasFeature
Unexecuted instantiation: hashtable.c:PyType_HasFeature
import.c:PyType_HasFeature
Line
Count
Source
804
37.2k
{
805
37.2k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
37.2k
    flags = type->tp_flags;
811
37.2k
#endif
812
37.2k
    return ((flags & feature) != 0);
813
37.2k
}
importdl.c:PyType_HasFeature
Line
Count
Source
804
158
{
805
158
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
158
    flags = type->tp_flags;
811
158
#endif
812
158
    return ((flags & feature) != 0);
813
158
}
initconfig.c:PyType_HasFeature
Line
Count
Source
804
320
{
805
320
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
320
    flags = type->tp_flags;
811
320
#endif
812
320
    return ((flags & feature) != 0);
813
320
}
Unexecuted instantiation: instrumentation.c:PyType_HasFeature
Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature
intrinsics.c:PyType_HasFeature
Line
Count
Source
804
14.9k
{
805
14.9k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
14.9k
    flags = type->tp_flags;
811
14.9k
#endif
812
14.9k
    return ((flags & feature) != 0);
813
14.9k
}
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
804
16
{
805
16
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
16
    flags = type->tp_flags;
811
16
#endif
812
16
    return ((flags & feature) != 0);
813
16
}
Unexecuted instantiation: pymath.c:PyType_HasFeature
Unexecuted instantiation: pystate.c:PyType_HasFeature
pythonrun.c:PyType_HasFeature
Line
Count
Source
804
42.5k
{
805
42.5k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
42.5k
    flags = type->tp_flags;
811
42.5k
#endif
812
42.5k
    return ((flags & feature) != 0);
813
42.5k
}
Unexecuted instantiation: pytime.c:PyType_HasFeature
Unexecuted instantiation: qsbr.c:PyType_HasFeature
Unexecuted instantiation: bootstrap_hash.c:PyType_HasFeature
specialize.c:PyType_HasFeature
Line
Count
Source
804
1.50M
{
805
1.50M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.50M
    flags = type->tp_flags;
811
1.50M
#endif
812
1.50M
    return ((flags & feature) != 0);
813
1.50M
}
symtable.c:PyType_HasFeature
Line
Count
Source
804
125k
{
805
125k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
125k
    flags = type->tp_flags;
811
125k
#endif
812
125k
    return ((flags & feature) != 0);
813
125k
}
sysmodule.c:PyType_HasFeature
Line
Count
Source
804
3.74k
{
805
3.74k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.74k
    flags = type->tp_flags;
811
3.74k
#endif
812
3.74k
    return ((flags & feature) != 0);
813
3.74k
}
Unexecuted instantiation: thread.c:PyType_HasFeature
Unexecuted instantiation: traceback.c:PyType_HasFeature
Unexecuted instantiation: tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: getopt.c:PyType_HasFeature
Unexecuted instantiation: pystrcmp.c:PyType_HasFeature
Unexecuted instantiation: pystrtod.c:PyType_HasFeature
Unexecuted instantiation: pystrhex.c:PyType_HasFeature
Unexecuted instantiation: dtoa.c:PyType_HasFeature
Unexecuted instantiation: fileutils.c:PyType_HasFeature
Unexecuted instantiation: suggestions.c:PyType_HasFeature
Unexecuted instantiation: perf_trampoline.c:PyType_HasFeature
Unexecuted instantiation: perf_jit_trampoline.c:PyType_HasFeature
Unexecuted instantiation: remote_debugging.c:PyType_HasFeature
Unexecuted instantiation: dynload_shlib.c:PyType_HasFeature
Unexecuted instantiation: config.c:PyType_HasFeature
Unexecuted instantiation: gcmodule.c:PyType_HasFeature
Unexecuted instantiation: _asynciomodule.c:PyType_HasFeature
Unexecuted instantiation: atexitmodule.c:PyType_HasFeature
Unexecuted instantiation: faulthandler.c:PyType_HasFeature
posixmodule.c:PyType_HasFeature
Line
Count
Source
804
49.6k
{
805
49.6k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
49.6k
    flags = type->tp_flags;
811
49.6k
#endif
812
49.6k
    return ((flags & feature) != 0);
813
49.6k
}
Unexecuted instantiation: signalmodule.c:PyType_HasFeature
Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: _suggestions.c:PyType_HasFeature
Unexecuted instantiation: _datetimemodule.c:PyType_HasFeature
_codecsmodule.c:PyType_HasFeature
Line
Count
Source
804
782k
{
805
782k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
782k
    flags = type->tp_flags;
811
782k
#endif
812
782k
    return ((flags & feature) != 0);
813
782k
}
Unexecuted instantiation: _collectionsmodule.c:PyType_HasFeature
Unexecuted instantiation: errnomodule.c:PyType_HasFeature
_iomodule.c:PyType_HasFeature
Line
Count
Source
804
3.15k
{
805
3.15k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.15k
    flags = type->tp_flags;
811
3.15k
#endif
812
3.15k
    return ((flags & feature) != 0);
813
3.15k
}
Unexecuted instantiation: iobase.c:PyType_HasFeature
fileio.c:PyType_HasFeature
Line
Count
Source
804
1.32k
{
805
1.32k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.32k
    flags = type->tp_flags;
811
1.32k
#endif
812
1.32k
    return ((flags & feature) != 0);
813
1.32k
}
Unexecuted instantiation: bytesio.c:PyType_HasFeature
bufferedio.c:PyType_HasFeature
Line
Count
Source
804
2.07k
{
805
2.07k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.07k
    flags = type->tp_flags;
811
2.07k
#endif
812
2.07k
    return ((flags & feature) != 0);
813
2.07k
}
textio.c:PyType_HasFeature
Line
Count
Source
804
68.3k
{
805
68.3k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
68.3k
    flags = type->tp_flags;
811
68.3k
#endif
812
68.3k
    return ((flags & feature) != 0);
813
68.3k
}
stringio.c:PyType_HasFeature
Line
Count
Source
804
100k
{
805
100k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
100k
    flags = type->tp_flags;
811
100k
#endif
812
100k
    return ((flags & feature) != 0);
813
100k
}
Unexecuted instantiation: itertoolsmodule.c:PyType_HasFeature
sre.c:PyType_HasFeature
Line
Count
Source
804
128M
{
805
128M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
128M
    flags = type->tp_flags;
811
128M
#endif
812
128M
    return ((flags & feature) != 0);
813
128M
}
Unexecuted instantiation: _sysconfig.c:PyType_HasFeature
Unexecuted instantiation: _threadmodule.c:PyType_HasFeature
Unexecuted instantiation: timemodule.c:PyType_HasFeature
Unexecuted instantiation: _typesmodule.c:PyType_HasFeature
Unexecuted instantiation: _typingmodule.c:PyType_HasFeature
_weakref.c:PyType_HasFeature
Line
Count
Source
804
3.27k
{
805
3.27k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.27k
    flags = type->tp_flags;
811
3.27k
#endif
812
3.27k
    return ((flags & feature) != 0);
813
3.27k
}
_abc.c:PyType_HasFeature
Line
Count
Source
804
28.9k
{
805
28.9k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
28.9k
    flags = type->tp_flags;
811
28.9k
#endif
812
28.9k
    return ((flags & feature) != 0);
813
28.9k
}
_functoolsmodule.c:PyType_HasFeature
Line
Count
Source
804
42.1k
{
805
42.1k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
42.1k
    flags = type->tp_flags;
811
42.1k
#endif
812
42.1k
    return ((flags & feature) != 0);
813
42.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
804
16
{
805
16
    unsigned long flags;
806
16
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
16
    flags = PyType_GetFlags(type);
809
#else
810
    flags = type->tp_flags;
811
#endif
812
16
    return ((flags & feature) != 0);
813
16
}
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature
Unexecuted instantiation: pwdmodule.c:PyType_HasFeature
getpath.c:PyType_HasFeature
Line
Count
Source
804
432
{
805
432
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
432
    flags = type->tp_flags;
811
432
#endif
812
432
    return ((flags & feature) != 0);
813
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
804
473M
{
805
473M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
473M
    flags = type->tp_flags;
811
473M
#endif
812
473M
    return ((flags & feature) != 0);
813
473M
}
Unexecuted instantiation: boolobject.c:PyType_HasFeature
bytes_methods.c:PyType_HasFeature
Line
Count
Source
804
659k
{
805
659k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
659k
    flags = type->tp_flags;
811
659k
#endif
812
659k
    return ((flags & feature) != 0);
813
659k
}
bytearrayobject.c:PyType_HasFeature
Line
Count
Source
804
2.09M
{
805
2.09M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.09M
    flags = type->tp_flags;
811
2.09M
#endif
812
2.09M
    return ((flags & feature) != 0);
813
2.09M
}
Unexecuted instantiation: capsule.c:PyType_HasFeature
Unexecuted instantiation: cellobject.c:PyType_HasFeature
classobject.c:PyType_HasFeature
Line
Count
Source
804
21.9M
{
805
21.9M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
21.9M
    flags = type->tp_flags;
811
21.9M
#endif
812
21.9M
    return ((flags & feature) != 0);
813
21.9M
}
codeobject.c:PyType_HasFeature
Line
Count
Source
804
332k
{
805
332k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
332k
    flags = type->tp_flags;
811
332k
#endif
812
332k
    return ((flags & feature) != 0);
813
332k
}
Unexecuted instantiation: complexobject.c:PyType_HasFeature
descrobject.c:PyType_HasFeature
Line
Count
Source
804
8.50M
{
805
8.50M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
8.50M
    flags = type->tp_flags;
811
8.50M
#endif
812
8.50M
    return ((flags & feature) != 0);
813
8.50M
}
enumobject.c:PyType_HasFeature
Line
Count
Source
804
44.4M
{
805
44.4M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
44.4M
    flags = type->tp_flags;
811
44.4M
#endif
812
44.4M
    return ((flags & feature) != 0);
813
44.4M
}
genobject.c:PyType_HasFeature
Line
Count
Source
804
2.18k
{
805
2.18k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
2.18k
    flags = type->tp_flags;
811
2.18k
#endif
812
2.18k
    return ((flags & feature) != 0);
813
2.18k
}
fileobject.c:PyType_HasFeature
Line
Count
Source
804
1.03k
{
805
1.03k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
1.03k
    flags = type->tp_flags;
811
1.03k
#endif
812
1.03k
    return ((flags & feature) != 0);
813
1.03k
}
Unexecuted instantiation: frameobject.c:PyType_HasFeature
funcobject.c:PyType_HasFeature
Line
Count
Source
804
28.7k
{
805
28.7k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
28.7k
    flags = type->tp_flags;
811
28.7k
#endif
812
28.7k
    return ((flags & feature) != 0);
813
28.7k
}
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature
iterobject.c:PyType_HasFeature
Line
Count
Source
804
3.99M
{
805
3.99M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
3.99M
    flags = type->tp_flags;
811
3.99M
#endif
812
3.99M
    return ((flags & feature) != 0);
813
3.99M
}
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
804
501
{
805
501
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
501
    flags = type->tp_flags;
811
501
#endif
812
501
    return ((flags & feature) != 0);
813
501
}
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
804
55.1k
{
805
55.1k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
55.1k
    flags = type->tp_flags;
811
55.1k
#endif
812
55.1k
    return ((flags & feature) != 0);
813
55.1k
}
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
814
815
5.94G
#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
816
817
420M
static inline int PyType_Check(PyObject *op) {
818
420M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
420M
}
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
817
79.1M
static inline int PyType_Check(PyObject *op) {
818
79.1M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
79.1M
}
Unexecuted instantiation: typevarobject.c:PyType_Check
Unexecuted instantiation: unicode_format.c:PyType_Check
Unexecuted instantiation: unicode_formatter.c:PyType_Check
Unexecuted instantiation: unicode_writer.c:PyType_Check
Unexecuted instantiation: unicodectype.c:PyType_Check
Unexecuted instantiation: unicodeobject.c:PyType_Check
unionobject.c:PyType_Check
Line
Count
Source
817
475
static inline int PyType_Check(PyObject *op) {
818
475
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
475
}
weakrefobject.c:PyType_Check
Line
Count
Source
817
42.6M
static inline int PyType_Check(PyObject *op) {
818
42.6M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
42.6M
}
Unexecuted instantiation: _warnings.c:PyType_Check
bltinmodule.c:PyType_Check
Line
Count
Source
817
9.05k
static inline int PyType_Check(PyObject *op) {
818
9.05k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
9.05k
}
ceval.c:PyType_Check
Line
Count
Source
817
162M
static inline int PyType_Check(PyObject *op) {
818
162M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
162M
}
Unexecuted instantiation: codecs.c:PyType_Check
Unexecuted instantiation: codegen.c:PyType_Check
Unexecuted instantiation: compile.c:PyType_Check
Unexecuted instantiation: context.c:PyType_Check
errors.c:PyType_Check
Line
Count
Source
817
95.2M
static inline int PyType_Check(PyObject *op) {
818
95.2M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
95.2M
}
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
817
1.41M
static inline int PyType_Check(PyObject *op) {
818
1.41M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
1.41M
}
Unexecuted instantiation: symtable.c:PyType_Check
Unexecuted instantiation: sysmodule.c:PyType_Check
Unexecuted instantiation: thread.c:PyType_Check
Unexecuted instantiation: traceback.c:PyType_Check
Unexecuted instantiation: tracemalloc.c:PyType_Check
Unexecuted instantiation: getopt.c:PyType_Check
Unexecuted instantiation: pystrcmp.c:PyType_Check
Unexecuted instantiation: pystrtod.c:PyType_Check
Unexecuted instantiation: pystrhex.c:PyType_Check
Unexecuted instantiation: dtoa.c:PyType_Check
Unexecuted instantiation: fileutils.c:PyType_Check
Unexecuted instantiation: suggestions.c:PyType_Check
Unexecuted instantiation: perf_trampoline.c:PyType_Check
Unexecuted instantiation: perf_jit_trampoline.c:PyType_Check
Unexecuted instantiation: remote_debugging.c:PyType_Check
Unexecuted instantiation: dynload_shlib.c:PyType_Check
Unexecuted instantiation: config.c:PyType_Check
Unexecuted instantiation: gcmodule.c:PyType_Check
Unexecuted instantiation: _asynciomodule.c:PyType_Check
Unexecuted instantiation: atexitmodule.c:PyType_Check
Unexecuted instantiation: faulthandler.c:PyType_Check
Unexecuted instantiation: posixmodule.c:PyType_Check
Unexecuted instantiation: signalmodule.c:PyType_Check
Unexecuted instantiation: _tracemalloc.c:PyType_Check
Unexecuted instantiation: _suggestions.c:PyType_Check
Unexecuted instantiation: _datetimemodule.c:PyType_Check
Unexecuted instantiation: _codecsmodule.c:PyType_Check
Unexecuted instantiation: _collectionsmodule.c:PyType_Check
Unexecuted instantiation: errnomodule.c:PyType_Check
Unexecuted instantiation: _iomodule.c:PyType_Check
Unexecuted instantiation: iobase.c:PyType_Check
Unexecuted instantiation: fileio.c:PyType_Check
Unexecuted instantiation: bytesio.c:PyType_Check
Unexecuted instantiation: bufferedio.c:PyType_Check
Unexecuted instantiation: textio.c:PyType_Check
Unexecuted instantiation: stringio.c:PyType_Check
Unexecuted instantiation: itertoolsmodule.c:PyType_Check
Unexecuted instantiation: sre.c:PyType_Check
Unexecuted instantiation: _sysconfig.c:PyType_Check
Unexecuted instantiation: _threadmodule.c:PyType_Check
Unexecuted instantiation: timemodule.c:PyType_Check
Unexecuted instantiation: _typesmodule.c:PyType_Check
Unexecuted instantiation: _typingmodule.c:PyType_Check
Unexecuted instantiation: _weakref.c:PyType_Check
_abc.c:PyType_Check
Line
Count
Source
817
2.38k
static inline int PyType_Check(PyObject *op) {
818
2.38k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
2.38k
}
Unexecuted instantiation: _functoolsmodule.c:PyType_Check
Unexecuted instantiation: _localemodule.c:PyType_Check
Unexecuted instantiation: _opcode.c:PyType_Check
Unexecuted instantiation: _operator.c:PyType_Check
Unexecuted instantiation: _stat.c:PyType_Check
Unexecuted instantiation: symtablemodule.c:PyType_Check
Unexecuted instantiation: pwdmodule.c:PyType_Check
Unexecuted instantiation: getpath.c:PyType_Check
Unexecuted instantiation: frozen.c:PyType_Check
Unexecuted instantiation: getbuildinfo.c:PyType_Check
Unexecuted instantiation: peg_api.c:PyType_Check
Unexecuted instantiation: file_tokenizer.c:PyType_Check
Unexecuted instantiation: helpers.c:PyType_Check
Unexecuted instantiation: myreadline.c:PyType_Check
abstract.c:PyType_Check
Line
Count
Source
817
31.7M
static inline int PyType_Check(PyObject *op) {
818
31.7M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
31.7M
}
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
817
8.49M
static inline int PyType_Check(PyObject *op) {
818
8.49M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
8.49M
}
Unexecuted instantiation: enumobject.c:PyType_Check
genobject.c:PyType_Check
Line
Count
Source
817
1.09k
static inline int PyType_Check(PyObject *op) {
818
1.09k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
1.09k
}
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
820
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
821
655M
#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
822
#endif
823
824
#define _PyType_CAST(op) \
825
376M
    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
826
827
21.5M
static inline int PyType_CheckExact(PyObject *op) {
828
21.5M
    return Py_IS_TYPE(op, &PyType_Type);
829
21.5M
}
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: unicode_format.c:PyType_CheckExact
Unexecuted instantiation: unicode_formatter.c:PyType_CheckExact
Unexecuted instantiation: unicode_writer.c:PyType_CheckExact
Unexecuted instantiation: unicodectype.c:PyType_CheckExact
Unexecuted instantiation: unicodeobject.c:PyType_CheckExact
Unexecuted instantiation: unionobject.c:PyType_CheckExact
Unexecuted instantiation: weakrefobject.c:PyType_CheckExact
Unexecuted instantiation: _warnings.c:PyType_CheckExact
Unexecuted instantiation: bltinmodule.c:PyType_CheckExact
Unexecuted instantiation: ceval.c:PyType_CheckExact
Unexecuted instantiation: codecs.c:PyType_CheckExact
Unexecuted instantiation: codegen.c:PyType_CheckExact
Unexecuted instantiation: compile.c:PyType_CheckExact
Unexecuted instantiation: context.c:PyType_CheckExact
Unexecuted instantiation: errors.c:PyType_CheckExact
Unexecuted instantiation: flowgraph.c:PyType_CheckExact
Unexecuted instantiation: frame.c:PyType_CheckExact
Unexecuted instantiation: future.c:PyType_CheckExact
Unexecuted instantiation: gc.c:PyType_CheckExact
Unexecuted instantiation: gc_gil.c:PyType_CheckExact
Unexecuted instantiation: getargs.c:PyType_CheckExact
Unexecuted instantiation: ceval_gil.c:PyType_CheckExact
Unexecuted instantiation: hamt.c:PyType_CheckExact
Unexecuted instantiation: hashtable.c:PyType_CheckExact
Unexecuted instantiation: import.c:PyType_CheckExact
Unexecuted instantiation: importdl.c:PyType_CheckExact
Unexecuted instantiation: initconfig.c:PyType_CheckExact
Unexecuted instantiation: instrumentation.c:PyType_CheckExact
Unexecuted instantiation: instruction_sequence.c:PyType_CheckExact
Unexecuted instantiation: intrinsics.c:PyType_CheckExact
Unexecuted instantiation: legacy_tracing.c:PyType_CheckExact
Unexecuted instantiation: lock.c:PyType_CheckExact
Unexecuted instantiation: marshal.c:PyType_CheckExact
Unexecuted instantiation: modsupport.c:PyType_CheckExact
Unexecuted instantiation: mysnprintf.c:PyType_CheckExact
Unexecuted instantiation: parking_lot.c:PyType_CheckExact
Unexecuted instantiation: preconfig.c:PyType_CheckExact
Unexecuted instantiation: pyarena.c:PyType_CheckExact
Unexecuted instantiation: pyctype.c:PyType_CheckExact
Unexecuted instantiation: pyhash.c:PyType_CheckExact
Unexecuted instantiation: pylifecycle.c:PyType_CheckExact
Unexecuted instantiation: pymath.c:PyType_CheckExact
Unexecuted instantiation: pystate.c:PyType_CheckExact
Unexecuted instantiation: pythonrun.c:PyType_CheckExact
Unexecuted instantiation: pytime.c:PyType_CheckExact
Unexecuted instantiation: qsbr.c:PyType_CheckExact
Unexecuted instantiation: bootstrap_hash.c:PyType_CheckExact
Unexecuted instantiation: specialize.c:PyType_CheckExact
Unexecuted instantiation: symtable.c:PyType_CheckExact
Unexecuted instantiation: sysmodule.c:PyType_CheckExact
Unexecuted instantiation: thread.c:PyType_CheckExact
Unexecuted instantiation: traceback.c:PyType_CheckExact
Unexecuted instantiation: tracemalloc.c:PyType_CheckExact
Unexecuted instantiation: getopt.c:PyType_CheckExact
Unexecuted instantiation: pystrcmp.c:PyType_CheckExact
Unexecuted instantiation: pystrtod.c:PyType_CheckExact
Unexecuted instantiation: pystrhex.c:PyType_CheckExact
Unexecuted instantiation: dtoa.c:PyType_CheckExact
Unexecuted instantiation: fileutils.c:PyType_CheckExact
Unexecuted instantiation: suggestions.c:PyType_CheckExact
Unexecuted instantiation: perf_trampoline.c:PyType_CheckExact
Unexecuted instantiation: perf_jit_trampoline.c:PyType_CheckExact
Unexecuted instantiation: remote_debugging.c:PyType_CheckExact
Unexecuted instantiation: dynload_shlib.c:PyType_CheckExact
Unexecuted instantiation: config.c:PyType_CheckExact
Unexecuted instantiation: gcmodule.c:PyType_CheckExact
Unexecuted instantiation: _asynciomodule.c:PyType_CheckExact
Unexecuted instantiation: atexitmodule.c:PyType_CheckExact
Unexecuted instantiation: faulthandler.c:PyType_CheckExact
Unexecuted instantiation: posixmodule.c:PyType_CheckExact
Unexecuted instantiation: signalmodule.c:PyType_CheckExact
Unexecuted instantiation: _tracemalloc.c:PyType_CheckExact
Unexecuted instantiation: _suggestions.c:PyType_CheckExact
Unexecuted instantiation: _datetimemodule.c:PyType_CheckExact
Unexecuted instantiation: _codecsmodule.c:PyType_CheckExact
Unexecuted instantiation: _collectionsmodule.c:PyType_CheckExact
Unexecuted instantiation: errnomodule.c:PyType_CheckExact
Unexecuted instantiation: _iomodule.c:PyType_CheckExact
Unexecuted instantiation: iobase.c:PyType_CheckExact
Unexecuted instantiation: fileio.c:PyType_CheckExact
Unexecuted instantiation: bytesio.c:PyType_CheckExact
Unexecuted instantiation: bufferedio.c:PyType_CheckExact
Unexecuted instantiation: textio.c:PyType_CheckExact
Unexecuted instantiation: stringio.c:PyType_CheckExact
Unexecuted instantiation: itertoolsmodule.c:PyType_CheckExact
Unexecuted instantiation: sre.c:PyType_CheckExact
Unexecuted instantiation: _sysconfig.c:PyType_CheckExact
Unexecuted instantiation: _threadmodule.c:PyType_CheckExact
Unexecuted instantiation: timemodule.c:PyType_CheckExact
Unexecuted instantiation: _typesmodule.c:PyType_CheckExact
Unexecuted instantiation: _typingmodule.c:PyType_CheckExact
Unexecuted instantiation: _weakref.c:PyType_CheckExact
Unexecuted instantiation: _abc.c:PyType_CheckExact
Unexecuted instantiation: _functoolsmodule.c:PyType_CheckExact
Unexecuted instantiation: _localemodule.c:PyType_CheckExact
Unexecuted instantiation: _opcode.c:PyType_CheckExact
Unexecuted instantiation: _operator.c:PyType_CheckExact
Unexecuted instantiation: _stat.c:PyType_CheckExact
Unexecuted instantiation: symtablemodule.c:PyType_CheckExact
Unexecuted instantiation: pwdmodule.c:PyType_CheckExact
Unexecuted instantiation: getpath.c:PyType_CheckExact
Unexecuted instantiation: frozen.c:PyType_CheckExact
Unexecuted instantiation: getbuildinfo.c:PyType_CheckExact
Unexecuted instantiation: peg_api.c:PyType_CheckExact
Unexecuted instantiation: file_tokenizer.c:PyType_CheckExact
Unexecuted instantiation: helpers.c:PyType_CheckExact
Unexecuted instantiation: myreadline.c:PyType_CheckExact
abstract.c:PyType_CheckExact
Line
Count
Source
827
21.5M
static inline int PyType_CheckExact(PyObject *op) {
828
21.5M
    return Py_IS_TYPE(op, &PyType_Type);
829
21.5M
}
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
830
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
831
21.5M
#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
832
#endif
833
834
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
835
PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
836
#endif
837
838
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030e0000
839
PyAPI_FUNC(int) PyType_Freeze(PyTypeObject *type);
840
#endif
841
842
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15)
843
PyAPI_FUNC(PyObject *) PyType_GetModuleByToken(PyTypeObject *type,
844
                                               const void *token);
845
#endif
846
847
#ifdef __cplusplus
848
}
849
#endif
850
#endif   // !Py_OBJECT_H