Lines Matching refs:x
51 #define ROUND_INT(x, r) (((x) + (r) - 1) / (r) * (r)) argument
52 #define ROUND_TO_POW2(x, r) (((x) + (r) - 1) & ~((r) - 1)) argument
79 #define BOUND(x, l, m) ((x) < (l) ? (l) : ((x) > (m) ? (m) : (x))) argument
80 #define SET_BOUND(x, l, m) ((x) = BOUND(x, l, m)) argument
81 #define BOUND_INC(x, m) do{++(x); (x) = (x) < (m) ? (x) :0;} while(0) argument
82 #define BOUND_INC_POW2(x, m) do{ \ argument
83 (x) = ((x)+1) & (m-1); \
86 #define IS_POWER_OF_2(x) (!(x & (x-1))) argument
88 #define IS_4BYTE_ALIGN(x) (!(x & 3)) argument
90 #define IMPLIES(x, y) (!(x) || (y)) argument
93 #define COMPARE(x, y) (((x) > (y)) - ((x) < (y))) argument
94 #define SIGN(x) COMPARE(x, 0) argument
97 #define SWAP(x, y, T) do { T tmp = (x); (x) = (y); (y) = tmp; } while(0) argument
137 u32 x, y; in mul64_32x32()
151 x = u1 * v1 + w2 + (w1 >> 16); in mul64_32x32()
155 return(((u64)x << 32) | y); in mul64_32x32()