Coverage Report

Created: 2025-07-11 06:24

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