Home
last modified time | relevance | path

Searched refs:nargsf (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Include/cpython/
Dabstract.h104 PyObject *const *args, size_t nargsf, in _PyObject_VectorcallTstate() argument
111 assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0); in _PyObject_VectorcallTstate()
115 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyObject_VectorcallTstate()
118 res = func(callable, args, nargsf, kwnames); in _PyObject_VectorcallTstate()
124 size_t nargsf, PyObject *kwnames) in PyObject_Vectorcall() argument
128 args, nargsf, kwnames); in PyObject_Vectorcall()
145 size_t nargsf,
181 size_t nargsf; in PyObject_CallOneArg() local
187 nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_CallOneArg()
188 return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL); in PyObject_CallOneArg()
[all …]
Dobject.h75 size_t nargsf, PyObject *kwnames);
/external/python/cpython3/Objects/
Dmethodobject.c18 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);
414 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL() argument
420 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in cfunction_vectorcall_FASTCALL()
433 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL_KEYWORDS() argument
436 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in cfunction_vectorcall_FASTCALL_KEYWORDS()
449 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() argument
[all …]
Dcall.c95 PyObject *const *args, size_t nargsf, in _PyObject_FastCallDictTstate() argument
105 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyObject_FastCallDictTstate()
118 res = func(callable, args, nargsf, NULL); in _PyObject_FastCallDictTstate()
139 size_t nargsf, PyObject *kwargs) in PyObject_VectorcallDict() argument
142 return _PyObject_FastCallDictTstate(tstate, callable, args, nargsf, kwargs); in PyObject_VectorcallDict()
346 size_t nargsf, PyObject *kwnames) in _PyFunction_Vectorcall() argument
351 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyFunction_Vectorcall()
802 size_t nargsf, PyObject *kwnames) in PyObject_VectorcallMethod() argument
806 assert(PyVectorcall_NARGS(nargsf) >= 1); in PyObject_VectorcallMethod()
819 nargsf &= ~PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_VectorcallMethod()
[all …]
Ddescrobject.c297 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_VARARGS() argument
300 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_VARARGS()
321 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_VARARGS_KEYWORDS() argument
324 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_VARARGS_KEYWORDS()
356 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL_KEYWORDS_METHOD() argument
359 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL_KEYWORDS_METHOD()
376 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL() argument
379 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL()
395 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) in method_vectorcall_FASTCALL_KEYWORDS() argument
398 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in method_vectorcall_FASTCALL_KEYWORDS()
[all …]
Dclassobject.c37 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()
Dtupleobject.c713 size_t nargsf, PyObject *kwnames) in tuple_vectorcall() argument
719 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in tuple_vectorcall()
Drangeobject.c147 size_t nargsf, PyObject *kwnames) in range_vectorcall() argument
149 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in range_vectorcall()
Dsetobject.c1028 size_t nargsf, PyObject *kwnames) in frozenset_vectorcall() argument
1034 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in frozenset_vectorcall()
1964 size_t nargsf, PyObject *kwnames) in set_vectorcall() argument
1972 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in set_vectorcall()
Dlistobject.c2722 size_t nargsf, PyObject *kwnames) in list_vectorcall() argument
2727 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in list_vectorcall()
Dtypeobject.c1498 size_t nargsf = nargs; in vectorcall_unbound() local
1503 nargsf = nargsf - 1 + PY_VECTORCALL_ARGUMENTS_OFFSET; in vectorcall_unbound()
1505 return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL); in vectorcall_unbound()
Ddictobject.c3371 size_t nargsf, PyObject *kwnames) in dict_vectorcall() argument
3374 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in dict_vectorcall()
/external/python/cpython3/Doc/c-api/
Dcall.rst71 .. 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 …]
/external/python/cpython3/Include/internal/
Dpycore_call.h22 size_t nargsf,
/external/python/cpython3/Include/
Dfuncobject.h66 size_t nargsf,
/external/python/cpython3/Modules/
D_functoolsmodule.c135 PyObject *const *args, size_t nargsf, in partial_vectorcall_fallback() argument
139 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in partial_vectorcall_fallback()
146 size_t nargsf, PyObject *kwnames) in partial_vectorcall() argument
152 return partial_vectorcall_fallback(tstate, pto, args, nargsf, kwnames); in partial_vectorcall()
155 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in partial_vectorcall()
172 if (pto_nargs == 1 && (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET)) { in partial_vectorcall()
D_testcapimodule.c6128 size_t nargsf, PyObject *kwnames) in MethodDescriptor_vectorcall() argument