Searched defs:bswap_16 (Results 1 - 6 of 6) sorted by relevance

/external/elfutils/0.153/host-darwin-fixup/
H A Dbyteswap.h20 static inline unsigned short bswap_16(unsigned short val) function
27 return bswap_16((unsigned short)val) << 16 |
28 bswap_16((unsigned short)(val >> 16));
/external/linux-tools-perf/perf-3.12.0/tools/perf/host-darwin-fixup/
H A Dbyteswap.h20 static inline unsigned short bswap_16(unsigned short val) function
27 return bswap_16((unsigned short)val) << 16 |
28 bswap_16((unsigned short)(val >> 16));
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
203 #define le_to_host16(n) bswap_16(n)
204 #define host_to_le16(n) bswap_16(n)
399 #ifndef bswap_16
400 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/wpa_supplicant_8/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
203 #define le_to_host16(n) bswap_16(n)
204 #define host_to_le16(n) bswap_16(n)
399 #ifndef bswap_16
400 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
203 #define le_to_host16(n) bswap_16(n)
204 #define host_to_le16(n) bswap_16(n)
399 #ifndef bswap_16
400 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/f2fs-tools/include/
H A Df2fs_fs.h36 * bswap_16 - reverse bytes in a uint16_t value.
41 * printf("1024 is %u as two bytes reversed\n", bswap_16(1024));
43 static inline uint16_t bswap_16(uint16_t val) function
97 #define le16_to_cpu(x) bswap_16(x)
100 #define cpu_to_le16(x) bswap_16(x)

Completed in 958 milliseconds