Lines Matching refs:result
27 …size_t a, PetscBool clear, int lineno, const char function[], const char filename[], void **result) in PetscHBWMalloc() argument
30 return PetscMallocAlign(a, clear, lineno, function, filename, result); in PetscHBWMalloc()
33 *result = NULL; in PetscHBWMalloc()
42 int err = hbw_posix_memalign(result, PETSC_MEMALIGN, a); in PetscHBWMalloc()
43 …PetscCheck(!err && *result, PETSC_COMM_SELF, PETSC_ERR_MEM, "HBW Memory requested %.0f", (PetscLog… in PetscHBWMalloc()
59 … PetscHBWRealloc(size_t a, int lineno, const char function[], const char filename[], void **result) in PetscHBWRealloc() argument
62 return PetscReallocAlign(a, lineno, function, filename, result); in PetscHBWRealloc()
65 int err = PetscFreeAlign(*result, lineno, function, filename); in PetscHBWRealloc()
67 *result = NULL; in PetscHBWRealloc()
70 *result = hbw_realloc(*result, a); in PetscHBWRealloc()
71 PetscCheck(*result, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)a); in PetscHBWRealloc()