Searched refs:tp_as_buffer (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Objects/ |
D | typeslots.inc | 2 {offsetof(PyBufferProcs, bf_getbuffer), offsetof(PyTypeObject, tp_as_buffer)}, 3 {offsetof(PyBufferProcs, bf_releasebuffer), offsetof(PyTypeObject, tp_as_buffer)},
|
D | abstract.c | 291 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()
|
D | picklebufobject.c | 217 .tp_as_buffer = &picklebuf_as_buffer,
|
D | typeobject.c | 2758 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/ |
D | typestruct.h | 31 PyBufferProcs *tp_as_buffer; member
|
/third_party/python/Include/cpython/ |
D | object.h | 221 PyBufferProcs *tp_as_buffer; member
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 82 …| :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/ |
D | 3.9.0a6.rst | 1190 :c:member:`PyTypeObject.tp_as_buffer` member.
|
/third_party/python/Python/ |
D | getargs.c | 1336 PyBufferProcs *pb = Py_TYPE(arg)->tp_as_buffer; in convertbuffer()
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 1386 accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member.
|
/third_party/python/Misc/ |
D | HISTORY | 20603 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.
|