Searched refs:BYTE_SWAP_16 (Results 1 – 4 of 4) sorted by relevance
35 #define BYTE_SWAP_16(x) bswap_16(x) macro44 #define BYTE_SWAP_16(x) htons(x) macro59 #define BYTE_SWAP_16(x) htons(x) macro72 #define BYTE_SWAP_16(x) ((((x)&0x00ff) << 8) | (((x)&0xff00) >> 8)) macro
29 array_16[i] = BYTE_SWAP_16(array_16[i]); in ByteSwapArray()
36 #define BYTE_SWAP_16(x) \ macro47 (SIZEOF_IN_BITS(x) == 16 ? BYTE_SWAP_16(x) : \58 #define LE_INT16(x) BYTE_SWAP_16(x)67 #define BE_INT16(x) BYTE_SWAP_16(x)
180 return BYTE_SWAP_16(x); in ByteSwapInt16ForBigEndian()