Lines Matching refs:size_t
10 PETSC_EXTERN PetscErrorCode PetscMemcmp(const void *, const void *, size_t, PetscBool *);
19 PETSC_EXTERN PetscErrorCode PetscStrreplace(MPI_Comm, const char[], char[], size_t);
100 static inline PetscErrorCode PetscStrlen(const char s[], size_t *len) in PetscStrlen()
145 size_t len; in PetscStrallocpy()
244 static inline PetscErrorCode PetscStrncpy(char s[], const char t[], size_t n) PeNS in PetscStrncpy()
283 static inline PetscErrorCode PetscStrlcat(char s[], const char t[], size_t n) in PetscStrlcat()
285 size_t len; in PetscStrlcat()
325 static inline PetscErrorCode PetscStrncmp(const char a[], const char b[], size_t n, PetscBool *t) in PetscStrncmp()
536 size_t na = 0, nb = 0; in PetscStrendswith()
580 size_t len = 0; in PetscStrbeginswith()
615 static inline PetscErrorCode PetscMemmove(void *a, const void *b, size_t n) in PetscMemmove()
628 const size_t ptr_diff = (size_t)((char *)b - (char *)a); in PetscMemmove()
637 const size_t ptr_diff = (size_t)((char *)a - (char *)b); in PetscMemmove()
675 static inline PetscErrorCode PetscMemcpy(void *a, const void *b, size_t n) in PetscMemcpy()
687 const size_t scalar_len = n / sizeof(PetscScalar); in PetscMemcpy()
702 for (size_t i = 0; i < scalar_len; i++) y[i] = x[i]; in PetscMemcpy()
731 static inline PetscErrorCode PetscMemzero(void *a, size_t n) in PetscMemzero()
738 const size_t scalar_len = n / sizeof(PetscScalar); in PetscMemzero()
742 for (size_t i = 0; i < scalar_len; ++i) x[i] = 0; in PetscMemzero()
784 … e) ((sizeof(*(str1)) == sizeof(*(str2))) ? PetscMemcmp((str1), (str2), (size_t)(cnt) * sizeof(*(s…
810 …t) ((sizeof(*(str1)) == sizeof(*(str2))) ? PetscMemmove((str1), (str2), (size_t)(cnt) * sizeof(*(s…
835 …nt) ((sizeof(*(str1)) == sizeof(*(str2))) ? PetscMemcpy((str1), (str2), (size_t)(cnt) * sizeof(*(s…
857 #define PetscArrayzero(str1, cnt) PetscMemzero((str1), ((size_t)(cnt)) * sizeof(*(str1)))