Coverage Report

Created: 2025-11-24 06:11

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
271M
    {                               \
91
271M
        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
92
271M
        (type)                      \
93
271M
    },
94
#endif
95
96
#define PyVarObject_HEAD_INIT(type, size) \
97
271M
    {                                     \
98
271M
        PyObject_HEAD_INIT(type)          \
99
271M
        (size)                            \
100
271M
    },
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
246G
#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
12.2G
#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
183
184
185
// Test if the 'x' object is the 'y' object, the same as "x is y" in Python.
186
PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y);
187
496M
#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
58.3G
    {
277
58.3G
        return ob->ob_type;
278
58.3G
    }
bytesobject.c:_Py_TYPE
Line
Count
Source
276
158M
    {
277
158M
        return ob->ob_type;
278
158M
    }
call.c:_Py_TYPE
Line
Count
Source
276
727M
    {
277
727M
        return ob->ob_type;
278
727M
    }
exceptions.c:_Py_TYPE
Line
Count
Source
276
115M
    {
277
115M
        return ob->ob_type;
278
115M
    }
genericaliasobject.c:_Py_TYPE
Line
Count
Source
276
1.56k
    {
277
1.56k
        return ob->ob_type;
278
1.56k
    }
floatobject.c:_Py_TYPE
Line
Count
Source
276
16.4M
    {
277
16.4M
        return ob->ob_type;
278
16.4M
    }
listobject.c:_Py_TYPE
Line
Count
Source
276
746M
    {
277
746M
        return ob->ob_type;
278
746M
    }
longobject.c:_Py_TYPE
Line
Count
Source
276
2.67G
    {
277
2.67G
        return ob->ob_type;
278
2.67G
    }
dictobject.c:_Py_TYPE
Line
Count
Source
276
6.92G
    {
277
6.92G
        return ob->ob_type;
278
6.92G
    }
memoryobject.c:_Py_TYPE
Line
Count
Source
276
216k
    {
277
216k
        return ob->ob_type;
278
216k
    }
moduleobject.c:_Py_TYPE
Line
Count
Source
276
23.5M
    {
277
23.5M
        return ob->ob_type;
278
23.5M
    }
object.c:_Py_TYPE
Line
Count
Source
276
11.2G
    {
277
11.2G
        return ob->ob_type;
278
11.2G
    }
Unexecuted instantiation: obmalloc.c:_Py_TYPE
Unexecuted instantiation: picklebufobject.c:_Py_TYPE
rangeobject.c:_Py_TYPE
Line
Count
Source
276
4.12M
    {
277
4.12M
        return ob->ob_type;
278
4.12M
    }
setobject.c:_Py_TYPE
Line
Count
Source
276
760M
    {
277
760M
        return ob->ob_type;
278
760M
    }
sliceobject.c:_Py_TYPE
Line
Count
Source
276
1.37M
    {
277
1.37M
        return ob->ob_type;
278
1.37M
    }
structseq.c:_Py_TYPE
Line
Count
Source
276
639k
    {
277
639k
        return ob->ob_type;
278
639k
    }
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
1.66G
    {
277
1.66G
        return ob->ob_type;
278
1.66G
    }
typeobject.c:_Py_TYPE
Line
Count
Source
276
1.50G
    {
277
1.50G
        return ob->ob_type;
278
1.50G
    }
typevarobject.c:_Py_TYPE
Line
Count
Source
276
258
    {
277
258
        return ob->ob_type;
278
258
    }
unicode_format.c:_Py_TYPE
Line
Count
Source
276
226M
    {
277
226M
        return ob->ob_type;
278
226M
    }
unicode_formatter.c:_Py_TYPE
Line
Count
Source
276
16.7M
    {
277
16.7M
        return ob->ob_type;
278
16.7M
    }
unicode_writer.c:_Py_TYPE
Line
Count
Source
276
12.6M
    {
277
12.6M
        return ob->ob_type;
278
12.6M
    }
Unexecuted instantiation: unicodectype.c:_Py_TYPE
unicodeobject.c:_Py_TYPE
Line
Count
Source
276
2.98G
    {
277
2.98G
        return ob->ob_type;
278
2.98G
    }
unionobject.c:_Py_TYPE
Line
Count
Source
276
1.59k
    {
277
1.59k
        return ob->ob_type;
278
1.59k
    }
weakrefobject.c:_Py_TYPE
Line
Count
Source
276
151M
    {
277
151M
        return ob->ob_type;
278
151M
    }
_warnings.c:_Py_TYPE
Line
Count
Source
276
16.0M
    {
277
16.0M
        return ob->ob_type;
278
16.0M
    }
bltinmodule.c:_Py_TYPE
Line
Count
Source
276
1.67G
    {
277
1.67G
        return ob->ob_type;
278
1.67G
    }
ceval.c:_Py_TYPE
Line
Count
Source
276
17.2G
    {
277
17.2G
        return ob->ob_type;
278
17.2G
    }
codecs.c:_Py_TYPE
Line
Count
Source
276
4.83M
    {
277
4.83M
        return ob->ob_type;
278
4.83M
    }
codegen.c:_Py_TYPE
Line
Count
Source
276
1.83k
    {
277
1.83k
        return ob->ob_type;
278
1.83k
    }
compile.c:_Py_TYPE
Line
Count
Source
276
202k
    {
277
202k
        return ob->ob_type;
278
202k
    }
context.c:_Py_TYPE
Line
Count
Source
276
182k
    {
277
182k
        return ob->ob_type;
278
182k
    }
errors.c:_Py_TYPE
Line
Count
Source
276
513M
    {
277
513M
        return ob->ob_type;
278
513M
    }
flowgraph.c:_Py_TYPE
Line
Count
Source
276
83.2k
    {
277
83.2k
        return ob->ob_type;
278
83.2k
    }
Unexecuted instantiation: frame.c:_Py_TYPE
Unexecuted instantiation: future.c:_Py_TYPE
gc.c:_Py_TYPE
Line
Count
Source
276
2.63G
    {
277
2.63G
        return ob->ob_type;
278
2.63G
    }
Unexecuted instantiation: gc_gil.c:_Py_TYPE
getargs.c:_Py_TYPE
Line
Count
Source
276
20.0M
    {
277
20.0M
        return ob->ob_type;
278
20.0M
    }
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
2.02M
    {
277
2.02M
        return ob->ob_type;
278
2.02M
    }
importdl.c:_Py_TYPE
Line
Count
Source
276
1.61k
    {
277
1.61k
        return ob->ob_type;
278
1.61k
    }
initconfig.c:_Py_TYPE
Line
Count
Source
276
784
    {
277
784
        return ob->ob_type;
278
784
    }
Unexecuted instantiation: instrumentation.c:_Py_TYPE
Unexecuted instantiation: instruction_sequence.c:_Py_TYPE
intrinsics.c:_Py_TYPE
Line
Count
Source
276
51.2k
    {
277
51.2k
        return ob->ob_type;
278
51.2k
    }
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE
Unexecuted instantiation: lock.c:_Py_TYPE
marshal.c:_Py_TYPE
Line
Count
Source
276
621k
    {
277
621k
        return ob->ob_type;
278
621k
    }
modsupport.c:_Py_TYPE
Line
Count
Source
276
5.66M
    {
277
5.66M
        return ob->ob_type;
278
5.66M
    }
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
28
    {
277
28
        return ob->ob_type;
278
28
    }
Unexecuted instantiation: pymath.c:_Py_TYPE
Unexecuted instantiation: pystate.c:_Py_TYPE
pythonrun.c:_Py_TYPE
Line
Count
Source
276
41.4k
    {
277
41.4k
        return ob->ob_type;
278
41.4k
    }
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
186M
    {
277
186M
        return ob->ob_type;
278
186M
    }
symtable.c:_Py_TYPE
Line
Count
Source
276
166k
    {
277
166k
        return ob->ob_type;
278
166k
    }
sysmodule.c:_Py_TYPE
Line
Count
Source
276
1.21M
    {
277
1.21M
        return ob->ob_type;
278
1.21M
    }
Unexecuted instantiation: thread.c:_Py_TYPE
traceback.c:_Py_TYPE
Line
Count
Source
276
72.2M
    {
277
72.2M
        return ob->ob_type;
278
72.2M
    }
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
3.96M
    {
277
3.96M
        return ob->ob_type;
278
3.96M
    }
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
62
    {
277
62
        return ob->ob_type;
278
62
    }
