• Home
  • Raw
  • Download

Lines Matching refs:x

14 #define ___constant_swab16(x) ((__u16)(				\  argument
15 (((__u16)(x) & (__u16)0x00ffU) << 8) | \
16 (((__u16)(x) & (__u16)0xff00U) >> 8)))
18 #define ___constant_swab32(x) ((__u32)( \ argument
19 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
20 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
21 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
22 (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
24 #define ___constant_swab64(x) ((__u64)( \ argument
25 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
26 (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
27 (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
28 (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
29 (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
30 (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
31 (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
32 (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
34 #define ___constant_swahw32(x) ((__u32)( \ argument
35 (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
36 (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
38 #define ___constant_swahb32(x) ((__u32)( \ argument
39 (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
40 (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
102 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) argument
104 #define __swab16(x) \ argument
105 (__builtin_constant_p((__u16)(x)) ? \
106 ___constant_swab16(x) : \
107 __fswab16(x))
115 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) argument
117 #define __swab32(x) \ argument
118 (__builtin_constant_p((__u32)(x)) ? \
119 ___constant_swab32(x) : \
120 __fswab32(x))
128 #define __swab64(x) (__u64)__builtin_bswap64((__u64)(x)) argument
130 #define __swab64(x) \ argument
131 (__builtin_constant_p((__u64)(x)) ? \
132 ___constant_swab64(x) : \
133 __fswab64(x))
151 #define __swahw32(x) \ argument
152 (__builtin_constant_p((__u32)(x)) ? \
153 ___constant_swahw32(x) : \
154 __fswahw32(x))
162 #define __swahb32(x) \ argument
163 (__builtin_constant_p((__u32)(x)) ? \
164 ___constant_swahb32(x) : \
165 __fswahb32(x))