Lines Matching refs:uintptr_t
39 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas()
43 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas()
46 const uintptr_t cur_word = word_atomic->load(std::memory_order_relaxed) & in byte_cas()
47 ~(static_cast<uintptr_t>(0xFF) << shift_in_bits); in byte_cas()
48 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()
49 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); in byte_cas()
73 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan()
81 (reinterpret_cast<uintptr_t>(card_end) & (sizeof(uintptr_t) - 1)); in Scan()
83 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(aligned_end); in Scan()
84 for (uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); word_cur < word_end; in Scan()
94 uintptr_t start_word = *word_cur; in Scan()
95 … uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(reinterpret_cast<uint8_t*>(word_cur))); in Scan()
98 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in Scan()
116 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan()
168 uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); in ModifyCardsAtomic()
169 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(card_end); in ModifyCardsAtomic()
172 uintptr_t expected_word; in ModifyCardsAtomic()
173 uint8_t expected_bytes[sizeof(uintptr_t)]; in ModifyCardsAtomic()
176 uintptr_t new_word; in ModifyCardsAtomic()
177 uint8_t new_bytes[sizeof(uintptr_t)]; in ModifyCardsAtomic()
188 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in ModifyCardsAtomic()
191 Atomic<uintptr_t>* atomic_word = reinterpret_cast<Atomic<uintptr_t>*>(word_cur); in ModifyCardsAtomic()
193 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in ModifyCardsAtomic()
212 uintptr_t offset = card_addr - biased_begin_; in AddrFromCard()
217 uint8_t *card_addr = biased_begin_ + (reinterpret_cast<uintptr_t>(addr) >> kCardShift); in CardFromAddr()