Lines Matching refs:user_alloc
1667 a->unplaced_user_alloc = a->user_alloc; in MatDensePlaceArray_SeqDense()
1669 a->user_alloc = PETSC_TRUE; in MatDensePlaceArray_SeqDense()
1684 a->user_alloc = a->unplaced_user_alloc; in MatDenseResetArray_SeqDense()
1699 if (!a->user_alloc) PetscCall(PetscFree(a->v)); in MatDenseReplaceArray_SeqDense()
1701 a->user_alloc = PETSC_FALSE; in MatDenseReplaceArray_SeqDense()
1718 if (!l->user_alloc) PetscCall(PetscFree(l->v)); in MatDestroy_SeqDense()
3294 if (!b->user_alloc) PetscCall(PetscFree(b->v)); in MatSeqDenseSetPreallocation_SeqDense()
3297 b->user_alloc = PETSC_FALSE; in MatSeqDenseSetPreallocation_SeqDense()
3299 if (!b->user_alloc) PetscCall(PetscFree(b->v)); in MatSeqDenseSetPreallocation_SeqDense()
3301 b->user_alloc = PETSC_TRUE; in MatSeqDenseSetPreallocation_SeqDense()
3354 …PetscCheck(b->user_alloc || !data || b->lda == lda, PETSC_COMM_SELF, PETSC_ERR_ORDER, "LDA cannot … in MatDenseSetLDA_SeqDense()