Home
last modified time | relevance | path

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

/third_party/python/Python/
Dgetargs.c1584 Py_ssize_t nargs, nkwargs; in vgetargskeywords() local
1633 nkwargs = (kwargs == NULL) ? 0 : PyDict_GET_SIZE(kwargs); in vgetargskeywords()
1634 if (nargs + nkwargs > len) { in vgetargskeywords()
1644 nargs + nkwargs); in vgetargskeywords()
1718 else if (nkwargs && i >= pos) { in vgetargskeywords()
1721 --nkwargs; in vgetargskeywords()
1764 if (!nkwargs && !skip) { in vgetargskeywords()
1799 if (nkwargs > 0) { in vgetargskeywords()
1982 Py_ssize_t i, nkwargs; in find_keyword() local
1984 nkwargs = PyTuple_GET_SIZE(kwnames); in find_keyword()
[all …]
Dceval.c5859 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in Py_LOCAL_INLINE() local
5860 Py_ssize_t nargs = oparg - nkwargs; in Py_LOCAL_INLINE()
5861 PyObject **stack = (*pp_stack) - nargs - nkwargs; in Py_LOCAL_INLINE()
/third_party/python/Objects/
Dcall.c853 Py_ssize_t nkwargs; in _PyStack_AsDict() local
858 nkwargs = PyTuple_GET_SIZE(kwnames); in _PyStack_AsDict()
859 kwdict = _PyDict_NewPresized(nkwargs); in _PyStack_AsDict()
864 for (i = 0; i < nkwargs; i++) { in _PyStack_AsDict()
898 Py_ssize_t nkwargs = PyDict_GET_SIZE(kwargs); in _PyStack_UnpackDict() local
903 if (nargs > maxnargs - nkwargs) { in _PyStack_UnpackDict()
909 PyObject **stack = PyMem_Malloc((1 + nargs + nkwargs) * sizeof(args[0])); in _PyStack_UnpackDict()
915 PyObject *kwnames = PyTuple_New(nkwargs); in _PyStack_UnpackDict()
Dclassobject.c58 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in method_vectorcall() local
59 Py_ssize_t totalargs = nargs + nkwargs; in method_vectorcall()
/third_party/python/Lib/
Dinspect.py1202 nkwargs = co.co_kwonlyargcount
1204 kwonlyargs = list(names[nargs:nargs+nkwargs])
1207 nargs += nkwargs