/external/python/cpython2/Objects/ |
D | bufferobject.c | 37 PyBufferProcs *bp = Py_TYPE(self->b_base)->tp_as_buffer; in get_buf() 158 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromObject() 174 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromReadWriteObject() 382 PyBufferProcs *pb = other->ob_type->tp_as_buffer; in buffer_concat() 574 pb = other ? other->ob_type->tp_as_buffer : NULL; in buffer_ass_item_impl() 634 pb = other ? other->ob_type->tp_as_buffer : NULL; in buffer_ass_slice() 691 pb = value ? value->ob_type->tp_as_buffer : NULL; in buffer_ass_subscript()
|
D | abstract.c | 257 pb = obj->ob_type->tp_as_buffer; in PyObject_AsCharBuffer() 281 PyBufferProcs *pb = obj->ob_type->tp_as_buffer; in PyObject_CheckReadBuffer() 303 pb = obj->ob_type->tp_as_buffer; in PyObject_AsReadBuffer() 336 pb = obj->ob_type->tp_as_buffer; in PyObject_AsWriteBuffer() 368 return (*(obj->ob_type->tp_as_buffer->bf_getbuffer))(obj, view, flags); in PyObject_GetBuffer() 717 if (obj && Py_TYPE(obj)->tp_as_buffer && Py_TYPE(obj)->tp_as_buffer->bf_releasebuffer) in PyBuffer_Release() 718 Py_TYPE(obj)->tp_as_buffer->bf_releasebuffer(obj, view); in PyBuffer_Release()
|
D | typeobject.c | 2371 type->tp_as_buffer = &et->as_buffer; in type_new() 3816 if (!type->tp_as_buffer && base->tp_as_buffer) { 3948 #define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT) 4027 if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) { 4029 if (basebase->tp_as_buffer == NULL) 4291 if (type->tp_as_buffer == NULL) 4292 type->tp_as_buffer = base->tp_as_buffer;
|
D | bytearrayobject.c | 132 PyBufferProcs *buffer = Py_TYPE(obj)->tp_as_buffer; in _getbuffer()
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 30 PyBufferProcs *tp_as_buffer; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 31 PyBufferProcs *tp_as_buffer; member
|
/external/python/cpython2/Include/ |
D | code.h | 87 ((*Py_TYPE((co)->co_code)->tp_as_buffer->bf_getreadbuffer) \
|
D | abstract.h | 535 (((obj)->ob_type->tp_as_buffer != NULL) && \ 537 ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL))
|
D | object.h | 353 PyBufferProcs *tp_as_buffer; member
|
/external/python/cpython3/Include/ |
D | abstract.h | 512 (((obj)->ob_type->tp_as_buffer != NULL) && \ 513 ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL))
|
D | object.h | 376 PyBufferProcs *tp_as_buffer; member
|
/external/python/cpython2/Python/ |
D | getargs.c | 1294 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertsimple() 1346 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertsimple() 1393 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in convertbuffer() 1417 PyBufferProcs *pb = arg->ob_type->tp_as_buffer; in getbuffer()
|
D | marshal.c | 449 PyBufferProcs *pb = v->ob_type->tp_as_buffer; in w_object()
|
/external/python/cpython3/Objects/ |
D | abstract.c | 278 PyBufferProcs *pb = obj->ob_type->tp_as_buffer; in PyObject_CheckReadBuffer() 336 pb = obj->ob_type->tp_as_buffer; in PyObject_AsWriteBuffer() 356 PyBufferProcs *pb = obj->ob_type->tp_as_buffer; in PyObject_GetBuffer() 690 pb = Py_TYPE(obj)->tp_as_buffer; in PyBuffer_Release()
|
D | typeobject.c | 2607 type->tp_as_buffer = &et->as_buffer; in type_new() 2913 type->tp_as_buffer = &res->as_buffer; in PyType_FromSpecWithBases() 4961 #define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT) in inherit_slots() 5039 if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) { in inherit_slots() 5041 if (basebase->tp_as_buffer == NULL) in inherit_slots() 5299 if (type->tp_as_buffer == NULL) in PyType_Ready() 5300 type->tp_as_buffer = base->tp_as_buffer; in PyType_Ready()
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 407 .. c:member:: PyBufferProcs* PyTypeObject.tp_as_buffer 413 The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited, but the contained fields are 423 :c:member:`~PyTypeObject.tp_as_buffer`) that were historically not always present are valid; if 448 :c:member:`~PyTypeObject.tp_as_buffer` has the :attr:`bf_getcharbuffer` field. 1346 If an object does not export the buffer interface, then its :c:member:`~PyTypeObject.tp_as_buffer` 1348 :c:member:`~PyTypeObject.tp_as_buffer` will point to a :c:type:`PyBufferProcs` structure.
|
/external/python/cpython2/PC/ |
D | _winreg.c | 891 PyBufferProcs *pb = value->ob_type->tp_as_buffer; in Py2Reg()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 370 .. c:member:: PyBufferProcs* PyTypeObject.tp_as_buffer 376 The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited, but the contained fields are 386 :c:member:`~PyTypeObject.tp_as_buffer`) that were historically not always present are valid; if
|
/external/python/cpython3/Python/ |
D | getargs.c | 1360 PyBufferProcs *pb = Py_TYPE(arg)->tp_as_buffer; in convertbuffer()
|
/external/python/cpython2/Modules/ |
D | _sre.c | 1721 buffer = Py_TYPE(string)->tp_as_buffer; in getstring()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 1220 size = Py_TYPE(value)->tp_as_buffer->bf_getreadbuffer(value, 0, (void *)&ptr); in CharArray_set_raw()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 100 0, /* tp_as_buffer */
|
/external/python/cpython2/Misc/ |
D | HISTORY | 3219 the data and the data length. Instead, the appropriate tp_as_buffer 4858 - A C type that inherits from a base type that defines tp_as_buffer 4859 will now inherit the tp_as_buffer pointer if it doesn't define one.
|
/external/python/cpython3/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.
|