Lines Matching refs:uintptr_t
48 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex()
57 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask()
58 return static_cast<uintptr_t>(1) << (bit_index % kBitsPerBitmapWord); in BitIndexToMask()
80 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const;
85 uintptr_t* Begin() { in Begin()
102 static constexpr size_t kBitsPerBitmapWord = sizeof(uintptr_t) * kBitsPerByte;
111 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index);
117 uintptr_t* const bitmap_begin_;
130 static MemoryRangeBitmap* Create(const std::string& name, uintptr_t cover_begin,
131 uintptr_t cover_end);
132 static MemoryRangeBitmap* CreateFromMemMap(MemMap* mem_map, uintptr_t cover_begin,
136 ALWAYS_INLINE uintptr_t CoverBegin() const { in CoverBegin()
141 ALWAYS_INLINE uintptr_t CoverEnd() const { in CoverEnd()
146 ALWAYS_INLINE uintptr_t AddrFromBitIndex(size_t bit_index) const { in AddrFromBitIndex()
147 const uintptr_t addr = CoverBegin() + bit_index * kAlignment; in AddrFromBitIndex()
153 ALWAYS_INLINE uintptr_t BitIndexFromAddr(uintptr_t addr) const { in BitIndexFromAddr()
158 ALWAYS_INLINE bool HasAddress(const uintptr_t addr) const { in HasAddress()
162 ALWAYS_INLINE bool Set(uintptr_t addr) { in Set()
180 MemoryRangeBitmap(MemMap* mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap()
184 uintptr_t const cover_begin_;
185 uintptr_t const cover_end_;