Lines Matching refs:mem_map
30 Bitmap* Bitmap::CreateFromMemMap(MemMap&& mem_map, size_t num_bits) { in CreateFromMemMap() argument
31 CHECK(mem_map.IsValid()); in CreateFromMemMap()
32 return new Bitmap(std::move(mem_map), num_bits); in CreateFromMemMap()
35 Bitmap::Bitmap(MemMap&& mem_map, size_t bitmap_size) in Bitmap() argument
36 : mem_map_(std::move(mem_map)), in Bitmap()
51 MemMap mem_map = MemMap::MapAnonymous(name.c_str(), in AllocateMemMap() local
56 if (UNLIKELY(!mem_map.IsValid())) { in AllocateMemMap()
59 return mem_map; in AllocateMemMap()
63 MemMap mem_map = AllocateMemMap(name, num_bits); in Create() local
64 if (UNLIKELY(!mem_map.IsValid())) { in Create()
67 return CreateFromMemMap(std::move(mem_map), num_bits); in Create()
88 MemMap mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create() local
89 CHECK(mem_map.IsValid()); in Create()
90 return CreateFromMemMap(std::move(mem_map), cover_begin, num_bits); in Create()
95 MemMap&& mem_map, uintptr_t begin, size_t num_bits) { in CreateFromMemMap() argument
96 return new MemoryRangeBitmap(std::move(mem_map), begin, num_bits); in CreateFromMemMap()