_codecsmodule.c:_Py_TYPE
Line
Count
Source
276
1.16M
    {
277
1.16M
        return ob->ob_type;
278
1.16M
    }
_collectionsmodule.c:_Py_TYPE
Line
Count
Source
276
113k
    {
277
113k
        return ob->ob_type;
278
113k
    }
Unexecuted instantiation: errnomodule.c:_Py_TYPE
_iomodule.c:_Py_TYPE
Line
Count
Source
276
22.0k
    {
277
22.0k
        return ob->ob_type;
278
22.0k
    }
iobase.c:_Py_TYPE
Line
Count
Source
276
25.6k
    {
277
25.6k
        return ob->ob_type;
278
25.6k
    }
fileio.c:_Py_TYPE
Line
Count
Source
276
32.0k
    {
277
32.0k
        return ob->ob_type;
278
32.0k
    }
bytesio.c:_Py_TYPE
Line
Count
Source
276
68.2k
    {
277
68.2k
        return ob->ob_type;
278
68.2k
    }
bufferedio.c:_Py_TYPE
Line
Count
Source
276
119k
    {
277
119k
        return ob->ob_type;
278
119k
    }
textio.c:_Py_TYPE
Line
Count
Source
276
740k
    {
277
740k
        return ob->ob_type;
278
740k
    }
stringio.c:_Py_TYPE
Line
Count
Source
276
28.3M
    {
277
28.3M
        return ob->ob_type;
278
28.3M
    }
itertoolsmodule.c:_Py_TYPE
Line
Count
Source
276
91.4k
    {
277
91.4k
        return ob->ob_type;
278
91.4k
    }
sre.c:_Py_TYPE
Line
Count
Source
276
258M
    {
277
258M
        return ob->ob_type;
278
258M
    }
Unexecuted instantiation: _sysconfig.c:_Py_TYPE
_threadmodule.c:_Py_TYPE
Line
Count
Source
276
35.9k
    {
277
35.9k
        return ob->ob_type;
278
35.9k
    }
Unexecuted instantiation: timemodule.c:_Py_TYPE
Unexecuted instantiation: _typesmodule.c:_Py_TYPE
Unexecuted instantiation: _typingmodule.c:_Py_TYPE
_weakref.c:_Py_TYPE
Line
Count
Source
276
44.2k
    {
277
44.2k
        return ob->ob_type;
278
44.2k
    }
_abc.c:_Py_TYPE
Line
Count
Source
276
199k
    {
277
199k
        return ob->ob_type;
278
199k
    }
_functoolsmodule.c:_Py_TYPE
Line
Count
Source
276
1.00M
    {
277
1.00M
        return ob->ob_type;
278
1.00M
    }
Unexecuted instantiation: _localemodule.c:_Py_TYPE
Unexecuted instantiation: _opcode.c:_Py_TYPE
_operator.c:_Py_TYPE
Line
Count
Source
276
1.68M
    {
277
1.68M
        return ob->ob_type;
278
1.68M
    }
_stat.c:_Py_TYPE
Line
Count
Source
276
365
    {
277
365
        return ob->ob_type;
278
365
    }
Unexecuted instantiation: symtablemodule.c:_Py_TYPE
Unexecuted instantiation: pwdmodule.c:_Py_TYPE
getpath.c:_Py_TYPE
Line
Count
Source
276
784
    {
277
784
        return ob->ob_type;
278
784
    }
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
4.23G
    {
277
4.23G
        return ob->ob_type;
278
4.23G
    }
Unexecuted instantiation: boolobject.c:_Py_TYPE
bytes_methods.c:_Py_TYPE
Line
Count
Source
276
2.88M
    {
277
2.88M
        return ob->ob_type;
278
2.88M
    }
bytearrayobject.c:_Py_TYPE
Line
Count
Source
276
187M
    {
277
187M
        return ob->ob_type;
278
187M
    }
capsule.c:_Py_TYPE
Line
Count
Source
276
15.2k
    {
277
15.2k
        return ob->ob_type;
278
15.2k
    }
cellobject.c:_Py_TYPE
Line
Count
Source
276
5.55k
    {
277
5.55k
        return ob->ob_type;
278
5.55k
    }
classobject.c:_Py_TYPE
Line
Count
Source
276
33.4M
    {
277
33.4M
        return ob->ob_type;
278
33.4M
    }
codeobject.c:_Py_TYPE
Line
Count
Source
276
5.94M
    {
277
5.94M
        return ob->ob_type;
278
5.94M
    }
complexobject.c:_Py_TYPE
Line
Count
Source
276
9.73k
    {
277
9.73k
        return ob->ob_type;
278
9.73k
    }
descrobject.c:_Py_TYPE
Line
Count
Source
276
1.06G
    {
277
1.06G
        return ob->ob_type;
278
1.06G
    }
enumobject.c:_Py_TYPE
Line
Count
Source
276
166M
    {
277
166M
        return ob->ob_type;
278
166M
    }
genobject.c:_Py_TYPE
Line
Count
Source
276
58.2M
    {
277
58.2M
        return ob->ob_type;
278
58.2M
    }
fileobject.c:_Py_TYPE
Line
Count
Source
276
6.75k
    {
277
6.75k
        return ob->ob_type;
278
6.75k
    }
frameobject.c:_Py_TYPE
Line
Count
Source
276
56
    {
277
56
        return ob->ob_type;
278
56
    }
funcobject.c:_Py_TYPE
Line
Count
Source
276
36.9k
    {
277
36.9k
        return ob->ob_type;
278
36.9k
    }
Unexecuted instantiation: interpolationobject.c:_Py_TYPE
iterobject.c:_Py_TYPE
Line
Count
Source
276
3.59M
    {
277
3.59M
        return ob->ob_type;
278
3.59M
    }
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.09k
    {
277
4.09k
        return ob->ob_type;
278
4.09k
    }
namespaceobject.c:_Py_TYPE
Line
Count
Source
276
393
    {
277
393
        return ob->ob_type;
278
393
    }
Unexecuted instantiation: _contextvars.c:_Py_TYPE
Python-ast.c:_Py_TYPE
Line
Count
Source
276
530k
    {
277
530k
        return ob->ob_type;
278
530k
    }
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
12.4k
    {
277
12.4k
        return ob->ob_type;
278
12.4k
    }
ast_preprocess.c:_Py_TYPE
Line
Count
Source
276
657
    {
277
657
        return ob->ob_type;
278
657
    }
ast_unparse.c:_Py_TYPE
Line
Count
Source
276
24
    {
277
24
        return ob->ob_type;
278
24
    }
Unexecuted instantiation: critical_section.c:_Py_TYPE
crossinterp.c:_Py_TYPE
Line
Count
Source
276
28
    {
277
28
        return ob->ob_type;
278
28
    }
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.0k
    {
277
67.0k
        return ob->ob_type;
278
67.0k
    }
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
156k
    {
277
156k
        return ob->ob_type;
278
156k
    }
Unexecuted instantiation: string_parser.c:_Py_TYPE
279
    #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
280
48.3G
    #   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
10.5G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
10.5G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
10.5G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
10.5G
    return  _PyVarObject_CAST(ob)->ob_size;
295
10.5G
}
bytesobject.c:Py_SIZE
Line
Count
Source
291
176M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
176M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
176M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
176M
    return  _PyVarObject_CAST(ob)->ob_size;
295
176M
}
call.c:Py_SIZE
Line
Count
Source
291
108M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
108M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
108M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
108M
    return  _PyVarObject_CAST(ob)->ob_size;
295
108M
}
exceptions.c:Py_SIZE
Line
Count
Source
291
20.0M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
20.0M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
20.0M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
20.0M
    return  _PyVarObject_CAST(ob)->ob_size;
295
20.0M
}
genericaliasobject.c:Py_SIZE
Line
Count
Source
291
36
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
36
    assert(Py_TYPE(ob) != &PyLong_Type);
293
36
    assert(Py_TYPE(ob) != &PyBool_Type);
294
36
    return  _PyVarObject_CAST(ob)->ob_size;
295
36
}
floatobject.c:Py_SIZE
Line
Count
Source
291
573k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
573k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
573k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
573k
    return  _PyVarObject_CAST(ob)->ob_size;
295
573k
}
listobject.c:Py_SIZE
Line
Count
Source
291
2.08G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.08G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.08G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.08G
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.08G
}
longobject.c:Py_SIZE
Line
Count
Source
291
1.38M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.38M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.38M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.38M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.38M
}
dictobject.c:Py_SIZE
Line
Count
Source
291
88.2k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
88.2k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
88.2k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
88.2k
    return  _PyVarObject_CAST(ob)->ob_size;
