Lines Matching refs:a
159 #define M_32_SWAP(a) { \ argument
160 __uint32_t _tmp = a; \
161 ((char *)&a)[0] = ((char *)&_tmp)[3]; \
162 ((char *)&a)[1] = ((char *)&_tmp)[2]; \
163 ((char *)&a)[2] = ((char *)&_tmp)[1]; \
164 ((char *)&a)[3] = ((char *)&_tmp)[0]; \
166 #define P_32_SWAP(a) { \ argument
167 __uint32_t _tmp = *(__uint32_t *)a; \
168 ((char *)a)[0] = ((char *)&_tmp)[3]; \
169 ((char *)a)[1] = ((char *)&_tmp)[2]; \
170 ((char *)a)[2] = ((char *)&_tmp)[1]; \
171 ((char *)a)[3] = ((char *)&_tmp)[0]; \
173 #define P_32_COPY(a, b) { \ argument
174 ((char *)&(b))[0] = ((char *)&(a))[3]; \
175 ((char *)&(b))[1] = ((char *)&(a))[2]; \
176 ((char *)&(b))[2] = ((char *)&(a))[1]; \
177 ((char *)&(b))[3] = ((char *)&(a))[0]; \
186 #define M_16_SWAP(a) { \ argument
187 __uint16_t _tmp = a; \
188 ((char *)&a)[0] = ((char *)&_tmp)[1]; \
189 ((char *)&a)[1] = ((char *)&_tmp)[0]; \
191 #define P_16_SWAP(a) { \ argument
192 __uint16_t _tmp = *(__uint16_t *)a; \
193 ((char *)a)[0] = ((char *)&_tmp)[1]; \
194 ((char *)a)[1] = ((char *)&_tmp)[0]; \
196 #define P_16_COPY(a, b) { \ argument
197 ((char *)&(b))[0] = ((char *)&(a))[1]; \
198 ((char *)&(b))[1] = ((char *)&(a))[0]; \