Lines Matching refs:a
21 #define abs(a) (((a)>0)?((a)):(-(a))) argument
27 #define min(a,b) ((a) < (b) ? (a) : (b)) argument
31 #define max(a,b) ((a) > (b) ? (a): (b)) argument
35 #define min2(a,b) ((a) < (b) ? (a) : (b)) argument
39 #define min3(a,b,c) min2(min2(a, b), c) argument
43 #define max2(a,b) ((a) > (b) ? (a): (b)) argument
47 #define max3(a,b,c) max2(max2(a, b), c) argument
76 #define MAKE_U24(a,b,c) ((unsigned int)(((a) << 16) | ((b) << 8) | (c))) argument
77 #define MAKE_U32(a,b,c,d) ((unsigned int)(((a) << 24) | ((b) << 16) | ((c) << 8) | (d))) argument
98 #define SORT2(a, b, T) do { if ((a) > (b)) SWAP((a), (b), T); } while (0) argument
104 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) argument
108 #define U16_HI(a) (((a) >> 8) & 0xFF) argument
109 #define U16_LO(a) ((a) & 0xFF) argument
111 #define U32_BYTE0(a) ((a) & 0xFF) argument
112 #define U32_BYTE1(a) (((a) >> 8) & 0xFF) argument
113 #define U32_BYTE2(a) (((a) >> 16) & 0xFF) argument
114 #define U32_BYTE3(a) (((a) >> 24) & 0xFF) argument