Home
last modified time | relevance | path

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

1234

/third_party/python/Modules/clinic/
Daudioop.c.h15 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width,
22 Py_buffer fragment = {NULL, NULL}; in audioop_getsample()
83 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width);
89 Py_buffer fragment = {NULL, NULL}; in audioop_max()
132 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width);
138 Py_buffer fragment = {NULL, NULL}; in audioop_minmax()
181 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width);
187 Py_buffer fragment = {NULL, NULL}; in audioop_avg()
230 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width);
236 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()
104 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data);
110 Py_buffer data = {NULL, NULL}; in binascii_a2b_base64()
135 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline);
145 Py_buffer data = {NULL, NULL}; in binascii_b2a_base64()
193 binascii_a2b_hqx_impl(PyObject *module, Py_buffer *data);
199 Py_buffer data = {NULL, NULL}; in binascii_a2b_hqx()
[all …]
Dzlibmodule.c.h20 zlib_compress_impl(PyObject *module, Py_buffer *data, int level);
30 Py_buffer data = {NULL, NULL}; in zlib_compress()
85 zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits,
96 Py_buffer data = {NULL, NULL}; in zlib_decompress()
178 int memLevel, int strategy, Py_buffer *zdict);
193 Py_buffer zdict = {NULL, NULL}; in zlib_compressobj()
366 zlib_Compress_compress_impl(compobject *self, Py_buffer *data);
372 Py_buffer data = {NULL, NULL}; in zlib_Compress_compress()
413 zlib_Decompress_decompress_impl(compobject *self, Py_buffer *data,
424 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()
237 unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer);
244 Py_buffer buffer = {NULL, NULL}; in unpack()
287 Py_buffer *buffer, Py_ssize_t offset);
298 Py_buffer buffer = {NULL, NULL}; in unpack_from()
D_codecsmodule.c.h255 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data,
262 Py_buffer data = {NULL, NULL}; in _codecs_escape_decode()
382 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data,
389 Py_buffer data = {NULL, NULL}; in _codecs_utf_7_decode()
457 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data,
464 Py_buffer data = {NULL, NULL}; in _codecs_utf_8_decode()
532 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data,
539 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_decode()
607 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data,
614 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_le_decode()
[all …]
D_lzmamodule.c.h20 _lzma_LZMACompressor_compress_impl(Compressor *self, Py_buffer *data);
26 Py_buffer data = {NULL, NULL}; in _lzma_LZMACompressor_compress()
91 _lzma_LZMADecompressor_decompress_impl(Decompressor *self, Py_buffer *data,
102 Py_buffer data = {NULL, NULL}; in _lzma_LZMADecompressor_decompress()
305 Py_buffer *encoded_props);
312 Py_buffer encoded_props = {NULL, NULL}; in _lzma__decode_filter_properties()
D_bz2module.c.h20 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data);
26 Py_buffer data = {NULL, NULL}; in _bz2_BZ2Compressor_compress()
137 _bz2_BZ2Decompressor_decompress_impl(BZ2Decompressor *self, Py_buffer *data,
148 Py_buffer data = {NULL, NULL}; in _bz2_BZ2Decompressor_decompress()
/third_party/python/Modules/
D_codecsmodule.c179 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data, in _codecs_escape_decode_impl()
261 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_7_decode_impl()
281 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_8_decode_impl()
301 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_decode_impl()
323 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_le_decode_impl()
345 _codecs_utf_16_be_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_be_decode_impl()
375 _codecs_utf_16_ex_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_ex_decode_impl()
399 _codecs_utf_32_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_decode_impl()
421 _codecs_utf_32_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_le_decode_impl()
443 _codecs_utf_32_be_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_be_decode_impl()
[all …]
Daudioop.c430 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, in audioop_getsample_impl()
458 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_max_impl()
488 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_minmax_impl()
517 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_avg_impl()
546 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_rms_impl()
620 audioop_findfit_impl(PyObject *module, Py_buffer *fragment, in audioop_findfit_impl()
621 Py_buffer *reference) in audioop_findfit_impl()
691 audioop_findfactor_impl(PyObject *module, Py_buffer *fragment, in audioop_findfactor_impl()
692 Py_buffer *reference) in audioop_findfactor_impl()
735 audioop_findmax_impl(PyObject *module, Py_buffer *fragment, in audioop_findmax_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 …]
Dbinascii.c225 ascii_buffer_converter(PyObject *arg, Py_buffer *buf) in ascii_buffer_converter()
273 binascii_a2b_uu_impl(PyObject *module, Py_buffer *data) in binascii_a2b_uu_impl()
371 binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick) in binascii_b2a_uu_impl()
441 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data) in binascii_a2b_base64_impl()
546 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline) in binascii_b2a_base64_impl()
619 binascii_a2b_hqx_impl(PyObject *module, Py_buffer *data) in binascii_a2b_hqx_impl()
712 binascii_rlecode_hqx_impl(PyObject *module, Py_buffer *data) in binascii_rlecode_hqx_impl()
779 binascii_b2a_hqx_impl(PyObject *module, Py_buffer *data) in binascii_b2a_hqx_impl()
839 binascii_rledecode_hqx_impl(PyObject *module, Py_buffer *data) in binascii_rledecode_hqx_impl()
971 binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) in binascii_crc_hqx_impl()
[all …]
/third_party/python/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 …]
/third_party/python/Objects/
Dmemoryobject.c265 last_dim_is_contiguous(const Py_buffer *dest, const Py_buffer *src) in last_dim_is_contiguous()
281 equiv_format(const Py_buffer *dest, const Py_buffer *src) in equiv_format()
301 equiv_shape(const Py_buffer *dest, const Py_buffer *src) in equiv_shape()
321 equiv_structure(const Py_buffer *dest, const Py_buffer *src) in equiv_structure()
398 copy_single(Py_buffer *dest, Py_buffer *src) in copy_single()
430 copy_buffer(Py_buffer *dest, Py_buffer *src) in copy_buffer()
460 init_strides_from_shape(Py_buffer *view) in init_strides_from_shape()
473 init_fortran_strides_from_shape(Py_buffer *view) in init_fortran_strides_from_shape()
488 buffer_to_contiguous(char *mem, Py_buffer *src, char order) in buffer_to_contiguous()
490 Py_buffer dest; in buffer_to_contiguous()
[all …]
Dpicklebufobject.c10 Py_buffer view;
35 const Py_buffer *
121 picklebuf_getbuf(PyPickleBufferObject *self, Py_buffer *view, int flags) in picklebuf_getbuf()
132 picklebuf_releasebuf(PyPickleBufferObject *self, Py_buffer *view) in picklebuf_releasebuf()
/third_party/python/Objects/clinic/
Dbytesobject.c.h90 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep);
96 Py_buffer sep = {NULL, NULL}; in bytes_partition()
133 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep);
139 Py_buffer sep = {NULL, NULL}; in bytes_rpartition()
407 bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to);
413 Py_buffer frm = {NULL, NULL}; in bytes_maketrans()
414 Py_buffer to = {NULL, NULL}; in bytes_maketrans()
465 bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new,
472 Py_buffer old = {NULL, NULL}; in bytes_replace()
473 Py_buffer new = {NULL, NULL}; in bytes_replace()
[all …]
Dbytearrayobject.c.h55 bytearray_removeprefix_impl(PyByteArrayObject *self, Py_buffer *prefix);
61 Py_buffer prefix = {NULL, NULL}; in bytearray_removeprefix()
95 bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix);
101 Py_buffer suffix = {NULL, NULL}; in bytearray_removesuffix()
182 bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to);
188 Py_buffer frm = {NULL, NULL}; in bytearray_maketrans()
189 Py_buffer to = {NULL, NULL}; in bytearray_maketrans()
240 bytearray_replace_impl(PyByteArrayObject *self, Py_buffer *old,
241 Py_buffer *new, Py_ssize_t count);
247 Py_buffer old = {NULL, NULL}; in bytearray_replace()
[all …]
/third_party/python/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()
/third_party/python/Include/
Dmemoryobject.h29 PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);
46 Py_buffer master; /* snapshot buffer obtained from the original exporter */
63 Py_buffer view; /* private copy of the exporter's view */
/third_party/python/Include/cpython/
Dabstract.h274 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
279 PyAPI_FUNC(void *) PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices);
286 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
289 PyAPI_FUNC(int) PyBuffer_FromContiguous(Py_buffer *view, void *buf,
308 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
325 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
330 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/third_party/python/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()
236 _io__Buffered_readinto_impl(buffered *self, Py_buffer *buffer);
242 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto()
273 _io__Buffered_readinto1_impl(buffered *self, Py_buffer *buffer);
279 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto1()
529 _io_BufferedWriter_write_impl(buffered *self, Py_buffer *buffer);
535 Py_buffer buffer = {NULL, NULL}; in _io_BufferedWriter_write()
Dwinconsoleio.c.h193 _io__WindowsConsoleIO_readinto_impl(winconsoleio *self, Py_buffer *buffer);
199 Py_buffer buffer = {NULL, NULL}; in _io__WindowsConsoleIO_readinto()
304 _io__WindowsConsoleIO_write_impl(winconsoleio *self, Py_buffer *b);
310 Py_buffer b = {NULL, NULL}; in _io__WindowsConsoleIO_write()
/third_party/python/Modules/_blake2/
Dblake2s_impl.c90 Py_buffer *key, Py_buffer *salt, Py_buffer *person, in py_blake2s_new_impl()
97 Py_buffer buf; in py_blake2s_new_impl()
275 Py_buffer buf; in _blake2_blake2s_update()
Dblake2b_impl.c90 Py_buffer *key, Py_buffer *salt, Py_buffer *person, in py_blake2b_new_impl()
97 Py_buffer buf; in py_blake2b_new_impl()
275 Py_buffer buf; in _blake2_blake2b_update()
/third_party/python/Objects/stringlib/
Djoin.h18 Py_buffer *buffers = NULL; in STRINGLIB()
20 Py_buffer static_buffers[NB_STATIC_BUFFERS]; in STRINGLIB()
46 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()

1234