• Home
  • Raw
  • Download

Lines Matching refs:nargs

26 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)  in bytes_split()  argument
32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_split()
36 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_split()
177 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit() argument
183 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_rsplit()
187 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_rsplit()
249 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_strip() argument
254 if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) { in bytes_strip()
257 if (nargs < 1) { in bytes_strip()
283 bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_lstrip() argument
288 if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) { in bytes_lstrip()
291 if (nargs < 1) { in bytes_lstrip()
317 bytes_rstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_rstrip() argument
322 if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) { in bytes_rstrip()
325 if (nargs < 1) { in bytes_rstrip()
356 bytes_translate(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_translate() argument
362 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in bytes_translate()
366 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in bytes_translate()
400 bytes_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs) in bytes_maketrans() argument
406 if (!_PyArg_CheckPositional("maketrans", nargs, 2, 2)) { in bytes_maketrans()
459 bytes_replace(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_replace() argument
466 if (!_PyArg_CheckPositional("replace", nargs, 2, 3)) { in bytes_replace()
483 if (nargs < 3) { in bytes_replace()
616 bytes_decode(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_decode() argument
622 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_decode()
626 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_decode()
687 bytes_splitlines(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_splitlines() argument
693 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_splitlines()
696 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in bytes_splitlines()
779 bytes_hex(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_hex() argument
785 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_hex()
789 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_hex()
825 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in bytes_new() local
826 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0; in bytes_new()
831 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in bytes_new()