Lines Matching refs:self

6 bytearray___init___impl(PyByteArrayObject *self, PyObject *arg,
10 bytearray___init__(PyObject *self, PyObject *args, PyObject *kwargs)
68 return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
75 "clear($self, /)\n"
84 bytearray_clear_impl(PyByteArrayObject *self);
87 bytearray_clear(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
89 return bytearray_clear_impl(self);
93 "copy($self, /)\n"
102 bytearray_copy_impl(PyByteArrayObject *self);
105 bytearray_copy(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
107 return bytearray_copy_impl(self);
111 "removeprefix($self, prefix, /)\n"
124 bytearray_removeprefix_impl(PyByteArrayObject *self, Py_buffer *prefix);
127 bytearray_removeprefix(PyByteArrayObject *self, PyObject *arg)
139 return_value = bytearray_removeprefix_impl(self, &prefix);
151 "removesuffix($self, suffix, /)\n"
164 bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix);
167 bytearray_removesuffix(PyByteArrayObject *self, PyObject *arg)
179 return_value = bytearray_removesuffix_impl(self, &suffix);
191 "translate($self, table, /, delete=b\'\')\n"
206 bytearray_translate_impl(PyByteArrayObject *self, PyObject *table,
210 bytearray_translate(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
230 return_value = bytearray_translate_impl(self, table, deletechars);
293 "replace($self, old, new, count=-1, /)\n"
309 bytearray_replace_impl(PyByteArrayObject *self, Py_buffer *old,
313 bytearray_replace(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
353 return_value = bytearray_replace_impl(self, &old, &new, count);
369 "split($self, /, sep=None, maxsplit=-1)\n"
386 bytearray_split_impl(PyByteArrayObject *self, PyObject *sep,
390 bytearray_split(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
426 return_value = bytearray_split_impl(self, sep, maxsplit);
433 "partition($self, sep, /)\n"
449 "rpartition($self, sep, /)\n"
466 "rsplit($self, /, sep=None, maxsplit=-1)\n"
485 bytearray_rsplit_impl(PyByteArrayObject *self, PyObject *sep,
489 bytearray_rsplit(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
525 return_value = bytearray_rsplit_impl(self, sep, maxsplit);
532 "reverse($self, /)\n"
541 bytearray_reverse_impl(PyByteArrayObject *self);
544 bytearray_reverse(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
546 return bytearray_reverse_impl(self);
550 "insert($self, index, item, /)\n"
564 bytearray_insert_impl(PyByteArrayObject *self, Py_ssize_t index, int item);
567 bytearray_insert(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
591 return_value = bytearray_insert_impl(self, index, item);
598 "append($self, item, /)\n"
610 bytearray_append_impl(PyByteArrayObject *self, int item);
613 bytearray_append(PyByteArrayObject *self, PyObject *arg)
621 return_value = bytearray_append_impl(self, item);
628 "extend($self, iterable_of_ints, /)\n"
640 "pop($self, index=-1, /)\n"
655 bytearray_pop_impl(PyByteArrayObject *self, Py_ssize_t index);
658 bytearray_pop(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
682 return_value = bytearray_pop_impl(self, index);
689 "remove($self, value, /)\n"
701 bytearray_remove_impl(PyByteArrayObject *self, int value);
704 bytearray_remove(PyByteArrayObject *self, PyObject *arg)
712 return_value = bytearray_remove_impl(self, value);
719 "strip($self, bytes=None, /)\n"
730 bytearray_strip_impl(PyByteArrayObject *self, PyObject *bytes);
733 bytearray_strip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
746 return_value = bytearray_strip_impl(self, bytes);
753 "lstrip($self, bytes=None, /)\n"
764 bytearray_lstrip_impl(PyByteArrayObject *self, PyObject *bytes);
767 bytearray_lstrip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
780 return_value = bytearray_lstrip_impl(self, bytes);
787 "rstrip($self, bytes=None, /)\n"
798 bytearray_rstrip_impl(PyByteArrayObject *self, PyObject *bytes);
801 bytearray_rstrip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
814 return_value = bytearray_rstrip_impl(self, bytes);
821 "decode($self, /, encoding=\'utf-8\', errors=\'strict\')\n"
839 bytearray_decode_impl(PyByteArrayObject *self, const char *encoding,
843 bytearray_decode(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
892 return_value = bytearray_decode_impl(self, encoding, errors);
899 "join($self, iterable_of_bytes, /)\n"
912 "splitlines($self, /, keepends=False)\n"
924 bytearray_splitlines_impl(PyByteArrayObject *self, int keepends);
927 bytearray_splitlines(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
948 return_value = bytearray_splitlines_impl(self, keepends);
990 "hex($self, /, sep=<unrepresentable>, bytes_per_sep=1)\n"
1016 bytearray_hex_impl(PyByteArrayObject *self, PyObject *sep, int bytes_per_sep);
1019 bytearray_hex(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
1047 return_value = bytearray_hex_impl(self, sep, bytes_per_sep);
1054 "__reduce__($self, /)\n"
1063 bytearray_reduce_impl(PyByteArrayObject *self);
1066 bytearray_reduce(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
1068 return bytearray_reduce_impl(self);
1072 "__reduce_ex__($self, proto=0, /)\n"
1081 bytearray_reduce_ex_impl(PyByteArrayObject *self, int proto);
1084 bytearray_reduce_ex(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
1100 return_value = bytearray_reduce_ex_impl(self, proto);
1107 "__sizeof__($self, /)\n"
1116 bytearray_sizeof_impl(PyByteArrayObject *self);
1119 bytearray_sizeof(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
1121 return bytearray_sizeof_impl(self);