Home
last modified time | relevance | path

Searched refs:memory_ (Results 1 – 7 of 7) sorted by relevance

/art/libartbase/base/
Dmalloc_arena_pool.cc53 memory_ = unaligned_memory_; in MallocArena()
55 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
57 size_t head = memory_ - unaligned_memory_; in MallocArena()
60 MEMORY_TOOL_MAKE_NOACCESS(memory_ + size, tail); in MallocArena()
63 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
70 size_t head = memory_ - unaligned_memory_; in ~MallocArena()
73 MEMORY_TOOL_MAKE_UNDEFINED(memory_ + size_, tail); in ~MallocArena()
137 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
Darena_allocator.h186 return memory_; in Begin()
190 return memory_ + size_; in End()
207 return memory_ <= ptr && ptr < memory_ + bytes_allocated_; in Contains()
212 uint8_t* memory_; variable
Darena_allocator.cc188 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena()
/art/runtime/base/
Dmem_map_arena_pool.cc48 memory_ = map_.Begin(); in MemMapArena()
51 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment); in MemMapArena()
140 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
/art/compiler/optimizing/
Doptimizing_cfi_test.cc132 memory_.resize(size); in Allocate()
133 return memory_.data(); in Allocate()
136 ArrayRef<const uint8_t> GetMemory() const override { return ArrayRef<const uint8_t>(memory_); } in GetMemory()
139 std::vector<uint8_t> memory_; member in art::OptimizingCFITest::InternalCodeAllocator
Dcodegen_test_utils.h181 memory_.reset(new uint8_t[size]); in Allocate()
182 return memory_.get(); in Allocate()
187 return ArrayRef<const uint8_t>(memory_.get(), size_); in GetMemory()
192 std::unique_ptr<uint8_t[]> memory_; variable
Doptimizing_compiler.cc81 : memory_(allocator->Adapter(kArenaAllocCodeBuffer)) {} in CodeVectorAllocator()
84 memory_.resize(size); in Allocate()
85 return &memory_[0]; in Allocate()
88 ArrayRef<const uint8_t> GetMemory() const override { return ArrayRef<const uint8_t>(memory_); } in GetMemory()
89 uint8_t* GetData() { return memory_.data(); } in GetData()
92 ArenaVector<uint8_t> memory_; member in art::CodeVectorAllocator