/src/cpython/Include/cpython/methodobject.h
Line | Count | Source |
1 | | #ifndef Py_CPYTHON_METHODOBJECT_H |
2 | | # error "this header file must not be included directly" |
3 | | #endif |
4 | | |
5 | | // PyCFunctionObject structure |
6 | | |
7 | | typedef struct { |
8 | | PyObject_HEAD |
9 | | PyMethodDef *m_ml; /* Description of the C function to call */ |
10 | | PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ |
11 | | PyObject *m_module; /* The __module__ attribute, can be anything */ |
12 | | PyObject *m_weakreflist; /* List of weak references */ |
13 | | vectorcallfunc vectorcall; |
14 | | } PyCFunctionObject; |
15 | | |
16 | | #define _PyCFunctionObject_CAST(func) \ |
17 | 1.36G | (assert(PyCFunction_Check(func)), \ |
18 | 1.36G | _Py_CAST(PyCFunctionObject*, (func))) |
19 | | |
20 | | |
21 | | // PyCMethodObject structure |
22 | | |
23 | | typedef struct { |
24 | | PyCFunctionObject func; |
25 | | PyTypeObject *mm_class; /* Class that defines this method */ |
26 | | } PyCMethodObject; |
27 | | |
28 | | #define _PyCMethodObject_CAST(func) \ |
29 | 23.8M | (assert(PyCMethod_Check(func)), \ |
30 | 23.8M | _Py_CAST(PyCMethodObject*, (func))) |
31 | | |
32 | | PyAPI_DATA(PyTypeObject) PyCMethod_Type; |
33 | | |
34 | | #define PyCMethod_CheckExact(op) Py_IS_TYPE((op), &PyCMethod_Type) |
35 | | #define PyCMethod_Check(op) PyObject_TypeCheck((op), &PyCMethod_Type) |
36 | | |
37 | | |
38 | | /* Static inline functions for direct access to these values. |
39 | | Type checks are *not* done, so use with care. */ |
40 | 304M | static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { |
41 | 304M | return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; |
42 | 304M | } Unexecuted instantiation: bytesobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: call.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: exceptions.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: genericaliasobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: floatobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: listobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: longobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: dictobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: memoryobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: moduleobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: object.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: obmalloc.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: picklebufobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: rangeobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: setobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: sliceobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: structseq.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: templateobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: tupleobject.c:PyCFunction_GET_FUNCTION typeobject.c:PyCFunction_GET_FUNCTION Line | Count | Source | 40 | 5.41k | static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { | 41 | 5.41k | return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; | 42 | 5.41k | } |
Unexecuted instantiation: typevarobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: unicodeobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: unicodectype.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: unionobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: weakrefobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _warnings.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bltinmodule.c:PyCFunction_GET_FUNCTION ceval.c:PyCFunction_GET_FUNCTION Line | Count | Source | 40 | 181M | static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { | 41 | 181M | return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; | 42 | 181M | } |
Unexecuted instantiation: codecs.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: codegen.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: compile.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: context.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: errors.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: flowgraph.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: frame.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: future.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: gc.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: gc_gil.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getargs.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: ceval_gil.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: hamt.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: hashtable.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: import.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: importdl.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: initconfig.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: instrumentation.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: instruction_sequence.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: intrinsics.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: legacy_tracing.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: lock.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: marshal.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: modsupport.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: mysnprintf.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: parking_lot.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: preconfig.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pyarena.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pyctype.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pyhash.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pylifecycle.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pymath.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pystate.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pythonrun.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pytime.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: qsbr.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bootstrap_hash.c:PyCFunction_GET_FUNCTION specialize.c:PyCFunction_GET_FUNCTION Line | Count | Source | 40 | 998k | static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { | 41 | 998k | return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; | 42 | 998k | } |
Unexecuted instantiation: symtable.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: sysmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: thread.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: traceback.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: tracemalloc.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getopt.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pystrcmp.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pystrtod.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pystrhex.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: dtoa.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: formatter_unicode.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: fileutils.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: suggestions.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: perf_trampoline.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: perf_jit_trampoline.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: remote_debugging.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: dynload_shlib.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: config.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: gcmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: atexitmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: faulthandler.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: posixmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: signalmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _tracemalloc.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _suggestions.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _codecsmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _collectionsmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _iomodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: iobase.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: fileio.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bytesio.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bufferedio.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: textio.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: stringio.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: itertoolsmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: sre.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _sysconfig.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _threadmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: timemodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _typesmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _typingmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _weakref.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _abc.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _functoolsmodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _localemodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _opcode.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _operator.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: symtablemodule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getpath.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: frozen.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getbuildinfo.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: peg_api.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: file_tokenizer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: helpers.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: myreadline.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: abstract.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: boolobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bytes_methods.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: bytearrayobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: capsule.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: cellobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: classobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: codeobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: complexobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: descrobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: enumobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: genobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: fileobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: frameobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: funcobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: interpolationobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: iterobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: odictobject.c:PyCFunction_GET_FUNCTION methodobject.c:PyCFunction_GET_FUNCTION Line | Count | Source | 40 | 121M | static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { | 41 | 121M | return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; | 42 | 121M | } |
Unexecuted instantiation: namespaceobject.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: _contextvars.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: Python-ast.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: Python-tokenize.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: asdl.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: assemble.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: ast.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: ast_preprocess.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: ast_unparse.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: critical_section.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: crossinterp.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getcopyright.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getplatform.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getversion.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: optimizer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pathconfig.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: structmember.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pegen.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: pegen_errors.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: parser.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: buffer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: lexer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: state.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: readline_tokenizer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: string_tokenizer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: utf8_tokenizer.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: getcompiler.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: mystrtoul.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: token.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: action_helpers.c:PyCFunction_GET_FUNCTION Unexecuted instantiation: string_parser.c:PyCFunction_GET_FUNCTION |
43 | 284M | #define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func)) |
44 | | |
45 | 303M | static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) { |
46 | 303M | PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); |
47 | 303M | if (func->m_ml->ml_flags & METH_STATIC) { |
48 | 28 | return _Py_NULL; |
49 | 28 | } |
50 | 303M | return func->m_self; |
51 | 303M | } Unexecuted instantiation: bytesobject.c:PyCFunction_GET_SELF Unexecuted instantiation: call.c:PyCFunction_GET_SELF Unexecuted instantiation: exceptions.c:PyCFunction_GET_SELF Unexecuted instantiation: genericaliasobject.c:PyCFunction_GET_SELF Unexecuted instantiation: floatobject.c:PyCFunction_GET_SELF Unexecuted instantiation: listobject.c:PyCFunction_GET_SELF Unexecuted instantiation: longobject.c:PyCFunction_GET_SELF Unexecuted instantiation: dictobject.c:PyCFunction_GET_SELF Unexecuted instantiation: memoryobject.c:PyCFunction_GET_SELF Unexecuted instantiation: moduleobject.c:PyCFunction_GET_SELF Unexecuted instantiation: object.c:PyCFunction_GET_SELF Unexecuted instantiation: obmalloc.c:PyCFunction_GET_SELF Unexecuted instantiation: picklebufobject.c:PyCFunction_GET_SELF Unexecuted instantiation: rangeobject.c:PyCFunction_GET_SELF Unexecuted instantiation: setobject.c:PyCFunction_GET_SELF Unexecuted instantiation: sliceobject.c:PyCFunction_GET_SELF Unexecuted instantiation: structseq.c:PyCFunction_GET_SELF Unexecuted instantiation: templateobject.c:PyCFunction_GET_SELF Unexecuted instantiation: tupleobject.c:PyCFunction_GET_SELF Unexecuted instantiation: typeobject.c:PyCFunction_GET_SELF Unexecuted instantiation: typevarobject.c:PyCFunction_GET_SELF Unexecuted instantiation: unicodeobject.c:PyCFunction_GET_SELF Unexecuted instantiation: unicodectype.c:PyCFunction_GET_SELF Unexecuted instantiation: unionobject.c:PyCFunction_GET_SELF Unexecuted instantiation: weakrefobject.c:PyCFunction_GET_SELF Unexecuted instantiation: _warnings.c:PyCFunction_GET_SELF Unexecuted instantiation: bltinmodule.c:PyCFunction_GET_SELF ceval.c:PyCFunction_GET_SELF Line | Count | Source | 45 | 181M | static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) { | 46 | 181M | PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); | 47 | 181M | if (func->m_ml->ml_flags & METH_STATIC) { | 48 | 0 | return _Py_NULL; | 49 | 0 | } | 50 | 181M | return func->m_self; | 51 | 181M | } |
Unexecuted instantiation: codecs.c:PyCFunction_GET_SELF Unexecuted instantiation: codegen.c:PyCFunction_GET_SELF Unexecuted instantiation: compile.c:PyCFunction_GET_SELF Unexecuted instantiation: context.c:PyCFunction_GET_SELF Unexecuted instantiation: errors.c:PyCFunction_GET_SELF Unexecuted instantiation: flowgraph.c:PyCFunction_GET_SELF Unexecuted instantiation: frame.c:PyCFunction_GET_SELF Unexecuted instantiation: future.c:PyCFunction_GET_SELF Unexecuted instantiation: gc.c:PyCFunction_GET_SELF Unexecuted instantiation: gc_gil.c:PyCFunction_GET_SELF Unexecuted instantiation: getargs.c:PyCFunction_GET_SELF Unexecuted instantiation: ceval_gil.c:PyCFunction_GET_SELF Unexecuted instantiation: hamt.c:PyCFunction_GET_SELF Unexecuted instantiation: hashtable.c:PyCFunction_GET_SELF Unexecuted instantiation: import.c:PyCFunction_GET_SELF Unexecuted instantiation: importdl.c:PyCFunction_GET_SELF Unexecuted instantiation: initconfig.c:PyCFunction_GET_SELF Unexecuted instantiation: instrumentation.c:PyCFunction_GET_SELF Unexecuted instantiation: instruction_sequence.c:PyCFunction_GET_SELF Unexecuted instantiation: intrinsics.c:PyCFunction_GET_SELF Unexecuted instantiation: legacy_tracing.c:PyCFunction_GET_SELF Unexecuted instantiation: lock.c:PyCFunction_GET_SELF Unexecuted instantiation: marshal.c:PyCFunction_GET_SELF Unexecuted instantiation: modsupport.c:PyCFunction_GET_SELF Unexecuted instantiation: mysnprintf.c:PyCFunction_GET_SELF Unexecuted instantiation: parking_lot.c:PyCFunction_GET_SELF Unexecuted instantiation: preconfig.c:PyCFunction_GET_SELF Unexecuted instantiation: pyarena.c:PyCFunction_GET_SELF Unexecuted instantiation: pyctype.c:PyCFunction_GET_SELF Unexecuted instantiation: pyhash.c:PyCFunction_GET_SELF Unexecuted instantiation: pylifecycle.c:PyCFunction_GET_SELF Unexecuted instantiation: pymath.c:PyCFunction_GET_SELF Unexecuted instantiation: pystate.c:PyCFunction_GET_SELF Unexecuted instantiation: pythonrun.c:PyCFunction_GET_SELF Unexecuted instantiation: pytime.c:PyCFunction_GET_SELF Unexecuted instantiation: qsbr.c:PyCFunction_GET_SELF Unexecuted instantiation: bootstrap_hash.c:PyCFunction_GET_SELF Unexecuted instantiation: specialize.c:PyCFunction_GET_SELF Unexecuted instantiation: symtable.c:PyCFunction_GET_SELF Unexecuted instantiation: sysmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: thread.c:PyCFunction_GET_SELF Unexecuted instantiation: traceback.c:PyCFunction_GET_SELF Unexecuted instantiation: tracemalloc.c:PyCFunction_GET_SELF Unexecuted instantiation: getopt.c:PyCFunction_GET_SELF Unexecuted instantiation: pystrcmp.c:PyCFunction_GET_SELF Unexecuted instantiation: pystrtod.c:PyCFunction_GET_SELF Unexecuted instantiation: pystrhex.c:PyCFunction_GET_SELF Unexecuted instantiation: dtoa.c:PyCFunction_GET_SELF Unexecuted instantiation: formatter_unicode.c:PyCFunction_GET_SELF Unexecuted instantiation: fileutils.c:PyCFunction_GET_SELF Unexecuted instantiation: suggestions.c:PyCFunction_GET_SELF Unexecuted instantiation: perf_trampoline.c:PyCFunction_GET_SELF Unexecuted instantiation: perf_jit_trampoline.c:PyCFunction_GET_SELF Unexecuted instantiation: remote_debugging.c:PyCFunction_GET_SELF Unexecuted instantiation: dynload_shlib.c:PyCFunction_GET_SELF Unexecuted instantiation: config.c:PyCFunction_GET_SELF Unexecuted instantiation: gcmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: atexitmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: faulthandler.c:PyCFunction_GET_SELF Unexecuted instantiation: posixmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: signalmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _tracemalloc.c:PyCFunction_GET_SELF Unexecuted instantiation: _suggestions.c:PyCFunction_GET_SELF Unexecuted instantiation: _codecsmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _collectionsmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _iomodule.c:PyCFunction_GET_SELF Unexecuted instantiation: iobase.c:PyCFunction_GET_SELF Unexecuted instantiation: fileio.c:PyCFunction_GET_SELF Unexecuted instantiation: bytesio.c:PyCFunction_GET_SELF Unexecuted instantiation: bufferedio.c:PyCFunction_GET_SELF Unexecuted instantiation: textio.c:PyCFunction_GET_SELF Unexecuted instantiation: stringio.c:PyCFunction_GET_SELF Unexecuted instantiation: itertoolsmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: sre.c:PyCFunction_GET_SELF Unexecuted instantiation: _sysconfig.c:PyCFunction_GET_SELF Unexecuted instantiation: _threadmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: timemodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _typesmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _typingmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _weakref.c:PyCFunction_GET_SELF Unexecuted instantiation: _abc.c:PyCFunction_GET_SELF Unexecuted instantiation: _functoolsmodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _localemodule.c:PyCFunction_GET_SELF Unexecuted instantiation: _opcode.c:PyCFunction_GET_SELF Unexecuted instantiation: _operator.c:PyCFunction_GET_SELF Unexecuted instantiation: symtablemodule.c:PyCFunction_GET_SELF Unexecuted instantiation: getpath.c:PyCFunction_GET_SELF Unexecuted instantiation: frozen.c:PyCFunction_GET_SELF Unexecuted instantiation: getbuildinfo.c:PyCFunction_GET_SELF Unexecuted instantiation: peg_api.c:PyCFunction_GET_SELF Unexecuted instantiation: file_tokenizer.c:PyCFunction_GET_SELF Unexecuted instantiation: helpers.c:PyCFunction_GET_SELF Unexecuted instantiation: myreadline.c:PyCFunction_GET_SELF Unexecuted instantiation: abstract.c:PyCFunction_GET_SELF Unexecuted instantiation: boolobject.c:PyCFunction_GET_SELF Unexecuted instantiation: bytes_methods.c:PyCFunction_GET_SELF Unexecuted instantiation: bytearrayobject.c:PyCFunction_GET_SELF Unexecuted instantiation: capsule.c:PyCFunction_GET_SELF Unexecuted instantiation: cellobject.c:PyCFunction_GET_SELF Unexecuted instantiation: classobject.c:PyCFunction_GET_SELF Unexecuted instantiation: codeobject.c:PyCFunction_GET_SELF Unexecuted instantiation: complexobject.c:PyCFunction_GET_SELF Unexecuted instantiation: descrobject.c:PyCFunction_GET_SELF Unexecuted instantiation: enumobject.c:PyCFunction_GET_SELF Unexecuted instantiation: genobject.c:PyCFunction_GET_SELF Unexecuted instantiation: fileobject.c:PyCFunction_GET_SELF Unexecuted instantiation: frameobject.c:PyCFunction_GET_SELF Unexecuted instantiation: funcobject.c:PyCFunction_GET_SELF Unexecuted instantiation: interpolationobject.c:PyCFunction_GET_SELF Unexecuted instantiation: iterobject.c:PyCFunction_GET_SELF Unexecuted instantiation: odictobject.c:PyCFunction_GET_SELF methodobject.c:PyCFunction_GET_SELF Line | Count | Source | 45 | 121M | static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) { | 46 | 121M | PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); | 47 | 121M | if (func->m_ml->ml_flags & METH_STATIC) { | 48 | 28 | return _Py_NULL; | 49 | 28 | } | 50 | 121M | return func->m_self; | 51 | 121M | } |
Unexecuted instantiation: namespaceobject.c:PyCFunction_GET_SELF Unexecuted instantiation: _contextvars.c:PyCFunction_GET_SELF Unexecuted instantiation: Python-ast.c:PyCFunction_GET_SELF Unexecuted instantiation: Python-tokenize.c:PyCFunction_GET_SELF Unexecuted instantiation: asdl.c:PyCFunction_GET_SELF Unexecuted instantiation: assemble.c:PyCFunction_GET_SELF Unexecuted instantiation: ast.c:PyCFunction_GET_SELF Unexecuted instantiation: ast_preprocess.c:PyCFunction_GET_SELF Unexecuted instantiation: ast_unparse.c:PyCFunction_GET_SELF Unexecuted instantiation: critical_section.c:PyCFunction_GET_SELF Unexecuted instantiation: crossinterp.c:PyCFunction_GET_SELF Unexecuted instantiation: getcopyright.c:PyCFunction_GET_SELF Unexecuted instantiation: getplatform.c:PyCFunction_GET_SELF Unexecuted instantiation: getversion.c:PyCFunction_GET_SELF Unexecuted instantiation: optimizer.c:PyCFunction_GET_SELF Unexecuted instantiation: pathconfig.c:PyCFunction_GET_SELF Unexecuted instantiation: structmember.c:PyCFunction_GET_SELF Unexecuted instantiation: pegen.c:PyCFunction_GET_SELF Unexecuted instantiation: pegen_errors.c:PyCFunction_GET_SELF Unexecuted instantiation: parser.c:PyCFunction_GET_SELF Unexecuted instantiation: buffer.c:PyCFunction_GET_SELF Unexecuted instantiation: lexer.c:PyCFunction_GET_SELF Unexecuted instantiation: state.c:PyCFunction_GET_SELF Unexecuted instantiation: readline_tokenizer.c:PyCFunction_GET_SELF Unexecuted instantiation: string_tokenizer.c:PyCFunction_GET_SELF Unexecuted instantiation: utf8_tokenizer.c:PyCFunction_GET_SELF Unexecuted instantiation: getcompiler.c:PyCFunction_GET_SELF Unexecuted instantiation: mystrtoul.c:PyCFunction_GET_SELF Unexecuted instantiation: token.c:PyCFunction_GET_SELF Unexecuted instantiation: action_helpers.c:PyCFunction_GET_SELF Unexecuted instantiation: string_parser.c:PyCFunction_GET_SELF |
52 | 183M | #define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func)) |
53 | | |
54 | 247M | static inline int PyCFunction_GET_FLAGS(PyObject *func) { |
55 | 247M | return _PyCFunctionObject_CAST(func)->m_ml->ml_flags; |
56 | 247M | } Unexecuted instantiation: bytesobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: call.c:PyCFunction_GET_FLAGS Unexecuted instantiation: exceptions.c:PyCFunction_GET_FLAGS Unexecuted instantiation: genericaliasobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: floatobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: listobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: longobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: dictobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: memoryobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: moduleobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: object.c:PyCFunction_GET_FLAGS Unexecuted instantiation: obmalloc.c:PyCFunction_GET_FLAGS Unexecuted instantiation: picklebufobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: rangeobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: setobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: sliceobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: structseq.c:PyCFunction_GET_FLAGS Unexecuted instantiation: templateobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: tupleobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: typeobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: typevarobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: unicodeobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: unicodectype.c:PyCFunction_GET_FLAGS Unexecuted instantiation: unionobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: weakrefobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _warnings.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bltinmodule.c:PyCFunction_GET_FLAGS ceval.c:PyCFunction_GET_FLAGS Line | Count | Source | 54 | 234M | static inline int PyCFunction_GET_FLAGS(PyObject *func) { | 55 | 234M | return _PyCFunctionObject_CAST(func)->m_ml->ml_flags; | 56 | 234M | } |
Unexecuted instantiation: codecs.c:PyCFunction_GET_FLAGS Unexecuted instantiation: codegen.c:PyCFunction_GET_FLAGS Unexecuted instantiation: compile.c:PyCFunction_GET_FLAGS Unexecuted instantiation: context.c:PyCFunction_GET_FLAGS Unexecuted instantiation: errors.c:PyCFunction_GET_FLAGS Unexecuted instantiation: flowgraph.c:PyCFunction_GET_FLAGS Unexecuted instantiation: frame.c:PyCFunction_GET_FLAGS Unexecuted instantiation: future.c:PyCFunction_GET_FLAGS Unexecuted instantiation: gc.c:PyCFunction_GET_FLAGS Unexecuted instantiation: gc_gil.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getargs.c:PyCFunction_GET_FLAGS Unexecuted instantiation: ceval_gil.c:PyCFunction_GET_FLAGS Unexecuted instantiation: hamt.c:PyCFunction_GET_FLAGS Unexecuted instantiation: hashtable.c:PyCFunction_GET_FLAGS Unexecuted instantiation: import.c:PyCFunction_GET_FLAGS Unexecuted instantiation: importdl.c:PyCFunction_GET_FLAGS Unexecuted instantiation: initconfig.c:PyCFunction_GET_FLAGS Unexecuted instantiation: instrumentation.c:PyCFunction_GET_FLAGS Unexecuted instantiation: instruction_sequence.c:PyCFunction_GET_FLAGS Unexecuted instantiation: intrinsics.c:PyCFunction_GET_FLAGS Unexecuted instantiation: legacy_tracing.c:PyCFunction_GET_FLAGS Unexecuted instantiation: lock.c:PyCFunction_GET_FLAGS Unexecuted instantiation: marshal.c:PyCFunction_GET_FLAGS Unexecuted instantiation: modsupport.c:PyCFunction_GET_FLAGS Unexecuted instantiation: mysnprintf.c:PyCFunction_GET_FLAGS Unexecuted instantiation: parking_lot.c:PyCFunction_GET_FLAGS Unexecuted instantiation: preconfig.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pyarena.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pyctype.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pyhash.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pylifecycle.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pymath.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pystate.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pythonrun.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pytime.c:PyCFunction_GET_FLAGS Unexecuted instantiation: qsbr.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bootstrap_hash.c:PyCFunction_GET_FLAGS specialize.c:PyCFunction_GET_FLAGS Line | Count | Source | 54 | 998k | static inline int PyCFunction_GET_FLAGS(PyObject *func) { | 55 | 998k | return _PyCFunctionObject_CAST(func)->m_ml->ml_flags; | 56 | 998k | } |
Unexecuted instantiation: symtable.c:PyCFunction_GET_FLAGS Unexecuted instantiation: sysmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: thread.c:PyCFunction_GET_FLAGS Unexecuted instantiation: traceback.c:PyCFunction_GET_FLAGS Unexecuted instantiation: tracemalloc.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getopt.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pystrcmp.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pystrtod.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pystrhex.c:PyCFunction_GET_FLAGS Unexecuted instantiation: dtoa.c:PyCFunction_GET_FLAGS Unexecuted instantiation: formatter_unicode.c:PyCFunction_GET_FLAGS Unexecuted instantiation: fileutils.c:PyCFunction_GET_FLAGS Unexecuted instantiation: suggestions.c:PyCFunction_GET_FLAGS Unexecuted instantiation: perf_trampoline.c:PyCFunction_GET_FLAGS Unexecuted instantiation: perf_jit_trampoline.c:PyCFunction_GET_FLAGS Unexecuted instantiation: remote_debugging.c:PyCFunction_GET_FLAGS Unexecuted instantiation: dynload_shlib.c:PyCFunction_GET_FLAGS Unexecuted instantiation: config.c:PyCFunction_GET_FLAGS Unexecuted instantiation: gcmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: atexitmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: faulthandler.c:PyCFunction_GET_FLAGS Unexecuted instantiation: posixmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: signalmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _tracemalloc.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _suggestions.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _codecsmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _collectionsmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _iomodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: iobase.c:PyCFunction_GET_FLAGS Unexecuted instantiation: fileio.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bytesio.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bufferedio.c:PyCFunction_GET_FLAGS Unexecuted instantiation: textio.c:PyCFunction_GET_FLAGS Unexecuted instantiation: stringio.c:PyCFunction_GET_FLAGS Unexecuted instantiation: itertoolsmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: sre.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _sysconfig.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _threadmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: timemodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _typesmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _typingmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _weakref.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _abc.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _functoolsmodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _localemodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _opcode.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _operator.c:PyCFunction_GET_FLAGS Unexecuted instantiation: symtablemodule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getpath.c:PyCFunction_GET_FLAGS Unexecuted instantiation: frozen.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getbuildinfo.c:PyCFunction_GET_FLAGS Unexecuted instantiation: peg_api.c:PyCFunction_GET_FLAGS Unexecuted instantiation: file_tokenizer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: helpers.c:PyCFunction_GET_FLAGS Unexecuted instantiation: myreadline.c:PyCFunction_GET_FLAGS Unexecuted instantiation: abstract.c:PyCFunction_GET_FLAGS Unexecuted instantiation: boolobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bytes_methods.c:PyCFunction_GET_FLAGS Unexecuted instantiation: bytearrayobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: capsule.c:PyCFunction_GET_FLAGS Unexecuted instantiation: cellobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: classobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: codeobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: complexobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: descrobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: enumobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: genobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: fileobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: frameobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: funcobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: interpolationobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: iterobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: odictobject.c:PyCFunction_GET_FLAGS methodobject.c:PyCFunction_GET_FLAGS Line | Count | Source | 54 | 11.5M | static inline int PyCFunction_GET_FLAGS(PyObject *func) { | 55 | 11.5M | return _PyCFunctionObject_CAST(func)->m_ml->ml_flags; | 56 | 11.5M | } |
Unexecuted instantiation: namespaceobject.c:PyCFunction_GET_FLAGS Unexecuted instantiation: _contextvars.c:PyCFunction_GET_FLAGS Unexecuted instantiation: Python-ast.c:PyCFunction_GET_FLAGS Unexecuted instantiation: Python-tokenize.c:PyCFunction_GET_FLAGS Unexecuted instantiation: asdl.c:PyCFunction_GET_FLAGS Unexecuted instantiation: assemble.c:PyCFunction_GET_FLAGS Unexecuted instantiation: ast.c:PyCFunction_GET_FLAGS Unexecuted instantiation: ast_preprocess.c:PyCFunction_GET_FLAGS Unexecuted instantiation: ast_unparse.c:PyCFunction_GET_FLAGS Unexecuted instantiation: critical_section.c:PyCFunction_GET_FLAGS Unexecuted instantiation: crossinterp.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getcopyright.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getplatform.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getversion.c:PyCFunction_GET_FLAGS Unexecuted instantiation: optimizer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pathconfig.c:PyCFunction_GET_FLAGS Unexecuted instantiation: structmember.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pegen.c:PyCFunction_GET_FLAGS Unexecuted instantiation: pegen_errors.c:PyCFunction_GET_FLAGS Unexecuted instantiation: parser.c:PyCFunction_GET_FLAGS Unexecuted instantiation: buffer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: lexer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: state.c:PyCFunction_GET_FLAGS Unexecuted instantiation: readline_tokenizer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: string_tokenizer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: utf8_tokenizer.c:PyCFunction_GET_FLAGS Unexecuted instantiation: getcompiler.c:PyCFunction_GET_FLAGS Unexecuted instantiation: mystrtoul.c:PyCFunction_GET_FLAGS Unexecuted instantiation: token.c:PyCFunction_GET_FLAGS Unexecuted instantiation: action_helpers.c:PyCFunction_GET_FLAGS Unexecuted instantiation: string_parser.c:PyCFunction_GET_FLAGS |
57 | 247M | #define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func)) |
58 | | |
59 | 261M | static inline PyTypeObject* PyCFunction_GET_CLASS(PyObject *func_obj) { |
60 | 261M | PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); |
61 | 261M | if (func->m_ml->ml_flags & METH_METHOD) { |
62 | 23.8M | return _PyCMethodObject_CAST(func)->mm_class; |
63 | 23.8M | } |
64 | 237M | return _Py_NULL; |
65 | 261M | } Unexecuted instantiation: bytesobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: call.c:PyCFunction_GET_CLASS Unexecuted instantiation: exceptions.c:PyCFunction_GET_CLASS Unexecuted instantiation: genericaliasobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: floatobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: listobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: longobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: dictobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: memoryobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: moduleobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: object.c:PyCFunction_GET_CLASS Unexecuted instantiation: obmalloc.c:PyCFunction_GET_CLASS Unexecuted instantiation: picklebufobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: rangeobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: setobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: sliceobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: structseq.c:PyCFunction_GET_CLASS Unexecuted instantiation: templateobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: tupleobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: typeobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: typevarobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: unicodeobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: unicodectype.c:PyCFunction_GET_CLASS Unexecuted instantiation: unionobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: weakrefobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: _warnings.c:PyCFunction_GET_CLASS Unexecuted instantiation: bltinmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: ceval.c:PyCFunction_GET_CLASS Unexecuted instantiation: codecs.c:PyCFunction_GET_CLASS Unexecuted instantiation: codegen.c:PyCFunction_GET_CLASS Unexecuted instantiation: compile.c:PyCFunction_GET_CLASS Unexecuted instantiation: context.c:PyCFunction_GET_CLASS Unexecuted instantiation: errors.c:PyCFunction_GET_CLASS Unexecuted instantiation: flowgraph.c:PyCFunction_GET_CLASS Unexecuted instantiation: frame.c:PyCFunction_GET_CLASS Unexecuted instantiation: future.c:PyCFunction_GET_CLASS Unexecuted instantiation: gc.c:PyCFunction_GET_CLASS Unexecuted instantiation: gc_gil.c:PyCFunction_GET_CLASS Unexecuted instantiation: getargs.c:PyCFunction_GET_CLASS Unexecuted instantiation: ceval_gil.c:PyCFunction_GET_CLASS Unexecuted instantiation: hamt.c:PyCFunction_GET_CLASS Unexecuted instantiation: hashtable.c:PyCFunction_GET_CLASS Unexecuted instantiation: import.c:PyCFunction_GET_CLASS Unexecuted instantiation: importdl.c:PyCFunction_GET_CLASS Unexecuted instantiation: initconfig.c:PyCFunction_GET_CLASS Unexecuted instantiation: instrumentation.c:PyCFunction_GET_CLASS Unexecuted instantiation: instruction_sequence.c:PyCFunction_GET_CLASS Unexecuted instantiation: intrinsics.c:PyCFunction_GET_CLASS Unexecuted instantiation: legacy_tracing.c:PyCFunction_GET_CLASS Unexecuted instantiation: lock.c:PyCFunction_GET_CLASS Unexecuted instantiation: marshal.c:PyCFunction_GET_CLASS Unexecuted instantiation: modsupport.c:PyCFunction_GET_CLASS Unexecuted instantiation: mysnprintf.c:PyCFunction_GET_CLASS Unexecuted instantiation: parking_lot.c:PyCFunction_GET_CLASS Unexecuted instantiation: preconfig.c:PyCFunction_GET_CLASS Unexecuted instantiation: pyarena.c:PyCFunction_GET_CLASS Unexecuted instantiation: pyctype.c:PyCFunction_GET_CLASS Unexecuted instantiation: pyhash.c:PyCFunction_GET_CLASS Unexecuted instantiation: pylifecycle.c:PyCFunction_GET_CLASS Unexecuted instantiation: pymath.c:PyCFunction_GET_CLASS Unexecuted instantiation: pystate.c:PyCFunction_GET_CLASS Unexecuted instantiation: pythonrun.c:PyCFunction_GET_CLASS Unexecuted instantiation: pytime.c:PyCFunction_GET_CLASS Unexecuted instantiation: qsbr.c:PyCFunction_GET_CLASS Unexecuted instantiation: bootstrap_hash.c:PyCFunction_GET_CLASS Unexecuted instantiation: specialize.c:PyCFunction_GET_CLASS Unexecuted instantiation: symtable.c:PyCFunction_GET_CLASS Unexecuted instantiation: sysmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: thread.c:PyCFunction_GET_CLASS Unexecuted instantiation: traceback.c:PyCFunction_GET_CLASS Unexecuted instantiation: tracemalloc.c:PyCFunction_GET_CLASS Unexecuted instantiation: getopt.c:PyCFunction_GET_CLASS Unexecuted instantiation: pystrcmp.c:PyCFunction_GET_CLASS Unexecuted instantiation: pystrtod.c:PyCFunction_GET_CLASS Unexecuted instantiation: pystrhex.c:PyCFunction_GET_CLASS Unexecuted instantiation: dtoa.c:PyCFunction_GET_CLASS Unexecuted instantiation: formatter_unicode.c:PyCFunction_GET_CLASS Unexecuted instantiation: fileutils.c:PyCFunction_GET_CLASS Unexecuted instantiation: suggestions.c:PyCFunction_GET_CLASS Unexecuted instantiation: perf_trampoline.c:PyCFunction_GET_CLASS Unexecuted instantiation: perf_jit_trampoline.c:PyCFunction_GET_CLASS Unexecuted instantiation: remote_debugging.c:PyCFunction_GET_CLASS Unexecuted instantiation: dynload_shlib.c:PyCFunction_GET_CLASS Unexecuted instantiation: config.c:PyCFunction_GET_CLASS Unexecuted instantiation: gcmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: atexitmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: faulthandler.c:PyCFunction_GET_CLASS Unexecuted instantiation: posixmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: signalmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _tracemalloc.c:PyCFunction_GET_CLASS Unexecuted instantiation: _suggestions.c:PyCFunction_GET_CLASS Unexecuted instantiation: _codecsmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _collectionsmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _iomodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: iobase.c:PyCFunction_GET_CLASS Unexecuted instantiation: fileio.c:PyCFunction_GET_CLASS Unexecuted instantiation: bytesio.c:PyCFunction_GET_CLASS Unexecuted instantiation: bufferedio.c:PyCFunction_GET_CLASS Unexecuted instantiation: textio.c:PyCFunction_GET_CLASS Unexecuted instantiation: stringio.c:PyCFunction_GET_CLASS Unexecuted instantiation: itertoolsmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: sre.c:PyCFunction_GET_CLASS Unexecuted instantiation: _sysconfig.c:PyCFunction_GET_CLASS Unexecuted instantiation: _threadmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: timemodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _typesmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _typingmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _weakref.c:PyCFunction_GET_CLASS Unexecuted instantiation: _abc.c:PyCFunction_GET_CLASS Unexecuted instantiation: _functoolsmodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _localemodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: _opcode.c:PyCFunction_GET_CLASS Unexecuted instantiation: _operator.c:PyCFunction_GET_CLASS Unexecuted instantiation: symtablemodule.c:PyCFunction_GET_CLASS Unexecuted instantiation: getpath.c:PyCFunction_GET_CLASS Unexecuted instantiation: frozen.c:PyCFunction_GET_CLASS Unexecuted instantiation: getbuildinfo.c:PyCFunction_GET_CLASS Unexecuted instantiation: peg_api.c:PyCFunction_GET_CLASS Unexecuted instantiation: file_tokenizer.c:PyCFunction_GET_CLASS Unexecuted instantiation: helpers.c:PyCFunction_GET_CLASS Unexecuted instantiation: myreadline.c:PyCFunction_GET_CLASS Unexecuted instantiation: abstract.c:PyCFunction_GET_CLASS Unexecuted instantiation: boolobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: bytes_methods.c:PyCFunction_GET_CLASS Unexecuted instantiation: bytearrayobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: capsule.c:PyCFunction_GET_CLASS Unexecuted instantiation: cellobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: classobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: codeobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: complexobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: descrobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: enumobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: genobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: fileobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: frameobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: funcobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: interpolationobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: iterobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: odictobject.c:PyCFunction_GET_CLASS methodobject.c:PyCFunction_GET_CLASS Line | Count | Source | 59 | 261M | static inline PyTypeObject* PyCFunction_GET_CLASS(PyObject *func_obj) { | 60 | 261M | PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); | 61 | 261M | if (func->m_ml->ml_flags & METH_METHOD) { | 62 | 23.8M | return _PyCMethodObject_CAST(func)->mm_class; | 63 | 23.8M | } | 64 | 237M | return _Py_NULL; | 65 | 261M | } |
Unexecuted instantiation: namespaceobject.c:PyCFunction_GET_CLASS Unexecuted instantiation: _contextvars.c:PyCFunction_GET_CLASS Unexecuted instantiation: Python-ast.c:PyCFunction_GET_CLASS Unexecuted instantiation: Python-tokenize.c:PyCFunction_GET_CLASS Unexecuted instantiation: asdl.c:PyCFunction_GET_CLASS Unexecuted instantiation: assemble.c:PyCFunction_GET_CLASS Unexecuted instantiation: ast.c:PyCFunction_GET_CLASS Unexecuted instantiation: ast_preprocess.c:PyCFunction_GET_CLASS Unexecuted instantiation: ast_unparse.c:PyCFunction_GET_CLASS Unexecuted instantiation: critical_section.c:PyCFunction_GET_CLASS Unexecuted instantiation: crossinterp.c:PyCFunction_GET_CLASS Unexecuted instantiation: getcopyright.c:PyCFunction_GET_CLASS Unexecuted instantiation: getplatform.c:PyCFunction_GET_CLASS Unexecuted instantiation: getversion.c:PyCFunction_GET_CLASS Unexecuted instantiation: optimizer.c:PyCFunction_GET_CLASS Unexecuted instantiation: pathconfig.c:PyCFunction_GET_CLASS Unexecuted instantiation: structmember.c:PyCFunction_GET_CLASS Unexecuted instantiation: pegen.c:PyCFunction_GET_CLASS Unexecuted instantiation: pegen_errors.c:PyCFunction_GET_CLASS Unexecuted instantiation: parser.c:PyCFunction_GET_CLASS Unexecuted instantiation: buffer.c:PyCFunction_GET_CLASS Unexecuted instantiation: lexer.c:PyCFunction_GET_CLASS Unexecuted instantiation: state.c:PyCFunction_GET_CLASS Unexecuted instantiation: readline_tokenizer.c:PyCFunction_GET_CLASS Unexecuted instantiation: string_tokenizer.c:PyCFunction_GET_CLASS Unexecuted instantiation: utf8_tokenizer.c:PyCFunction_GET_CLASS Unexecuted instantiation: getcompiler.c:PyCFunction_GET_CLASS Unexecuted instantiation: mystrtoul.c:PyCFunction_GET_CLASS Unexecuted instantiation: token.c:PyCFunction_GET_CLASS Unexecuted instantiation: action_helpers.c:PyCFunction_GET_CLASS Unexecuted instantiation: string_parser.c:PyCFunction_GET_CLASS |
66 | 18.1M | #define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func)) |