• Home
  • Raw
  • Download

Lines Matching refs:kwnames

99         PyObject *kwnames;  in _PyObject_FastCallDict()  local
101 if (_PyStack_UnpackDict(args, nargs, kwargs, &newargs, &kwnames) < 0) { in _PyObject_FastCallDict()
104 res = func(callable, newargs, nargs, kwnames); in _PyObject_FastCallDict()
105 if (kwnames != NULL) { in _PyObject_FastCallDict()
106 Py_ssize_t i, n = PyTuple_GET_SIZE(kwnames) + nargs; in _PyObject_FastCallDict()
111 Py_DECREF(kwnames); in _PyObject_FastCallDict()
194 PyObject *kwnames; in PyVectorcall_Call() local
196 kwargs, &args, &kwnames) < 0) { in PyVectorcall_Call()
199 PyObject *result = func(callable, args, nargs, kwnames); in PyVectorcall_Call()
200 if (kwnames != NULL) { in PyVectorcall_Call()
201 Py_ssize_t i, n = PyTuple_GET_SIZE(kwnames) + nargs; in PyVectorcall_Call()
206 Py_DECREF(kwnames); in PyVectorcall_Call()
388 size_t nargsf, PyObject *kwnames) in _PyFunction_Vectorcall() argument
395 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyFunction_Vectorcall()
401 assert(kwnames == NULL || PyTuple_CheckExact(kwnames)); in _PyFunction_Vectorcall()
437 nkwargs ? _PyTuple_ITEMS(kwnames) : NULL, in _PyFunction_Vectorcall()
539 PyObject *kwnames; in _PyMethodDef_RawFastCallDict() local
542 if (_PyStack_UnpackDict(args, nargs, kwargs, &stack, &kwnames) < 0) { in _PyMethodDef_RawFastCallDict()
546 result = (*fastmeth) (self, stack, nargs, kwnames); in _PyMethodDef_RawFastCallDict()
547 if (kwnames != NULL) { in _PyMethodDef_RawFastCallDict()
548 Py_ssize_t i, n = nargs + PyTuple_GET_SIZE(kwnames); in _PyMethodDef_RawFastCallDict()
553 Py_DECREF(kwnames); in _PyMethodDef_RawFastCallDict()
599 PyObject *kwnames) in _PyMethodDef_RawFastCallKeywords() argument
608 assert(kwnames == NULL || PyTuple_CheckExact(kwnames)); in _PyMethodDef_RawFastCallKeywords()
614 Py_ssize_t nkwargs = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames); in _PyMethodDef_RawFastCallKeywords()
662 result = ((_PyCFunctionFastWithKeywords)(void(*)(void))meth) (self, args, nargs, kwnames); in _PyMethodDef_RawFastCallKeywords()
686 kwdict = _PyStack_AsDict(args + nargs, kwnames); in _PyMethodDef_RawFastCallKeywords()
1269 _PyStack_AsDict(PyObject *const *values, PyObject *kwnames) in _PyStack_AsDict() argument
1275 assert(kwnames != NULL); in _PyStack_AsDict()
1276 nkwargs = PyTuple_GET_SIZE(kwnames); in _PyStack_AsDict()
1283 PyObject *key = PyTuple_GET_ITEM(kwnames, i); in _PyStack_AsDict()
1303 PyObject *kwnames; in _PyStack_UnpackDict() local
1325 kwnames = PyTuple_New(nkwargs); in _PyStack_UnpackDict()
1326 if (kwnames == NULL) { in _PyStack_UnpackDict()
1345 PyTuple_SET_ITEM(kwnames, i, key); in _PyStack_UnpackDict()
1351 *p_kwnames = kwnames; in _PyStack_UnpackDict()