Home
last modified time | relevance | path

Searched refs:tp_as_buffer (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Objects/
Dtypeslots.inc2 {offsetof(PyBufferProcs, bf_getbuffer), offsetof(PyTypeObject, tp_as_buffer)},
3 {offsetof(PyBufferProcs, bf_releasebuffer), offsetof(PyTypeObject, tp_as_buffer)},
Dabstract.c291 PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer; in PyObject_CheckBuffer() local
292 return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL); in PyObject_CheckBuffer()
302 PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer; in PyObject_CheckReadBuffer()
360 pb = Py_TYPE(obj)->tp_as_buffer; in PyObject_AsWriteBuffer()
380 PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer; in PyObject_GetBuffer()
758 pb = Py_TYPE(obj)->tp_as_buffer; in PyBuffer_Release()
Dpicklebufobject.c217 .tp_as_buffer = &picklebuf_as_buffer,
Dtypeobject.c2758 type->tp_as_buffer = &et->as_buffer; in type_new_alloc()
3493 type->tp_as_buffer = &res->as_buffer; in PyType_FromModuleAndSpec()
5776 #define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT) in inherit_slots()
5854 if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) { in inherit_slots()
5856 if (basebase->tp_as_buffer == NULL) in inherit_slots()
6166 if (type->tp_as_buffer == NULL) { in type_ready_inherit_as_structs()
6167 type->tp_as_buffer = base->tp_as_buffer; in type_ready_inherit_as_structs()
/third_party/python/Doc/includes/
Dtypestruct.h31 PyBufferProcs *tp_as_buffer; member
/third_party/python/Include/cpython/
Dobject.h221 PyBufferProcs *tp_as_buffer; member
/third_party/python/Doc/c-api/
Dtypeobj.rst82 …| :c:member:`~PyTypeObject.tp_as_buffer` | :c:type:`PyBufferProcs` * | …
992 .. c:member:: PyBufferProcs* PyTypeObject.tp_as_buffer
1000 The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited,
1010 :c:member:`~PyTypeObject.tp_as_buffer`) that were historically not always present are valid; if
2626 0, /* tp_as_buffer */
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst1190 :c:member:`PyTypeObject.tp_as_buffer` member.
/third_party/python/Python/
Dgetargs.c1336 PyBufferProcs *pb = Py_TYPE(arg)->tp_as_buffer; in convertbuffer()
/third_party/python/Doc/whatsnew/
D3.9.rst1386 accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member.
/third_party/python/Misc/
DHISTORY20603 the data and the data length. Instead, the appropriate tp_as_buffer
22242 - A C type that inherits from a base type that defines tp_as_buffer
22243 will now inherit the tp_as_buffer pointer if it doesn't define one.