Lines Matching defs:nargs
1369 specialize_class_call(PyObject *callable, _Py_CODEUNIT *instr, int nargs,
1379 if (nargs == 1 && kwnames == NULL && oparg == 1) {
1431 int nargs, PyObject *kwnames, int oparg)
1443 if (nargs != 1) {
1451 if (nargs != 2) {
1481 specialize_py_call(PyFunctionObject *func, _Py_CODEUNIT *instr, int nargs,
1505 if (nargs > argcount || nargs < min_args) {
1509 assert(nargs <= argcount && nargs >= min_args);
1523 if (argcount == nargs) {
1533 specialize_c_call(PyObject *callable, _Py_CODEUNIT *instr, int nargs,
1548 if (nargs != 1) {
1566 if (nargs == 2) {
1631 _Py_Specialize_Precall(PyObject *callable, _Py_CODEUNIT *instr, int nargs,
1638 fail = specialize_c_call(callable, instr, nargs, kwnames);
1645 fail = specialize_class_call(callable, instr, nargs, kwnames, oparg);
1649 instr, nargs, kwnames, oparg);
1677 _Py_Specialize_Call(PyObject *callable, _Py_CODEUNIT *instr, int nargs,
1684 fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs,