/third_party/python/Include/cpython/ |
D | abstract.h | 100 PyObject *const *args, size_t nargsf, in _PyObject_VectorcallTstate() argument 107 assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0); in _PyObject_VectorcallTstate() 111 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyObject_VectorcallTstate() 114 res = func(callable, args, nargsf, kwnames); in _PyObject_VectorcallTstate() 120 size_t nargsf, PyObject *kwnames) in PyObject_Vectorcall() argument 124 args, nargsf, kwnames); in PyObject_Vectorcall() 141 size_t nargsf, 177 size_t nargsf; in PyObject_CallOneArg() local 183 nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_CallOneArg() 184 return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL); in PyObject_CallOneArg() [all …]
|
D | object.h | 68 size_t nargsf, PyObject *kwnames);
|
/third_party/python/Objects/ |
D | methodobject.c | 18 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); 20 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); 22 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); 24 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); 26 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); 418 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL() argument 424 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in cfunction_vectorcall_FASTCALL() 437 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL_KEYWORDS() argument 440 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in cfunction_vectorcall_FASTCALL_KEYWORDS() 453 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() argument [all …]
|
D | call.c | 119 PyObject *const *args, size_t nargsf, in _PyObject_FastCallDictTstate() argument 129 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyObject_FastCallDictTstate() 142 res = func(callable, args, nargsf, NULL); in _PyObject_FastCallDictTstate() 163 size_t nargsf, PyObject *kwargs) in PyObject_VectorcallDict() argument 166 return _PyObject_FastCallDictTstate(tstate, callable, args, nargsf, kwargs); in PyObject_VectorcallDict() 333 size_t nargsf, PyObject *kwnames) in _PyFunction_Vectorcall() argument 337 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyFunction_Vectorcall() 745 size_t nargsf, PyObject *kwnames) in PyObject_VectorcallMethod() argument 749 assert(PyVectorcall_NARGS(nargsf) >= 1); in PyObject_VectorcallMethod() 762 nargsf &= ~PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_VectorcallMethod() [all …]
|
D | descrobject.c | 295 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_VARARGS() argument 298 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_VARARGS() 319 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_VARARGS_KEYWORDS() argument 322 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_VARARGS_KEYWORDS() 354 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL_KEYWORDS_METHOD() argument 357 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL_KEYWORDS_METHOD() 374 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL() argument 377 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL() 393 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL_KEYWORDS() argument 396 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL_KEYWORDS() [all …]
|
D | boolobject.c | 60 size_t nargsf, PyObject *kwnames) in bool_vectorcall() argument 67 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in bool_vectorcall()
|
D | classobject.c | 37 size_t nargsf, PyObject *kwnames) in method_vectorcall() argument 44 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall() 47 if (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET) { in method_vectorcall()
|
D | enumobject.c | 331 size_t nargsf, PyObject *kwnames) in reversed_vectorcall() argument 339 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in reversed_vectorcall()
|
D | tupleobject.c | 760 size_t nargsf, PyObject *kwnames) in tuple_vectorcall() argument 766 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in tuple_vectorcall()
|
D | setobject.c | 1025 size_t nargsf, PyObject *kwnames) in frozenset_vectorcall() argument 1031 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in frozenset_vectorcall() 1961 size_t nargsf, PyObject *kwnames) in set_vectorcall() argument 1969 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in set_vectorcall()
|
D | rangeobject.c | 148 size_t nargsf, PyObject *kwnames) in range_vectorcall() argument 150 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in range_vectorcall()
|
D | floatobject.c | 1663 size_t nargsf, PyObject *kwnames) in float_vectorcall() argument 1669 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in float_vectorcall()
|
D | typeobject.c | 1620 size_t nargsf = nargs; in vectorcall_unbound() local 1625 nargsf = nargsf - 1 + PY_VECTORCALL_ARGUMENTS_OFFSET; in vectorcall_unbound() 1627 return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL); in vectorcall_unbound() 3333 size_t nargsf, PyObject *kwnames) in type_vectorcall() argument 3335 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in type_vectorcall()
|
D | listobject.c | 2741 size_t nargsf, PyObject *kwnames) in list_vectorcall() argument 2746 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in list_vectorcall()
|
D | dictobject.c | 3487 size_t nargsf, PyObject *kwnames) in dict_vectorcall() argument 3490 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in dict_vectorcall()
|
/third_party/python/Doc/c-api/ |
D | call.rst | 71 .. c:type:: PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args, size_t nargsf, P… 77 - *nargsf* is the number of positional arguments plus possibly the 79 To get the actual number of positional arguments from *nargsf*, 89 If this flag is set in a vectorcall *nargsf* argument, the callee is allowed 136 .. c:function:: Py_ssize_t PyVectorcall_NARGS(size_t nargsf) 138 Given a vectorcall *nargsf* argument, return the actual number of 142 (Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET) 365 …t* PyObject_Vectorcall(PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwnames) 379 …PyObject_VectorcallDict(PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwdict) 395 … PyObject_VectorcallMethod(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames) [all …]
|
/third_party/python/Include/internal/ |
D | pycore_call.h | 22 size_t nargsf,
|
/third_party/python/Include/ |
D | funcobject.h | 75 size_t nargsf,
|
/third_party/python/Modules/ |
D | _functoolsmodule.c | 191 PyObject *const *args, size_t nargsf, in partial_vectorcall_fallback() argument 195 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in partial_vectorcall_fallback() 202 size_t nargsf, PyObject *kwnames) in partial_vectorcall() argument 208 return partial_vectorcall_fallback(tstate, pto, args, nargsf, kwnames); in partial_vectorcall() 211 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in partial_vectorcall() 228 if (pto_nargs == 1 && (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET)) { in partial_vectorcall()
|
D | _testcapimodule.c | 6473 size_t nargsf, PyObject *kwnames) in MethodDescriptor_vectorcall() argument
|
/third_party/python/Python/ |
D | bltinmodule.c | 536 size_t nargsf, PyObject *kwnames) in filter_vectorcall() argument 543 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in filter_vectorcall() 1260 size_t nargsf, PyObject *kwnames) in map_vectorcall() argument 1267 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in map_vectorcall()
|