Searched refs:base_ (Results 1 – 3 of 3) sorted by relevance
/art/compiler/optimizing/ |
D | pc_relative_fixups_x86.cc | 32 base_(nullptr) {} in PCRelativeHandlerVisitor() 35 if (base_ != nullptr) { in MoveBaseIfNeeded() 39 base_->MoveBeforeFirstUserAndOutOfLoops(); in MoveBaseIfNeeded() 88 load_string->AddSpecialInput(base_); in VisitLoadString() 132 base_, in VisitNeg() 152 base_, in VisitPackedSwitch() 159 if (base_ != nullptr) { in InitializePCRelativeBasePointer() 164 base_ = new (GetGraph()->GetArena()) HX86ComputeBaseMethodAddress(); in InitializePCRelativeBasePointer() 166 entry_block->InsertInstructionBefore(base_, entry_block->GetFirstInstruction()); in InitializePCRelativeBasePointer() 167 DCHECK(base_ != nullptr); in InitializePCRelativeBasePointer() [all …]
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 54 : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity), in RosAlloc() 68 memset(base_, 0, max_capacity); in RosAlloc() 70 CHECK_EQ(madvise(base_, max_capacity, MADV_DONTNEED), 0); in RosAlloc() 75 << std::hex << (intptr_t)base_ << ", end=" in RosAlloc() 76 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc() 97 FreePageRun* free_pages = reinterpret_cast<FreePageRun*>(base_); in RosAlloc() 119 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc() 172 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages() 200 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages() 203 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages() [all …]
|
D | rosalloc.h | 83 …return reinterpret_cast<uint8_t*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footpr… in IsAtEndOfSpace() 609 DCHECK_LE(base_, addr); in ToPageMapIndex() 610 DCHECK_LT(addr, base_ + capacity_); in ToPageMapIndex() 611 size_t byte_offset = reinterpret_cast<const uint8_t*>(addr) - base_; in ToPageMapIndex() 617 DCHECK(base_ <= addr && addr < reinterpret_cast<uint8_t*>(base_) + capacity_); in RoundDownToPageMapIndex() 618 return (reinterpret_cast<uintptr_t>(addr) - reinterpret_cast<uintptr_t>(base_)) / kPageSize; in RoundDownToPageMapIndex() 696 uint8_t* base_; 771 uint8_t* Begin() { return base_; } in Begin() 773 uint8_t* End() { return base_ + capacity_; } in End()
|