Lines Matching refs:_PyManagedBufferObject
55 if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \
62 static inline _PyManagedBufferObject *
65 _PyManagedBufferObject *mbuf; in mbuf_alloc()
67 mbuf = (_PyManagedBufferObject *) in mbuf_alloc()
68 PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type); in mbuf_alloc()
82 _PyManagedBufferObject *mbuf; in _PyManagedBuffer_FromObject()
98 mbuf_release(_PyManagedBufferObject *self) in mbuf_release()
113 mbuf_dealloc(_PyManagedBufferObject *self) in mbuf_dealloc()
123 mbuf_traverse(_PyManagedBufferObject *self, visitproc visit, void *arg) in mbuf_traverse()
130 mbuf_clear(_PyManagedBufferObject *self) in mbuf_clear()
140 sizeof(_PyManagedBufferObject),
652 mbuf_add_view(_PyManagedBufferObject *mbuf, const Py_buffer *src) in mbuf_add_view()
690 mbuf_add_incomplete_view(_PyManagedBufferObject *mbuf, const Py_buffer *src, in mbuf_add_incomplete_view()
721 _PyManagedBufferObject *mbuf; in PyMemoryView_FromMemory()
750 _PyManagedBufferObject *mbuf; in PyMemoryView_FromBuffer()
780 _PyManagedBufferObject *mbuf; in PyMemoryView_FromObject()
789 mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v); in PyMemoryView_FromObject()
805 mbuf_copy_format(_PyManagedBufferObject *mbuf, const char *fmt) in mbuf_copy_format()
835 _PyManagedBufferObject *mbuf; in memory_from_contiguous_copy()
848 mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(bytes); in memory_from_contiguous_copy()