Home
last modified time | relevance | path

Searched refs:Py_buffer (Results 1 – 7 of 7) sorted by relevance

/petsc/src/binding/petsc4py/src/
H A Dpyapicompat.h23 } 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 Dpybuffer.h36 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 Dpetscis.pxi153 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 Dpetscvec.pxi543 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 DPETSc.pyx143 int PyPetscBuffer_FillInfo(Py_buffer*, void*, PetscInt, char, int, int) except -1
144 void PyPetscBuffer_Release(Py_buffer*)
H A DIS.pyx34 def __getbuffer__(self, Py_buffer *view, int flags):
38 def __releasebuffer__(self, Py_buffer *view):
H A DVec.pyx121 def __getbuffer__(self, Py_buffer *view, int flags):
125 def __releasebuffer__(self, Py_buffer *view):