Searched refs:memory_ (Results 1 – 5 of 5) sorted by relevance
189 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena()214 memory_ = unaligned_memory_; in MallocArena()216 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()218 size_t head = memory_ - unaligned_memory_; in MallocArena()221 MEMORY_TOOL_MAKE_NOACCESS(memory_ + size, tail); in MallocArena()224 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment); in MallocArena()231 size_t head = memory_ - unaligned_memory_; in ~MallocArena()234 MEMORY_TOOL_MAKE_UNDEFINED(memory_ + size_, tail); in ~MallocArena()257 memory_ = map_->Begin(); in MemMapArena()260 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment); in MemMapArena()[all …]
209 return memory_; in Begin()213 return memory_ + size_; in End()230 return memory_ <= ptr && ptr < memory_ + bytes_allocated_; in Contains()235 uint8_t* memory_; variable
139 memory_.resize(size); in Allocate()140 return memory_.data(); in Allocate()143 const std::vector<uint8_t>& GetMemory() { return memory_; } in GetMemory()146 std::vector<uint8_t> memory_; member in art::OptimizingCFITest::InternalCodeAllocator
193 memory_.reset(new uint8_t[size]); in Allocate()194 return memory_.get(); in Allocate()198 uint8_t* GetMemory() const { return memory_.get(); } in GetMemory()202 std::unique_ptr<uint8_t[]> memory_; variable
78 : memory_(allocator->Adapter(kArenaAllocCodeBuffer)), in CodeVectorAllocator()83 memory_.resize(size); in Allocate()84 return &memory_[0]; in Allocate()88 const ArenaVector<uint8_t>& GetMemory() const { return memory_; } in GetMemory()89 uint8_t* GetData() { return memory_.data(); } in GetData()92 ArenaVector<uint8_t> memory_; member in art::FINAL