Lines Matching refs:size_t
39 static Bitmap* Create(const std::string& name, size_t num_bits);
44 static Bitmap* CreateFromMemMap(MemMap&& mem_map, size_t num_bits);
47 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex()
60 ALWAYS_INLINE bool SetBit(size_t bit_index) { in SetBit()
64 ALWAYS_INLINE bool ClearBit(size_t bit_index) { in ClearBit()
68 ALWAYS_INLINE bool TestBit(size_t bit_index) const;
71 ALWAYS_INLINE bool AtomicTestAndSetBit(size_t bit_index);
79 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const;
89 size_t BitmapSize() const { in BitmapSize()
94 ALWAYS_INLINE void CheckValidBitIndex(size_t bit_index) const { in CheckValidBitIndex()
101 static constexpr size_t kBitsPerBitmapWord = sizeof(uintptr_t) * kBitsPerByte;
103 Bitmap(MemMap&& mem_map, size_t bitmap_size);
107 static MemMap AllocateMemMap(const std::string& name, size_t num_bits);
119 const size_t bitmap_size_;
126 template<size_t kAlignment>
132 MemMap&& mem_map, uintptr_t cover_begin, size_t num_bits);
145 ALWAYS_INLINE uintptr_t AddrFromBitIndex(size_t bit_index) const { in AddrFromBitIndex()
165 ALWAYS_INLINE bool Clear(size_t addr) { in Clear()
169 ALWAYS_INLINE bool Test(size_t addr) const { in Test()
174 ALWAYS_INLINE bool AtomicTestAndSet(size_t addr) { in AtomicTestAndSet()
179 MemoryRangeBitmap(MemMap&& mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap()