Searched refs:SkCLZ (Results 1 – 14 of 14) sorted by relevance
74 #ifndef SkCLZ78 static inline int SkCLZ(uint32_t mask) { in SkCLZ() function91 static inline int SkCLZ(uint32_t mask) { in SkCLZ() function96 #define SkCLZ(x) SkCLZ_portable(x) macro132 return 1 << (32 - SkCLZ(value - 1)); in SkNextPow2()146 return 32 - SkCLZ(value - 1); in SkNextLog2()
64 int nbits = SkCLZ(numer) - 1; in SkDivBits()65 int dbits = SkCLZ(denom) - 1; in SkDivBits()
186 int bias = 8 - SkCLZ(value); in SkIntToFloatCast()192 int zeros = SkCLZ(value << 8); in SkIntToFloatCast()
346 const int leadingZeros = SkCLZ(static_cast<uint32_t>(smallestAxis)); in ComputeLevelCount()
173 return (32 - SkCLZ(dist)) >> 1; in diff_to_shift()
402 int level = (33 - SkCLZ(d)) >> 1; in compute_quad_level()
19 REPORTER_ASSERT(reporter, 32 == SkCLZ(0)); in test_clz()20 REPORTER_ASSERT(reporter, 31 == SkCLZ(1)); in test_clz()21 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30)); in test_clz()22 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U)); in test_clz()30 int intri = SkCLZ(mask); in test_clz()566 (void)SkCLZ(numer); in DEF_TEST()567 (void)SkCLZ(denom); in DEF_TEST()
50 int shift = 30 - SkCLZ(distance); in estimate_pointCount()
16 int leadingZero = SkCLZ(fSubset); in range()
61 int index = 32 - SkCLZ(height - 1); in HeightToRowIndex()
114 return n ? (1 << (32 - SkCLZ(n - 1))) : 1; in GrNextPow2()119 return n ? (1 << (32 - SkCLZ(n - 1))) : 1; in GrNextPow2()
18 return count + SkCLZ(SkToU32(value)); in SkCLZ64()
435 accum += SkCLZ(fData[i]); in onDraw()
388 return 31 - SkCLZ(x); in bits_for_range()