Searched refs:word_index (Results 1 – 3 of 3) sorted by relevance
51 uint32_t word_index = start_index / kWordBits; in FindIndex() local52 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()55 uint32_t word = bit_storage_[word_index]; in FindIndex()59 ++word_index; in FindIndex()60 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()63 word = bit_storage_[word_index]; in FindIndex()65 return word_index * 32u + CTZ(word); in FindIndex()
34 const size_t word_index = BitIndexToWordIndex(bit_index); in AtomicTestAndSetBit() local36 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()
54 static ALWAYS_INLINE constexpr T WordIndexToBitIndex(T word_index) { in WordIndexToBitIndex() argument55 return static_cast<T>(word_index * kBitsPerBitmapWord); in WordIndexToBitIndex()