Searched refs:LinearAlloc (Results 1 – 4 of 4) sorted by relevance
23 LinearAlloc::LinearAlloc(ArenaPool* pool) : lock_("linear alloc"), allocator_(pool) { in LinearAlloc() function in art::LinearAlloc26 void* LinearAlloc::Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) { in Realloc()31 void* LinearAlloc::Alloc(Thread* self, size_t size) { in Alloc()36 size_t LinearAlloc::GetUsedMemory() const { in GetUsedMemory()41 ArenaPool* LinearAlloc::GetArenaPool() { in GetArenaPool()46 bool LinearAlloc::Contains(void* ptr) const { in Contains()
27 class LinearAlloc {29 explicit LinearAlloc(ArenaPool* pool);54 DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
76 class LinearAlloc; variable539 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()626 std::unique_ptr<LinearAlloc> linear_alloc_;
911 linear_alloc_.reset(new LinearAlloc(low_4gb_arena_pool_.get())); in Init()913 linear_alloc_.reset(new LinearAlloc(arena_pool_.get())); in Init()