Home
last modified time | relevance | path

Searched refs:bf_getbuffer (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Objects/
Dpicklebufobject.c142 .bf_getbuffer = (getbufferproc) picklebuf_getbuf,
Dtypeslots.inc2 {offsetof(PyBufferProcs, bf_getbuffer), offsetof(PyTypeObject, tp_as_buffer)},
Dabstract.c292 return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL); in PyObject_CheckBuffer()
306 pb->bf_getbuffer == NULL) in PyObject_CheckReadBuffer()
308 if ((*pb->bf_getbuffer)(obj, &view, PyBUF_SIMPLE) == -1) { in PyObject_CheckReadBuffer()
362 pb->bf_getbuffer == NULL || in PyObject_AsWriteBuffer()
363 ((*pb->bf_getbuffer)(obj, &view, PyBUF_WRITABLE) != 0)) { in PyObject_AsWriteBuffer()
382 if (pb == NULL || pb->bf_getbuffer == NULL) { in PyObject_GetBuffer()
388 int res = (*pb->bf_getbuffer)(obj, view, flags); in PyObject_GetBuffer()
Dtypeobject.c5858 COPYBUF(bf_getbuffer); in inherit_slots()
/third_party/python/Include/cpython/
Dobject.h181 getbufferproc bf_getbuffer; member
/third_party/python/Doc/c-api/
Dtype.rst265 * :c:member:`~PyBufferProcs.bf_getbuffer`
Dtypeobj.rst320 …| :c:member:`~PyBufferProcs.bf_getbuffer` | :c:func:`getbufferproc` | …
2322 .. c:member:: getbufferproc PyBufferProcs.bf_getbuffer