Coverage Report

Created: 2025-11-11 06:44

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