Home
last modified time | relevance | path

Searched refs:SkCLZ_portable (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkMathPriv.h136 constexpr int SkCLZ_portable(uint32_t x) { in SkCLZ_portable() function
146 static_assert(32 == SkCLZ_portable(0));
147 static_assert(31 == SkCLZ_portable(1));
148 static_assert( 1 == SkCLZ_portable(1 << 30));
149 static_assert( 1 == SkCLZ_portable((1 << 30) | (1 << 24) | 1));
150 static_assert( 0 == SkCLZ_portable(~0U));
174 return SkCLZ_portable(mask); in SkCLZ()
181 return 32 - SkCLZ_portable(~x & (x - 1)); in SkCTZ_portable()
232 return 32 - SkCLZ_portable(value - 1); in SkNextLog2_portable()
251 return 32 - SkCLZ_portable(value >> 1); in SkPrevLog2_portable()
/third_party/skia/bench/
DMathBench.cpp420 accum += SkCLZ_portable(fData[i]); in onDraw()
/third_party/skia/tests/
DMathTest.cpp37 int porta = SkCLZ_portable(mask); in test_clz()