Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/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 …]
/aosp_15_r20/external/python/cpython2/Objects/
Dbytearrayobject.c63 bytearray_buffer_getreadbuf(PyByteArrayObject *self, Py_ssize_t index, const void **ptr) in bytearray_buffer_getreadbuf()
75 bytearray_buffer_getwritebuf(PyByteArrayObject *self, Py_ssize_t index, const void **ptr) in bytearray_buffer_getwritebuf()
87 bytearray_buffer_getsegcount(PyByteArrayObject *self, Py_ssize_t *lenp) in bytearray_buffer_getsegcount()
95 bytearray_buffer_getcharbuf(PyByteArrayObject *self, Py_ssize_t index, const char **ptr) in bytearray_buffer_getcharbuf()
107 bytearray_getbuffer(PyByteArrayObject *obj, Py_buffer *view, int flags) in bytearray_getbuffer()
124 bytearray_releasebuffer(PyByteArrayObject *obj, Py_buffer *view) in bytearray_releasebuffer()
148 _canresize(PyByteArrayObject *self) in _canresize()
190 PyByteArrayObject *new; in PyByteArray_FromStringAndSize()
199 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize()
247 Py_ssize_t alloc = ((PyByteArrayObject *)self)->ob_alloc; in PyByteArray_Resize()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/
Dbytearrayobject.c45 bytearray_getbuffer(PyByteArrayObject *obj, Py_buffer *view, int flags) in bytearray_getbuffer()
61 bytearray_releasebuffer(PyByteArrayObject *obj, Py_buffer *view) in bytearray_releasebuffer()
67 _canresize(PyByteArrayObject *self) in _canresize()
110 PyByteArrayObject *new; in PyByteArray_FromStringAndSize()
124 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize()
173 PyByteArrayObject *obj = ((PyByteArrayObject *)self); in PyByteArray_Resize()
252 PyByteArrayObject *result = NULL; in PyByteArray_Concat()
268 result = (PyByteArrayObject *) \ in PyByteArray_Concat()
288 bytearray_length(PyByteArrayObject *self) in bytearray_length()
294 bytearray_iconcat(PyByteArrayObject *self, PyObject *other) in bytearray_iconcat()
[all …]
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
22 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_AS_STRING()
33 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_GET_SIZE()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
22 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_AS_STRING()
33 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_GET_SIZE()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
22 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_AS_STRING()
33 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_GET_SIZE()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
22 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_AS_STRING()
33 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_GET_SIZE()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dbytearrayobject.h12 } PyByteArrayObject; typedef
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
22 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_AS_STRING()
33 PyByteArrayObject *self = _PyByteArray_CAST(op); in PyByteArray_GET_SIZE()
/aosp_15_r20/external/python/cpython2/Include/
Dbytearrayobject.h28 } PyByteArrayObject; typedef
49 Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dbytearray.rst13 .. c:type:: PyByteArrayObject
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dbytearray.rst11 .. c:type:: PyByteArrayObject
Darg.rst150 ``Y`` (:class:`bytearray`) [PyByteArrayObject \*]
/aosp_15_r20/external/python/cpython3/Modules/clinic/
D_testclinic.c.h92 byte_array_object_converter_impl(PyObject *module, PyByteArrayObject *a);
98 PyByteArrayObject *a; in byte_array_object_converter()
104 a = (PyByteArrayObject *)arg; in byte_array_object_converter()
/aosp_15_r20/external/python/cpython3/Modules/
D_testclinic.c146 byte_array_object_converter_impl(PyObject *module, PyByteArrayObject *a) in byte_array_object_converter_impl()
D_testcapimodule.c1850 PyByteArrayObject *buffer = NULL; in getargs_es_hash()
1873 PyByteArrayObject *buffer = NULL; in getargs_et_hash()
/aosp_15_r20/external/python/cpython3/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)
/aosp_15_r20/external/python/cpython2/Modules/
D_testcapimodule.c1519 PyByteArrayObject *buffer = NULL; in getargs_es_hash()
1543 PyByteArrayObject *buffer = NULL; in getargs_et_hash()
/aosp_15_r20/external/python/cpython3/Doc/howto/
Dclinic.rst856 ``'Y'`` ``PyByteArrayObject``