Home
last modified time | relevance | path

Searched refs:nkwargs (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/
Dcall.c165 Py_ssize_t nkwargs; in _PyObject_FastCallKeywords() local
167 nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyObject_FastCallKeywords()
168 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyObject_FastCallKeywords()
182 if (nkwargs > 0) { in _PyObject_FastCallKeywords()
394 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyFunction_FastCallKeywords() local
400 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyFunction_FastCallKeywords()
404 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in _PyFunction_FastCallKeywords()
435 nkwargs ? &PyTuple_GET_ITEM(kwnames, 0) : NULL, in _PyFunction_FastCallKeywords()
437 nkwargs, 1, in _PyFunction_FastCallKeywords()
608 Py_ssize_t nkwargs = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames); in _PyMethodDef_RawFastCallKeywords() local
[all …]
/external/python/cpython3/Python/
Dgetargs.c1608 Py_ssize_t nargs, nkwargs; in vgetargskeywords() local
1657 nkwargs = (kwargs == NULL) ? 0 : PyDict_GET_SIZE(kwargs); in vgetargskeywords()
1658 if (nargs + nkwargs > len) { in vgetargskeywords()
1668 nargs + nkwargs); in vgetargskeywords()
1740 else if (nkwargs && i >= pos) { in vgetargskeywords()
1743 --nkwargs; in vgetargskeywords()
1782 if (!nkwargs && !skip) { in vgetargskeywords()
1815 if (nkwargs > 0) { in vgetargskeywords()
1994 Py_ssize_t i, nkwargs; in find_keyword() local
1999 nkwargs = PyTuple_GET_SIZE(kwnames); in find_keyword()
[all …]
Dceval.c4559 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in Py_LOCAL_INLINE() local
4560 Py_ssize_t nargs = oparg - nkwargs; in Py_LOCAL_INLINE()
4561 PyObject **stack = (*pp_stack) - nargs - nkwargs; in Py_LOCAL_INLINE()
/external/python/cpython3/Lib/
Dinspect.py1038 nkwargs = co.co_kwonlyargcount
1040 kwonlyargs = list(names[nargs:nargs+nkwargs])
1043 nargs += nkwargs