• Home
  • Raw
  • Download

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()
83 (reinterpret_cast<uintptr_t>(card_end) & (sizeof(uintptr_t) - 1)); in Scan()
86 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(aligned_end); in Scan()
87 for (uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); word_cur < word_end; in Scan()
97 uintptr_t start_word = *word_cur; in Scan()
98 uintptr_t start = in Scan()
99 reinterpret_cast<uintptr_t>(AddrFromCard(reinterpret_cast<uint8_t*>(word_cur))); in Scan()
102 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in Scan()
120 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan()
173 uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); in ModifyCardsAtomic()
174 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(card_end); in ModifyCardsAtomic()
177 uintptr_t expected_word; in ModifyCardsAtomic()
178 uint8_t expected_bytes[sizeof(uintptr_t)]; in ModifyCardsAtomic()
181 uintptr_t new_word; in ModifyCardsAtomic()
182 uint8_t new_bytes[sizeof(uintptr_t)]; in ModifyCardsAtomic()
193 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in ModifyCardsAtomic()
196 Atomic<uintptr_t>* atomic_word = reinterpret_cast<Atomic<uintptr_t>*>(word_cur); in ModifyCardsAtomic()
198 for (size_t i = 0; i < sizeof(uintptr_t); ++i) { in ModifyCardsAtomic()
217 uintptr_t offset = card_addr - biased_begin_; in AddrFromCard()
222 uint8_t *card_addr = biased_begin_ + (reinterpret_cast<uintptr_t>(addr) >> kCardShift); in CardFromAddr()