/src/cpython/Include/cpython/abstract.h
Line | Count | Source |
1 | | #ifndef Py_CPYTHON_ABSTRACTOBJECT_H |
2 | | # error "this header file must not be included directly" |
3 | | #endif |
4 | | |
5 | | /* === Object Protocol ================================================== */ |
6 | | |
7 | | /* Like PyObject_CallMethod(), but expect a _Py_Identifier* |
8 | | as the method name. */ |
9 | | PyAPI_FUNC(PyObject*) _PyObject_CallMethodId( |
10 | | PyObject *obj, |
11 | | _Py_Identifier *name, |
12 | | const char *format, ...); |
13 | | |
14 | | /* Convert keyword arguments from the FASTCALL (stack: C array, kwnames: tuple) |
15 | | format to a Python dictionary ("kwargs" dict). |
16 | | |
17 | | The type of kwnames keys is not checked. The final function getting |
18 | | arguments is responsible to check if all keys are strings, for example using |
19 | | PyArg_ParseTupleAndKeywords() or PyArg_ValidateKeywordArguments(). |
20 | | |
21 | | Duplicate keys are merged using the last value. If duplicate keys must raise |
22 | | an exception, the caller is responsible to implement an explicit keys on |
23 | | kwnames. */ |
24 | | PyAPI_FUNC(PyObject*) _PyStack_AsDict(PyObject *const *values, PyObject *kwnames); |
25 | | |
26 | | |
27 | | /* === Vectorcall protocol (PEP 590) ============================= */ |
28 | | |
29 | | // PyVectorcall_NARGS() is exported as a function for the stable ABI. |
30 | | // Here (when we are not using the stable ABI), the name is overridden to |
31 | | // call a static inline function for best performance. |
32 | | static inline Py_ssize_t |
33 | | _PyVectorcall_NARGS(size_t n) |
34 | 872M | { |
35 | 872M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; |
36 | 872M | } Unexecuted instantiation: bytesobject.c:_PyVectorcall_NARGS call.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 371M | { | 35 | 371M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 371M | } |
exceptions.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 21.8M | { | 35 | 21.8M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 21.8M | } |
Unexecuted instantiation: genericaliasobject.c:_PyVectorcall_NARGS floatobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 21.3k | { | 35 | 21.3k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 21.3k | } |
listobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 10.0M | { | 35 | 10.0M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 10.0M | } |
longobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 8.54M | { | 35 | 8.54M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 8.54M | } |
dictobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 570k | { | 35 | 570k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 570k | } |
Unexecuted instantiation: memoryobject.c:_PyVectorcall_NARGS Unexecuted instantiation: moduleobject.c:_PyVectorcall_NARGS Unexecuted instantiation: object.c:_PyVectorcall_NARGS Unexecuted instantiation: obmalloc.c:_PyVectorcall_NARGS Unexecuted instantiation: picklebufobject.c:_PyVectorcall_NARGS rangeobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 11.7M | { | 35 | 11.7M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 11.7M | } |
setobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 1.64M | { | 35 | 1.64M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 1.64M | } |
Unexecuted instantiation: sliceobject.c:_PyVectorcall_NARGS Unexecuted instantiation: structseq.c:_PyVectorcall_NARGS Unexecuted instantiation: templateobject.c:_PyVectorcall_NARGS tupleobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 145 | { | 35 | 145 | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 145 | } |
typeobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 560k | { | 35 | 560k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 560k | } |
Unexecuted instantiation: typevarobject.c:_PyVectorcall_NARGS Unexecuted instantiation: unicode_format.c:_PyVectorcall_NARGS Unexecuted instantiation: unicode_formatter.c:_PyVectorcall_NARGS Unexecuted instantiation: unicode_writer.c:_PyVectorcall_NARGS Unexecuted instantiation: unicodectype.c:_PyVectorcall_NARGS unicodeobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 659k | { | 35 | 659k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 659k | } |
Unexecuted instantiation: unionobject.c:_PyVectorcall_NARGS weakrefobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 19.1k | { | 35 | 19.1k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 19.1k | } |
Unexecuted instantiation: _warnings.c:_PyVectorcall_NARGS bltinmodule.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 208k | { | 35 | 208k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 208k | } |
ceval.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 14.0M | { | 35 | 14.0M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 14.0M | } |
Unexecuted instantiation: codecs.c:_PyVectorcall_NARGS Unexecuted instantiation: codegen.c:_PyVectorcall_NARGS Unexecuted instantiation: compile.c:_PyVectorcall_NARGS Unexecuted instantiation: context.c:_PyVectorcall_NARGS errors.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 94.9k | { | 35 | 94.9k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 94.9k | } |
Unexecuted instantiation: flowgraph.c:_PyVectorcall_NARGS Unexecuted instantiation: frame.c:_PyVectorcall_NARGS Unexecuted instantiation: future.c:_PyVectorcall_NARGS Unexecuted instantiation: gc.c:_PyVectorcall_NARGS Unexecuted instantiation: gc_gil.c:_PyVectorcall_NARGS Unexecuted instantiation: getargs.c:_PyVectorcall_NARGS Unexecuted instantiation: ceval_gil.c:_PyVectorcall_NARGS Unexecuted instantiation: hamt.c:_PyVectorcall_NARGS Unexecuted instantiation: hashtable.c:_PyVectorcall_NARGS Unexecuted instantiation: import.c:_PyVectorcall_NARGS Unexecuted instantiation: importdl.c:_PyVectorcall_NARGS Unexecuted instantiation: initconfig.c:_PyVectorcall_NARGS Unexecuted instantiation: instrumentation.c:_PyVectorcall_NARGS Unexecuted instantiation: instruction_sequence.c:_PyVectorcall_NARGS Unexecuted instantiation: intrinsics.c:_PyVectorcall_NARGS Unexecuted instantiation: legacy_tracing.c:_PyVectorcall_NARGS Unexecuted instantiation: lock.c:_PyVectorcall_NARGS Unexecuted instantiation: marshal.c:_PyVectorcall_NARGS Unexecuted instantiation: modsupport.c:_PyVectorcall_NARGS Unexecuted instantiation: mysnprintf.c:_PyVectorcall_NARGS Unexecuted instantiation: parking_lot.c:_PyVectorcall_NARGS Unexecuted instantiation: preconfig.c:_PyVectorcall_NARGS Unexecuted instantiation: pyarena.c:_PyVectorcall_NARGS Unexecuted instantiation: pyctype.c:_PyVectorcall_NARGS Unexecuted instantiation: pyhash.c:_PyVectorcall_NARGS Unexecuted instantiation: pylifecycle.c:_PyVectorcall_NARGS Unexecuted instantiation: pymath.c:_PyVectorcall_NARGS Unexecuted instantiation: pystate.c:_PyVectorcall_NARGS Unexecuted instantiation: pythonrun.c:_PyVectorcall_NARGS Unexecuted instantiation: pytime.c:_PyVectorcall_NARGS Unexecuted instantiation: qsbr.c:_PyVectorcall_NARGS Unexecuted instantiation: bootstrap_hash.c:_PyVectorcall_NARGS Unexecuted instantiation: specialize.c:_PyVectorcall_NARGS Unexecuted instantiation: symtable.c:_PyVectorcall_NARGS Unexecuted instantiation: sysmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: thread.c:_PyVectorcall_NARGS Unexecuted instantiation: traceback.c:_PyVectorcall_NARGS Unexecuted instantiation: tracemalloc.c:_PyVectorcall_NARGS Unexecuted instantiation: getopt.c:_PyVectorcall_NARGS Unexecuted instantiation: pystrcmp.c:_PyVectorcall_NARGS Unexecuted instantiation: pystrtod.c:_PyVectorcall_NARGS Unexecuted instantiation: pystrhex.c:_PyVectorcall_NARGS Unexecuted instantiation: dtoa.c:_PyVectorcall_NARGS Unexecuted instantiation: fileutils.c:_PyVectorcall_NARGS Unexecuted instantiation: suggestions.c:_PyVectorcall_NARGS Unexecuted instantiation: perf_trampoline.c:_PyVectorcall_NARGS Unexecuted instantiation: perf_jit_trampoline.c:_PyVectorcall_NARGS Unexecuted instantiation: remote_debugging.c:_PyVectorcall_NARGS Unexecuted instantiation: dynload_shlib.c:_PyVectorcall_NARGS Unexecuted instantiation: config.c:_PyVectorcall_NARGS Unexecuted instantiation: gcmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _asynciomodule.c:_PyVectorcall_NARGS Unexecuted instantiation: atexitmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: faulthandler.c:_PyVectorcall_NARGS Unexecuted instantiation: posixmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: signalmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _tracemalloc.c:_PyVectorcall_NARGS Unexecuted instantiation: _suggestions.c:_PyVectorcall_NARGS Unexecuted instantiation: _datetimemodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _codecsmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _collectionsmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _iomodule.c:_PyVectorcall_NARGS Unexecuted instantiation: iobase.c:_PyVectorcall_NARGS Unexecuted instantiation: fileio.c:_PyVectorcall_NARGS Unexecuted instantiation: bytesio.c:_PyVectorcall_NARGS Unexecuted instantiation: bufferedio.c:_PyVectorcall_NARGS Unexecuted instantiation: textio.c:_PyVectorcall_NARGS Unexecuted instantiation: stringio.c:_PyVectorcall_NARGS Unexecuted instantiation: itertoolsmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: sre.c:_PyVectorcall_NARGS Unexecuted instantiation: _sysconfig.c:_PyVectorcall_NARGS Unexecuted instantiation: _threadmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: timemodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _typesmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _typingmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _weakref.c:_PyVectorcall_NARGS Unexecuted instantiation: _abc.c:_PyVectorcall_NARGS _functoolsmodule.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 46.7k | { | 35 | 46.7k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 46.7k | } |
Unexecuted instantiation: _localemodule.c:_PyVectorcall_NARGS Unexecuted instantiation: _opcode.c:_PyVectorcall_NARGS _operator.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 1.07M | { | 35 | 1.07M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 1.07M | } |
Unexecuted instantiation: symtablemodule.c:_PyVectorcall_NARGS Unexecuted instantiation: pwdmodule.c:_PyVectorcall_NARGS Unexecuted instantiation: getpath.c:_PyVectorcall_NARGS Unexecuted instantiation: frozen.c:_PyVectorcall_NARGS Unexecuted instantiation: getbuildinfo.c:_PyVectorcall_NARGS Unexecuted instantiation: peg_api.c:_PyVectorcall_NARGS Unexecuted instantiation: file_tokenizer.c:_PyVectorcall_NARGS Unexecuted instantiation: helpers.c:_PyVectorcall_NARGS Unexecuted instantiation: myreadline.c:_PyVectorcall_NARGS Unexecuted instantiation: abstract.c:_PyVectorcall_NARGS boolobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 1.13k | { | 35 | 1.13k | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 1.13k | } |
Unexecuted instantiation: bytes_methods.c:_PyVectorcall_NARGS Unexecuted instantiation: bytearrayobject.c:_PyVectorcall_NARGS Unexecuted instantiation: capsule.c:_PyVectorcall_NARGS Unexecuted instantiation: cellobject.c:_PyVectorcall_NARGS classobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 33.4M | { | 35 | 33.4M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 33.4M | } |
Unexecuted instantiation: codeobject.c:_PyVectorcall_NARGS Unexecuted instantiation: complexobject.c:_PyVectorcall_NARGS descrobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 148M | { | 35 | 148M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 148M | } |
enumobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 53.5M | { | 35 | 53.5M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 53.5M | } |
Unexecuted instantiation: genobject.c:_PyVectorcall_NARGS Unexecuted instantiation: fileobject.c:_PyVectorcall_NARGS Unexecuted instantiation: frameobject.c:_PyVectorcall_NARGS Unexecuted instantiation: funcobject.c:_PyVectorcall_NARGS Unexecuted instantiation: interpolationobject.c:_PyVectorcall_NARGS Unexecuted instantiation: iterobject.c:_PyVectorcall_NARGS Unexecuted instantiation: odictobject.c:_PyVectorcall_NARGS methodobject.c:_PyVectorcall_NARGS Line | Count | Source | 34 | 193M | { | 35 | 193M | return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET; | 36 | 193M | } |
Unexecuted instantiation: namespaceobject.c:_PyVectorcall_NARGS Unexecuted instantiation: _contextvars.c:_PyVectorcall_NARGS Unexecuted instantiation: Python-ast.c:_PyVectorcall_NARGS Unexecuted instantiation: Python-tokenize.c:_PyVectorcall_NARGS Unexecuted instantiation: asdl.c:_PyVectorcall_NARGS Unexecuted instantiation: assemble.c:_PyVectorcall_NARGS Unexecuted instantiation: ast.c:_PyVectorcall_NARGS Unexecuted instantiation: ast_preprocess.c:_PyVectorcall_NARGS Unexecuted instantiation: ast_unparse.c:_PyVectorcall_NARGS Unexecuted instantiation: critical_section.c:_PyVectorcall_NARGS Unexecuted instantiation: crossinterp.c:_PyVectorcall_NARGS Unexecuted instantiation: getcopyright.c:_PyVectorcall_NARGS Unexecuted instantiation: getplatform.c:_PyVectorcall_NARGS Unexecuted instantiation: getversion.c:_PyVectorcall_NARGS Unexecuted instantiation: optimizer.c:_PyVectorcall_NARGS Unexecuted instantiation: pathconfig.c:_PyVectorcall_NARGS Unexecuted instantiation: structmember.c:_PyVectorcall_NARGS Unexecuted instantiation: pegen.c:_PyVectorcall_NARGS Unexecuted instantiation: pegen_errors.c:_PyVectorcall_NARGS Unexecuted instantiation: parser.c:_PyVectorcall_NARGS Unexecuted instantiation: buffer.c:_PyVectorcall_NARGS Unexecuted instantiation: lexer.c:_PyVectorcall_NARGS Unexecuted instantiation: state.c:_PyVectorcall_NARGS Unexecuted instantiation: readline_tokenizer.c:_PyVectorcall_NARGS Unexecuted instantiation: string_tokenizer.c:_PyVectorcall_NARGS Unexecuted instantiation: utf8_tokenizer.c:_PyVectorcall_NARGS Unexecuted instantiation: getcompiler.c:_PyVectorcall_NARGS Unexecuted instantiation: mystrtoul.c:_PyVectorcall_NARGS Unexecuted instantiation: token.c:_PyVectorcall_NARGS Unexecuted instantiation: action_helpers.c:_PyVectorcall_NARGS Unexecuted instantiation: string_parser.c:_PyVectorcall_NARGS |
37 | 872M | #define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n) |
38 | | |
39 | | PyAPI_FUNC(vectorcallfunc) PyVectorcall_Function(PyObject *callable); |
40 | | |
41 | | // Backwards compatibility aliases (PEP 590) for API that was provisional |
42 | | // in Python 3.8 |
43 | | #define _PyObject_Vectorcall PyObject_Vectorcall |
44 | | #define _PyObject_VectorcallMethod PyObject_VectorcallMethod |
45 | | #define _PyObject_FastCallDict PyObject_VectorcallDict |
46 | | #define _PyVectorcall_Function PyVectorcall_Function |
47 | 36 | #define _PyObject_CallOneArg PyObject_CallOneArg |
48 | | #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs |
49 | | #define _PyObject_CallMethodOneArg PyObject_CallMethodOneArg |
50 | | |
51 | | /* Same as PyObject_Vectorcall except that keyword arguments are passed as |
52 | | dict, which may be NULL if there are no keyword arguments. */ |
53 | | PyAPI_FUNC(PyObject *) PyObject_VectorcallDict( |
54 | | PyObject *callable, |
55 | | PyObject *const *args, |
56 | | size_t nargsf, |
57 | | PyObject *kwargs); |
58 | | |
59 | | PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg); |
60 | | |
61 | | static inline PyObject * |
62 | | PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) |
63 | 486k | { |
64 | 486k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; |
65 | 486k | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); |
66 | 486k | } Unexecuted instantiation: bytesobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: call.c:PyObject_CallMethodNoArgs Unexecuted instantiation: exceptions.c:PyObject_CallMethodNoArgs Unexecuted instantiation: genericaliasobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: floatobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: listobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: longobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: dictobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: memoryobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: moduleobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: object.c:PyObject_CallMethodNoArgs Unexecuted instantiation: obmalloc.c:PyObject_CallMethodNoArgs Unexecuted instantiation: picklebufobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: rangeobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: setobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: sliceobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: structseq.c:PyObject_CallMethodNoArgs Unexecuted instantiation: templateobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: tupleobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: typeobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: typevarobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unicode_format.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unicode_formatter.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unicode_writer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unicodectype.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unicodeobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: unionobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: weakrefobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _warnings.c:PyObject_CallMethodNoArgs Unexecuted instantiation: bltinmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: ceval.c:PyObject_CallMethodNoArgs Unexecuted instantiation: codecs.c:PyObject_CallMethodNoArgs Unexecuted instantiation: codegen.c:PyObject_CallMethodNoArgs Unexecuted instantiation: compile.c:PyObject_CallMethodNoArgs Unexecuted instantiation: context.c:PyObject_CallMethodNoArgs Unexecuted instantiation: errors.c:PyObject_CallMethodNoArgs Unexecuted instantiation: flowgraph.c:PyObject_CallMethodNoArgs Unexecuted instantiation: frame.c:PyObject_CallMethodNoArgs Unexecuted instantiation: future.c:PyObject_CallMethodNoArgs Unexecuted instantiation: gc.c:PyObject_CallMethodNoArgs Unexecuted instantiation: gc_gil.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getargs.c:PyObject_CallMethodNoArgs Unexecuted instantiation: ceval_gil.c:PyObject_CallMethodNoArgs Unexecuted instantiation: hamt.c:PyObject_CallMethodNoArgs Unexecuted instantiation: hashtable.c:PyObject_CallMethodNoArgs Unexecuted instantiation: import.c:PyObject_CallMethodNoArgs Unexecuted instantiation: importdl.c:PyObject_CallMethodNoArgs Unexecuted instantiation: initconfig.c:PyObject_CallMethodNoArgs Unexecuted instantiation: instrumentation.c:PyObject_CallMethodNoArgs Unexecuted instantiation: instruction_sequence.c:PyObject_CallMethodNoArgs Unexecuted instantiation: intrinsics.c:PyObject_CallMethodNoArgs Unexecuted instantiation: legacy_tracing.c:PyObject_CallMethodNoArgs Unexecuted instantiation: lock.c:PyObject_CallMethodNoArgs Unexecuted instantiation: marshal.c:PyObject_CallMethodNoArgs Unexecuted instantiation: modsupport.c:PyObject_CallMethodNoArgs Unexecuted instantiation: mysnprintf.c:PyObject_CallMethodNoArgs Unexecuted instantiation: parking_lot.c:PyObject_CallMethodNoArgs Unexecuted instantiation: preconfig.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pyarena.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pyctype.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pyhash.c:PyObject_CallMethodNoArgs pylifecycle.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 84 | { | 64 | 84 | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 84 | } |
Unexecuted instantiation: pymath.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pystate.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pythonrun.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pytime.c:PyObject_CallMethodNoArgs Unexecuted instantiation: qsbr.c:PyObject_CallMethodNoArgs Unexecuted instantiation: bootstrap_hash.c:PyObject_CallMethodNoArgs Unexecuted instantiation: specialize.c:PyObject_CallMethodNoArgs Unexecuted instantiation: symtable.c:PyObject_CallMethodNoArgs Unexecuted instantiation: sysmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: thread.c:PyObject_CallMethodNoArgs Unexecuted instantiation: traceback.c:PyObject_CallMethodNoArgs Unexecuted instantiation: tracemalloc.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getopt.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pystrcmp.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pystrtod.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pystrhex.c:PyObject_CallMethodNoArgs Unexecuted instantiation: dtoa.c:PyObject_CallMethodNoArgs Unexecuted instantiation: fileutils.c:PyObject_CallMethodNoArgs Unexecuted instantiation: suggestions.c:PyObject_CallMethodNoArgs Unexecuted instantiation: perf_trampoline.c:PyObject_CallMethodNoArgs Unexecuted instantiation: perf_jit_trampoline.c:PyObject_CallMethodNoArgs Unexecuted instantiation: remote_debugging.c:PyObject_CallMethodNoArgs Unexecuted instantiation: dynload_shlib.c:PyObject_CallMethodNoArgs Unexecuted instantiation: config.c:PyObject_CallMethodNoArgs Unexecuted instantiation: gcmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _asynciomodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: atexitmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: faulthandler.c:PyObject_CallMethodNoArgs Unexecuted instantiation: posixmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: signalmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _tracemalloc.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _suggestions.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _datetimemodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _codecsmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _collectionsmodule.c:PyObject_CallMethodNoArgs _iomodule.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 7.69k | { | 64 | 7.69k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 7.69k | } |
iobase.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 74.3k | { | 64 | 74.3k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 74.3k | } |
Unexecuted instantiation: fileio.c:PyObject_CallMethodNoArgs Unexecuted instantiation: bytesio.c:PyObject_CallMethodNoArgs bufferedio.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 88.5k | { | 64 | 88.5k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 88.5k | } |
textio.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 308 | { | 64 | 308 | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 308 | } |
Unexecuted instantiation: stringio.c:PyObject_CallMethodNoArgs Unexecuted instantiation: itertoolsmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: sre.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _sysconfig.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _threadmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: timemodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _typesmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _typingmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _weakref.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _abc.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _functoolsmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _localemodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _opcode.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _operator.c:PyObject_CallMethodNoArgs Unexecuted instantiation: symtablemodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pwdmodule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getpath.c:PyObject_CallMethodNoArgs Unexecuted instantiation: frozen.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getbuildinfo.c:PyObject_CallMethodNoArgs Unexecuted instantiation: peg_api.c:PyObject_CallMethodNoArgs Unexecuted instantiation: file_tokenizer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: helpers.c:PyObject_CallMethodNoArgs Unexecuted instantiation: myreadline.c:PyObject_CallMethodNoArgs abstract.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 57.5k | { | 64 | 57.5k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 57.5k | } |
Unexecuted instantiation: boolobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: bytes_methods.c:PyObject_CallMethodNoArgs Unexecuted instantiation: bytearrayobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: capsule.c:PyObject_CallMethodNoArgs Unexecuted instantiation: cellobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: classobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: codeobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: complexobject.c:PyObject_CallMethodNoArgs descrobject.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 57.7k | { | 64 | 57.7k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 57.7k | } |
Unexecuted instantiation: enumobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: genobject.c:PyObject_CallMethodNoArgs fileobject.c:PyObject_CallMethodNoArgs Line | Count | Source | 63 | 200k | { | 64 | 200k | size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 65 | | return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL); | 66 | 200k | } |
Unexecuted instantiation: frameobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: funcobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: interpolationobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: iterobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: odictobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: methodobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: namespaceobject.c:PyObject_CallMethodNoArgs Unexecuted instantiation: _contextvars.c:PyObject_CallMethodNoArgs Unexecuted instantiation: Python-ast.c:PyObject_CallMethodNoArgs Unexecuted instantiation: Python-tokenize.c:PyObject_CallMethodNoArgs Unexecuted instantiation: asdl.c:PyObject_CallMethodNoArgs Unexecuted instantiation: assemble.c:PyObject_CallMethodNoArgs Unexecuted instantiation: ast.c:PyObject_CallMethodNoArgs Unexecuted instantiation: ast_preprocess.c:PyObject_CallMethodNoArgs Unexecuted instantiation: ast_unparse.c:PyObject_CallMethodNoArgs Unexecuted instantiation: critical_section.c:PyObject_CallMethodNoArgs Unexecuted instantiation: crossinterp.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getcopyright.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getplatform.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getversion.c:PyObject_CallMethodNoArgs Unexecuted instantiation: optimizer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pathconfig.c:PyObject_CallMethodNoArgs Unexecuted instantiation: structmember.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pegen.c:PyObject_CallMethodNoArgs Unexecuted instantiation: pegen_errors.c:PyObject_CallMethodNoArgs Unexecuted instantiation: parser.c:PyObject_CallMethodNoArgs Unexecuted instantiation: buffer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: lexer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: state.c:PyObject_CallMethodNoArgs Unexecuted instantiation: readline_tokenizer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: string_tokenizer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: utf8_tokenizer.c:PyObject_CallMethodNoArgs Unexecuted instantiation: getcompiler.c:PyObject_CallMethodNoArgs Unexecuted instantiation: mystrtoul.c:PyObject_CallMethodNoArgs Unexecuted instantiation: token.c:PyObject_CallMethodNoArgs Unexecuted instantiation: action_helpers.c:PyObject_CallMethodNoArgs Unexecuted instantiation: string_parser.c:PyObject_CallMethodNoArgs |
67 | | |
68 | | static inline PyObject * |
69 | | PyObject_CallMethodOneArg(PyObject *self, PyObject *name, PyObject *arg) |
70 | 360k | { |
71 | 360k | PyObject *args[2] = {self, arg}; |
72 | 360k | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; |
73 | 360k | assert(arg != NULL); |
74 | 360k | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); |
75 | 360k | } Unexecuted instantiation: bytesobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: call.c:PyObject_CallMethodOneArg Unexecuted instantiation: exceptions.c:PyObject_CallMethodOneArg Unexecuted instantiation: genericaliasobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: floatobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: listobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: longobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: dictobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: memoryobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: moduleobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: object.c:PyObject_CallMethodOneArg Unexecuted instantiation: obmalloc.c:PyObject_CallMethodOneArg Unexecuted instantiation: picklebufobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: rangeobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: setobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: sliceobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: structseq.c:PyObject_CallMethodOneArg Unexecuted instantiation: templateobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: tupleobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: typeobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: typevarobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: unicode_format.c:PyObject_CallMethodOneArg Unexecuted instantiation: unicode_formatter.c:PyObject_CallMethodOneArg Unexecuted instantiation: unicode_writer.c:PyObject_CallMethodOneArg Unexecuted instantiation: unicodectype.c:PyObject_CallMethodOneArg Unexecuted instantiation: unicodeobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: unionobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: weakrefobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: _warnings.c:PyObject_CallMethodOneArg Unexecuted instantiation: bltinmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: ceval.c:PyObject_CallMethodOneArg Unexecuted instantiation: codecs.c:PyObject_CallMethodOneArg Unexecuted instantiation: codegen.c:PyObject_CallMethodOneArg Unexecuted instantiation: compile.c:PyObject_CallMethodOneArg Unexecuted instantiation: context.c:PyObject_CallMethodOneArg Unexecuted instantiation: errors.c:PyObject_CallMethodOneArg Unexecuted instantiation: flowgraph.c:PyObject_CallMethodOneArg Unexecuted instantiation: frame.c:PyObject_CallMethodOneArg Unexecuted instantiation: future.c:PyObject_CallMethodOneArg Unexecuted instantiation: gc.c:PyObject_CallMethodOneArg Unexecuted instantiation: gc_gil.c:PyObject_CallMethodOneArg Unexecuted instantiation: getargs.c:PyObject_CallMethodOneArg Unexecuted instantiation: ceval_gil.c:PyObject_CallMethodOneArg Unexecuted instantiation: hamt.c:PyObject_CallMethodOneArg Unexecuted instantiation: hashtable.c:PyObject_CallMethodOneArg import.c:PyObject_CallMethodOneArg Line | Count | Source | 70 | 436 | { | 71 | 436 | PyObject *args[2] = {self, arg}; | 72 | 436 | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 73 | 436 | assert(arg != NULL); | 74 | | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); | 75 | 436 | } |
Unexecuted instantiation: importdl.c:PyObject_CallMethodOneArg Unexecuted instantiation: initconfig.c:PyObject_CallMethodOneArg Unexecuted instantiation: instrumentation.c:PyObject_CallMethodOneArg Unexecuted instantiation: instruction_sequence.c:PyObject_CallMethodOneArg Unexecuted instantiation: intrinsics.c:PyObject_CallMethodOneArg Unexecuted instantiation: legacy_tracing.c:PyObject_CallMethodOneArg Unexecuted instantiation: lock.c:PyObject_CallMethodOneArg Unexecuted instantiation: marshal.c:PyObject_CallMethodOneArg Unexecuted instantiation: modsupport.c:PyObject_CallMethodOneArg Unexecuted instantiation: mysnprintf.c:PyObject_CallMethodOneArg Unexecuted instantiation: parking_lot.c:PyObject_CallMethodOneArg Unexecuted instantiation: preconfig.c:PyObject_CallMethodOneArg Unexecuted instantiation: pyarena.c:PyObject_CallMethodOneArg Unexecuted instantiation: pyctype.c:PyObject_CallMethodOneArg Unexecuted instantiation: pyhash.c:PyObject_CallMethodOneArg Unexecuted instantiation: pylifecycle.c:PyObject_CallMethodOneArg Unexecuted instantiation: pymath.c:PyObject_CallMethodOneArg Unexecuted instantiation: pystate.c:PyObject_CallMethodOneArg Unexecuted instantiation: pythonrun.c:PyObject_CallMethodOneArg Unexecuted instantiation: pytime.c:PyObject_CallMethodOneArg Unexecuted instantiation: qsbr.c:PyObject_CallMethodOneArg Unexecuted instantiation: bootstrap_hash.c:PyObject_CallMethodOneArg Unexecuted instantiation: specialize.c:PyObject_CallMethodOneArg Unexecuted instantiation: symtable.c:PyObject_CallMethodOneArg Unexecuted instantiation: sysmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: thread.c:PyObject_CallMethodOneArg Unexecuted instantiation: traceback.c:PyObject_CallMethodOneArg Unexecuted instantiation: tracemalloc.c:PyObject_CallMethodOneArg Unexecuted instantiation: getopt.c:PyObject_CallMethodOneArg Unexecuted instantiation: pystrcmp.c:PyObject_CallMethodOneArg Unexecuted instantiation: pystrtod.c:PyObject_CallMethodOneArg Unexecuted instantiation: pystrhex.c:PyObject_CallMethodOneArg Unexecuted instantiation: dtoa.c:PyObject_CallMethodOneArg Unexecuted instantiation: fileutils.c:PyObject_CallMethodOneArg Unexecuted instantiation: suggestions.c:PyObject_CallMethodOneArg Unexecuted instantiation: perf_trampoline.c:PyObject_CallMethodOneArg Unexecuted instantiation: perf_jit_trampoline.c:PyObject_CallMethodOneArg Unexecuted instantiation: remote_debugging.c:PyObject_CallMethodOneArg Unexecuted instantiation: dynload_shlib.c:PyObject_CallMethodOneArg Unexecuted instantiation: config.c:PyObject_CallMethodOneArg Unexecuted instantiation: gcmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _asynciomodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: atexitmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: faulthandler.c:PyObject_CallMethodOneArg Unexecuted instantiation: posixmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: signalmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _tracemalloc.c:PyObject_CallMethodOneArg Unexecuted instantiation: _suggestions.c:PyObject_CallMethodOneArg Unexecuted instantiation: _datetimemodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _codecsmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _collectionsmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _iomodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: iobase.c:PyObject_CallMethodOneArg fileio.c:PyObject_CallMethodOneArg Line | Count | Source | 70 | 7.87k | { | 71 | 7.87k | PyObject *args[2] = {self, arg}; | 72 | 7.87k | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 73 | 7.87k | assert(arg != NULL); | 74 | | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); | 75 | 7.87k | } |
Unexecuted instantiation: bytesio.c:PyObject_CallMethodOneArg bufferedio.c:PyObject_CallMethodOneArg Line | Count | Source | 70 | 189k | { | 71 | 189k | PyObject *args[2] = {self, arg}; | 72 | 189k | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 73 | 189k | assert(arg != NULL); | 74 | | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); | 75 | 189k | } |
textio.c:PyObject_CallMethodOneArg Line | Count | Source | 70 | 161k | { | 71 | 161k | PyObject *args[2] = {self, arg}; | 72 | 161k | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 73 | 161k | assert(arg != NULL); | 74 | | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); | 75 | 161k | } |
Unexecuted instantiation: stringio.c:PyObject_CallMethodOneArg Unexecuted instantiation: itertoolsmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: sre.c:PyObject_CallMethodOneArg Unexecuted instantiation: _sysconfig.c:PyObject_CallMethodOneArg Unexecuted instantiation: _threadmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: timemodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _typesmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _typingmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _weakref.c:PyObject_CallMethodOneArg _abc.c:PyObject_CallMethodOneArg Line | Count | Source | 70 | 1.13k | { | 71 | 1.13k | PyObject *args[2] = {self, arg}; | 72 | 1.13k | size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; | 73 | 1.13k | assert(arg != NULL); | 74 | | return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL); | 75 | 1.13k | } |
Unexecuted instantiation: _functoolsmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _localemodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: _opcode.c:PyObject_CallMethodOneArg Unexecuted instantiation: _operator.c:PyObject_CallMethodOneArg Unexecuted instantiation: symtablemodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: pwdmodule.c:PyObject_CallMethodOneArg Unexecuted instantiation: getpath.c:PyObject_CallMethodOneArg Unexecuted instantiation: frozen.c:PyObject_CallMethodOneArg Unexecuted instantiation: getbuildinfo.c:PyObject_CallMethodOneArg Unexecuted instantiation: peg_api.c:PyObject_CallMethodOneArg Unexecuted instantiation: file_tokenizer.c:PyObject_CallMethodOneArg Unexecuted instantiation: helpers.c:PyObject_CallMethodOneArg Unexecuted instantiation: myreadline.c:PyObject_CallMethodOneArg Unexecuted instantiation: abstract.c:PyObject_CallMethodOneArg Unexecuted instantiation: boolobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: bytes_methods.c:PyObject_CallMethodOneArg Unexecuted instantiation: bytearrayobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: capsule.c:PyObject_CallMethodOneArg Unexecuted instantiation: cellobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: classobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: codeobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: complexobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: descrobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: enumobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: genobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: fileobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: frameobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: funcobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: interpolationobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: iterobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: odictobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: methodobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: namespaceobject.c:PyObject_CallMethodOneArg Unexecuted instantiation: _contextvars.c:PyObject_CallMethodOneArg Unexecuted instantiation: Python-ast.c:PyObject_CallMethodOneArg Unexecuted instantiation: Python-tokenize.c:PyObject_CallMethodOneArg Unexecuted instantiation: asdl.c:PyObject_CallMethodOneArg Unexecuted instantiation: assemble.c:PyObject_CallMethodOneArg Unexecuted instantiation: ast.c:PyObject_CallMethodOneArg Unexecuted instantiation: ast_preprocess.c:PyObject_CallMethodOneArg Unexecuted instantiation: ast_unparse.c:PyObject_CallMethodOneArg Unexecuted instantiation: critical_section.c:PyObject_CallMethodOneArg Unexecuted instantiation: crossinterp.c:PyObject_CallMethodOneArg Unexecuted instantiation: getcopyright.c:PyObject_CallMethodOneArg Unexecuted instantiation: getplatform.c:PyObject_CallMethodOneArg Unexecuted instantiation: getversion.c:PyObject_CallMethodOneArg Unexecuted instantiation: optimizer.c:PyObject_CallMethodOneArg Unexecuted instantiation: pathconfig.c:PyObject_CallMethodOneArg Unexecuted instantiation: structmember.c:PyObject_CallMethodOneArg Unexecuted instantiation: pegen.c:PyObject_CallMethodOneArg Unexecuted instantiation: pegen_errors.c:PyObject_CallMethodOneArg Unexecuted instantiation: parser.c:PyObject_CallMethodOneArg Unexecuted instantiation: buffer.c:PyObject_CallMethodOneArg Unexecuted instantiation: lexer.c:PyObject_CallMethodOneArg Unexecuted instantiation: state.c:PyObject_CallMethodOneArg Unexecuted instantiation: readline_tokenizer.c:PyObject_CallMethodOneArg Unexecuted instantiation: string_tokenizer.c:PyObject_CallMethodOneArg Unexecuted instantiation: utf8_tokenizer.c:PyObject_CallMethodOneArg Unexecuted instantiation: getcompiler.c:PyObject_CallMethodOneArg Unexecuted instantiation: mystrtoul.c:PyObject_CallMethodOneArg Unexecuted instantiation: token.c:PyObject_CallMethodOneArg Unexecuted instantiation: action_helpers.c:PyObject_CallMethodOneArg Unexecuted instantiation: string_parser.c:PyObject_CallMethodOneArg |
76 | | |
77 | | /* Guess the size of object 'o' using len(o) or o.__length_hint__(). |
78 | | If neither of those return a non-negative value, then return the default |
79 | | value. If one of the calls fails, this function returns -1. */ |
80 | | PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t); |
81 | | |
82 | | /* === Sequence protocol ================================================ */ |
83 | | |
84 | | /* Assume tp_as_sequence and sq_item exist and that 'i' does not |
85 | | need to be corrected for a negative index. */ |
86 | | #define PySequence_ITEM(o, i)\ |
87 | 0 | ( Py_TYPE(o)->tp_as_sequence->sq_item((o), (i)) ) |
88 | | |
89 | | /* Return the size of the sequence 'o', assuming that 'o' was returned by |
90 | | PySequence_Fast and is not NULL. */ |
91 | | #define PySequence_Fast_GET_SIZE(o) \ |
92 | 53.4M | (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) |
93 | | |
94 | | /* Return the 'i'-th element of the sequence 'o', assuming that o was returned |
95 | | by PySequence_Fast, and that i is within bounds. */ |
96 | | #define PySequence_Fast_GET_ITEM(o, i)\ |
97 | 233k | (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i))) |
98 | | |
99 | | /* Return a pointer to the underlying item array for |
100 | | an object returned by PySequence_Fast */ |
101 | | #define PySequence_Fast_ITEMS(sf) \ |
102 | 43.8M | (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \ |
103 | 43.8M | : ((PyTupleObject *)(sf))->ob_item) |
104 | | |