11 #define bswap8bits(x) (x) 14 #define bswap16bits(x) \ 15 ( (((x) >> 8) & 0xff) \ 16 | (((x) & 0xff) << 8) ) 19 #define bswap32bits(x) \ 20 ( (((x) & 0xff000000) >> 24) \ 21 | (((x) & 0x00ff0000) >> 8) \ 22 | (((x) & 0x0000ff00) << 8) \ 23 | (((x) & 0x000000ff) << 24) ) 26 #define bswap64bits(x) \ 27 ( (((x) & 0xff00000000000000ull) >> 56) \ 28 | (((x) & 0x00ff000000000000ull) >> 40) \ 29 | (((x) & 0x0000ff0000000000ull) >> 24) \ 30 | (((x) & 0x000000ff00000000ull) >> 8) \ 31 | (((x) & 0x00000000ff000000ull) << 8) \ 32 | (((x) & 0x0000000000ff0000ull) << 24) \ 33 | (((x) & 0x000000000000ff00ull) << 40) \ 34 | (((x) & 0x00000000000000ffull) << 56) ) 37 (
void *v,
const int *vlen);
40 (
void *v,
const int *vlen);
43 (
void *v,
const int *vlen);
46 (
void *v,
const int *vlen);
50 const char *dtype_name,
const char *varname);
void swap8bytes_ifsaux_(void *v, const int *vlen)
void swap4bytes_ifsaux_(void *v, const int *vlen)
void swapANYbytes_ifsaux(void *v, int elsize, int n, unsigned int dtype, const char *dtype_name, const char *varname)
void swap2bytes_ifsaux_(void *v, const int *vlen)
void swap1bytes_ifsaux_(void *v, const int *vlen)