Home
last modified time | relevance | path

Searched refs:PyByteArrayObject (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/clinic/
Dbytearrayobject.c.h6 bytearray___init___impl(PyByteArrayObject *self, PyObject *arg,
68 return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors); in bytearray___init__()
84 bytearray_clear_impl(PyByteArrayObject *self);
87 bytearray_clear(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored)) in bytearray_clear()
102 bytearray_copy_impl(PyByteArrayObject *self);
105 bytearray_copy(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored)) in bytearray_copy()
124 bytearray_removeprefix_impl(PyByteArrayObject *self, Py_buffer *prefix);
127 bytearray_removeprefix(PyByteArrayObject *self, PyObject *arg) in bytearray_removeprefix()
164 bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix);
167 bytearray_removesuffix(PyByteArrayObject *self, PyObject *arg) in bytearray_removesuffix()
[all …]
/third_party/python/Objects/
Dbytearrayobject.c43 bytearray_getbuffer(PyByteArrayObject *obj, Py_buffer *view, int flags) in bytearray_getbuffer()
59 bytearray_releasebuffer(PyByteArrayObject *obj, Py_buffer *view) in bytearray_releasebuffer()
65 _canresize(PyByteArrayObject *self) in _canresize()
108 PyByteArrayObject *new; in PyByteArray_FromStringAndSize()
122 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize()
171 PyByteArrayObject *obj = ((PyByteArrayObject *)self); in PyByteArray_Resize()
250 PyByteArrayObject *result = NULL; in PyByteArray_Concat()
266 result = (PyByteArrayObject *) \ in PyByteArray_Concat()
286 bytearray_length(PyByteArrayObject *self) in bytearray_length()
292 bytearray_iconcat(PyByteArrayObject *self, PyObject *other) in bytearray_iconcat()
[all …]
/third_party/python/Include/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
17 Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string)
/third_party/python/Doc/c-api/
Dbytearray.rst11 .. c:type:: PyByteArrayObject
Darg.rst134 ``Y`` (:class:`bytearray`) [PyByteArrayObject \*]
/third_party/python/Lib/test/
Dclinic.test290 a: PyByteArrayObject
304 test_PyByteArrayObject_converter_impl(PyObject *module, PyByteArrayObject *a);
310 PyByteArrayObject *a;
316 a = (PyByteArrayObject *)arg;
324 test_PyByteArrayObject_converter_impl(PyObject *module, PyByteArrayObject *a)
/third_party/python/Modules/
D_testcapimodule.c1655 PyByteArrayObject *buffer = NULL; in getargs_es_hash()
1678 PyByteArrayObject *buffer = NULL; in getargs_et_hash()
/third_party/python/Doc/howto/
Dclinic.rst857 ``'Y'`` ``PyByteArrayObject``