Lines Matching refs:_PyManagedBufferObject
71 if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \
78 static inline _PyManagedBufferObject *
81 _PyManagedBufferObject *mbuf; in mbuf_alloc()
83 mbuf = (_PyManagedBufferObject *) in mbuf_alloc()
84 PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type); in mbuf_alloc()
98 _PyManagedBufferObject *mbuf; in _PyManagedBuffer_FromObject()
114 mbuf_release(_PyManagedBufferObject *self) in mbuf_release()
129 mbuf_dealloc(_PyManagedBufferObject *self) in mbuf_dealloc()
139 mbuf_traverse(_PyManagedBufferObject *self, visitproc visit, void *arg) in mbuf_traverse()
146 mbuf_clear(_PyManagedBufferObject *self) in mbuf_clear()
156 sizeof(_PyManagedBufferObject),
668 mbuf_add_view(_PyManagedBufferObject *mbuf, const Py_buffer *src) in mbuf_add_view()
706 mbuf_add_incomplete_view(_PyManagedBufferObject *mbuf, const Py_buffer *src, in mbuf_add_incomplete_view()
737 _PyManagedBufferObject *mbuf; in PyMemoryView_FromMemory()
766 _PyManagedBufferObject *mbuf; in PyMemoryView_FromBuffer()
796 _PyManagedBufferObject *mbuf; in PyMemoryView_FromObject()
805 mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v); in PyMemoryView_FromObject()
821 mbuf_copy_format(_PyManagedBufferObject *mbuf, const char *fmt) in mbuf_copy_format()
851 _PyManagedBufferObject *mbuf; in memory_from_contiguous_copy()
864 mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(bytes); in memory_from_contiguous_copy()