Lines Matching defs:x

12 #define swap16(x) NXSwapShort(x)  argument
13 #define swap32(x) NXSwapLong(x) argument
14 #define swap64(x) NXSwapLongLong(x) argument
33 # define htobe16(x) htons(x) argument
36 # define htobe32(x) htonl(x) argument
39 # define be16toh(x) ntohs(x) argument
42 # define be32toh(x) ntohl(x) argument
45 #define HTOBE16(x) (x) = htobe16(x) argument
46 #define HTOBE32(x) (x) = htobe32(x) argument
47 #define BE32TOH(x) (x) = be32toh(x) argument
48 #define BE16TOH(x) (x) = be16toh(x) argument
52 # define htole16(x) swap16(x) argument
55 # define htole32(x) swap32(x) argument
58 # define le16toh(x) swap16(x) argument
61 # define le32toh(x) swap32(x) argument
64 # define le64toh(x) swap64(x) argument
68 # define htobe64(x) (x) argument
71 # define be64toh(x) (x) argument
74 #define HTOLE16(x) (x) = htole16(x) argument
75 #define HTOLE32(x) (x) = htole32(x) argument
76 #define LE16TOH(x) (x) = le16toh(x) argument
77 #define LE32TOH(x) (x) = le32toh(x) argument
78 #define LE64TOH(x) (x) = le64toh(x) argument
80 #define HTOBE64(x) (void) (x) argument
81 #define BE64TOH(x) (void) (x) argument
93 #define be16atoh(x) ((uint16_t)(((x)[0]<<8)|(x)[1])) argument
94 #define be32atoh(x) ((uint32_t)(((x)[0]<<24)|((x)[1]<<16)|((x)[2]<<8)|(x)[3])) argument
95 #define be64atoh_x(x,off,shift) (((uint64_t)((x)[off]))<<shift) argument
96 #define be64atoh(x) ((uint64_t)(be64atoh_x(x,0,56)|be64atoh_x(x,1,48)|be64atoh_x(x,2,40)| \ argument
98 #define le16atoh(x) ((uint16_t)(((x)[1]<<8)|(x)[0])) argument
99 #define le32atoh(x) ((uint32_t)(((x)[3]<<24)|((x)[2]<<16)|((x)[1]<<8)|(x)[0])) argument
100 #define le64atoh_x(x,off,shift) (((uint64_t)(x)[off])<<shift) argument
101 #define le64atoh(x) ((uint64_t)(le64atoh_x(x,7,56)|le64atoh_x(x,6,48)|le64atoh_x(x,5,40)| \ argument
104 #define htobe16a(a,x) (a)[0]=(uint8_t)((x)>>8), (a)[1]=(uint8_t)(x) argument
105 #define htobe32a(a,x) (a)[0]=(uint8_t)((x)>>24), (a)[1]=(uint8_t)((x)>>16), \ argument
107 #define htobe64a(a,x) (a)[0]=(uint8_t)((x)>>56), (a)[1]=(uint8_t)((x)>>48), \ argument
111 #define htole16a(a,x) (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x) argument
112 #define htole32a(a,x) (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \ argument
114 #define htole64a(a,x) (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \ argument