Searched refs:word_index (Results 1 – 3 of 3) sorted by relevance
53 uint32_t word_index = start_index / kWordBits; in FindIndex() local54 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()57 uint32_t word = bit_storage_[word_index]; in FindIndex()61 ++word_index; in FindIndex()62 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()65 word = bit_storage_[word_index]; in FindIndex()67 return word_index * 32u + CTZ(word); in FindIndex()
35 const size_t word_index = BitIndexToWordIndex(bit_index); in AtomicTestAndSetBit() local37 auto* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[word_index]); in AtomicTestAndSetBit()135 const size_t word_index = BitIndexToWordIndex(bit_index); in ModifyBit() local137 uintptr_t* address = &bitmap_begin_[word_index]; in ModifyBit()
52 static ALWAYS_INLINE constexpr T WordIndexToBitIndex(T word_index) { in WordIndexToBitIndex() argument53 return static_cast<T>(word_index * kBitsPerBitmapWord); in WordIndexToBitIndex()