Searched refs:kLogBitsPerEl (Results 1 – 2 of 2) sorted by relevance
63 mBitmapsCount = nPages << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()78 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()84 mOwnedIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()87 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()88 ((start & kPageMask) >> kLogBitsPerEl); in initFromRanges()89 size_t nElements = (end - (start & ~kElMask) + kElMask) >> kLogBitsPerEl; in initFromRanges()101 mOwnedIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()138 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit()143 for (uint32_t j = offset + 1; j < (1 << (kLogValuesPerPage - kLogBitsPerEl)); j++) { in nextSetBit()146 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()[all …]
58 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0; in get()78 static const int kLogBitsPerEl = kLogBytesPerEl + 3; variable79 static const int kElMask = (1 << kLogBitsPerEl) - 1;