Lines Matching full:malloc
70 xyt_handle = (xyt_ADT)malloc(sizeof(struct xyt_CDT)); in XYT_new()
93 xyt_handle->info = (xyt_info *)malloc(sizeof(xyt_info)); in XYT_factor()
267 xcol_sz = (PetscInt *)malloc(m * sizeof(PetscInt)); in xyt_generate()
268 xcol_indices = (PetscInt *)malloc((2 * m + 1) * sizeof(PetscInt)); in xyt_generate()
269 xcol_vals = (PetscScalar **)malloc(m * sizeof(PetscScalar *)); in xyt_generate()
278 ycol_sz = (PetscInt *)malloc(m * sizeof(PetscInt)); in xyt_generate()
279 ycol_indices = (PetscInt *)malloc((2 * m + 1) * sizeof(PetscInt)); in xyt_generate()
280 ycol_vals = (PetscScalar **)malloc(m * sizeof(PetscScalar *)); in xyt_generate()
289 stages = (PetscInt *)malloc((level + 1) * sizeof(PetscInt)); in xyt_generate()
290 segs = (PetscInt *)malloc((level + 1) * sizeof(PetscInt)); in xyt_generate()
297 u = (PetscScalar *)malloc(n * sizeof(PetscScalar)); in xyt_generate()
298 z = (PetscScalar *)malloc(n * sizeof(PetscScalar)); in xyt_generate()
299 v = (PetscScalar *)malloc(a_m * sizeof(PetscScalar)); in xyt_generate()
300 uu = (PetscScalar *)malloc(m * sizeof(PetscScalar)); in xyt_generate()
301 w = (PetscScalar *)malloc(m * sizeof(PetscScalar)); in xyt_generate()
309 x = (PetscScalar *)malloc(xt_max_nnz * sizeof(PetscScalar)); in xyt_generate()
310 y = (PetscScalar *)malloc(yt_max_nnz * sizeof(PetscScalar)); in xyt_generate()
426 x_ptr = (PetscScalar *)malloc(xt_max_nnz * sizeof(PetscScalar)); in xyt_generate()
463 y_ptr = (PetscScalar *)malloc(yt_max_nnz * sizeof(PetscScalar)); in xyt_generate()
494 xyt_handle->info->solve_uu = (PetscScalar *)malloc(m * sizeof(PetscScalar)); in xyt_generate()
495 xyt_handle->info->solve_w = (PetscScalar *)malloc(m * sizeof(PetscScalar)); in xyt_generate()
591 dir = (PetscInt *)malloc(sizeof(PetscInt) * (level + 1)); in det_separators()
592 nsep = (PetscInt *)malloc(sizeof(PetscInt) * (level + 1)); in det_separators()
593 lnsep = (PetscInt *)malloc(sizeof(PetscInt) * (level + 1)); in det_separators()
594 fo = (PetscInt *)malloc(sizeof(PetscInt) * (n + 1)); in det_separators()
595 used = (PetscInt *)malloc(sizeof(PetscInt) * n); in det_separators()
603 lhs = (PetscScalar *)malloc(sizeof(PetscScalar) * m); in det_separators()
604 rhs = (PetscScalar *)malloc(sizeof(PetscScalar) * m); in det_separators()
728 mvi = (mv_info *)malloc(sizeof(mv_info)); in set_mvi()
733 mvi->local2global = (PetscInt *)malloc((m + 1) * sizeof(PetscInt)); in set_mvi()