Lines Matching refs:uintptr_t
47 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex()
56 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask()
57 return static_cast<uintptr_t>(1) << (bit_index % kBitsPerBitmapWord); in BitIndexToMask()
79 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const;
84 uintptr_t* Begin() const { in Begin()
110 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index);
118 uintptr_t* const bitmap_begin_;
132 const std::string& name, uintptr_t cover_begin, uintptr_t cover_end);
134 MemMap&& mem_map, uintptr_t cover_begin, size_t num_bits);
137 ALWAYS_INLINE uintptr_t CoverBegin() const { in CoverBegin()
142 ALWAYS_INLINE uintptr_t CoverEnd() const { in CoverEnd()
147 ALWAYS_INLINE uintptr_t AddrFromBitIndex(size_t bit_index) const { in AddrFromBitIndex()
148 const uintptr_t addr = CoverBegin() + bit_index * kAlignment; in AddrFromBitIndex()
154 ALWAYS_INLINE uintptr_t BitIndexFromAddr(uintptr_t addr) const { in BitIndexFromAddr()
155 uintptr_t result = (addr - CoverBegin()) / kAlignment; in BitIndexFromAddr()
160 ALWAYS_INLINE bool HasAddress(const uintptr_t addr) const { in HasAddress()
173 ALWAYS_INLINE bool Set(uintptr_t addr) { in Set()
177 ALWAYS_INLINE bool Clear(uintptr_t addr) { in Clear()
181 ALWAYS_INLINE bool Test(uintptr_t addr) const { in Test()
186 ALWAYS_INLINE bool AtomicTestAndSet(uintptr_t addr) { in AtomicTestAndSet()
191 MemoryRangeBitmap(MemMap&& mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap()
195 uintptr_t const cover_begin_;