Lines Matching defs:shift
32 int SkFloat::GetShift(int32_t packed, int shift)
37 int exp = get_unsigned_exp(packed) - EXP_BIAS - shift;
60 int32_t SkFloat::SetShift(int value, int shift)
74 shift += bias;
81 shift -= zeros;
86 shift += EXP_BIAS;
87 if (shift < 0) // underflow
91 if (shift > 255) // overflow
93 shift = 255;
97 packed |= shift << 23; // store the packed exponent
107 SkASSERT(n == shift);