Home | History | Annotate | Download | only in core

Lines Matching refs:shift

39 int SkFloat::GetShift(int32_t packed, int shift)
44 int exp = get_unsigned_exp(packed) - EXP_BIAS - shift;
67 int32_t SkFloat::SetShift(int value, int shift)
81 shift += bias;
88 shift -= zeros;
93 shift += EXP_BIAS;
94 if (shift < 0) // underflow
98 if (shift > 255) // overflow
100 shift = 255;
104 packed |= shift << 23; // store the packed exponent
114 SkASSERT(n == shift);