Lines Matching refs:num_bits
28 Bitmap* Bitmap::CreateFromMemMap(MemMap* mem_map, size_t num_bits) { in CreateFromMemMap() argument
30 return new Bitmap(mem_map, num_bits); in CreateFromMemMap()
44 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap() argument
46 RoundUp(num_bits, kBitsPerBitmapWord) / kBitsPerBitmapWord * sizeof(uintptr_t), kPageSize); in AllocateMemMap()
58 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { in Create() argument
59 auto* const mem_map = AllocateMemMap(name, num_bits); in Create()
63 return CreateFromMemMap(mem_map, num_bits); in Create()
83 const size_t num_bits = (cover_end - cover_begin) / kAlignment; in Create() local
84 auto* const mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create()
85 return CreateFromMemMap(mem_map, cover_begin, num_bits); in Create()
90 MemMap* mem_map, uintptr_t begin, size_t num_bits) { in CreateFromMemMap() argument
91 return new MemoryRangeBitmap(mem_map, begin, num_bits); in CreateFromMemMap()