Home
last modified time | relevance | path

Searched refs:PetscInt32 (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/fileio/
H A Dsysio.c97 static PetscErrorCode PetscByteSwapInt32(PetscInt32 *buff, PetscCount n) in PetscByteSwapInt32()
100 PetscInt32 tmp = 0; in PetscByteSwapInt32()
106 for (i = 0; i < (PetscCount)sizeof(PetscInt32); i++) ptr2[i] = ptr1[sizeof(PetscInt32) - 1 - i]; in PetscByteSwapInt32()
107 for (i = 0; i < (PetscCount)sizeof(PetscInt32); i++) ptr1[i] = ptr2[i]; in PetscByteSwapInt32()
238 else if (pdtype == PETSC_INT32) PetscCall(PetscByteSwapInt32((PetscInt32 *)data, count)); in PetscByteSwap()
464 else if (wtype == PETSC_INT32) m *= sizeof(PetscInt32); in PetscBinaryWrite()
/petsc/src/sys/classes/draw/tests/
H A Dex4f.F9020 PetscInt32 i
/petsc/src/sys/objects/
H A Dptype.c120 PETSC_INT32_SIZE = sizeof(PetscInt32),
H A Dpinit.c1852 incnt = *(PetscInt32 *)inbuf; in MPIU_Allreduce_Private()
1857 outcnt = *(PetscInt32 *)outbuf; in MPIU_Allreduce_Private()
1862 *(PetscInt32 *)outbuf = (PetscInt32)outcnt; in MPIU_Allreduce_Private()
/petsc/include/
H A Dpetscsystypes.h287 typedef int32_t PetscInt32; typedef
/petsc/src/vec/is/section/interface/
H A Dsection.c2615 …PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %2" PetscInt32_FMT, ((PetscInt32 *)array)[i… in PrintArrayElement()