295
88.2k
}
memoryobject.c:Py_SIZE
Line
Count
Source
291
84.6k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
84.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
84.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
84.6k
    return  _PyVarObject_CAST(ob)->ob_size;
295
84.6k
}
moduleobject.c:Py_SIZE
Line
Count
Source
291
6.82k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
6.82k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
6.82k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
6.82k
    return  _PyVarObject_CAST(ob)->ob_size;
295
6.82k
}
object.c:Py_SIZE
Line
Count
Source
291
7.95M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
7.95M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
7.95M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
7.95M
    return  _PyVarObject_CAST(ob)->ob_size;
295
7.95M
}
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
319k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
319k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
319k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
319k
    return  _PyVarObject_CAST(ob)->ob_size;
295
319k
}
Unexecuted instantiation: templateobject.c:Py_SIZE
tupleobject.c:Py_SIZE
Line
Count
Source
291
4.33G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4.33G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4.33G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4.33G
    return  _PyVarObject_CAST(ob)->ob_size;
295
4.33G
}
typeobject.c:Py_SIZE
Line
Count
Source
291
884M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
884M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
884M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
884M
    return  _PyVarObject_CAST(ob)->ob_size;
295
884M
}
typevarobject.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: 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
98.3M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
98.3M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
98.3M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
98.3M
    return  _PyVarObject_CAST(ob)->ob_size;
295
98.3M
}
unionobject.c:Py_SIZE
Line
Count
Source
291
762
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
762
    assert(Py_TYPE(ob) != &PyLong_Type);
293
762
    assert(Py_TYPE(ob) != &PyBool_Type);
294
762
    return  _PyVarObject_CAST(ob)->ob_size;
295
762
}
Unexecuted instantiation: weakrefobject.c:Py_SIZE
_warnings.c:Py_SIZE
Line
Count
Source
291
2.40M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.40M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.40M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.40M
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.40M
}
bltinmodule.c:Py_SIZE
Line
Count
Source
291
53.4M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
53.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
53.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
53.4M
    return  _PyVarObject_CAST(ob)->ob_size;
295
53.4M
}
ceval.c:Py_SIZE
Line
Count
Source
291
2.39G
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
2.39G
    assert(Py_TYPE(ob) != &PyLong_Type);
293
2.39G
    assert(Py_TYPE(ob) != &PyBool_Type);
294
2.39G
    return  _PyVarObject_CAST(ob)->ob_size;
295
2.39G
}
codecs.c:Py_SIZE
Line
Count
Source
291
848k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
848k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
848k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
848k
    return  _PyVarObject_CAST(ob)->ob_size;
295
848k
}
codegen.c:Py_SIZE
Line
Count
Source
291
845
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
845
    assert(Py_TYPE(ob) != &PyLong_Type);
293
845
    assert(Py_TYPE(ob) != &PyBool_Type);
294
845
    return  _PyVarObject_CAST(ob)->ob_size;
295
845
}
compile.c:Py_SIZE
Line
Count
Source
291
51.7k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
51.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
51.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
51.7k
    return  _PyVarObject_CAST(ob)->ob_size;
295
51.7k
}
Unexecuted instantiation: context.c:Py_SIZE
Unexecuted instantiation: errors.c:Py_SIZE
flowgraph.c:Py_SIZE
Line
Count
Source
291
137k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
137k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
137k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
137k
    return  _PyVarObject_CAST(ob)->ob_size;
295
137k
}
Unexecuted instantiation: frame.c:Py_SIZE
Unexecuted instantiation: future.c:Py_SIZE
gc.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: gc_gil.c:Py_SIZE
getargs.c:Py_SIZE
Line
Count
Source
291
8.94M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
8.94M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
8.94M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
8.94M
    return  _PyVarObject_CAST(ob)->ob_size;
295
8.94M
}
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
196
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
196
    assert(Py_TYPE(ob) != &PyLong_Type);
293
196
    assert(Py_TYPE(ob) != &PyBool_Type);
294
196
    return  _PyVarObject_CAST(ob)->ob_size;
295
196
}
Unexecuted instantiation: importdl.c:Py_SIZE
initconfig.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: instrumentation.c:Py_SIZE
Unexecuted instantiation: instruction_sequence.c:Py_SIZE
intrinsics.c:Py_SIZE
Line
Count
Source
291
11.9M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
11.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
11.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
11.9M
    return  _PyVarObject_CAST(ob)->ob_size;
295
11.9M
}
Unexecuted instantiation: legacy_tracing.c:Py_SIZE
Unexecuted instantiation: lock.c:Py_SIZE
marshal.c:Py_SIZE
Line
Count
Source
291
1.65M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.65M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.65M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.65M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.65M
}
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
20.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
20.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
20.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
20.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
20.5k
}
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
7.79k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
7.79k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
7.79k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
7.79k
    return  _PyVarObject_CAST(ob)->ob_size;
295
7.79k
}
symtable.c:Py_SIZE
Line
Count
Source
291
58.6k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
58.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
58.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
58.6k
    return  _PyVarObject_CAST(ob)->ob_size;
295
58.6k
}
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
atexitmodule.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
}
Unexecuted instantiation: faulthandler.c:Py_SIZE
posixmodule.c:Py_SIZE
Line
Count
Source
291
1.26M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.26M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.26M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.26M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.26M
}
Unexecuted instantiation: signalmodule.c:Py_SIZE
Unexecuted instantiation: _tracemalloc.c:Py_SIZE
Unexecuted instantiation: _suggestions.c:Py_SIZE
_datetimemodule.c:Py_SIZE
Line
Count
Source
291
60
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
60
    assert(Py_TYPE(ob) != &PyLong_Type);
293
60
    assert(Py_TYPE(ob) != &PyBool_Type);
294
60
    return  _PyVarObject_CAST(ob)->ob_size;
295
60
}
Unexecuted instantiation: _codecsmodule.c:Py_SIZE
_collectionsmodule.c:Py_SIZE
Line
Count
Source
291
180M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
180M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
180M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
180M
    return  _PyVarObject_CAST(ob)->ob_size;
295
180M
}
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
7.96k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
7.96k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
7.96k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
7.96k
    return  _PyVarObject_CAST(ob)->ob_size;
295
7.96k
}
bytesio.c:Py_SIZE
Line
Count
Source
291
112k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
112k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
112k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
112k
    return  _PyVarObject_CAST(ob)->ob_size;
295
112k
}
bufferedio.c:Py_SIZE
Line
Count
Source
291
14.0k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
14.0k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
14.0k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
14.0k
    return  _PyVarObject_CAST(ob)->ob_size;
295
14.0k
}
textio.c:Py_SIZE
Line
Count
Source
291
16.5k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
16.5k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
16.5k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
16.5k
    return  _PyVarObject_CAST(ob)->ob_size;
295
16.5k
}
stringio.c:Py_SIZE
Line
Count
Source
291
37.9k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
37.9k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
37.9k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
37.9k
    return  _PyVarObject_CAST(ob)->ob_size;
295
37.9k
}
itertoolsmodule.c:Py_SIZE
Line
Count
Source
291
5.39k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
5.39k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
5.39k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
5.39k
    return  _PyVarObject_CAST(ob)->ob_size;
295
5.39k
}
sre.c:Py_SIZE
Line
Count
Source
291
50.9M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
50.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
50.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
50.9M
    return  _PyVarObject_CAST(ob)->ob_size;
295
50.9M
}
Unexecuted instantiation: _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
37.8k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
37.8k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
37.8k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
37.8k
    return  _PyVarObject_CAST(ob)->ob_size;
295
37.8k
}
_functoolsmodule.c:Py_SIZE
Line
Count
Source
291
155k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
155k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
155k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
155k
    return  _PyVarObject_CAST(ob)->ob_size;
295
155k
}
Unexecuted instantiation: _localemodule.c:Py_SIZE
Unexecuted instantiation: _opcode.c:Py_SIZE
_operator.c:Py_SIZE
Line
Count
Source
291
1.37M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
1.37M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
1.37M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
1.37M
    return  _PyVarObject_CAST(ob)->ob_size;
295
1.37M
}
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
252
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
252
    assert(Py_TYPE(ob) != &PyLong_Type);
293
252
    assert(Py_TYPE(ob) != &PyBool_Type);
294
252
    return  _PyVarObject_CAST(ob)->ob_size;
295
252
}
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
170k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
170k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
170k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
170k
    return  _PyVarObject_CAST(ob)->ob_size;
