Searched defs:bswap16 (Results 1 – 3 of 3) sorted by relevance
51 ALWAYS_INLINE uint16_t bswap16(uint16_t x) { return _byteswap_ushort(x); } in bswap16() function59 ALWAYS_INLINE uint16_t bswap16(uint16_t x) { return __builtin_bswap16(x); } in bswap16() function61 inline uint16_t bswap16(uint16_t x) { return ((x & 0xff00) >> 8) | ((x & 0x00ff) << 8); } in bswap16() function
17 static inline uint16_t bswap16(uint16_t x) in bswap16() function32 static inline uint16_t bswap16(uint16_t x) in bswap16() function
91 #define bswap16(x) ((((x) & 0xff) << 8) | (((x) >> 8) & 0xff)) macro