Searched refs:PyMemoryViewObject (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Objects/ |
D | memoryobject.c | 34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf() 45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf() 58 PyMemoryViewObject *mview; in PyMemoryView_FromBuffer() 60 mview = (PyMemoryViewObject *) in PyMemoryView_FromBuffer() 61 PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_FromBuffer() 75 PyMemoryViewObject *mview; in PyMemoryView_FromObject() 88 mview = (PyMemoryViewObject *)PyMemoryView_FromBuffer(&view); in PyMemoryView_FromObject() 242 PyMemoryViewObject *mem; in PyMemoryView_GetContiguous() 254 mem = PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_GetContiguous() 328 memory_format_get(PyMemoryViewObject *self) in memory_format_get() [all …]
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 187 (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \ 188 ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED) 211 #define VIEW_ADDR(mv) (&((PyMemoryViewObject *)mv)->view) 603 init_flags(PyMemoryViewObject *mv) in init_flags() 635 static inline PyMemoryViewObject * 638 PyMemoryViewObject *mv; in memory_alloc() 640 mv = (PyMemoryViewObject *) in memory_alloc() 641 PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim); in memory_alloc() 670 PyMemoryViewObject *mv; in mbuf_add_view() 709 PyMemoryViewObject *mv; in mbuf_add_incomplete_view() [all …]
|
D | picklebufobject.c | 166 PyMemoryViewObject *mv = (PyMemoryViewObject *) m; in picklebuf_raw()
|
/external/python/cpython2/Include/ |
D | memoryobject.h | 14 #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view) 16 #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj) 68 } PyMemoryViewObject; typedef
|
/external/python/cpython3/Include/ |
D | memoryobject.h | 18 #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view) 20 #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj) 66 } PyMemoryViewObject; typedef
|
/external/python/cpython3/Objects/clinic/ |
D | memoryobject.c.h | 32 memoryview_hex_impl(PyMemoryViewObject *self, PyObject *sep, 36 memoryview_hex(PyMemoryViewObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in memoryview_hex()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 2515 * The undocumented :c:member:`~PyMemoryViewObject.format` member of the 2516 (non-public) :c:type:`PyMemoryViewObject` structure has been removed.
|
D | 3.3.rst | 2466 layout of the :c:type:`PyMemoryViewObject` has changed.
|