/external/python/cpython3/Modules/clinic/ |
D | audioop.c.h | 29 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_getsample() 95 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_max() 144 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_minmax() 193 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_avg() 242 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_rms() 292 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_findfit() 299 if (PyObject_GetBuffer(args[1], &reference, PyBUF_SIMPLE) != 0) { in audioop_findfit() 344 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_findfactor() 351 if (PyObject_GetBuffer(args[1], &reference, PyBUF_SIMPLE) != 0) { in audioop_findfactor() 396 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_findmax() [all …]
|
D | binascii.c.h | 63 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_uu() 152 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_base64() 232 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_rlecode_hqx() 268 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_hqx() 304 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_rledecode_hqx() 344 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_crc_hqx() 394 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_crc32() 475 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_hex() 550 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_hexlify() 741 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_qp()
|
D | zlibmodule.c.h | 37 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_compress() 104 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_decompress() 272 if (PyObject_GetBuffer(args[5], &zdict, PyBUF_SIMPLE) != 0) { in zlib_compressobj() 374 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in zlib_Compress_compress() 431 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_Decompress_decompress() 676 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_adler32() 734 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_crc32()
|
D | _struct.c.h | 64 if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) { in Struct_unpack() 117 if (PyObject_GetBuffer(args[0], &buffer, PyBUF_SIMPLE) != 0) { in Struct_unpack_from() 252 if (PyObject_GetBuffer(args[1], &buffer, PyBUF_SIMPLE) != 0) { in unpack() 308 if (PyObject_GetBuffer(args[1], &buffer, PyBUF_SIMPLE) != 0) { in unpack_from()
|
D | _codecsmodule.c.h | 277 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_escape_decode() 396 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_7_decode() 471 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_8_decode() 546 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_decode() 621 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_le_decode() 696 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_be_decode() 773 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_ex_decode() 860 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_32_decode() 935 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_32_le_decode() 1010 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_32_be_decode() [all …]
|
D | _lzmamodule.c.h | 28 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in _lzma_LZMACompressor_compress() 109 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _lzma_LZMADecompressor_decompress() 320 if (PyObject_GetBuffer(args[1], &encoded_props, PyBUF_SIMPLE) != 0) { in _lzma__decode_filter_properties()
|
D | _bz2module.c.h | 28 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in _bz2_BZ2Compressor_compress() 155 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _bz2_BZ2Decompressor_decompress()
|
D | _hashopenssl.c.h | 925 if (PyObject_GetBuffer(args[1], &password, PyBUF_SIMPLE) != 0) { in pbkdf2_hmac() 932 if (PyObject_GetBuffer(args[2], &salt, PyBUF_SIMPLE) != 0) { in pbkdf2_hmac() 1005 if (PyObject_GetBuffer(args[0], &password, PyBUF_SIMPLE) != 0) { in _hashlib_scrypt() 1016 if (PyObject_GetBuffer(args[1], &salt, PyBUF_SIMPLE) != 0) { in _hashlib_scrypt() 1126 if (PyObject_GetBuffer(args[0], &key, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_singleshot() 1133 if (PyObject_GetBuffer(args[1], &msg, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_singleshot() 1197 if (PyObject_GetBuffer(args[0], &key, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_new()
|
D | _ssl.c.h | 221 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _ssl__SSLSocket_write() 499 if (PyObject_GetBuffer(arg, &protos, PyBUF_SIMPLE) != 0) { in _ssl__SSLContext__set_npn_protocols() 535 if (PyObject_GetBuffer(arg, &protos, PyBUF_SIMPLE) != 0) { in _ssl__SSLContext__set_alpn_protocols() 1016 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _ssl_MemoryBIO_write() 1088 if (PyObject_GetBuffer(args[0], &view, PyBUF_SIMPLE) != 0) { in _ssl_RAND_add()
|
/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 98 if (PyObject_GetBuffer(arg, &sep, PyBUF_SIMPLE) != 0) { in bytes_partition() 141 if (PyObject_GetBuffer(arg, &sep, PyBUF_SIMPLE) != 0) { in bytes_rpartition() 419 if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) { in bytes_maketrans() 426 if (PyObject_GetBuffer(args[1], &to, PyBUF_SIMPLE) != 0) { in bytes_maketrans() 479 if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) { in bytes_replace() 486 if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) { in bytes_replace() 550 if (PyObject_GetBuffer(arg, &prefix, PyBUF_SIMPLE) != 0) { in bytes_removeprefix() 590 if (PyObject_GetBuffer(arg, &suffix, PyBUF_SIMPLE) != 0) { in bytes_removesuffix()
|
D | bytearrayobject.c.h | 63 if (PyObject_GetBuffer(arg, &prefix, PyBUF_SIMPLE) != 0) { in bytearray_removeprefix() 103 if (PyObject_GetBuffer(arg, &suffix, PyBUF_SIMPLE) != 0) { in bytearray_removesuffix() 194 if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) { in bytearray_maketrans() 201 if (PyObject_GetBuffer(args[1], &to, PyBUF_SIMPLE) != 0) { in bytearray_maketrans() 254 if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) { in bytearray_replace() 261 if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) { in bytearray_replace()
|
/external/python/cpython3/Modules/_blake2/clinic/ |
D | blake2s_impl.c.h | 73 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 85 if (PyObject_GetBuffer(fastargs[3], &salt, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 97 if (PyObject_GetBuffer(fastargs[4], &person, PyBUF_SIMPLE) != 0) { in py_blake2s_new()
|
D | blake2b_impl.c.h | 73 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 85 if (PyObject_GetBuffer(fastargs[3], &salt, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 97 if (PyObject_GetBuffer(fastargs[4], &person, PyBUF_SIMPLE) != 0) { in py_blake2b_new()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 262 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in PyByteArray_Concat() 263 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in PyByteArray_Concat() 305 if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) { in bytearray_iconcat() 560 if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) { in bytearray_setslice() 1033 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare() 1039 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare() 1284 } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl() 1297 if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl() 1437 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_split_impl() 1548 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_rsplit_impl() [all …]
|
D | bytes_methods.c | 524 if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0) in find_internal() 673 if (PyObject_GetBuffer(sub_obj, &vsub, PyBUF_SIMPLE) != 0) in _Py_bytes_count() 704 if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0) in _Py_bytes_contains() 737 if (PyObject_GetBuffer(substr, &sub_view, PyBUF_SIMPLE) != 0) in tailmatch()
|
D | bytesobject.c | 1368 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in bytes_concat() 1369 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in bytes_concat() 1706 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_split_impl() 1791 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_rsplit_impl() 1869 if (PyObject_GetBuffer(sepobj, &vsep, PyBUF_SIMPLE) != 0) in do_xstrip() 2041 if (PyObject_GetBuffer(table, &table_view, PyBUF_SIMPLE) != 0) in bytes_translate_impl() 2060 if (PyObject_GetBuffer(deletechars, &del_table_view, PyBUF_SIMPLE) != 0) { in bytes_translate_impl() 2944 if (PyObject_GetBuffer(w, &wb, PyBUF_SIMPLE) != 0) { in PyBytes_Concat()
|
/external/python/cpython3/Modules/ |
D | hashlib.h | 19 if (PyObject_GetBuffer((obj), (viewp), PyBUF_SIMPLE) == -1) { \
|
/external/python/cffi/c/ |
D | minibuffer.h | 185 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in mb_richcompare() 193 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in mb_richcompare()
|
/external/python/cpython3/Python/clinic/ |
D | marshal.c.h | 151 if (PyObject_GetBuffer(arg, &bytes, PyBUF_SIMPLE) != 0) { in marshal_loads()
|
/external/python/cpython3/PC/ |
D | winsound.c | 93 if (PyObject_GetBuffer(sound, &view, PyBUF_SIMPLE) < 0) { in winsound_PlaySound_impl()
|
/external/python/cpython3/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 102 if (PyObject_GetBuffer(args[0], &input, PyBUF_SIMPLE) != 0) { in _multibytecodec_MultibyteCodec_decode() 281 if (PyObject_GetBuffer(args[0], &input, PyBUF_SIMPLE) != 0) { in _multibytecodec_MultibyteIncrementalDecoder_decode()
|
/external/python/cpython3/Objects/stringlib/ |
D | join.h | 72 if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { in STRINGLIB()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 1440 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in bytes_concat() 1441 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in bytes_concat() 1792 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_split_impl() 1877 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_rsplit_impl() 1955 if (PyObject_GetBuffer(sepobj, &vsep, PyBUF_SIMPLE) != 0) in do_xstrip() 2126 if (PyObject_GetBuffer(table, &table_view, PyBUF_SIMPLE) != 0) in bytes_translate_impl() 2145 if (PyObject_GetBuffer(deletechars, &del_table_view, PyBUF_SIMPLE) != 0) { in bytes_translate_impl() 2899 if (PyObject_GetBuffer(w, &wb, PyBUF_SIMPLE) != 0) { in PyBytes_Concat()
|
/external/python/cpython3/Modules/_io/clinic/ |
D | winconsoleio.c.h | 312 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io__WindowsConsoleIO_write()
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 123 most cases such a request will be :c:macro:`PyBUF_SIMPLE` or :c:macro:`PyBUF_WRITABLE`. 144 If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a :c:macro:`PyBUF_SIMPLE` 255 Since :c:macro:`PyBUF_SIMPLE` is defined as 0, :c:macro:`PyBUF_WRITABLE` 258 :c:macro:`PyBUF_FORMAT` can be \|'d to any of the flags except :c:macro:`PyBUF_SIMPLE`. 280 | .. c:macro:: PyBUF_SIMPLE | NULL | NULL | NULL |
|