Home
last modified time | relevance | path

Searched refs:PyBufferProcs (Results 1 – 25 of 45) sorted by relevance

12

/external/python/cpython2/Objects/
Dbufferobject.c37 PyBufferProcs *bp = Py_TYPE(self->b_base)->tp_as_buffer; in get_buf()
158 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromObject()
174 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromReadWriteObject()
382 PyBufferProcs *pb = other->ob_type->tp_as_buffer; in buffer_concat()
564 PyBufferProcs *pb; in buffer_ass_item_impl()
622 PyBufferProcs *pb; in buffer_ass_slice()
680 PyBufferProcs *pb; in buffer_ass_subscript()
850 static PyBufferProcs buffer_as_buffer = {
Dabstract.c249 PyBufferProcs *pb; in PyObject_AsCharBuffer()
281 PyBufferProcs *pb = obj->ob_type->tp_as_buffer; in PyObject_CheckReadBuffer()
295 PyBufferProcs *pb; in PyObject_AsReadBuffer()
328 PyBufferProcs *pb; in PyObject_AsWriteBuffer()
Dmemoryobject.c793 static PyBufferProcs memory_as_buffer = {
Dbytearrayobject.c132 PyBufferProcs *buffer = Py_TYPE(obj)->tp_as_buffer; in _getbuffer()
2825 static PyBufferProcs bytearray_as_buffer = {
/external/python/cpython3/Include/cpython/
Dobject.h187 } PyBufferProcs; typedef
223 PyBufferProcs *tp_as_buffer;
289 PyBufferProcs as_buffer;
/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc313 PyBufferProcs PjRtBufferProcs = []() { in __anonb86489e10502()
314 PyBufferProcs procs; in __anonb86489e10502()
322 /*static*/ PyBufferProcs* PyBuffer::BufferProtocol() { in BufferProtocol()
Dpy_buffer.h91 static PyBufferProcs* BufferProtocol();
/external/python/cpython2/Doc/includes/
Dtypestruct.h30 PyBufferProcs *tp_as_buffer;
/external/python/cpython3/Doc/includes/
Dtypestruct.h31 PyBufferProcs *tp_as_buffer;
/external/python/cpython2/Include/
Dobject.h302 } PyBufferProcs; typedef
353 PyBufferProcs *tp_as_buffer;
426 PyBufferProcs as_buffer;
/external/python/cpython3/Doc/c-api/
Dtype.rst248 * :c:member:`~PyBufferProcs.bf_getbuffer`
249 * :c:member:`~PyBufferProcs.bf_releasebuffer`
258 Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API.
Dtypeobj.rst82 …| :c:member:`~PyTypeObject.tp_as_buffer` | :c:type:`PyBufferProcs` * | …
318 …| :c:member:`~PyBufferProcs.bf_getbuffer` | :c:func:`getbufferproc` | …
320 …| :c:member:`~PyBufferProcs.bf_releasebuffer` | :c:func:`releasebufferproc` | …
969 .. c:member:: PyBufferProcs* PyTypeObject.tp_as_buffer
2200 .. c:type:: PyBufferProcs
2206 .. c:member:: getbufferproc PyBufferProcs.bf_getbuffer
2255 .. c:member:: releasebufferproc PyBufferProcs.bf_releasebuffer
2262 need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be
/external/python/cpython3/Objects/
Dpicklebufobject.c141 static PyBufferProcs picklebuf_as_buffer = {
Dabstract.c286 PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer; in PyObject_CheckBuffer()
297 PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer; in PyObject_CheckReadBuffer()
348 PyBufferProcs *pb; in PyObject_AsWriteBuffer()
375 PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer; in PyObject_GetBuffer()
748 PyBufferProcs *pb; in PyBuffer_Release()
/external/python/cpython2/Python/
Dgetargs.c1294 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertsimple()
1346 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertsimple()
1393 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertbuffer()
1417 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in getbuffer()
/external/python/cffi/c/
Dminibuffer.h128 static PyBufferProcs mb_as_buffer = {
/external/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll5 …%struct.PyBufferProcs = type { i64 (%struct.PyObject*, i64, i8**)*, i64 (%struct.PyObject*, i64, i…
16 …2 (%struct.PyObject*, %struct.PyObject*, %struct.PyObject*)*, %struct.PyBufferProcs*, i64, i8*, i3…
/external/python/cpython2/Doc/c-api/
Dbuffer.rst342 .. index:: single: PyBufferProcs
345 :ref:`buffer-structs`, under the description for :c:type:`PyBufferProcs`.
Dtypeobj.rst407 .. c:member:: PyBufferProcs* PyTypeObject.tp_as_buffer
447 If this bit is set, the :c:type:`PyBufferProcs` struct referenced by
1348 :c:member:`~PyTypeObject.tp_as_buffer` will point to a :c:type:`PyBufferProcs` structure.
1354 than ``0``. This tells the Python runtime that your :c:type:`PyBufferProcs`
1360 .. c:type:: PyBufferProcs
/external/python/cpython3/Modules/_io/
Dbytesio.c1122 static PyBufferProcs bytesiobuf_as_buffer = {
/external/llvm-project/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll6 …%struct.PyBufferProcs = type { i64 (%struct.PyObject*, i64, i8**)*, i64 (%struct.PyObject*, i64, i…
17 …2 (%struct.PyObject*, %struct.PyObject*, %struct.PyObject*)*, %struct.PyBufferProcs*, i64, i8*, i3…
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc756 static PyBufferProcs EagerTensor_as_buffer = {
/external/python/cpython3/Modules/_decimal/
D_decimal.c698 (PyBufferProcs *) 0, /* tp_as_buffer */
1826 (PyBufferProcs *) 0, /* tp_as_buffer */
4848 (PyBufferProcs *) 0, /* tp_as_buffer */
5534 (PyBufferProcs *) 0, /* tp_as_buffer */
/external/python/cpython2/Modules/
Dmmapmodule.c992 static PyBufferProcs mmap_as_buffer = {
/external/python/cpython3/Modules/
D_testbuffer.c1544 static PyBufferProcs ndarray_as_buffer = {
2758 static PyBufferProcs staticarray_as_buffer = {

12