Searched refs:SkCLZ (Results 1 – 14 of 14) sorted by relevance
112 #define SkCLZ(x) __builtin_clz(x) macro115 #ifndef SkCLZ116 #define SkCLZ(x) SkCLZ_portable(x) macro127 return 1 << (32 - SkCLZ(value - 1)); in SkNextPow2()140 return 32 - SkCLZ(value - 1); in SkNextLog2()
35 return hi ? SkCLZ(hi) : SkCLZ(lo) + 32; in getClzAbs()120 return 33 - SkCLZ(hi); in shiftToMake32()239 int dbits = SkCLZ(denom); in div()240 int nbits = SkCLZ(hi); in div()333 int nclz = N.fHi ? SkCLZ(N.fHi) : 32; in getFixedDiv()334 int dclz = D.fHi ? SkCLZ(D.fHi) : (33 - (D.fLo >> 31)); in getFixedDiv()
169 int bias = 8 - SkCLZ(value); in SkIntToFloatCast()175 int zeros = SkCLZ(value << 8); in SkIntToFloatCast()201 int zeros = SkCLZ(value << 8); in SkIntToFloatCast_NoOverflowCheck()
231 int lz = SkCLZ(a); in SkFixedFastInvert()270 int nbits = SkCLZ(numer) - 1; in SkDivBits()271 int dbits = SkCLZ(denom) - 1; in SkDivBits()
71 int bias = 8 - SkCLZ(value); in SetShift()78 int zeros = SkCLZ(value << 8); in SetShift()
244 int zeros = SkCLZ(x | y); in setLength()314 int shift = SkCLZ(x | y); in setLength()
166 return (32 - SkCLZ(dist)) >> 1; in diff_to_shift()
295 int level = (33 - SkCLZ(d)) >> 1; in hair_path()
877 clzNumer = SkCLZ(value); in invert()885 clzNumer = SkCLZ(SkAbs32(tx.fHi) | SkAbs32(ty.fHi)); in invert()
1217 int clz = SkCLZ(sx); in ComputeMipLevel()
50 int shift = 30 - SkCLZ(distance); in estimate_pointCount()
444 (void)SkCLZ(numer); in TestMath()445 (void)SkCLZ(denom); in TestMath()
146 int bits = SkCLZ(max); in setup()
2211 int nbits = SkCLZ(numer); in div_64()2212 int dbits = SkCLZ(denom); in div_64()