295
170k
}
Unexecuted instantiation: boolobject.c:Py_SIZE
bytes_methods.c:Py_SIZE
Line
Count
Source
291
398k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
398k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
398k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
398k
    return  _PyVarObject_CAST(ob)->ob_size;
295
398k
}
bytearrayobject.c:Py_SIZE
Line
Count
Source
291
116M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
116M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
116M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
116M
    return  _PyVarObject_CAST(ob)->ob_size;
295
116M
}
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
4.90M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4.90M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4.90M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4.90M
    return  _PyVarObject_CAST(ob)->ob_size;
295
4.90M
}
Unexecuted instantiation: complexobject.c:Py_SIZE
descrobject.c:Py_SIZE
Line
Count
Source
291
17.4M
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
17.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
293
17.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
294
17.4M
    return  _PyVarObject_CAST(ob)->ob_size;
295
17.4M
}
enumobject.c:Py_SIZE
Line
Count
Source
291
5.08k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
5.08k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
5.08k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
5.08k
    return  _PyVarObject_CAST(ob)->ob_size;
295
5.08k
}
Unexecuted instantiation: genobject.c:Py_SIZE
Unexecuted instantiation: fileobject.c:Py_SIZE
frameobject.c:Py_SIZE
Line
Count
Source
291
28
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
28
    assert(Py_TYPE(ob) != &PyLong_Type);
293
28
    assert(Py_TYPE(ob) != &PyBool_Type);
294
28
    return  _PyVarObject_CAST(ob)->ob_size;
295
28
}
funcobject.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: 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
204
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
204
    assert(Py_TYPE(ob) != &PyLong_Type);
293
204
    assert(Py_TYPE(ob) != &PyBool_Type);
294
204
    return  _PyVarObject_CAST(ob)->ob_size;
295
204
}
Unexecuted instantiation: Python-tokenize.c:Py_SIZE
Unexecuted instantiation: asdl.c:Py_SIZE
assemble.c:Py_SIZE
Line
Count
Source
291
786k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
786k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
786k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
786k
    return  _PyVarObject_CAST(ob)->ob_size;
295
786k
}
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
422
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
422
    assert(Py_TYPE(ob) != &PyLong_Type);
293
422
    assert(Py_TYPE(ob) != &PyBool_Type);
294
422
    return  _PyVarObject_CAST(ob)->ob_size;
295
422
}
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.71k
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
292
4.71k
    assert(Py_TYPE(ob) != &PyLong_Type);
293
4.71k
    assert(Py_TYPE(ob) != &PyBool_Type);
294
4.71k
    return  _PyVarObject_CAST(ob)->ob_size;
295
4.71k
}
Unexecuted instantiation: string_parser.c:Py_SIZE
296
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
297
10.5G
#  define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
298
#endif
299
#endif // !defined(_Py_OPAQUE_PYOBJECT)
300
301
19.5G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
19.5G
    return Py_TYPE(ob) == type;
303
19.5G
}
bytesobject.c:Py_IS_TYPE
Line
Count
Source
301
30.3M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
30.3M
    return Py_TYPE(ob) == type;
303
30.3M
}
Unexecuted instantiation: call.c:Py_IS_TYPE
exceptions.c:Py_IS_TYPE
Line
Count
Source
301
57.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
57.4M
    return Py_TYPE(ob) == type;
303
57.4M
}
Unexecuted instantiation: genericaliasobject.c:Py_IS_TYPE
floatobject.c:Py_IS_TYPE
Line
Count
Source
301
15.3M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
15.3M
    return Py_TYPE(ob) == type;
303
15.3M
}
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
1.29G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.29G
    return Py_TYPE(ob) == type;
303
1.29G
}
dictobject.c:Py_IS_TYPE
Line
Count
Source
301
5.02G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.02G
    return Py_TYPE(ob) == type;
303
5.02G
}
memoryobject.c:Py_IS_TYPE
Line
Count
Source
301
111k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
111k
    return Py_TYPE(ob) == type;
303
111k
}
moduleobject.c:Py_IS_TYPE
Line
Count
Source
301
23.5M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
23.5M
    return Py_TYPE(ob) == type;
303
23.5M
}
object.c:Py_IS_TYPE
Line
Count
Source
301
685M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
685M
    return Py_TYPE(ob) == type;
303
685M
}
Unexecuted instantiation: obmalloc.c:Py_IS_TYPE
Unexecuted instantiation: picklebufobject.c:Py_IS_TYPE
rangeobject.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
}
setobject.c:Py_IS_TYPE
Line
Count
Source
301
758M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
758M
    return Py_TYPE(ob) == type;
303
758M
}
sliceobject.c:Py_IS_TYPE
Line
Count
Source
301
968
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
968
    return Py_TYPE(ob) == type;
303
968
}
Unexecuted instantiation: structseq.c:Py_IS_TYPE
Unexecuted instantiation: templateobject.c:Py_IS_TYPE
tupleobject.c:Py_IS_TYPE
Line
Count
Source
301
692M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
692M
    return Py_TYPE(ob) == type;
303
692M
}
typeobject.c:Py_IS_TYPE
Line
Count
Source
301
220M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
220M
    return Py_TYPE(ob) == type;
303
220M
}
typevarobject.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
}
unicode_format.c:Py_IS_TYPE
Line
Count
Source
301
101M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
101M
    return Py_TYPE(ob) == type;
303
101M
}
unicode_formatter.c:Py_IS_TYPE
Line
Count
Source
301
16.7M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
16.7M
    return Py_TYPE(ob) == type;
303
16.7M
}
Unexecuted instantiation: unicode_writer.c:Py_IS_TYPE
Unexecuted instantiation: unicodectype.c:Py_IS_TYPE
unicodeobject.c:Py_IS_TYPE
Line
Count
Source
301
410M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
410M
    return Py_TYPE(ob) == type;
303
410M
}
unionobject.c:Py_IS_TYPE
Line
Count
Source
301
786
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
786
    return Py_TYPE(ob) == type;
303
786
}
weakrefobject.c:Py_IS_TYPE
Line
Count
Source
301
605k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
605k
    return Py_TYPE(ob) == type;
303
605k
}
_warnings.c:Py_IS_TYPE
Line
Count
Source
301
1.92M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.92M
    return Py_TYPE(ob) == type;
303
1.92M
}
bltinmodule.c:Py_IS_TYPE
Line
Count
Source
301
1.27G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.27G
    return Py_TYPE(ob) == type;
303
1.27G
}
ceval.c:Py_IS_TYPE
Line
Count
Source
301
6.91G
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
6.91G
    return Py_TYPE(ob) == type;
303
6.91G
}
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
52
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
52
    return Py_TYPE(ob) == type;
303
52
}
compile.c:Py_IS_TYPE
Line
Count
Source
301
202k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
202k
    return Py_TYPE(ob) == type;
303
202k
}
context.c:Py_IS_TYPE
Line
Count
Source
301
182k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
182k
    return Py_TYPE(ob) == type;
303
182k
}
Unexecuted instantiation: errors.c:Py_IS_TYPE
flowgraph.c:Py_IS_TYPE
Line
Count
Source
301
82.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
82.8k
    return Py_TYPE(ob) == type;
303
82.8k
}
Unexecuted instantiation: frame.c:Py_IS_TYPE
Unexecuted instantiation: future.c:Py_IS_TYPE
gc.c:Py_IS_TYPE
Line
Count
Source
301
184M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
184M
    return Py_TYPE(ob) == type;
303
184M
}
Unexecuted instantiation: gc_gil.c:Py_IS_TYPE
getargs.c:Py_IS_TYPE
Line
Count
Source
301
11.4M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
11.4M
    return Py_TYPE(ob) == type;
303
11.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
7.35k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
7.35k
    return Py_TYPE(ob) == type;
303
7.35k
}
importdl.c:Py_IS_TYPE
Line
Count
Source
301
1.36k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
1.36k
    return Py_TYPE(ob) == type;
303
1.36k
}
initconfig.c:Py_IS_TYPE
Line
Count
Source
301
224
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
224
    return Py_TYPE(ob) == type;
303
224
}
Unexecuted instantiation: instrumentation.c:Py_IS_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_IS_TYPE
intrinsics.c:Py_IS_TYPE
Line
Count
Source
301
24.7k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
24.7k
    return Py_TYPE(ob) == type;
303
24.7k
}
Unexecuted instantiation: legacy_tracing.c:Py_IS_TYPE
Unexecuted instantiation: lock.c:Py_IS_TYPE
marshal.c:Py_IS_TYPE
Line
Count
Source
301
621k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
621k
    return Py_TYPE(ob) == type;
