Home
last modified time | relevance | path

Searched refs:Py_buffer (Results 1 – 25 of 177) sorted by relevance

12345678

/aosp_15_r20/external/python/cpython3/Modules/clinic/
Daudioop.c.h15 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width,
22 Py_buffer fragment = {NULL, NULL}; in audioop_getsample()
73 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width);
79 Py_buffer fragment = {NULL, NULL}; in audioop_max()
117 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width);
123 Py_buffer fragment = {NULL, NULL}; in audioop_minmax()
161 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width);
167 Py_buffer fragment = {NULL, NULL}; in audioop_avg()
205 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width);
211 Py_buffer fragment = {NULL, NULL}; in audioop_rms()
[all …]
Dbinascii.c.h15 binascii_a2b_uu_impl(PyObject *module, Py_buffer *data);
21 Py_buffer data = {NULL, NULL}; in binascii_a2b_uu()
46 binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick);
56 Py_buffer data = {NULL, NULL}; in binascii_b2a_uu()
103 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data, int strict_mode);
113 Py_buffer data = {NULL, NULL}; in binascii_a2b_base64()
151 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline);
161 Py_buffer data = {NULL, NULL}; in binascii_b2a_base64()
204 binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc);
210 Py_buffer data = {NULL, NULL}; in binascii_crc_hqx()
[all …]
D_codecsmodule.c.h229 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data,
236 Py_buffer data = {NULL, NULL}; in _codecs_escape_decode()
356 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data,
363 Py_buffer data = {NULL, NULL}; in _codecs_utf_7_decode()
426 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data,
433 Py_buffer data = {NULL, NULL}; in _codecs_utf_8_decode()
496 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data,
503 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_decode()
566 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data,
573 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_le_decode()
[all …]
Dzlibmodule.c.h22 zlib_compress_impl(PyObject *module, Py_buffer *data, int level, int wbits);
32 Py_buffer data = {NULL, NULL}; in zlib_compress()
92 zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits,
103 Py_buffer data = {NULL, NULL}; in zlib_decompress()
189 int memLevel, int strategy, Py_buffer *zdict);
204 Py_buffer zdict = {NULL, NULL}; in zlib_compressobj()
348 Py_buffer *data);
357 Py_buffer data = {NULL, NULL}; in zlib_Compress_compress()
403 Py_buffer *data, Py_ssize_t max_length);
413 Py_buffer data = {NULL, NULL}; in zlib_Decompress_decompress()
[all …]
D_struct.c.h56 Struct_unpack_impl(PyStructObject *self, Py_buffer *buffer);
62 Py_buffer buffer = {NULL, NULL}; in Struct_unpack()
99 Struct_unpack_from_impl(PyStructObject *self, Py_buffer *buffer,
110 Py_buffer buffer = {NULL, NULL}; in Struct_unpack_from()
232 unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer);
239 Py_buffer buffer = {NULL, NULL}; in unpack()
282 Py_buffer *buffer, Py_ssize_t offset);
293 Py_buffer buffer = {NULL, NULL}; in unpack_from()
Doverlapped.c.h469 HANDLE handle, Py_buffer *bufobj);
476 Py_buffer bufobj = {NULL, NULL}; in _overlapped_Overlapped_ReadFileInto()
535 HANDLE handle, Py_buffer *bufobj,
543 Py_buffer bufobj = {NULL, NULL}; in _overlapped_Overlapped_WSARecvInto()
572 Py_buffer *bufobj);
579 Py_buffer bufobj = {NULL, NULL}; in _overlapped_Overlapped_WriteFile()
607 Py_buffer *bufobj, DWORD flags);
614 Py_buffer bufobj = {NULL, NULL}; in _overlapped_Overlapped_WSASend()
875 Py_buffer *bufobj, DWORD flags,
883 Py_buffer bufobj = {NULL, NULL}; in _overlapped_Overlapped_WSASendTo()
[all …]
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dbuffer.rst90 .. c:type:: Py_buffer
96 block of the exporter. For example, with negative :c:member:`~Py_buffer.strides`
133 called on non-``NULL`` :c:member:`~Py_buffer.format` values.
136 :c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will
137 be set to ``NULL``, but :c:member:`~Py_buffer.itemsize` still has
140 If :c:member:`~Py_buffer.shape` is present, the equality
142 can use :c:member:`~Py_buffer.itemsize` to navigate the buffer.
144 If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a :c:macro:`PyBUF_SIMPLE`
146 :c:member:`~Py_buffer.itemsize` and assume ``itemsize == 1``.
159 If it is ``0``, :c:member:`~Py_buffer.buf` points to a single item representing
[all …]
/aosp_15_r20/external/python/cpython3/Objects/
Dmemoryobject.c256 last_dim_is_contiguous(const Py_buffer *dest, const Py_buffer *src) in last_dim_is_contiguous()
272 equiv_format(const Py_buffer *dest, const Py_buffer *src) in equiv_format()
292 equiv_shape(const Py_buffer *dest, const Py_buffer *src) in equiv_shape()
312 equiv_structure(const Py_buffer *dest, const Py_buffer *src) in equiv_structure()
389 copy_single(PyMemoryViewObject *self, const Py_buffer *dest, const Py_buffer *src) in copy_single()
422 copy_buffer(const Py_buffer *dest, const Py_buffer *src) in copy_buffer()
452 init_strides_from_shape(Py_buffer *view) in init_strides_from_shape()
465 init_fortran_strides_from_shape(Py_buffer *view) in init_fortran_strides_from_shape()
480 buffer_to_contiguous(char *mem, const Py_buffer *src, char order) in buffer_to_contiguous()
482 Py_buffer dest; in buffer_to_contiguous()
[all …]
/aosp_15_r20/external/python/cpython3/Modules/
D_codecsmodule.c181 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data, in _codecs_escape_decode_impl()
263 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_7_decode_impl()
283 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_8_decode_impl()
303 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_decode_impl()
325 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_le_decode_impl()
347 _codecs_utf_16_be_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_be_decode_impl()
377 _codecs_utf_16_ex_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_ex_decode_impl()
401 _codecs_utf_32_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_decode_impl()
423 _codecs_utf_32_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_le_decode_impl()
445 _codecs_utf_32_be_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_be_decode_impl()
[all …]
D_testbuffer.c97 Py_buffer base; /* base buffer */
112 Py_buffer *base; in ndbuf_new()
166 Py_buffer *base = &ndbuf->base; in ndbuf_free()
226 Py_buffer *base = &self->head->base; in ndarray_dealloc()
245 Py_buffer *base = &nd->staticbuf.base; in ndarray_init_staticbuf()
514 cmp_structure(Py_buffer *dest, Py_buffer *src) in cmp_structure()
537 copy_buffer(Py_buffer *dest, Py_buffer *src) in copy_buffer()
662 Py_buffer *base = &nd->head->base; in ndarray_as_list()
826 Py_buffer *base = &ndbuf->base; in init_simple()
889 const Py_buffer *base = &ndbuf->base; in strides_from_shape()
[all …]
Daudioop.c439 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, in audioop_getsample_impl()
467 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_max_impl()
497 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_minmax_impl()
526 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_avg_impl()
555 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_rms_impl()
629 audioop_findfit_impl(PyObject *module, Py_buffer *fragment, in audioop_findfit_impl()
630 Py_buffer *reference) in audioop_findfit_impl()
700 audioop_findfactor_impl(PyObject *module, Py_buffer *fragment, in audioop_findfactor_impl()
701 Py_buffer *reference) in audioop_findfactor_impl()
744 audioop_findmax_impl(PyObject *module, Py_buffer *fragment, in audioop_findmax_impl()
[all …]
Dbinascii.c166 ascii_buffer_converter(PyObject *arg, Py_buffer *buf) in ascii_buffer_converter()
214 binascii_a2b_uu_impl(PyObject *module, Py_buffer *data) in binascii_a2b_uu_impl()
312 binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick) in binascii_b2a_uu_impl()
388 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data, int strict_mode) in binascii_a2b_base64_impl()
530 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline) in binascii_b2a_base64_impl()
605 binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) in binascii_crc_hqx_impl()
768 binascii_crc32_impl(PyObject *module, Py_buffer *data, unsigned int crc) in binascii_crc32_impl()
840 binascii_b2a_hex_impl(PyObject *module, Py_buffer *data, PyObject *sep, in binascii_b2a_hex_impl()
858 binascii_hexlify_impl(PyObject *module, Py_buffer *data, PyObject *sep, in binascii_hexlify_impl()
879 binascii_a2b_hex_impl(PyObject *module, Py_buffer *hexstr) in binascii_a2b_hex_impl()
[all …]
/aosp_15_r20/external/python/cpython3/Include/
Dpybuffer.h33 } Py_buffer; typedef
43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices);
55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view,
58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf,
77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dpybuffer.h33 } Py_buffer; typedef
43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices);
55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view,
58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf,
77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dpybuffer.h33 } Py_buffer; typedef
43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices);
55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view,
58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf,
77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dpybuffer.h33 } Py_buffer; typedef
43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices);
55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view,
58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf,
77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dpybuffer.h33 } Py_buffer; typedef
43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices);
55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view,
58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf,
77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/aosp_15_r20/external/python/cpython2/Objects/
Dmemoryobject.c7 get_shape0(Py_buffer *buf) in get_shape0()
20 dup_buffer(Py_buffer *dest, Py_buffer *src) in dup_buffer()
34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf()
45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf()
56 PyMemoryView_FromBuffer(Py_buffer *info) in PyMemoryView_FromBuffer()
76 Py_buffer view; in PyMemoryView_FromObject()
173 _indirect_copy_nd(char *dest, Py_buffer *view, char fort) in _indirect_copy_nd()
244 Py_buffer *view; in PyMemoryView_GetContiguous()
408 Py_buffer view; in memory_tobytes()
426 Py_buffer *view = &(mem->view); in memory_tolist()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/clinic/
Dbytesobject.c.h103 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep);
109 Py_buffer sep = {NULL, NULL}; in bytes_partition()
146 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep);
152 Py_buffer sep = {NULL, NULL}; in bytes_rpartition()
415 bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to);
421 Py_buffer frm = {NULL, NULL}; in bytes_maketrans()
422 Py_buffer to = {NULL, NULL}; in bytes_maketrans()
473 bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new,
480 Py_buffer old = {NULL, NULL}; in bytes_replace()
481 Py_buffer new = {NULL, NULL}; in bytes_replace()
[all …]
Dbytearrayobject.c.h124 bytearray_removeprefix_impl(PyByteArrayObject *self, Py_buffer *prefix);
130 Py_buffer prefix = {NULL, NULL}; in bytearray_removeprefix()
164 bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix);
170 Py_buffer suffix = {NULL, NULL}; in bytearray_removesuffix()
251 bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to);
257 Py_buffer frm = {NULL, NULL}; in bytearray_maketrans()
258 Py_buffer to = {NULL, NULL}; in bytearray_maketrans()
309 bytearray_replace_impl(PyByteArrayObject *self, Py_buffer *old,
310 Py_buffer *new, Py_ssize_t count);
316 Py_buffer old = {NULL, NULL}; in bytearray_replace()
[all …]
/aosp_15_r20/external/python/cpython2/Modules/
D_codecsmodule.c236 Py_buffer pbuf; in utf_7_decode()
259 Py_buffer pbuf; in utf_8_decode()
282 Py_buffer pbuf; in utf_16_decode()
305 Py_buffer pbuf; in utf_16_le_decode()
329 Py_buffer pbuf; in utf_16_be_decode()
361 Py_buffer pbuf; in utf_16_ex_decode()
386 Py_buffer pbuf; in utf_32_decode()
409 Py_buffer pbuf; in utf_32_le_decode()
432 Py_buffer pbuf; in utf_32_be_decode()
463 Py_buffer pbuf; in utf_32_ex_decode()
[all …]
Dbinascii.c191 Py_buffer pascii; in binascii_a2b_uu()
277 Py_buffer pbin; in binascii_b2a_uu()
362 Py_buffer pascii; in binascii_a2b_base64()
469 Py_buffer pbuf; in binascii_b2a_base64()
534 Py_buffer pascii; in binascii_a2b_hqx()
617 Py_buffer pbuf; in binascii_rlecode_hqx()
679 Py_buffer pbin; in binascii_b2a_hqx()
734 Py_buffer pin; in binascii_rledecode_hqx()
850 Py_buffer pin; in binascii_crc_hqx()
877 Py_buffer pbuf; in binascii_crc32()
[all …]
/aosp_15_r20/external/python/cpython3/Modules/_io/clinic/
Dbufferedio.c.h14 _io__BufferedIOBase_readinto_impl(PyObject *self, Py_buffer *buffer);
20 Py_buffer buffer = {NULL, NULL}; in _io__BufferedIOBase_readinto()
51 _io__BufferedIOBase_readinto1_impl(PyObject *self, Py_buffer *buffer);
57 Py_buffer buffer = {NULL, NULL}; in _io__BufferedIOBase_readinto1()
226 _io__Buffered_readinto_impl(buffered *self, Py_buffer *buffer);
232 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto()
263 _io__Buffered_readinto1_impl(buffered *self, Py_buffer *buffer);
269 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto1()
504 _io_BufferedWriter_write_impl(buffered *self, Py_buffer *buffer);
510 Py_buffer buffer = {NULL, NULL}; in _io_BufferedWriter_write()
/aosp_15_r20/external/python/cpython3/Modules/_blake2/clinic/
Dblake2b_impl.c.h16 Py_buffer *key, Py_buffer *salt, Py_buffer *person,
33 Py_buffer key = {NULL, NULL}; in py_blake2b_new()
34 Py_buffer salt = {NULL, NULL}; in py_blake2b_new()
35 Py_buffer person = {NULL, NULL}; in py_blake2b_new()
Dblake2s_impl.c.h16 Py_buffer *key, Py_buffer *salt, Py_buffer *person,
33 Py_buffer key = {NULL, NULL}; in py_blake2s_new()
34 Py_buffer salt = {NULL, NULL}; in py_blake2s_new()
35 Py_buffer person = {NULL, NULL}; in py_blake2s_new()

12345678