Searched refs:PetscInt32 (Results 1 – 6 of 6) sorted by relevance
97 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()
20 PetscInt32 i
120 PETSC_INT32_SIZE = sizeof(PetscInt32),
1852 incnt = *(PetscInt32 *)inbuf; in MPIU_Allreduce_Private()1857 outcnt = *(PetscInt32 *)outbuf; in MPIU_Allreduce_Private()1862 *(PetscInt32 *)outbuf = (PetscInt32)outcnt; in MPIU_Allreduce_Private()
287 typedef int32_t PetscInt32; typedef
2615 …PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %2" PetscInt32_FMT, ((PetscInt32 *)array)[i… in PrintArrayElement()