Lines Matching defs:nargs
842 math_gcd(PyObject *module, PyObject * const *args, Py_ssize_t nargs)
847 if (nargs == 0) {
854 if (nargs == 1) {
860 for (i = 1; i < nargs; i++) {
917 math_lcm(PyObject *module, PyObject * const *args, Py_ssize_t nargs)
922 if (nargs == 0) {
929 if (nargs == 1) {
935 for (i = 1; i < nargs; i++) {
1122 math_2(PyObject *const *args, Py_ssize_t nargs,
1126 if (!_PyArg_CheckPositional(funcname, nargs, 2, 2))
1169 static PyObject * math_##funcname(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { \
1170 return math_2(args, nargs, func, #funcname); \
2754 math_hypot(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
2764 if (nargs > NUM_STACK_ELEMS) {
2765 coordinates = (double *) PyObject_Malloc(nargs * sizeof(double));
2770 for (i = 0; i < nargs; i++) {
2780 result = vector_norm(nargs, coordinates, max, found_nan);