Searched refs:nkwargs (Results 1 – 5 of 5) sorted by relevance
276 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyCFunction_FastCallKeywords() local281 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyCFunction_FastCallKeywords()285 if (nkwargs > 0) { in _PyCFunction_FastCallKeywords()
2370 Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames); in _PyStack_AsDict() local2379 for (i = 0; i < nkwargs; i++) { in _PyStack_AsDict()2397 Py_ssize_t nkwargs; in _PyStack_UnpackDict() local2405 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() local2457 assert((nargs == 0 && nkwargs == 0) || stack != NULL); in _PyObject_FastCallKeywords()[all …]
1961 Py_ssize_t i, nkwargs; in find_keyword() local1963 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() local2167 nkwargs = PyTuple_GET_SIZE(kwnames); in vgetargskeywordsfast_impl()2168 for (j=0; j < nkwargs; j++) { in vgetargskeywordsfast_impl()
4785 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in call_function() local4786 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() local4904 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()
1003 nkwargs = co.co_kwonlyargcount1005 kwonlyargs = list(names[nargs:nargs+nkwargs])1008 nargs += nkwargs