Home
last modified time | relevance | path

Searched refs:PyBuffer_IsContiguous (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Modules/clinic/
Daudioop.c.h32 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_getsample()
88 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_max()
132 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_minmax()
176 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_avg()
220 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_rms()
265 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_findfit()
272 if (!PyBuffer_IsContiguous(&reference, 'C')) { in audioop_findfit()
317 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_findfactor()
324 if (!PyBuffer_IsContiguous(&reference, 'C')) { in audioop_findfactor()
369 if (!PyBuffer_IsContiguous(&fragment, 'C')) { in audioop_findmax()
[all …]
Dbinascii.c.h66 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_b2a_uu()
150 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_b2a_base64()
225 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_rlecode_hqx()
261 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_b2a_hqx()
297 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_rledecode_hqx()
337 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_crc_hqx()
382 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_crc32()
458 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_b2a_hex()
528 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_hexlify()
709 if (!PyBuffer_IsContiguous(&data, 'C')) { in binascii_b2a_qp()
D_struct.c.h67 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in Struct_unpack()
120 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in Struct_unpack_from()
250 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in unpack()
306 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in unpack_from()
D_codecsmodule.c.h254 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_escape_decode()
373 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_7_decode()
443 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_8_decode()
513 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_16_decode()
583 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_16_le_decode()
653 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_16_be_decode()
725 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_16_ex_decode()
802 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_32_decode()
872 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_32_le_decode()
942 if (!PyBuffer_IsContiguous(&data, 'C')) { in _codecs_utf_32_be_decode()
[all …]
D_lzmamodule.c.h31 if (!PyBuffer_IsContiguous(&data, 'C')) { in _lzma_LZMACompressor_compress()
112 if (!PyBuffer_IsContiguous(&data, 'C')) { in _lzma_LZMADecompressor_decompress()
275 if (!PyBuffer_IsContiguous(&encoded_props, 'C')) { in _lzma__decode_filter_properties()
D_bz2module.c.h31 if (!PyBuffer_IsContiguous(&data, 'C')) { in _bz2_BZ2Compressor_compress()
112 if (!PyBuffer_IsContiguous(&data, 'C')) { in _bz2_BZ2Decompressor_decompress()
Dzlibmodule.c.h40 if (!PyBuffer_IsContiguous(&data, 'C')) { in zlib_compress()
102 if (!PyBuffer_IsContiguous(&data, 'C')) { in zlib_decompress()
249 if (!PyBuffer_IsContiguous(&zdict, 'C')) { in zlib_compressobj()
707 if (!PyBuffer_IsContiguous(&data, 'C')) { in zlib_adler32()
760 if (!PyBuffer_IsContiguous(&data, 'C')) { in zlib_crc32()
D_hashopenssl.c.h918 if (!PyBuffer_IsContiguous(&password, 'C')) { in pbkdf2_hmac()
925 if (!PyBuffer_IsContiguous(&salt, 'C')) { in pbkdf2_hmac()
993 if (!PyBuffer_IsContiguous(&password, 'C')) { in _hashlib_scrypt()
1004 if (!PyBuffer_IsContiguous(&salt, 'C')) { in _hashlib_scrypt()
1104 if (!PyBuffer_IsContiguous(&key, 'C')) { in _hashlib_hmac_singleshot()
1111 if (!PyBuffer_IsContiguous(&msg, 'C')) { in _hashlib_hmac_singleshot()
1163 if (!PyBuffer_IsContiguous(&key, 'C')) { in _hashlib_hmac_new()
D_ssl.c.h233 if (!PyBuffer_IsContiguous(&b, 'C')) { in _ssl__SSLSocket_write()
502 if (!PyBuffer_IsContiguous(&protos, 'C')) { in _ssl__SSLContext__set_alpn_protocols()
964 if (!PyBuffer_IsContiguous(&b, 'C')) { in _ssl_MemoryBIO_write()
1036 if (!PyBuffer_IsContiguous(&view, 'C')) { in _ssl_RAND_add()
Darraymodule.c.h379 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in array_array_frombytes()
/third_party/python/Objects/clinic/
Dbytesobject.c.h96 if (!PyBuffer_IsContiguous(&sep, 'C')) { in bytes_partition()
139 if (!PyBuffer_IsContiguous(&sep, 'C')) { in bytes_rpartition()
412 if (!PyBuffer_IsContiguous(&frm, 'C')) { in bytes_maketrans()
419 if (!PyBuffer_IsContiguous(&to, 'C')) { in bytes_maketrans()
472 if (!PyBuffer_IsContiguous(&old, 'C')) { in bytes_replace()
479 if (!PyBuffer_IsContiguous(&new, 'C')) { in bytes_replace()
538 if (!PyBuffer_IsContiguous(&prefix, 'C')) { in bytes_removeprefix()
578 if (!PyBuffer_IsContiguous(&suffix, 'C')) { in bytes_removesuffix()
Dbytearrayobject.c.h135 if (!PyBuffer_IsContiguous(&prefix, 'C')) { in bytearray_removeprefix()
175 if (!PyBuffer_IsContiguous(&suffix, 'C')) { in bytearray_removesuffix()
266 if (!PyBuffer_IsContiguous(&frm, 'C')) { in bytearray_maketrans()
273 if (!PyBuffer_IsContiguous(&to, 'C')) { in bytearray_maketrans()
326 if (!PyBuffer_IsContiguous(&old, 'C')) { in bytearray_replace()
333 if (!PyBuffer_IsContiguous(&new, 'C')) { in bytearray_replace()
/third_party/python/Modules/_blake2/clinic/
Dblake2b_impl.c.h71 if (!PyBuffer_IsContiguous(&key, 'C')) { in py_blake2b_new()
83 if (!PyBuffer_IsContiguous(&salt, 'C')) { in py_blake2b_new()
95 if (!PyBuffer_IsContiguous(&person, 'C')) { in py_blake2b_new()
Dblake2s_impl.c.h71 if (!PyBuffer_IsContiguous(&key, 'C')) { in py_blake2s_new()
83 if (!PyBuffer_IsContiguous(&salt, 'C')) { in py_blake2s_new()
95 if (!PyBuffer_IsContiguous(&person, 'C')) { in py_blake2s_new()
/third_party/python/Modules/_io/clinic/
Dbufferedio.c.h27 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io__BufferedIOBase_readinto()
64 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io__BufferedIOBase_readinto1()
239 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io__Buffered_readinto()
276 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io__Buffered_readinto1()
515 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io_BufferedWriter_write()
Dwinconsoleio.c.h198 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io__WindowsConsoleIO_readinto()
307 if (!PyBuffer_IsContiguous(&b, 'C')) { in _io__WindowsConsoleIO_write()
Dfileio.c.h201 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io_FileIO_readinto()
300 if (!PyBuffer_IsContiguous(&b, 'C')) { in _io_FileIO_write()
Dbytesio.c.h325 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in _io_BytesIO_readinto()
/third_party/python/Modules/
D_testbuffer.c271 if (PyBuffer_IsContiguous(&ndbuf->base, 'C')) in init_flags()
273 if (PyBuffer_IsContiguous(&ndbuf->base, 'F')) in init_flags()
1161 if (PyBuffer_IsContiguous(base, 'C')) in init_structure()
1163 if (PyBuffer_IsContiguous(base, 'F')) in init_structure()
1515 if (ND_C_CONTIGUOUS(baseflags) != PyBuffer_IsContiguous(view, 'C') || in ndarray_getbuf()
1518 ND_FORTRAN_CONTIGUOUS(baseflags) != PyBuffer_IsContiguous(view, 'F')) || in ndarray_getbuf()
1521 !PyBuffer_IsContiguous(view, 'F'))) { in ndarray_getbuf()
2089 int ret = PyBuffer_IsContiguous(&nd->head->base, 'C'); in ndarray_c_contig()
2103 int ret = PyBuffer_IsContiguous(&nd->head->base, 'F'); in ndarray_fortran_contig()
2117 int ret = PyBuffer_IsContiguous(&nd->head->base, 'A'); in ndarray_contig()
[all …]
/third_party/python/Python/clinic/
Dmarshal.c.h144 if (!PyBuffer_IsContiguous(&bytes, 'C')) { in marshal_loads()
Dimport.c.h430 if (!PyBuffer_IsContiguous(&source, 'C')) { in _imp_source_hash()
/third_party/python/Modules/cjkcodecs/clinic/
Dmultibytecodec.c.h105 if (!PyBuffer_IsContiguous(&input, 'C')) { in _multibytecodec_MultibyteCodec_decode()
279 if (!PyBuffer_IsContiguous(&input, 'C')) { in _multibytecodec_MultibyteIncrementalDecoder_decode()
/third_party/python/Objects/
Dpicklebufobject.c157 || !PyBuffer_IsContiguous(&self->view, 'A')) { in picklebuf_raw()
Dabstract.c461 PyBuffer_IsContiguous(const Py_buffer *view, char order) in PyBuffer_IsContiguous() function
578 if (PyBuffer_IsContiguous(view, fort)) { in PyBuffer_FromContiguous()
647 if ((PyBuffer_IsContiguous(&view_dest, 'C') && in PyObject_CopyData()
648 PyBuffer_IsContiguous(&view_src, 'C')) || in PyObject_CopyData()
649 (PyBuffer_IsContiguous(&view_dest, 'F') && in PyObject_CopyData()
650 PyBuffer_IsContiguous(&view_src, 'F'))) { in PyObject_CopyData()
/third_party/python/Include/cpython/
Dabstract.h304 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);

12