Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkBitSet.h82 const size_t index = i * kChunkBits; in forEachSetIndex()
83 for (size_t j = 0; j < kChunkBits; ++j) { in forEachSetIndex()
131 static_assert(kChunkBits <= std::numeric_limits<uint32_t>::digits, "SkCTZ"); in findFirst()
132 const size_t bitIndex = i * kChunkBits + SkCTZ(chunk); in findFirst()
145 static_assert(kChunkBits <= std::numeric_limits<uint32_t>::digits, "SkCTZ"); in findFirstUnset()
146 const size_t bitIndex = i * kChunkBits + SkCTZ(chunk); in findFirstUnset()
161 static constexpr size_t kChunkBits = std::numeric_limits<Chunk>::digits; variable
162 static_assert(kChunkBits == sizeof(Chunk)*CHAR_BIT, "SkBitSet must use every bit in a Chunk");
166 return fChunks.get() + (index / kChunkBits); in chunkFor()
170 return (Chunk)1 << (index & (kChunkBits-1)); in ChunkMaskFor()
[all …]