Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dmethodobject.c276 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyCFunction_FastCallKeywords() local
281 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyCFunction_FastCallKeywords()
285 if (nkwargs > 0) { in _PyCFunction_FastCallKeywords()
Dabstract.c2370 Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames); in _PyStack_AsDict() local
2379 for (i = 0; i < nkwargs; i++) { in _PyStack_AsDict()
2397 Py_ssize_t nkwargs; in _PyStack_UnpackDict() local
2405 nkwargs = (kwargs != NULL) ? PyDict_Size(kwargs) : 0; in _PyStack_UnpackDict()
2406 if (!nkwargs) { in _PyStack_UnpackDict()
2411 if ((size_t)nargs > PY_SSIZE_T_MAX / sizeof(stack[0]) - (size_t)nkwargs) { in _PyStack_UnpackDict()
2416 stack = PyMem_Malloc((nargs + nkwargs) * sizeof(stack[0])); in _PyStack_UnpackDict()
2422 kwnames = PyTuple_New(nkwargs); in _PyStack_UnpackDict()
2453 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyObject_FastCallKeywords() local
2457 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyObject_FastCallKeywords()
[all …]
/external/python/cpython3/Python/
Dgetargs.c1961 Py_ssize_t i, nkwargs; in find_keyword() local
1963 nkwargs = PyTuple_GET_SIZE(kwnames); in find_keyword()
1964 for (i=0; i < nkwargs; i++) { in find_keyword()
2165 Py_ssize_t j, nkwargs; in vgetargskeywordsfast_impl() local
2167 nkwargs = PyTuple_GET_SIZE(kwnames); in vgetargskeywordsfast_impl()
2168 for (j=0; j < nkwargs; j++) { in vgetargskeywordsfast_impl()
Dceval.c4785 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in call_function() local
4786 Py_ssize_t nargs = oparg - nkwargs; in call_function()
4797 stack = (*pp_stack) - nargs - nkwargs; in call_function()
4816 stack = (*pp_stack) - nargs - nkwargs; in call_function()
4898 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in fast_function() local
4904 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in fast_function()
4911 if (co->co_kwonlyargcount == 0 && nkwargs == 0 && in fast_function()
4941 nkwargs ? &PyTuple_GET_ITEM(kwnames, 0) : NULL, in fast_function()
4943 nkwargs, 1, in fast_function()
/external/python/cpython3/Lib/
Dinspect.py1003 nkwargs = co.co_kwonlyargcount
1005 kwonlyargs = list(names[nargs:nargs+nkwargs])
1008 nargs += nkwargs