/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/cpython2/Objects/ |
D | memoryobject.c | 38 res = PyObject_GetBuffer(self->view.obj, view, flags); in memory_getbuf() 85 if (PyObject_GetBuffer(base, &view, PyBUF_FULL_RO) < 0) in PyMemoryView_FromObject() 266 if (PyObject_GetBuffer(obj, view, flags) != 0) { in PyMemoryView_GetContiguous() 411 if (PyObject_GetBuffer((PyObject *)self, &view, PyBUF_SIMPLE) < 0) in memory_tobytes() 602 if (PyObject_GetBuffer(view->obj, &newview, newflags) == -1) in memory_subscript() 681 if (PyObject_GetBuffer(value, &srcview, PyBUF_CONTIG_RO) == -1) { in memory_ass_sub() 727 if (PyObject_GetBuffer(v, &vv, PyBUF_CONTIG_RO) == -1) { in memory_richcompare() 731 if (PyObject_GetBuffer(w, &ww, PyBUF_CONTIG_RO) == -1) { in memory_richcompare()
|
/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 | 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 | 99 if (PyObject_GetBuffer(obj, &view, PyBUF_FULL_RO) < 0) { in _PyByteArray_FromBufferObject() 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() 837 if (PyObject_GetBuffer(arg, &view, PyBUF_FULL_RO) < 0) in bytearray_init() 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() [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()
|
/external/python/cpython3/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() 244 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__Buffered_readinto() 281 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__Buffered_readinto1() 537 if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) { in _io_BufferedWriter_write()
|
D | winconsoleio.c.h | 201 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io__WindowsConsoleIO_readinto() 312 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io__WindowsConsoleIO_write()
|
D | fileio.c.h | 201 if (PyObject_GetBuffer(arg, &buffer, PyBUF_WRITABLE) < 0) { in _io_FileIO_readinto() 302 if (PyObject_GetBuffer(arg, &b, PyBUF_SIMPLE) != 0) { in _io_FileIO_write()
|
/external/python/cpython3/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.
|
/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()
|