303
621k
}
modsupport.c:Py_IS_TYPE
Line
Count
Source
301
14.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
14.8k
    return Py_TYPE(ob) == type;
303
14.8k
}
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
163M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
163M
    return Py_TYPE(ob) == type;
303
163M
}
Unexecuted instantiation: symtable.c:Py_IS_TYPE
sysmodule.c:Py_IS_TYPE
Line
Count
Source
301
823
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
823
    return Py_TYPE(ob) == type;
303
823
}
Unexecuted instantiation: thread.c:Py_IS_TYPE
traceback.c:Py_IS_TYPE
Line
Count
Source
301
72.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
72.2M
    return Py_TYPE(ob) == type;
303
72.2M
}
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
posixmodule.c:Py_IS_TYPE
Line
Count
Source
301
408k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
408k
    return Py_TYPE(ob) == type;
303
408k
}
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
25
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
25
    return Py_TYPE(ob) == type;
303
25
}
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
7.96k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
7.96k
    return Py_TYPE(ob) == type;
303
7.96k
}
bytesio.c:Py_IS_TYPE
Line
Count
Source
301
32.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
32.8k
    return Py_TYPE(ob) == type;
303
32.8k
}
bufferedio.c:Py_IS_TYPE
Line
Count
Source
301
28.1k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
28.1k
    return Py_TYPE(ob) == type;
303
28.1k
}
textio.c:Py_IS_TYPE
Line
Count
Source
301
161k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
161k
    return Py_TYPE(ob) == type;
303
161k
}
stringio.c:Py_IS_TYPE
Line
Count
Source
301
28.1M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
28.1M
    return Py_TYPE(ob) == type;
303
28.1M
}
Unexecuted instantiation: itertoolsmodule.c:Py_IS_TYPE
sre.c:Py_IS_TYPE
Line
Count
Source
301
140k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
140k
    return Py_TYPE(ob) == type;
303
140k
}
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
14.7k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
14.7k
    return Py_TYPE(ob) == type;
303
14.7k
}
_abc.c:Py_IS_TYPE
Line
Count
Source
301
11.8k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
11.8k
    return Py_TYPE(ob) == type;
303
11.8k
}
_functoolsmodule.c:Py_IS_TYPE
Line
Count
Source
301
108k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
108k
    return Py_TYPE(ob) == type;
303
108k
}
Unexecuted instantiation: _localemodule.c:Py_IS_TYPE
Unexecuted instantiation: _opcode.c:Py_IS_TYPE
_operator.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
}
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
28
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
28
    return Py_TYPE(ob) == type;
303
28
}
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
432M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
432M
    return Py_TYPE(ob) == type;
303
432M
}
Unexecuted instantiation: boolobject.c:Py_IS_TYPE
Unexecuted instantiation: bytes_methods.c:Py_IS_TYPE
bytearrayobject.c:Py_IS_TYPE
Line
Count
Source
301
61.0M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
61.0M
    return Py_TYPE(ob) == type;
303
61.0M
}
capsule.c:Py_IS_TYPE
Line
Count
Source
301
15.2k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
15.2k
    return Py_TYPE(ob) == type;
303
15.2k
}
cellobject.c:Py_IS_TYPE
Line
Count
Source
301
5.55k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
5.55k
    return Py_TYPE(ob) == type;
303
5.55k
}
Unexecuted instantiation: classobject.c:Py_IS_TYPE
codeobject.c:Py_IS_TYPE
Line
Count
Source
301
4.32M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
4.32M
    return Py_TYPE(ob) == type;
303
4.32M
}
complexobject.c:Py_IS_TYPE
Line
Count
Source
301
9.73k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
9.73k
    return Py_TYPE(ob) == type;
303
9.73k
}
descrobject.c:Py_IS_TYPE
Line
Count
Source
301
559M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
559M
    return Py_TYPE(ob) == type;
303
559M
}
Unexecuted instantiation: enumobject.c:Py_IS_TYPE
genobject.c:Py_IS_TYPE
Line
Count
Source
301
58.2M
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
58.2M
    return Py_TYPE(ob) == type;
303
58.2M
}
Unexecuted instantiation: fileobject.c:Py_IS_TYPE
frameobject.c:Py_IS_TYPE
Line
Count
Source
301
28
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
28
    return Py_TYPE(ob) == type;
303
28
}
funcobject.c:Py_IS_TYPE
Line
Count
Source
301
137
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
137
    return Py_TYPE(ob) == type;
303
137
}
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
Python-ast.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
}
Unexecuted instantiation: Python-tokenize.c:Py_IS_TYPE
Unexecuted instantiation: asdl.c:Py_IS_TYPE
Unexecuted instantiation: assemble.c:Py_IS_TYPE
ast.c:Py_IS_TYPE
Line
Count
Source
301
12.4k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.4k
    return Py_TYPE(ob) == type;
303
12.4k
}
Unexecuted instantiation: ast_preprocess.c:Py_IS_TYPE
ast_unparse.c:Py_IS_TYPE
Line
Count
Source
301
24
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
24
    return Py_TYPE(ob) == type;
303
24
}
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.0k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
12.0k
    return Py_TYPE(ob) == type;
303
12.0k
}
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
156k
static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
302
156k
    return Py_TYPE(ob) == type;
303
156k
}
Unexecuted instantiation: string_parser.c:Py_IS_TYPE
304
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
305
30.2G
#  define Py_IS_TYPE(ob, type) Py_IS_TYPE(_PyObject_CAST(ob), (type))
306
#endif
307
308
309
#ifndef _Py_OPAQUE_PYOBJECT
310
1.35G
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
1.35G
    ob->ob_type = type;
312
1.35G
}
bytesobject.c:Py_SET_TYPE
Line
Count
Source
310
49.2M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
49.2M
    ob->ob_type = type;
312
49.2M
}
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
890k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
890k
    ob->ob_type = type;
312
890k
}
Unexecuted instantiation: listobject.c:Py_SET_TYPE
longobject.c:Py_SET_TYPE
Line
Count
Source
310
147M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
147M
    ob->ob_type = type;
312
147M
}
Unexecuted instantiation: dictobject.c:Py_SET_TYPE
Unexecuted instantiation: memoryobject.c:Py_SET_TYPE
moduleobject.c:Py_SET_TYPE
Line
Count
Source
310
795
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
795
    ob->ob_type = type;
312
795
}
object.c:Py_SET_TYPE
Line
Count
Source
310
1.92M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
1.92M
    ob->ob_type = type;
312
1.92M
}
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
224
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
224
    ob->ob_type = type;
312
224
}
Unexecuted instantiation: templateobject.c:Py_SET_TYPE
Unexecuted instantiation: tupleobject.c:Py_SET_TYPE
typeobject.c:Py_SET_TYPE
Line
Count
Source
310
149M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
149M
    ob->ob_type = type;
312
149M
}
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
548M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
548M
    ob->ob_type = type;
312
548M
}
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
461M
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
461M
    ob->ob_type = type;
312
461M
}
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
134
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
134
    ob->ob_type = type;
312
134
}
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
24
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
24
    ob->ob_type = type;
312
24
}
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
3.84k
static inline void Py_SET_TYPE(PyObject *ob, PyTypeObject *type) {
311
3.84k
    ob->ob_type = type;
312
3.84k
}
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.35G
#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
315
#endif
316
317
1.59G
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
1.59G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
1.59G
    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.59G
    ob->ob_size = size;
324
1.59G
#endif
325
1.59G
}
bytesobject.c:Py_SET_SIZE
Line
Count
Source
317
54.4M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
54.4M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
54.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
54.4M
    ob->ob_size = size;
324
54.4M
#endif
325
54.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
786M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
786M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
786M
    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
786M
    ob->ob_size = size;
324
786M
#endif
325
786M
}
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
158k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
158k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
158k
    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
158k
    ob->ob_size = size;
324
158k
#endif
325
158k
}
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
319k
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
319k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
319k
    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
319k
    ob->ob_size = size;
324
319k
#endif
325
319k
}
Unexecuted instantiation: templateobject.c:Py_SET_SIZE
Unexecuted instantiation: tupleobject.c:Py_SET_SIZE
typeobject.c:Py_SET_SIZE
Line
Count
Source
317
2.17M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
2.17M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
2.17M
    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.17M
    ob->ob_size = size;
