Home
last modified time | relevance | path

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

/art/runtime/base/
Dbit_vector-inl.h51 uint32_t word_index = start_index / kWordBits; in FindIndex() local
52 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()
/art/runtime/gc/accounting/
Dbitmap-inl.h34 const size_t word_index = BitIndexToWordIndex(bit_index); in AtomicTestAndSetBit() local
36 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() local
137 uintptr_t* address = &bitmap_begin_[word_index]; in ModifyBit()
Dbitmap.h54 static ALWAYS_INLINE constexpr T WordIndexToBitIndex(T word_index) { in WordIndexToBitIndex() argument
55 return static_cast<T>(word_index * kBitsPerBitmapWord); in WordIndexToBitIndex()