/external/python/cpython3/Modules/clinic/ |
D | audioop.c.h | 15 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, 22 Py_buffer fragment = {NULL, NULL}; in audioop_getsample() 51 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width); 57 Py_buffer fragment = {NULL, NULL}; in audioop_max() 85 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width); 91 Py_buffer fragment = {NULL, NULL}; in audioop_minmax() 119 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width); 125 Py_buffer fragment = {NULL, NULL}; in audioop_avg() 153 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width); 159 Py_buffer fragment = {NULL, NULL}; in audioop_rms() [all …]
|
D | binascii.c.h | 15 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); 54 Py_buffer data = {NULL, NULL}; in binascii_b2a_uu() 82 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data); 88 Py_buffer data = {NULL, NULL}; in binascii_a2b_base64() 113 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline); 121 Py_buffer data = {NULL, NULL}; in binascii_b2a_base64() 149 binascii_a2b_hqx_impl(PyObject *module, Py_buffer *data); 155 Py_buffer data = {NULL, NULL}; in binascii_a2b_hqx() [all …]
|
D | _hashopenssl.c.h | 18 _hashlib_scrypt_impl(PyObject *module, Py_buffer *password, Py_buffer *salt, 28 Py_buffer password = {NULL, NULL}; in _hashlib_scrypt() 29 Py_buffer salt = {NULL, NULL}; in _hashlib_scrypt() 67 _hashlib_hmac_digest_impl(PyObject *module, Py_buffer *key, Py_buffer *msg, 76 Py_buffer key = {NULL, NULL}; in _hashlib_hmac_digest() 77 Py_buffer msg = {NULL, NULL}; in _hashlib_hmac_digest()
|
D | zlibmodule.c.h | 20 zlib_compress_impl(PyObject *module, Py_buffer *data, int level); 28 Py_buffer data = {NULL, NULL}; in zlib_compress() 63 zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits, 72 Py_buffer data = {NULL, NULL}; in zlib_decompress() 126 int memLevel, int strategy, Py_buffer *zdict); 139 Py_buffer zdict = {NULL, NULL}; in zlib_compressobj() 210 zlib_Compress_compress_impl(compobject *self, Py_buffer *data); 216 Py_buffer data = {NULL, NULL}; in zlib_Compress_compress() 253 zlib_Decompress_decompress_impl(compobject *self, Py_buffer *data, 262 Py_buffer data = {NULL, NULL}; in zlib_Decompress_decompress() [all …]
|
D | _codecsmodule.c.h | 159 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data, 166 Py_buffer data = {NULL, NULL}; in _codecs_escape_decode() 251 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data, 258 Py_buffer data = {NULL, NULL}; in _codecs_utf_7_decode() 286 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data, 293 Py_buffer data = {NULL, NULL}; in _codecs_utf_8_decode() 321 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data, 328 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_decode() 356 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data, 363 Py_buffer data = {NULL, NULL}; in _codecs_utf_16_le_decode() [all …]
|
D | _struct.c.h | 52 Struct_unpack_impl(PyStructObject *self, Py_buffer *buffer); 58 Py_buffer buffer = {NULL, NULL}; in Struct_unpack() 90 Struct_unpack_from_impl(PyStructObject *self, Py_buffer *buffer, 99 Py_buffer buffer = {NULL, NULL}; in Struct_unpack_from() 198 unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer); 205 Py_buffer buffer = {NULL, NULL}; in unpack() 239 Py_buffer *buffer, Py_ssize_t offset); 248 Py_buffer buffer = {NULL, NULL}; in unpack_from()
|
D | _lzmamodule.c.h | 20 _lzma_LZMACompressor_compress_impl(Compressor *self, Py_buffer *data); 26 Py_buffer data = {NULL, NULL}; in _lzma_LZMACompressor_compress() 87 _lzma_LZMADecompressor_decompress_impl(Decompressor *self, Py_buffer *data, 96 Py_buffer data = {NULL, NULL}; in _lzma_LZMADecompressor_decompress() 236 Py_buffer *encoded_props); 243 Py_buffer encoded_props = {NULL, NULL}; in _lzma__decode_filter_properties()
|
D | _bz2module.c.h | 20 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data); 26 Py_buffer data = {NULL, NULL}; in _bz2_BZ2Compressor_compress() 121 _bz2_BZ2Decompressor_decompress_impl(BZ2Decompressor *self, Py_buffer *data, 130 Py_buffer data = {NULL, NULL}; in _bz2_BZ2Decompressor_decompress()
|
D | _ssl.c.h | 206 _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b); 212 Py_buffer b = {NULL, NULL}; in _ssl__SSLSocket_write() 255 Py_buffer *buffer); 263 Py_buffer buffer = {NULL, NULL}; in _ssl__SSLSocket_read() 443 Py_buffer *protos); 449 Py_buffer protos = {NULL, NULL}; in _ssl__SSLContext__set_npn_protocols() 475 Py_buffer *protos); 481 Py_buffer protos = {NULL, NULL}; in _ssl__SSLContext__set_alpn_protocols() 818 _ssl_MemoryBIO_write_impl(PySSLMemoryBIO *self, Py_buffer *b); 824 Py_buffer b = {NULL, NULL}; in _ssl_MemoryBIO_write() [all …]
|
/external/python/cpython3/Modules/ |
D | _codecsmodule.c | 180 _codecs_escape_decode_impl(PyObject *module, Py_buffer *data, in _codecs_escape_decode_impl() 272 Py_buffer view; in _codecs_unicode_internal_decode_impl() 294 _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_7_decode_impl() 314 _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_8_decode_impl() 334 _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_decode_impl() 356 _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_le_decode_impl() 378 _codecs_utf_16_be_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_be_decode_impl() 408 _codecs_utf_16_ex_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_16_ex_decode_impl() 432 _codecs_utf_32_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_decode_impl() 454 _codecs_utf_32_le_decode_impl(PyObject *module, Py_buffer *data, in _codecs_utf_32_le_decode_impl() [all …]
|
D | audioop.c | 417 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, in audioop_getsample_impl() 444 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_max_impl() 474 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_minmax_impl() 503 audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_avg_impl() 532 audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_rms_impl() 606 audioop_findfit_impl(PyObject *module, Py_buffer *fragment, in audioop_findfit_impl() 607 Py_buffer *reference) in audioop_findfit_impl() 675 audioop_findfactor_impl(PyObject *module, Py_buffer *fragment, in audioop_findfactor_impl() 676 Py_buffer *reference) in audioop_findfactor_impl() 717 audioop_findmax_impl(PyObject *module, Py_buffer *fragment, in audioop_findmax_impl() [all …]
|
D | _testbuffer.c | 97 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 …]
|
D | binascii.c | 208 ascii_buffer_converter(PyObject *arg, Py_buffer *buf) in ascii_buffer_converter() 256 binascii_a2b_uu_impl(PyObject *module, Py_buffer *data) in binascii_a2b_uu_impl() 345 binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick) in binascii_b2a_uu_impl() 436 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data) in binascii_a2b_base64_impl() 549 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline) in binascii_b2a_base64_impl() 617 binascii_a2b_hqx_impl(PyObject *module, Py_buffer *data) in binascii_a2b_hqx_impl() 696 binascii_rlecode_hqx_impl(PyObject *module, Py_buffer *data) in binascii_rlecode_hqx_impl() 758 binascii_b2a_hqx_impl(PyObject *module, Py_buffer *data) in binascii_b2a_hqx_impl() 813 binascii_rledecode_hqx_impl(PyObject *module, Py_buffer *data) in binascii_rledecode_hqx_impl() 931 binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) in binascii_crc_hqx_impl() [all …]
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 90 .. 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 …]
|
/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 61 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep); 67 Py_buffer sep = {NULL, NULL}; in bytes_partition() 100 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep); 106 Py_buffer sep = {NULL, NULL}; in bytes_rpartition() 324 bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to); 330 Py_buffer frm = {NULL, NULL}; in bytes_maketrans() 331 Py_buffer to = {NULL, NULL}; in bytes_maketrans() 369 bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new, 376 Py_buffer old = {NULL, NULL}; in bytes_replace() 377 Py_buffer new = {NULL, NULL}; in bytes_replace()
|
D | bytearrayobject.c.h | 94 bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to); 100 Py_buffer frm = {NULL, NULL}; in bytearray_maketrans() 101 Py_buffer to = {NULL, NULL}; in bytearray_maketrans() 139 bytearray_replace_impl(PyByteArrayObject *self, Py_buffer *old, 140 Py_buffer *new, Py_ssize_t count); 146 Py_buffer old = {NULL, NULL}; in bytearray_replace() 147 Py_buffer new = {NULL, NULL}; in bytearray_replace()
|
/external/python/cpython3/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 15 Py_buffer *key, Py_buffer *salt, Py_buffer *person, 28 Py_buffer key = {NULL, NULL}; in py_blake2b_new() 29 Py_buffer salt = {NULL, NULL}; in py_blake2b_new() 30 Py_buffer person = {NULL, NULL}; in py_blake2b_new()
|
D | blake2s_impl.c.h | 15 Py_buffer *key, Py_buffer *salt, Py_buffer *person, 28 Py_buffer key = {NULL, NULL}; in py_blake2s_new() 29 Py_buffer salt = {NULL, NULL}; in py_blake2s_new() 30 Py_buffer person = {NULL, NULL}; in py_blake2s_new()
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 249 last_dim_is_contiguous(const Py_buffer *dest, const Py_buffer *src) in last_dim_is_contiguous() 265 equiv_format(const Py_buffer *dest, const Py_buffer *src) in equiv_format() 285 equiv_shape(const Py_buffer *dest, const Py_buffer *src) in equiv_shape() 305 equiv_structure(const Py_buffer *dest, const Py_buffer *src) in equiv_structure() 382 copy_single(Py_buffer *dest, Py_buffer *src) in copy_single() 414 copy_buffer(Py_buffer *dest, Py_buffer *src) in copy_buffer() 444 init_strides_from_shape(Py_buffer *view) in init_strides_from_shape() 457 init_fortran_strides_from_shape(Py_buffer *view) in init_fortran_strides_from_shape() 472 buffer_to_contiguous(char *mem, Py_buffer *src, char order) in buffer_to_contiguous() 474 Py_buffer dest; in buffer_to_contiguous() [all …]
|
/external/python/cpython2/Objects/ |
D | memoryobject.c | 7 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 …]
|
/external/python/cpython3/Modules/_io/clinic/ |
D | bufferedio.c.h | 14 _io__BufferedIOBase_readinto_impl(PyObject *self, Py_buffer *buffer); 20 Py_buffer buffer = {NULL, NULL}; in _io__BufferedIOBase_readinto() 45 _io__BufferedIOBase_readinto1_impl(PyObject *self, Py_buffer *buffer); 51 Py_buffer buffer = {NULL, NULL}; in _io__BufferedIOBase_readinto1() 178 _io__Buffered_readinto_impl(buffered *self, Py_buffer *buffer); 184 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto() 209 _io__Buffered_readinto1_impl(buffered *self, Py_buffer *buffer); 215 Py_buffer buffer = {NULL, NULL}; in _io__Buffered_readinto1() 385 _io_BufferedWriter_write_impl(buffered *self, Py_buffer *buffer); 391 Py_buffer buffer = {NULL, NULL}; in _io_BufferedWriter_write()
|
D | winconsoleio.c.h | 151 _io__WindowsConsoleIO_readinto_impl(winconsoleio *self, Py_buffer *buffer); 157 Py_buffer buffer = {NULL, NULL}; in _io__WindowsConsoleIO_readinto() 250 _io__WindowsConsoleIO_write_impl(winconsoleio *self, Py_buffer *b); 256 Py_buffer b = {NULL, NULL}; in _io__WindowsConsoleIO_write()
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 236 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 …]
|
D | binascii.c | 191 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 …]
|
/external/python/cpython3/Include/ |
D | memoryobject.h | 29 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 */
|