/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()
|
/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 | picklebufobject.c | 28 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in PyPickleBuffer_FromObject() 87 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in picklebuf_new() 128 return PyObject_GetBuffer(self->view.obj, view, flags); in picklebuf_getbuf()
|
D | bytearrayobject.c | 91 if (PyObject_GetBuffer(obj, &view, PyBUF_FULL_RO) < 0) { in _PyByteArray_FromBufferObject() 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() 833 if (PyObject_GetBuffer(arg, &view, PyBUF_FULL_RO) < 0) in bytearray___init___impl() 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() [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() 2658 if (PyObject_GetBuffer(x, &view, PyBUF_FULL_RO) < 0) in _PyBytes_FromBuffer() 2954 if (PyObject_GetBuffer(w, &wb, PyBUF_SIMPLE) != 0) { in PyBytes_Concat()
|
/third_party/python/Modules/_io/clinic/ |
D | bufferedio.c.h | 22 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__BufferedIOBase_readinto() 59 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__BufferedIOBase_readinto1() 234 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__Buffered_readinto() 271 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__Buffered_readinto1() 512 if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) { in _io_BufferedWriter_write()
|
D | winconsoleio.c.h | 193 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__WindowsConsoleIO_readinto() 304 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io__WindowsConsoleIO_write()
|
D | fileio.c.h | 196 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io_FileIO_readinto() 297 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io_FileIO_write()
|
/third_party/python/Doc/c-api/ |
D | objbuffer.rst | 15 Therefore, it is recommended that you call :c:func:`PyObject_GetBuffer` 46 To get error reporting use :c:func:`PyObject_GetBuffer()` instead.
|
D | buffer.rst | 56 * call :c:func:`PyObject_GetBuffer` with the right parameters; 88 a buffer, see :c:func:`PyObject_GetBuffer`. 224 object via :c:func:`PyObject_GetBuffer`. Since the complexity of the logical 433 returned, it doesn't guarantee that :c:func:`PyObject_GetBuffer` will 437 .. c:function:: int PyObject_GetBuffer(PyObject *exporter, Py_buffer *view, int flags) 449 Successful calls to :c:func:`PyObject_GetBuffer` must be paired with calls 462 :c:func:`PyObject_GetBuffer`.
|
/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()
|
/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/PC/ |
D | winsound.c | 93 if (PyObject_GetBuffer(sound, &view, PyBUF_SIMPLE) < 0) { in winsound_PlaySound_impl()
|