Lines Matching refs:hi
11 #define shift_left(hi, lo) \
12 hi = (hi << 1) | (lo >> 31); \
15 #define shift_left_bits(hi, lo, bits) \
17 hi = (hi << (bits)) | (lo >> (32 - (bits))); \
24 int32_t hi = fHi;
28 if (hi < 0)
30 hi = -hi - Sk32ToBool(lo);
33 return hi ? SkCLZ(hi) : SkCLZ(lo) + 32;
106 int32_t hi = fHi;
109 if (hi < 0) // make it positive
111 hi = -hi - Sk32ToBool(lo);
115 if (hi == 0)
118 return 33 - SkCLZ(hi);
138 static inline int32_t round_right_16(int32_t hi, uint32_t lo)
141 hi += (sum < lo);
142 return (hi << 16) | (sum >> 16);
203 int32_t hi = fHi;
205 int sign = denom ^ hi;
208 if (hi < 0)
210 hi = -hi - Sk32ToBool(lo);
217 hi += (newLo < lo);
221 if (hi == 0) // fast-case
238 int nbits = SkCLZ(hi);
248 shift_left_bits(hi, lo, nbits - 1);
257 if ((uint32_t)denom <= (uint32_t)hi)
259 hi -= denom;
263 int32_t diff = (denom - hi - 1) >> 31;
264 hi -= denom & diff;
267 shift_left(hi, lo);
286 uint32_t hi = fHi;
294 shift_left_2(sqr, hi, lo);