Lines Matching refs:nargs
80 unicode_center(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_center() argument
86 if (!_PyArg_CheckPositional("center", nargs, 1, 2)) { in unicode_center()
101 if (nargs < 2) { in unicode_center()
136 unicode_encode(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_encode() argument
142 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_encode()
146 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in unicode_encode()
206 unicode_expandtabs(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_expandtabs() argument
212 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_expandtabs()
215 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in unicode_expandtabs()
514 unicode_ljust(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_ljust() argument
520 if (!_PyArg_CheckPositional("ljust", nargs, 1, 2)) { in unicode_ljust()
535 if (nargs < 2) { in unicode_ljust()
581 unicode_strip(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_strip() argument
586 if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) { in unicode_strip()
589 if (nargs < 1) { in unicode_strip()
615 unicode_lstrip(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_lstrip() argument
620 if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) { in unicode_lstrip()
623 if (nargs < 1) { in unicode_lstrip()
649 unicode_rstrip(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_rstrip() argument
654 if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) { in unicode_rstrip()
657 if (nargs < 1) { in unicode_rstrip()
689 unicode_replace(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_replace() argument
696 if (!_PyArg_CheckPositional("replace", nargs, 2, 3)) { in unicode_replace()
715 if (nargs < 3) { in unicode_replace()
823 unicode_rjust(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_rjust() argument
829 if (!_PyArg_CheckPositional("rjust", nargs, 1, 2)) { in unicode_rjust()
844 if (nargs < 2) { in unicode_rjust()
878 unicode_split(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_split() argument
884 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_split()
888 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in unicode_split()
975 unicode_rsplit(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_rsplit() argument
981 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_rsplit()
985 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in unicode_rsplit()
1033 unicode_splitlines(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_splitlines() argument
1039 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_splitlines()
1042 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in unicode_splitlines()
1099 unicode_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs) in unicode_maketrans() argument
1106 if (!_PyArg_CheckPositional("maketrans", nargs, 1, 3)) { in unicode_maketrans()
1110 if (nargs < 2) { in unicode_maketrans()
1121 if (nargs < 3) { in unicode_maketrans()
1274 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in unicode_new() local
1275 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0; in unicode_new()
1280 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in unicode_new()