Home
last modified time | relevance | path

Searched refs:_PyManagedBufferObject (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Include/
Dmemoryobject.h47 } _PyManagedBufferObject; typedef
59 _PyManagedBufferObject *mbuf; /* managed buffer */
/third_party/python/Objects/
Dmemoryobject.c71 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()
[all …]