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(PyHeapTypeObject, as_buffer.bf_getbuffer),
Dabstract.c287 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()
Dtypeobject.c5278 COPYBUF(bf_getbuffer); in inherit_slots()
/third_party/python/Include/cpython/
Dobject.h185 getbufferproc bf_getbuffer; member
/third_party/python/Doc/c-api/
Dtype.rst250 * :c:member:`~PyBufferProcs.bf_getbuffer`
Dtypeobj.rst318 …| :c:member:`~PyBufferProcs.bf_getbuffer` | :c:func:`getbufferproc` | …
2206 .. c:member:: getbufferproc PyBufferProcs.bf_getbuffer