Lines Matching refs:x
41 #define __byte_swap_u64_constant(x) \ argument
43 ((((x) & 0xff00000000000000ull) >> 56) | \
44 (((x) & 0x00ff000000000000ull) >> 40) | \
45 (((x) & 0x0000ff0000000000ull) >> 24) | \
46 (((x) & 0x000000ff00000000ull) >> 8) | \
47 (((x) & 0x00000000ff000000ull) << 8) | \
48 (((x) & 0x0000000000ff0000ull) << 24) | \
49 (((x) & 0x000000000000ff00ull) << 40) | \
50 (((x) & 0x00000000000000ffull) << 56)))
52 #define __byte_swap_u32_constant(x) \ argument
53 ((((x) & 0xff000000) >> 24) | \
54 (((x) & 0x00ff0000) >> 8) | \
55 (((x) & 0x0000ff00) << 8) | \
56 (((x) & 0x000000ff) << 24))
58 #define __byte_swap_u16_constant(x) \ argument
59 ((((x) & 0xff00) >> 8) | \
60 (((x) & 0x00ff) << 8))
62 #define bswap64(x) \ argument
63 (__builtin_constant_p((x)) ? \
64 __byte_swap_u64_constant(x) : __BYTE_SWAP_U64_VARIABLE(x))
66 #define bswap32(x) \ argument
67 (__builtin_constant_p((x)) ? \
68 __byte_swap_u32_constant(x) : __BYTE_SWAP_U32_VARIABLE(x))
70 #define bswap16(x) \ argument
71 (__builtin_constant_p((x)) ? \
72 __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x))