Home
last modified time | relevance | path

Searched refs:ENDSWAP_16 (Results 1 – 2 of 2) sorted by relevance

/third_party/libsnd/src/
Dsfendian.h30 #define ENDSWAP_16(x) (bswap_16 (x)) macro
37 #define ENDSWAP_16(x) ((int16_t) __builtin_bswap16 ((uint16_t) x)) macro
66 #define ENDSWAP_16 ENDSWAP_16X macro
87 #define ENDSWAP_16(x) (_byteswap_ushort (x)) macro
93 #ifndef ENDSWAP_16
94 #define ENDSWAP_16(x) ((((x) >> 8) & 0xFF) + (((x) & 0xFF) << 8)) macro
144 #define BE2H_16(x) ENDSWAP_16 (x)
148 #define H2BE_16(x) ENDSWAP_16 (x)
155 #define LE2H_16(x) ENDSWAP_16 (x)
165 #define H2LE_16(x) ENDSWAP_16 (x)
[all …]
Dmat5.c282 if (CPU_IS_LITTLE_ENDIAN) version = ENDSWAP_16 (version) ; in mat5_read_header()
286 if (CPU_IS_BIG_ENDIAN) version = ENDSWAP_16 (version) ; in mat5_read_header()
293 version = ENDSWAP_16 (version) ; in mat5_read_header()