Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_vector-inl.h53 uint32_t word_index = start_index / kWordBits; in FindIndex() local
54 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()
/art/runtime/gc/accounting/
Dbitmap-inl.h35 const size_t word_index = BitIndexToWordIndex(bit_index); in AtomicTestAndSetBit() local
37 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.h52 static ALWAYS_INLINE constexpr T WordIndexToBitIndex(T word_index) { in WordIndexToBitIndex() argument
53 return static_cast<T>(word_index * kBitsPerBitmapWord); in WordIndexToBitIndex()