Searched refs:PyByteArrayObject (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Objects/clinic/ |
D | bytearrayobject.c.h | 15 bytearray_clear_impl(PyByteArrayObject *self); 18 bytearray_clear(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored)) in bytearray_clear() 33 bytearray_copy_impl(PyByteArrayObject *self); 36 bytearray_copy(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored)) in bytearray_copy() 55 bytearray_removeprefix_impl(PyByteArrayObject *self, Py_buffer *prefix); 58 bytearray_removeprefix(PyByteArrayObject *self, PyObject *arg) in bytearray_removeprefix() 95 bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix); 98 bytearray_removesuffix(PyByteArrayObject *self, PyObject *arg) in bytearray_removesuffix() 137 bytearray_translate_impl(PyByteArrayObject *self, PyObject *table, 141 bytearray_translate(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in bytearray_translate() [all …]
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 63 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 …]
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 51 bytearray_getbuffer(PyByteArrayObject *obj, Py_buffer *view, int flags) in bytearray_getbuffer() 67 bytearray_releasebuffer(PyByteArrayObject *obj, Py_buffer *view) in bytearray_releasebuffer() 73 _canresize(PyByteArrayObject *self) in _canresize() 116 PyByteArrayObject *new; in PyByteArray_FromStringAndSize() 130 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize() 179 PyByteArrayObject *obj = ((PyByteArrayObject *)self); in PyByteArray_Resize() 258 PyByteArrayObject *result = NULL; in PyByteArray_Concat() 274 result = (PyByteArrayObject *) \ in PyByteArray_Concat() 294 bytearray_length(PyByteArrayObject *self) in bytearray_length() 300 bytearray_iconcat(PyByteArrayObject *self, PyObject *other) in bytearray_iconcat() [all …]
|
/external/python/cpython3/Include/cpython/ |
D | bytearrayobject.h | 12 } PyByteArrayObject; typedef 17 Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string)
|
/external/python/cpython2/Include/ |
D | bytearrayobject.h | 28 } PyByteArrayObject; typedef 49 Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
|
/external/python/cpython2/Doc/c-api/ |
D | bytearray.rst | 13 .. c:type:: PyByteArrayObject
|
/external/python/cpython3/Doc/c-api/ |
D | bytearray.rst | 11 .. c:type:: PyByteArrayObject
|
D | arg.rst | 136 ``Y`` (:class:`bytearray`) [PyByteArrayObject \*]
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 290 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)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1519 PyByteArrayObject *buffer = NULL; in getargs_es_hash() 1543 PyByteArrayObject *buffer = NULL; in getargs_et_hash()
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1525 PyByteArrayObject *buffer = NULL; in getargs_es_hash() 1548 PyByteArrayObject *buffer = NULL; in getargs_et_hash()
|
/external/python/cpython3/Doc/howto/ |
D | clinic.rst | 857 ``'Y'`` ``PyByteArrayObject``
|