#include <stdio.h>
#include <unistd.h>
#include <inttypes.h>
#include <limits.h>
#include "../bio/bio.h"
#include <stdint.h>
#include "x_bio.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <glob.h>
#include <string.h>
#include <assert.h>
#include "env.c"
#include "sfx.c"
#include "bio.h"
#include "mapP.h"
#include "find.c"
#include "parseSfx.c"
#include "ty_sz.c"
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include <math.h>
#include "../bio/x_bio.h"
Defines | |
#define | X(_CD, _NM, _CH, _TY, _SZ, _NA, _TST, _FMT,...) |
#define | X(_CD, _NM, _CH, _TY, _SZ, _NA, _TST, _FMT,...) |
Functions | |
X_BIO void | usage (const char *prog) |
int | main (int argc, char **argv) |
#define X | ( | _CD, | |||
_NM, | |||||
_CH, | |||||
_TY, | |||||
_SZ, | |||||
_NA, | |||||
_TST, | |||||
_FMT, | |||||
... | ) |
case (_CD) : \
_NM##_print(b->dat, b->nDim,b->dim);
#define X | ( | _CD, | |||
_NM, | |||||
_CH, | |||||
_TY, | |||||
_SZ, | |||||
_NA, | |||||
_TST, | |||||
_FMT, | |||||
... | ) |
static inline void _NM##_print(char *dat, s8_t nDim, s8_t* dim) { \ s8_t i,j; \ u8_t stride=1; \ _TY *buf=(_TY*)dat; \ for (i=1; i<nDim; i++) stride *= dim[i]; \ for (i=0; i<dim[0]*stride; i+=stride) { \ printf(_FMT,buf[i]); \ for (j=1; j<stride; j++) printf(" "_FMT,buf[i+j]); \ printf("\n"); \ } \ }
int main | ( | int | argc, | |
char ** | argv | |||
) |
X_BIO void usage | ( | const char * | prog | ) |