Home
last modified time | relevance | path

Searched refs:num_bits (Results 1 – 4 of 4) sorted by relevance

/art/runtime/gc/accounting/
Dbitmap.cc27 Bitmap* Bitmap::CreateFromMemMap(MemMap* mem_map, size_t num_bits) { in CreateFromMemMap() argument
29 return new Bitmap(mem_map, num_bits); in CreateFromMemMap()
43 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap() argument
45 RoundUp(num_bits, kBitsPerBitmapWord) / kBitsPerBitmapWord * sizeof(uintptr_t), kPageSize); in AllocateMemMap()
57 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { in Create() argument
58 auto* const mem_map = AllocateMemMap(name, num_bits); in Create()
62 return CreateFromMemMap(mem_map, num_bits); in Create()
82 const size_t num_bits = (cover_end - cover_begin) / kAlignment; in Create() local
83 auto* const mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create()
84 return CreateFromMemMap(mem_map, cover_begin, num_bits); in Create()
[all …]
Dbitmap.h41 static Bitmap* Create(const std::string& name, size_t num_bits);
46 static Bitmap* CreateFromMemMap(MemMap* mem_map, size_t num_bits);
109 static MemMap* AllocateMemMap(const std::string& name, size_t num_bits);
134 size_t num_bits);
181 MemoryRangeBitmap(MemMap* mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap() argument
182 : Bitmap(mem_map, num_bits), cover_begin_(begin), cover_end_(begin + kAlignment * num_bits) { in MemoryRangeBitmap()
/art/runtime/base/
Dbit_vector.cc245 void BitVector::SetInitialBits(uint32_t num_bits) { in SetInitialBits() argument
247 if (num_bits == 0) { in SetInitialBits()
253 SetBit(num_bits - 1); in SetInitialBits()
257 for (idx = 0; idx < WordIndex(num_bits); idx++) { in SetInitialBits()
262 uint32_t rem_num_bits = num_bits & 0x1f; in SetInitialBits()
Dbit_vector.h166 void SetInitialBits(uint32_t num_bits);