324
2.17M
#endif
325
2.17M
}
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.7M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
20.7M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
20.7M
    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.7M
    ob->ob_size = size;
324
20.7M
#endif
325
20.7M
}
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
367M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
367M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
367M
    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
367M
    ob->ob_size = size;
324
367M
#endif
325
367M
}
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
261M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
261M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
261M
    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
261M
    ob->ob_size = size;
324
261M
#endif
325
261M
}
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
90.0M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
90.0M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
90.0M
    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
90.0M
    ob->ob_size = size;
324
90.0M
#endif
325
90.0M
}
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
376
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
376
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
376
    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
376
    ob->ob_size = size;
324
376
#endif
325
376
}
Unexecuted instantiation: boolobject.c:Py_SET_SIZE
Unexecuted instantiation: bytes_methods.c:Py_SET_SIZE
bytearrayobject.c:Py_SET_SIZE
Line
Count
Source
317
9.51M
static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
318
9.51M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
319
9.51M
    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
9.51M
    ob->ob_size = size;
324
9.51M
#endif
325
9.51M
}
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.59G
#  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
24
#define Py_TP_USE_SPEC NULL
426
#endif
427
428
/* Generic type check */
429
PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
430
431
846M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
846M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
846M
}
Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck
Unexecuted instantiation: call.c:PyObject_TypeCheck
exceptions.c:PyObject_TypeCheck
Line
Count
Source
431
1.02M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.02M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.02M
}
Unexecuted instantiation: genericaliasobject.c:PyObject_TypeCheck
floatobject.c:PyObject_TypeCheck
Line
Count
Source
431
10.8M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
10.8M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
10.8M
}
Unexecuted instantiation: listobject.c:PyObject_TypeCheck
longobject.c:PyObject_TypeCheck
Line
Count
Source
431
2.72M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
2.72M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
2.72M
}
dictobject.c:PyObject_TypeCheck
Line
Count
Source
431
13.9M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
13.9M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
13.9M
}
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck
moduleobject.c:PyObject_TypeCheck
Line
Count
Source
431
23.5M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
23.5M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
23.5M
}
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
105M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
105M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
105M
}
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
20.6k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
20.6k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
20.6k
}
_warnings.c:PyObject_TypeCheck
Line
Count
Source
431
1.17M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.17M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.17M
}
bltinmodule.c:PyObject_TypeCheck
Line
Count
Source
431
9.68M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
9.68M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
9.68M
}
ceval.c:PyObject_TypeCheck
Line
Count
Source
431
49
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
49
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
49
}
codecs.c:PyObject_TypeCheck
Line
Count
Source
431
532k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
532k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
532k
}
codegen.c:PyObject_TypeCheck
Line
Count
Source
431
26
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
26
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
26
}
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.64M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
1.64M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
1.64M
}
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
6.98k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
6.98k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
6.98k
}
importdl.c:PyObject_TypeCheck
Line
Count
Source
431
683
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
683
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
683
}
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
14.8k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
14.8k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
14.8k
}
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
11.9k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
11.9k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
11.9k
}
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
25
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
25
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
25
}
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
14.7k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
14.7k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
14.7k
}
Unexecuted instantiation: _abc.c:PyObject_TypeCheck
_functoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
431
108k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
108k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
108k
}
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
56.4M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
56.4M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
56.4M
}
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck
Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck
bytearrayobject.c:PyObject_TypeCheck
Line
Count
Source
431
59.6M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
59.6M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
59.6M
}
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
559M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
559M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
559M
}
Unexecuted instantiation: enumobject.c:PyObject_TypeCheck
Unexecuted instantiation: genobject.c:PyObject_TypeCheck
Unexecuted instantiation: fileobject.c:PyObject_TypeCheck
Unexecuted instantiation: frameobject.c:PyObject_TypeCheck
funcobject.c:PyObject_TypeCheck
Line
Count
Source
431
8
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
8
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
8
}
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.0k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
432
12.0k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
433
12.0k
}
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
849M
#  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
988M
#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.31G
#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
1.18G
#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.68G
#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
1.18G
#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
2.78M
#define Py_TPFLAGS_SEQUENCE (1 << 5)
548
/* Set if instances of the type object are treated as mappings for pattern matching */
549
2.78M
#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
289k
#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
555
556
/* Set if the type object is immutable: type attributes cannot be set nor deleted */
557
2.15M
#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
558
559
/* Set if the type object is dynamically allocated */
560
502M
#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
561
562
/* Set if the type allows subclassing */
563
1.11M
#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
742M
#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
27.4M
#define Py_TPFLAGS_READY (1UL << 12)
576
577
/* Set while the type is being 'readied', to prevent recursive ready calls */
578
564k
#define Py_TPFLAGS_READYING (1UL << 13)
579
580
/* Objects support garbage collection (see objimpl.h) */
581
7.68G
#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
280k
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
588
#endif
589
590
/* Objects behave like an unbound method */
591
168M
#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.3M
#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
560k
#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
11.0M
#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
606
607
/* These flags are used to determine if a type is a subclass. */
608
215
#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
609
128
#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
610
690
#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
611
2
#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
612
8.81M
#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
613
138
#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
614
2.63k
#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
615
104
#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
616
617
280k
#define Py_TPFLAGS_DEFAULT  ( \
618
280k
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
619
280k
                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
271M
#define _Py_IMMORTAL_FLAGS (1 << 0)
639
#define _Py_LEGACY_ABI_CHECK_FLAG (1 << 1) /* see PyModuleDef_Init() */
640
271M
#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
28
#define Py_CONSTANT_ZERO 5
651
28
#define Py_CONSTANT_ONE 6
652
380k
#define Py_CONSTANT_EMPTY_STR 7
653
5.70M
#define Py_CONSTANT_EMPTY_BYTES 8
654
28
#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
2.29G
#  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
223M
#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
223M
#  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
485M
#  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
28.0M
#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
704
#endif
705
706
/* Rich comparison opcodes */
707
70.3M
#define Py_LT 0
708
2.05M
#define Py_LE 1
709
591M
#define Py_EQ 2
710
84.3M
#define Py_NE 3
711
3.42M
#define Py_GT 4
712
1.59M
#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
175M
    do {                                                                    \
730
175M
        switch (op) {                                                       \
731
141M
        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
732
141M
        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
733
32.0M
        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
734
32.0M
        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
735
1.85M
        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
736
460k
        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
737
188
        default:                                                            \
738
0
            Py_UNREACHABLE();                                               \
739
175M
        }                                                                   \
740
175M
    } 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
