48 AA_API ssize_t aa_read_realloc(
int fd,
void **buf,
size_t off,
size_t *max);
50 #define AA_IO_ISCOMMENT(x) ('#' == (x))
56 size_t aa_io_d_parse(
const char *str,
struct aa_mem_region *reg,
double **X,
char **lendptr );
59 char *aa_io_skipblank(
const char *str );
62 size_t aa_io_parsevector(
const char *str,
size_t n,
double *X,
size_t incx,
char **endptr );
65 size_t aa_io_getvector( FILE *fin,
struct aa_mem_region *reg,
size_t n,
double *X,
size_t incx );
70 size_t aa_io_fread_matrix_fix( FILE *fin,
size_t m,
size_t n,
71 double *A,
size_t lda );
85 ssize_t aa_io_fread_matrix_heap( FILE *fin,
size_t n,
86 double **A,
size_t *elts );
94 ssize_t aa_io_d_print( FILE *fout,
size_t n,
95 const double *x,
size_t incx );
106 ssize_t aa_io_d_gemp( FILE *fout, AA_CBLAS_ORDER file_order,
size_t m,
size_t n,
107 const double *A,
size_t lda );
Data Structure for Region-Based memory allocation.
#define AA_API
calling and name mangling convention for functions