Searched refs:SkCLZ (Results 1 – 20 of 20) sorted by relevance
141 #ifndef SkCLZ145 static inline int SkCLZ(uint32_t mask) { in SkCLZ() function158 static inline int SkCLZ(uint32_t mask) { in SkCLZ() function163 #define SkCLZ(x) SkCLZ_portable(x) macro174 return 1 << (32 - SkCLZ(value - 1)); in SkNextPow2()184 return 1 << (32 - SkCLZ(value >> 1)); in SkPrevPow2()198 return 32 - SkCLZ(value - 1); in SkNextLog2()212 return 32 - SkCLZ(value >> 1); in SkPrevLog2()221 return n ? (1 << (32 - SkCLZ(n - 1))) : 1; in GrNextPow2()
178 return (32 - SkCLZ(dist)) >> 1; in diff_to_shift()
507 const int leadingZeros = SkCLZ(static_cast<uint32_t>(largestAxis)); in ComputeLevelCount()
440 int level = (33 - SkCLZ(d)) >> 1; in compute_quad_level()
508 const int leadingZeros = SkCLZ(static_cast<uint32_t>(largestAxis)); in ComputeLevelCount()
20 REPORTER_ASSERT(reporter, 32 == SkCLZ(0)); in test_clz()21 REPORTER_ASSERT(reporter, 31 == SkCLZ(1)); in test_clz()22 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30)); in test_clz()23 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U)); in test_clz()31 int intri = SkCLZ(mask); in test_clz()462 (void)SkCLZ(numer); in DEF_TEST()463 (void)SkCLZ(denom); in DEF_TEST()
50 int shift = 30 - SkCLZ(distance); in estimate_pointCount()
17 int leadingZero = SkCLZ(fSubset); in range()
63 int index = 32 - SkCLZ(height - 1); in HeightToRowIndex()
427 accum += SkCLZ(fData[i]); in onDraw()
100 int64_t tessellationWork = (int64_t)numVerbs * (32 - SkCLZ(numVerbs)); // N log N. in parseDeviceSpaceFill()