9.34G
{
805
9.34G
    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
9.34G
    return ((flags & feature) != 0);
813
9.34G
}
bytesobject.c:PyType_HasFeature
Line
Count
Source
804
85.8M
{
805
85.8M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
85.8M
    flags = type->tp_flags;
811
85.8M
#endif
812
85.8M
    return ((flags & feature) != 0);
813
85.8M
}
call.c:PyType_HasFeature
Line
Count
Source
804
547M
{
805
547M
    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
547M
    flags = type->tp_flags;
811
547M
#endif
812
547M
    return ((flags & feature) != 0);
813
547M
}
exceptions.c:PyType_HasFeature
Line
Count
Source
804
1.87M
{
805
1.87M
    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.87M
    flags = type->tp_flags;
811
1.87M
#endif
812
1.87M
    return ((flags & feature) != 0);
813
1.87M
}
genericaliasobject.c:PyType_HasFeature
Line
Count
Source
804
1.46k
{
805
1.46k
    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.46k
    flags = type->tp_flags;
811
1.46k
#endif
812
1.46k
    return ((flags & feature) != 0);
813
1.46k
}
floatobject.c:PyType_HasFeature
Line
Count
Source
804
1.17M
{
805
1.17M
    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.17M
    flags = type->tp_flags;
811
1.17M
#endif
812
1.17M
    return ((flags & feature) != 0);
813
1.17M
}
listobject.c:PyType_HasFeature
Line
Count
Source
804
264M
{
805
264M
    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
264M
    flags = type->tp_flags;
811
264M
#endif
812
264M
    return ((flags & feature) != 0);
813
264M
}
longobject.c:PyType_HasFeature
Line
Count
Source
804
1.36G
{
805
1.36G
    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.36G
    flags = type->tp_flags;
811
1.36G
#endif
812
1.36G
    return ((flags & feature) != 0);
813
1.36G
}
dictobject.c:PyType_HasFeature
Line
Count
Source
804
1.08G
{
805
1.08G
    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.08G
    flags = type->tp_flags;
811
1.08G
#endif
812
1.08G
    return ((flags & feature) != 0);
813
1.08G
}
memoryobject.c:PyType_HasFeature
Line
Count
Source
804
78.1k
{
805
78.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
78.1k
    flags = type->tp_flags;
811
78.1k
#endif
812
78.1k
    return ((flags & feature) != 0);
813
78.1k
}
moduleobject.c:PyType_HasFeature
Line
Count
Source
804
18.8k
{
805
18.8k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
18.8k
    flags = type->tp_flags;
811
18.8k
#endif
812
18.8k
    return ((flags & feature) != 0);
813
18.8k
}
object.c:PyType_HasFeature
Line
Count
Source
804
1.27G
{
805
1.27G
    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.27G
    flags = type->tp_flags;
811
1.27G
#endif
812
1.27G
    return ((flags & feature) != 0);
813
1.27G
}
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
146M
{
805
146M
    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
146M
    flags = type->tp_flags;
811
146M
#endif
812
146M
    return ((flags & feature) != 0);
813
146M
}
typeobject.c:PyType_HasFeature
Line
Count
Source
804
372M
{
805
372M
    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
372M
    flags = type->tp_flags;
811
372M
#endif
812
372M
    return ((flags & feature) != 0);
813
372M
}
typevarobject.c:PyType_HasFeature
Line
Count
Source
804
36
{
805
36
    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
36
    flags = type->tp_flags;
811
36
#endif
812
36
    return ((flags & feature) != 0);
813
36
}
unicode_format.c:PyType_HasFeature
Line
Count
Source
804
120M
{
805
120M
    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
120M
    flags = type->tp_flags;
811
120M
#endif
812
120M
    return ((flags & feature) != 0);
813
120M
}
Unexecuted instantiation: unicode_formatter.c:PyType_HasFeature
unicode_writer.c:PyType_HasFeature
Line
Count
Source
804
780k
{
805
780k
    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
780k
    flags = type->tp_flags;
811
780k
#endif
812
780k
    return ((flags & feature) != 0);
813
780k
}
Unexecuted instantiation: unicodectype.c:PyType_HasFeature
unicodeobject.c:PyType_HasFeature
Line
Count
Source
804
1.89G
{
805
1.89G
    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.89G
    flags = type->tp_flags;
811
1.89G
#endif
812
1.89G
    return ((flags & feature) != 0);
813
1.89G
}
unionobject.c:PyType_HasFeature
Line
Count
Source
804
786
{
805
786
    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
786
    flags = type->tp_flags;
811
786
#endif
812
786
    return ((flags & feature) != 0);
813
786
}
weakrefobject.c:PyType_HasFeature
Line
Count
Source
804
50.3M
{
805
50.3M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
50.3M
    flags = type->tp_flags;
811
50.3M
#endif
812
50.3M
    return ((flags & feature) != 0);
813
50.3M
}
_warnings.c:PyType_HasFeature
Line
Count
Source
804
12.9M
{
805
12.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
12.9M
    flags = type->tp_flags;
811
12.9M
#endif
812
12.9M
    return ((flags & feature) != 0);
813
12.9M
}
bltinmodule.c:PyType_HasFeature
Line
Count
Source
804
264M
{
805
264M
    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
264M
    flags = type->tp_flags;
811
264M
#endif
812
264M
    return ((flags & feature) != 0);
813
264M
}
ceval.c:PyType_HasFeature
Line
Count
Source
804
367M
{
805
367M
    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
367M
    flags = type->tp_flags;
811
367M
#endif
812
367M
    return ((flags & feature) != 0);
813
367M
}
codecs.c:PyType_HasFeature
Line
Count
Source
804
1.96M
{
805
1.96M
    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.96M
    flags = type->tp_flags;
811
1.96M
#endif
812
1.96M
    return ((flags & feature) != 0);
813
1.96M
}
codegen.c:PyType_HasFeature
Line
Count
Source
804
1.75k
{
805
1.75k
    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.75k
    flags = type->tp_flags;
811
1.75k
#endif
812
1.75k
    return ((flags & feature) != 0);
813
1.75k
}
Unexecuted instantiation: compile.c:PyType_HasFeature
context.c:PyType_HasFeature
Line
Count
Source
804
42
{
805
42
    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
    flags = type->tp_flags;
811
42
#endif
812
42
    return ((flags & feature) != 0);
813
42
}
errors.c:PyType_HasFeature
Line
Count
Source
804
487M
{
805
487M
    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
487M
    flags = type->tp_flags;
811
487M
#endif
812
487M
    return ((flags & feature) != 0);
813
487M
}
flowgraph.c:PyType_HasFeature
Line
Count
Source
804
411
{
805
411
    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
411
    flags = type->tp_flags;
811
411
#endif
812
411
    return ((flags & feature) != 0);
813
411
}
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
8.03M
{
805
8.03M
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
8.03M
    flags = type->tp_flags;
811
8.03M
#endif
812
8.03M
    return ((flags & feature) != 0);
813
8.03M
}
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
2.00M
{
805
2.00M
    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.00M
    flags = type->tp_flags;
811
2.00M
#endif
812
2.00M
    return ((flags & feature) != 0);
813
2.00M
}
importdl.c:PyType_HasFeature
Line
Count
Source
804
248
{
805
248
    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
248
    flags = type->tp_flags;
811
248
#endif
812
248
    return ((flags & feature) != 0);
813
248
}
initconfig.c:PyType_HasFeature
Line
Count
Source
804
560
{
805
560
    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
560
    flags = type->tp_flags;
811
560
#endif
812
560
    return ((flags & feature) != 0);
813
560
}
Unexecuted instantiation: instrumentation.c:PyType_HasFeature
Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature
intrinsics.c:PyType_HasFeature
Line
Count
Source
804
26.4k
{
805
26.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
26.4k
    flags = type->tp_flags;
811
26.4k
#endif
812
26.4k
    return ((flags & feature) != 0);
813
26.4k
}
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
28
{
805
28
    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
    flags = type->tp_flags;
811
28
#endif
812
28
    return ((flags & feature) != 0);
813
28
}
Unexecuted instantiation: pymath.c:PyType_HasFeature
Unexecuted instantiation: pystate.c:PyType_HasFeature
pythonrun.c:PyType_HasFeature
Line
Count
Source
804
41.4k
{
805
41.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
41.4k
    flags = type->tp_flags;
811
41.4k
#endif
812
41.4k
    return ((flags & feature) != 0);
813
41.4k
}
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
3.51M
{
805
3.51M
    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.51M
    flags = type->tp_flags;
811
3.51M
#endif
812
3.51M
    return ((flags & feature) != 0);
813
3.51M
}
symtable.c:PyType_HasFeature
Line
Count
Source
804
166k
{
805
166k
    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
166k
    flags = type->tp_flags;
811
166k
#endif
812
166k
    return ((flags & feature) != 0);
813
166k
}
sysmodule.c:PyType_HasFeature
Line
Count
Source
804
1.21M
{
805
1.21M
    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.21M
    flags = type->tp_flags;
811
1.21M
#endif
812
1.21M
    return ((flags & feature) != 0);
813
1.21M
}
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
3.14M
{
805
3.14M
    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.14M
    flags = type->tp_flags;
811
3.14M
#endif
812
3.14M
    return ((flags & feature) != 0);
813
3.14M
}
Unexecuted instantiation: signalmodule.c:PyType_HasFeature
Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: _suggestions.c:PyType_HasFeature
_datetimemodule.c:PyType_HasFeature
Line
Count
Source
804
9
{
805
9
    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
9
    flags = type->tp_flags;
811
9
#endif
812
9
    return ((flags & feature) != 0);
813
9
}
_codecsmodule.c:PyType_HasFeature
Line
Count
Source
804
1.16M
{
805
1.16M
    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.16M
    flags = type->tp_flags;
811
1.16M
#endif
812
1.16M
    return ((flags & feature) != 0);
813
1.16M
}
_collectionsmodule.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
}
Unexecuted instantiation: errnomodule.c:PyType_HasFeature
_iomodule.c:PyType_HasFeature
Line
Count
Source
804
22.0k
{
805
22.0k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
22.0k
    flags = type->tp_flags;
811
22.0k
#endif
812
22.0k
    return ((flags & feature) != 0);
813
22.0k
}
Unexecuted instantiation: iobase.c:PyType_HasFeature
fileio.c:PyType_HasFeature
Line
Count
Source
804
7.96k
{
805
7.96k
    unsigned long flags;
806
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
    flags = PyType_GetFlags(type);
809
#else
810
7.96k
    flags = type->tp_flags;
811
7.96k
#endif
812
7.96k
    return ((flags & feature) != 0);
813
7.96k
}
Unexecuted instantiation: bytesio.c:PyType_HasFeature
bufferedio.c:PyType_HasFeature
Line
Count
Source
804
13.5k
{
805
13.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
13.5k
    flags = type->tp_flags;
811
13.5k
#endif
812
13.5k
    return ((flags & feature) != 0);
813
13.5k
}
textio.c:PyType_HasFeature
Line
Count
Source
804
549k
{
805
549k
    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
549k
    flags = type->tp_flags;
811
549k
#endif
812
549k
    return ((flags & feature) != 0);
813
549k
}
stringio.c:PyType_HasFeature
Line
Count
Source
804
103k
{
805
103k
    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
103k
    flags = type->tp_flags;
811
103k
#endif
812
103k
    return ((flags & feature) != 0);
813
103k
}
itertoolsmodule.c:PyType_HasFeature
Line
Count
Source
804
2
{
805
2
    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
    flags = type->tp_flags;
811
2
#endif
812
2
    return ((flags & feature) != 0);
813
2
}
sre.c:PyType_HasFeature
Line
Count
Source
804
183M
{
805
183M
    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
183M
    flags = type->tp_flags;
811
183M
#endif
812
183M
    return ((flags & feature) != 0);
813
183M
}
Unexecuted instantiation: _sysconfig.c:PyType_HasFeature
_threadmodule.c:PyType_HasFeature
Line
Count
Source
804
2
{
805
2
    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
    flags = type->tp_flags;
811
2
#endif
812
2
    return ((flags & feature) != 0);
813
2
}
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
14.7k
{
805
14.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
14.7k
    flags = type->tp_flags;
811
14.7k
#endif
812
14.7k
    return ((flags & feature) != 0);
813
14.7k
}
_abc.c:PyType_HasFeature
Line
Count
Source
804
55.4k
{
805
55.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
55.4k
    flags = type->tp_flags;
811
55.4k
#endif
812
55.4k
    return ((flags & feature) != 0);
813
55.4k
}
_functoolsmodule.c:PyType_HasFeature
Line
Count
Source
804
46.7k
{
805
46.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
46.7k
    flags = type->tp_flags;
811
46.7k
#endif
812
46.7k
    return ((flags & feature) != 0);
813
46.7k
}
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
365
{
805
365
    unsigned long flags;
806
365
#ifdef Py_LIMITED_API
807
    // PyTypeObject is opaque in the limited C API
808
365
    flags = PyType_GetFlags(type);
809
#else
810
    flags = type->tp_flags;
811
#endif
812
365
    return ((flags & feature) != 0);
813
365
}
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature
Unexecuted instantiation: pwdmodule.c:PyType_HasFeature
getpath.c:PyType_HasFeature
Line
Count
Source
804
756
{
805
756
    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
756
    flags = type->tp_flags;
811
756
#endif
812
756
    return ((flags & feature) != 0);
813
756
}
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
705M
{
805
705M
    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
705M
    flags = type->tp_flags;
811
705M
#endif
812
705M
    return ((flags & feature) != 0);
813
705M
}
Unexecuted instantiation: boolobject.c:PyType_HasFeature
bytes_methods.c:PyType_HasFeature
Line
Count
Source
804
797k
{
805
797k
    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
797k
    flags = type->tp_flags;
811
797k
#endif
812
797k
    return ((flags & feature) != 0);
813
797k
}
bytearrayobject.c:PyType_HasFeature
Line
Count
Source
804
2.23M
{
805
2.23M
    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.23M
    flags = type->tp_flags;
811
2.23M
#endif
812
2.23M
    return ((flags & feature) != 0);
813
2.23M
}
Unexecuted instantiation: capsule.c:PyType_HasFeature
Unexecuted instantiation: cellobject.c:PyType_HasFeature
classobject.c:PyType_HasFeature
Line
Count
Source
804
33.4M
{
805
33.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
33.4M
    flags = type->tp_flags;
811
33.4M
#endif
812
33.4M
    return ((flags & feature) != 0);
813
33.4M
}
codeobject.c:PyType_HasFeature
Line
Count
Source
804
1.58M
{
805
1.58M
    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.58M
    flags = type->tp_flags;
811
1.58M
#endif
812
1.58M
    return ((flags & feature) != 0);
813
1.58M
}
Unexecuted instantiation: complexobject.c:PyType_HasFeature
descrobject.c:PyType_HasFeature
Line
Count
Source
804
9.21M
{
805
9.21M
    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
9.21M
    flags = type->tp_flags;
811
9.21M
#endif
812
9.21M
    return ((flags & feature) != 0);
813
9.21M
}
enumobject.c:PyType_HasFeature
Line
Count
Source
804
45.6M
{
805
45.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
45.6M
    flags = type->tp_flags;
811
45.6M
#endif
812
45.6M
    return ((flags & feature) != 0);
813
45.6M
}
genobject.c:PyType_HasFeature
Line
Count
Source
804
1.93k
{
805
1.93k
    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.93k
    flags = type->tp_flags;
811
1.93k
#endif
812
1.93k
    return ((flags & feature) != 0);
813
1.93k
}
fileobject.c:PyType_HasFeature
Line
Count
Source
804
6.75k
{
805
6.75k
    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
6.75k
    flags = type->tp_flags;
811
6.75k
#endif
812
6.75k
    return ((flags & feature) != 0);
813
6.75k
}
Unexecuted instantiation: frameobject.c:PyType_HasFeature
funcobject.c:PyType_HasFeature
Line
Count
Source
804
36.6k
{
805
36.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
36.6k
    flags = type->tp_flags;
811
36.6k
#endif
812
36.6k
    return ((flags & feature) != 0);
813
36.6k
}
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature
iterobject.c:PyType_HasFeature
Line
Count
Source
804
3.59M
{
805
3.59M
    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.59M
    flags = type->tp_flags;
811
3.59M
#endif
812
3.59M
    return ((flags & feature) != 0);
813
3.59M
}
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
657
{
805
657
    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
657
    flags = type->tp_flags;
811
657
#endif
812
657
    return ((flags & feature) != 0);
813
657
}
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
54.7k
{
805
54.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
54.7k
    flags = type->tp_flags;
811
54.7k
#endif
812
54.7k
    return ((flags & feature) != 0);
813
54.7k
}
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
9.04G
#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
816
817
586M
static inline int PyType_Check(PyObject *op) {
818
586M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
586M
}
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
95.7M
static inline int PyType_Check(PyObject *op) {
818
95.7M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
95.7M
}
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
786
static inline int PyType_Check(PyObject *op) {
818
786
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
786
}
weakrefobject.c:PyType_Check
Line
Count
Source
817
50.3M
static inline int PyType_Check(PyObject *op) {
818
50.3M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
50.3M
}
_warnings.c:PyType_Check
Line
Count
Source
817
579k
static inline int PyType_Check(PyObject *op) {
818
579k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
579k
}
bltinmodule.c:PyType_Check
Line
Count
Source
817
13.2k
static inline int PyType_Check(PyObject *op) {
818
13.2k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
13.2k
}
ceval.c:PyType_Check
Line
Count
Source
817
202M
static inline int PyType_Check(PyObject *op) {
818
202M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
202M
}
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
136M
static inline int PyType_Check(PyObject *op) {
818
136M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
136M
}
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
3.43M
static inline int PyType_Check(PyObject *op) {
818
3.43M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
3.43M
}
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
4.30k
static inline int PyType_Check(PyObject *op) {
818
4.30k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
4.30k
}
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
88.7M
static inline int PyType_Check(PyObject *op) {
818
88.7M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
88.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
9.07M
static inline int PyType_Check(PyObject *op) {
818
9.07M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
9.07M
}
Unexecuted instantiation: enumobject.c:PyType_Check
genobject.c:PyType_Check
Line
Count
Source
817
969
static inline int PyType_Check(PyObject *op) {
818
969
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
819
969
}
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
896M
#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
822
#endif
823
824
#define _PyType_CAST(op) \
825
383M
    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
826
827
78.3M
static inline int PyType_CheckExact(PyObject *op) {
828
78.3M
    return Py_IS_TYPE(op, &PyType_Type);
829
78.3M
}
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
78.3M
static inline int PyType_CheckExact(PyObject *op) {
828
78.3M
    return Py_IS_TYPE(op, &PyType_Type);
829
78.3M
}
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
78.3M
#  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