Lines Matching refs:nargs
44 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
50 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
54 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
195 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
201 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
205 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
267 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
272 if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) {
275 if (nargs < 1) {
301 bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
306 if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) {
309 if (nargs < 1) {
335 bytes_rstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
340 if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
343 if (nargs < 1) {
374 bytes_translate(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
380 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
384 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf);
418 bytes_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs)
424 if (!_PyArg_CheckPositional("maketrans", nargs, 2, 2)) {
477 bytes_replace(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
484 if (!_PyArg_CheckPositional("replace", nargs, 2, 3)) {
501 if (nargs < 3) {
634 bytes_decode(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
640 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
644 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
705 bytes_splitlines(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
711 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
714 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf);
797 bytes_hex(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
803 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
807 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
843 Py_ssize_t nargs = PyTuple_GET_SIZE(args);
844 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
849 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3, 0, argsbuf);