Searched refs:bf_getbuffer (Results 1 – 7 of 7) sorted by relevance
142 .bf_getbuffer = (getbufferproc) picklebuf_getbuf,
2 offsetof(PyHeapTypeObject, as_buffer.bf_getbuffer),
287 return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL); in PyObject_CheckBuffer()301 pb->bf_getbuffer == NULL) in PyObject_CheckReadBuffer()303 if ((*pb->bf_getbuffer)(obj, &view, PyBUF_SIMPLE) == -1) { in PyObject_CheckReadBuffer()357 pb->bf_getbuffer == NULL || in PyObject_AsWriteBuffer()358 ((*pb->bf_getbuffer)(obj, &view, PyBUF_WRITABLE) != 0)) { in PyObject_AsWriteBuffer()377 if (pb == NULL || pb->bf_getbuffer == NULL) { in PyObject_GetBuffer()383 return (*pb->bf_getbuffer)(obj, view, flags); in PyObject_GetBuffer()
5278 COPYBUF(bf_getbuffer); in inherit_slots()
185 getbufferproc bf_getbuffer; member
250 * :c:member:`~PyBufferProcs.bf_getbuffer`
318 …| :c:member:`~PyBufferProcs.bf_getbuffer` | :c:func:`getbufferproc` | …2206 .. c:member:: getbufferproc PyBufferProcs.bf_getbuffer