Lines Matching defs:self
6 "__bytes__($self, /)\n"
15 bytes___bytes___impl(PyBytesObject *self);
18 bytes___bytes__(PyBytesObject *self, PyObject *Py_UNUSED(ignored))
20 return bytes___bytes___impl(self);
24 "split($self, /, sep=None, maxsplit=-1)\n"
41 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
44 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
80 return_value = bytes_split_impl(self, sep, maxsplit);
87 "partition($self, sep, /)\n"
103 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep);
106 bytes_partition(PyBytesObject *self, PyObject *arg)
118 return_value = bytes_partition_impl(self, &sep);
130 "rpartition($self, sep, /)\n"
146 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep);
149 bytes_rpartition(PyBytesObject *self, PyObject *arg)
161 return_value = bytes_rpartition_impl(self, &sep);
173 "rsplit($self, /, sep=None, maxsplit=-1)\n"
192 bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
195 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
231 return_value = bytes_rsplit_impl(self, sep, maxsplit);
238 "join($self, iterable_of_bytes, /)\n"
253 "strip($self, bytes=None, /)\n"
264 bytes_strip_impl(PyBytesObject *self, PyObject *bytes);
267 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
280 return_value = bytes_strip_impl(self, bytes);
287 "lstrip($self, bytes=None, /)\n"
298 bytes_lstrip_impl(PyBytesObject *self, PyObject *bytes);
301 bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
314 return_value = bytes_lstrip_impl(self, bytes);
321 "rstrip($self, bytes=None, /)\n"
332 bytes_rstrip_impl(PyBytesObject *self, PyObject *bytes);
335 bytes_rstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
348 return_value = bytes_rstrip_impl(self, bytes);
355 "translate($self, table, /, delete=b\'\')\n"
370 bytes_translate_impl(PyBytesObject *self, PyObject *table,
374 bytes_translate(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
394 return_value = bytes_translate_impl(self, table, deletechars);
457 "replace($self, old, new, count=-1, /)\n"
473 bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new,
477 bytes_replace(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
517 return_value = bytes_replace_impl(self, &old, &new, count);
533 "removeprefix($self, prefix, /)\n"
545 bytes_removeprefix_impl(PyBytesObject *self, Py_buffer *prefix);
548 bytes_removeprefix(PyBytesObject *self, PyObject *arg)
560 return_value = bytes_removeprefix_impl(self, &prefix);
572 "removesuffix($self, suffix, /)\n"
585 bytes_removesuffix_impl(PyBytesObject *self, Py_buffer *suffix);
588 bytes_removesuffix(PyBytesObject *self, PyObject *arg)
600 return_value = bytes_removesuffix_impl(self, &suffix);
612 "decode($self, /, encoding=\'utf-8\', errors=\'strict\')\n"
630 bytes_decode_impl(PyBytesObject *self, const char *encoding,
634 bytes_decode(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
683 return_value = bytes_decode_impl(self, encoding, errors);
690 "splitlines($self, /, keepends=False)\n"
702 bytes_splitlines_impl(PyBytesObject *self, int keepends);
705 bytes_splitlines(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
726 return_value = bytes_splitlines_impl(self, keepends);
768 "hex($self, /, sep=<unrepresentable>, bytes_per_sep=1)\n"
794 bytes_hex_impl(PyBytesObject *self, PyObject *sep, int bytes_per_sep);
797 bytes_hex(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
825 return_value = bytes_hex_impl(self, sep, bytes_per_sep);