Searched refs:Py_buffer (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/binding/petsc4py/src/ |
| H A D | pyapicompat.h | 23 } Py_buffer; typedef 52 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *, Py_buffer *, int); 53 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *); 54 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *, PyObject *,
|
| /petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/ |
| H A D | pybuffer.h | 36 int PyPetscBuffer_FillInfo(Py_buffer *view, in PyPetscBuffer_FillInfo() 89 void PyPetscBuffer_Release(Py_buffer *view) in PyPetscBuffer_Release()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscis.pxi | 153 cdef int acquirebuffer(self, Py_buffer *view, int flags) except -1: 160 cdef int releasebuffer(self, Py_buffer *view) except -1: 165 def __getbuffer__(self, Py_buffer *view, int flags): 168 def __releasebuffer__(self, Py_buffer *view):
|
| H A D | petscvec.pxi | 543 cdef int acquirebuffer(self, Py_buffer *view, int flags) except -1: 550 cdef int releasebuffer(self, Py_buffer *view) except -1: 555 def __getbuffer__(self, Py_buffer *view, int flags): 558 def __releasebuffer__(self, Py_buffer *view):
|
| H A D | PETSc.pyx | 143 int PyPetscBuffer_FillInfo(Py_buffer*, void*, PetscInt, char, int, int) except -1 144 void PyPetscBuffer_Release(Py_buffer*)
|
| H A D | IS.pyx | 34 def __getbuffer__(self, Py_buffer *view, int flags): 38 def __releasebuffer__(self, Py_buffer *view):
|
| H A D | Vec.pyx | 121 def __getbuffer__(self, Py_buffer *view, int flags): 125 def __releasebuffer__(self, Py_buffer *view):
|