Lines Matching defs:x
63 #define __ntohl(x) (__bswap32(x))
64 #define __ntohs(x) (__bswap16(x))
65 #define __htonl(x) (__bswap32(x))
66 #define __htons(x) (__bswap16(x))
69 __bswap64(uint64_t x)
74 : "=&r" (ret), "+r" (x));
103 #define __bswap32_constant(x) \
104 ((((x) & 0xff000000U) >> 24) | \
105 (((x) & 0x00ff0000U) >> 8) | \
106 (((x) & 0x0000ff00U) << 8) | \
107 (((x) & 0x000000ffU) << 24))
109 #define __bswap16_constant(x) \
110 ((((x) & 0xff00) >> 8) | \
111 (((x) & 0x00ff) << 8))
113 #define __bswap16(x) \
114 ((uint16_t)(__builtin_constant_p(x) ? \
115 __bswap16_constant((uint16_t)(x)) : \
116 __bswap16_var(x)))
118 #define __bswap32(x) \
119 ((uint32_t)(__builtin_constant_p(x) ? \
120 __bswap32_constant((uint32_t)(x)) : \
121 __bswap32_var(x)))
124 #define __bswap16(x) __bswap16_var(x)
125 #define __bswap32(x) __bswap32_var(x)