Searched refs:memory_ (Results 1 – 8 of 8) sorted by relevance
/art/libartbase/base/ |
D | malloc_arena_pool.cc | 53 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()
|
D | arena_allocator.h | 186 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
|
D | arena_allocator.cc | 188 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena()
|
/art/runtime/ |
D | backtrace_helper.cc | 50 : memory_(unwindstack::Memory::CreateProcessMemory(getpid())), in UnwindHelper() 51 jit_(memory_), in UnwindHelper() 52 dex_(memory_), in UnwindHelper() 53 unwinder_(max_depth, &maps_, memory_) { in UnwindHelper() 77 std::shared_ptr<unwindstack::Memory> memory_; member
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 130 memory_.resize(size); in Allocate() 131 return memory_.data(); in Allocate() 134 ArrayRef<const uint8_t> GetMemory() const override { return ArrayRef<const uint8_t>(memory_); } in GetMemory() 137 std::vector<uint8_t> memory_; member in art::OptimizingCFITest::InternalCodeAllocator
|
D | codegen_test_utils.h | 171 memory_.reset(new uint8_t[size]); in Allocate() 172 return memory_.get(); in Allocate() 177 return ArrayRef<const uint8_t>(memory_.get(), size_); in GetMemory() 182 std::unique_ptr<uint8_t[]> memory_; variable
|
D | optimizing_compiler.cc | 80 : memory_(allocator->Adapter(kArenaAllocCodeBuffer)) {} in CodeVectorAllocator() 83 memory_.resize(size); in Allocate() 84 return &memory_[0]; in Allocate() 87 ArrayRef<const uint8_t> GetMemory() const override { return ArrayRef<const uint8_t>(memory_); } in GetMemory() 88 uint8_t* GetData() { return memory_.data(); } in GetData() 91 ArenaVector<uint8_t> memory_; member in art::CodeVectorAllocator
|
/art/runtime/base/ |
D | mem_map_arena_pool.cc | 48 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()
|