/third_party/python/Modules/clinic/ |
D | audioop.c.h | 29 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_getsample() 85 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_max() 129 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_minmax() 173 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_avg() 217 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_rms() 262 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_findfit() 269 if (PyObject_GetBuffer(args[1], &reference, PyBUF_SIMPLE) != 0) { in audioop_findfit() 314 if (PyObject_GetBuffer(args[0], &fragment, PyBUF_SIMPLE) != 0) { in audioop_findfactor() 321 if (PyObject_GetBuffer(args[1], &reference, PyBUF_SIMPLE) != 0) { in audioop_findfactor() 366 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() 147 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_base64() 222 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_rlecode_hqx() 258 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_hqx() 294 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) { in binascii_rledecode_hqx() 334 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_crc_hqx() 379 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_crc32() 455 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_hex() 525 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_hexlify() 706 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in binascii_b2a_qp()
|
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() 247 if (PyObject_GetBuffer(args[1], &buffer, PyBUF_SIMPLE) != 0) { in unpack() 303 if (PyObject_GetBuffer(args[1], &buffer, PyBUF_SIMPLE) != 0) { in unpack_from()
|
D | _codecsmodule.c.h | 251 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_escape_decode() 370 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_7_decode() 440 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_8_decode() 510 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_decode() 580 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_le_decode() 650 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_be_decode() 722 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_16_ex_decode() 799 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_32_decode() 869 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _codecs_utf_32_le_decode() 939 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() 272 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() 109 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _bz2_BZ2Decompressor_decompress()
|
D | zlibmodule.c.h | 37 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_compress() 99 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_decompress() 246 if (PyObject_GetBuffer(args[5], &zdict, PyBUF_SIMPLE) != 0) { in zlib_compressobj() 704 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_adler32() 757 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in zlib_crc32()
|
D | _hashopenssl.c.h | 915 if (PyObject_GetBuffer(args[1], &password, PyBUF_SIMPLE) != 0) { in pbkdf2_hmac() 922 if (PyObject_GetBuffer(args[2], &salt, PyBUF_SIMPLE) != 0) { in pbkdf2_hmac() 990 if (PyObject_GetBuffer(args[0], &password, PyBUF_SIMPLE) != 0) { in _hashlib_scrypt() 1001 if (PyObject_GetBuffer(args[1], &salt, PyBUF_SIMPLE) != 0) { in _hashlib_scrypt() 1101 if (PyObject_GetBuffer(args[0], &key, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_singleshot() 1108 if (PyObject_GetBuffer(args[1], &msg, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_singleshot() 1160 if (PyObject_GetBuffer(args[0], &key, PyBUF_SIMPLE) != 0) { in _hashlib_hmac_new()
|
D | _ssl.c.h | 230 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_alpn_protocols() 961 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _ssl_MemoryBIO_write() 1033 if (PyObject_GetBuffer(args[0], &view, PyBUF_SIMPLE) != 0) { in _ssl_RAND_add()
|
/third_party/python/Objects/clinic/ |
D | bytesobject.c.h | 93 if (PyObject_GetBuffer(arg, &sep, PyBUF_SIMPLE) != 0) { in bytes_partition() 136 if (PyObject_GetBuffer(arg, &sep, PyBUF_SIMPLE) != 0) { in bytes_rpartition() 409 if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) { in bytes_maketrans() 416 if (PyObject_GetBuffer(args[1], &to, PyBUF_SIMPLE) != 0) { in bytes_maketrans() 469 if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) { in bytes_replace() 476 if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) { in bytes_replace() 535 if (PyObject_GetBuffer(arg, &prefix, PyBUF_SIMPLE) != 0) { in bytes_removeprefix() 575 if (PyObject_GetBuffer(arg, &suffix, PyBUF_SIMPLE) != 0) { in bytes_removesuffix()
|
D | bytearrayobject.c.h | 132 if (PyObject_GetBuffer(arg, &prefix, PyBUF_SIMPLE) != 0) { in bytearray_removeprefix() 172 if (PyObject_GetBuffer(arg, &suffix, PyBUF_SIMPLE) != 0) { in bytearray_removesuffix() 263 if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) { in bytearray_maketrans() 270 if (PyObject_GetBuffer(args[1], &to, PyBUF_SIMPLE) != 0) { in bytearray_maketrans() 323 if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) { in bytearray_replace() 330 if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) { in bytearray_replace()
|
/third_party/python/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 68 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 80 if (PyObject_GetBuffer(fastargs[3], &salt, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 92 if (PyObject_GetBuffer(fastargs[4], &person, PyBUF_SIMPLE) != 0) { in py_blake2b_new()
|
D | blake2s_impl.c.h | 68 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 80 if (PyObject_GetBuffer(fastargs[3], &salt, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 92 if (PyObject_GetBuffer(fastargs[4], &person, PyBUF_SIMPLE) != 0) { in py_blake2s_new()
|
/third_party/python/Objects/ |
D | bytearrayobject.c | 254 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in PyByteArray_Concat() 255 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in PyByteArray_Concat() 297 if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) { in bytearray_iconcat() 554 if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) { in bytearray_setslice() 1023 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare() 1029 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare() 1274 } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl() 1287 if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl() 1427 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_split_impl() 1538 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_rsplit_impl() [all …]
|
D | bytes_methods.c | 523 if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0) in find_internal() 672 if (PyObject_GetBuffer(sub_obj, &vsub, PyBUF_SIMPLE) != 0) in _Py_bytes_count() 703 if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0) in _Py_bytes_contains() 736 if (PyObject_GetBuffer(substr, &sub_view, PyBUF_SIMPLE) != 0) in tailmatch()
|
D | bytesobject.c | 1399 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in bytes_concat() 1400 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in bytes_concat() 1721 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_split_impl() 1806 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytes_rsplit_impl() 1884 if (PyObject_GetBuffer(sepobj, &vsep, PyBUF_SIMPLE) != 0) in do_xstrip() 2056 if (PyObject_GetBuffer(table, &table_view, PyBUF_SIMPLE) != 0) in bytes_translate_impl() 2075 if (PyObject_GetBuffer(deletechars, &del_table_view, PyBUF_SIMPLE) != 0) { in bytes_translate_impl() 2954 if (PyObject_GetBuffer(w, &wb, PyBUF_SIMPLE) != 0) { in PyBytes_Concat()
|
/third_party/python/Modules/ |
D | hashlib.h | 19 if (PyObject_GetBuffer((obj), (viewp), PyBUF_SIMPLE) == -1) { \
|
/third_party/python/Python/clinic/ |
D | marshal.c.h | 141 if (PyObject_GetBuffer(arg, &bytes, PyBUF_SIMPLE) != 0) { in marshal_loads()
|
D | import.c.h | 427 if (PyObject_GetBuffer(args[1], &source, PyBUF_SIMPLE) != 0) { in _imp_source_hash()
|
/third_party/python/PC/ |
D | winsound.c | 93 if (PyObject_GetBuffer(sound, &view, PyBUF_SIMPLE) < 0) { in winsound_PlaySound_impl()
|
/third_party/python/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 102 if (PyObject_GetBuffer(args[0], &input, PyBUF_SIMPLE) != 0) { in _multibytecodec_MultibyteCodec_decode() 276 if (PyObject_GetBuffer(args[0], &input, PyBUF_SIMPLE) != 0) { in _multibytecodec_MultibyteIncrementalDecoder_decode()
|
/third_party/python/Objects/stringlib/ |
D | join.h | 72 if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { in STRINGLIB()
|
/third_party/python/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 |
|
/third_party/python/Modules/_io/clinic/ |
D | winconsoleio.c.h | 304 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io__WindowsConsoleIO_write()
|
D | fileio.c.h | 297 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io_FileIO_write()
|