Lines Matching refs:moff
14 MPI_Offset moff; member
113 obinary->moff = vbinary->moff; in PetscViewerGetSubViewer_Binary()
128 MPI_Offset moff = 0; in PetscViewerRestoreSubViewer_Binary() local
140 moff = obinary->moff; in PetscViewerRestoreSubViewer_Binary()
154 PetscInt64 ioff = (PetscInt64)moff; /* We could use MPI_OFFSET datatype (requires MPI 2.2) */ in PetscViewerRestoreSubViewer_Binary()
156 vbinary->moff = (MPI_Offset)ioff; in PetscViewerRestoreSubViewer_Binary()
193 *off = vbinary->moff; in PetscViewerBinaryGetMPIIOOffset()
221 vbinary->moff += off; in PetscViewerBinaryAddMPIIOOffset()
757 vbinary->moff = 0; in PetscViewerFileClose_BinaryMPIIO()
902 if (rank == 0) PetscCall(MPIU_File_write_at(mfdes, vbinary->moff, data, cnt, mdtype, &status)); in PetscViewerBinaryWriteReadMPIIO()
905 PetscCall(MPIU_File_read_at(mfdes, vbinary->moff, data, cnt, mdtype, &status)); in PetscViewerBinaryWriteReadMPIIO()
912 vbinary->moff += dsize * cnt; in PetscViewerBinaryWriteReadMPIIO()
1340 vbinary->moff = 0; in PetscViewerFileSetUp_BinaryMPIIO()
1367 …>filemode == FILE_MODE_APPEND) PetscCallMPI(MPI_File_get_position(vbinary->mfdes, &vbinary->moff)); in PetscViewerFileSetUp_BinaryMPIIO()