Lines Matching refs:uintptr_t
49 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex()
58 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask()
59 return static_cast<uintptr_t>(1) << (bit_index % kBitsPerBitmapWord); in BitIndexToMask()
81 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const;
86 uintptr_t* Begin() { in Begin()
103 static constexpr size_t kBitsPerBitmapWord = sizeof(uintptr_t) * kBitsPerByte;
112 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index);
118 uintptr_t* const bitmap_begin_;
131 static MemoryRangeBitmap* Create(const std::string& name, uintptr_t cover_begin,
132 uintptr_t cover_end);
133 static MemoryRangeBitmap* CreateFromMemMap(MemMap* mem_map, uintptr_t cover_begin,
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()
159 ALWAYS_INLINE bool HasAddress(const uintptr_t addr) const { in HasAddress()
163 ALWAYS_INLINE bool Set(uintptr_t addr) { in Set()
181 MemoryRangeBitmap(MemMap* mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap()
185 uintptr_t const cover_begin_;
186 uintptr_t const cover_end_;