/art/runtime/gc/collector/ |
D | immune_region.h | 47 return reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(begin_) < size_; in ContainsObject() 51 begin_ = begin; in SetBegin() 61 return begin_; in Begin() 74 size_ = reinterpret_cast<uintptr_t>(end_) - reinterpret_cast<uintptr_t>(begin_); in UpdateSize() 77 mirror::Object* begin_; variable
|
D | mark_sweep.cc | 842 begin_(begin), in CardScanTask() 849 uint8_t* const begin_; member in art::gc::collector::MarkSweep::CardScanTask 862 ? card_table->Scan<true>(bitmap_, begin_, end_, visitor, minimum_age_) in Run() 863 : card_table->Scan<false>(bitmap_, begin_, end_, visitor, minimum_age_); in Run() 864 VLOG(heap) << "Parallel scanning cards " << reinterpret_cast<void*>(begin_) << " - " in Run() 1003 begin_(begin), in RecursiveMarkTask() 1008 const uintptr_t begin_; member in art::gc::collector::MarkSweep::RecursiveMarkTask 1018 bitmap_->VisitMarkedRange(begin_, end_, visitor); in Run()
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 76 DCHECK(begin_ != nullptr); in Reset() 113 *start_address = begin_ + index; in AtomicBumpBack() 114 *end_address = begin_ + new_index; in AtomicBumpBack() 118 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) in AtomicBumpBack() 128 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) << "i=" << i; in AssertAllZero() 140 begin_[index].Assign(value); in PushBack() 148 return begin_[back_index_.load(std::memory_order_relaxed)].AsMirrorPtr(); in PopBack() 156 return begin_[index]; in PopFront() 181 return begin_ + front_index_.load(std::memory_order_relaxed); in Begin() 184 return begin_ + back_index_.load(std::memory_order_relaxed); in End() [all …]
|
D | space_bitmap_test.cc | 46 begin_(begin), in BitmapVerify() 50 EXPECT_TRUE(obj >= begin_); in operator ()() 56 const mirror::Object* begin_; member in art::gc::accounting::BitmapVerify
|
/art/cmdline/ |
D | token_range.h | 44 begin_(token_list_->begin()), in TokenRange() 52 begin_(token_list_->begin()), in TokenRange() 62 begin_(token_list_->begin()), 72 begin_(token_list_->begin()), in TokenRange() 79 begin_(token_list_->begin()), in TokenRange() 88 begin_(it_begin), in TokenRange() 103 begin_(token_list_->begin()), in TokenRange() 147 return begin_; in begin() 157 return std::distance(begin_, end_); in Size() 168 return *(begin_ + offset); in GetToken() [all …]
|
/art/runtime/ |
D | oat_file-inl.h | 41 return reinterpret_cast<const uint8_t*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset() 49 return reinterpret_cast<const uint8_t*>(method_header->GetCodeSizeAddr()) - begin_; in GetQuickCodeSizeOffset() 78 return static_cast<uint32_t>(vmap_table != nullptr ? vmap_table - begin_ : 0u); in GetVmapTableOffset() 86 return reinterpret_cast<const uint8_t*>(method_header->GetVmapTableOffsetAddr()) - begin_; in GetVmapTableOffsetOffset()
|
D | oat_file.h | 182 : begin_(base), code_offset_(code_offset) { in OatMethod() 201 return reinterpret_cast<T>(begin_ + offset); in GetOatPointer() 204 const uint8_t* begin_; variable 386 const uint8_t* begin_; variable
|
D | oat_file.cc | 173 begin_ = begin; in SetBegin() 322 begin_ = FindDynamicSymbolAddress("oatdata", &symbol_error_msg); in ComputeFields() 323 if (begin_ == nullptr) { in ComputeFields() 1175 if (vaddr <= context->begin_ && context->begin_ < vaddr + memsz) { in PreSetup() 1196 const uint8_t* const begin_; in PreSetup() 1720 begin_(nullptr), in OatFile() 1744 CHECK(begin_ != nullptr); in Begin() 1745 return begin_; in Begin()
|
/art/libartbase/base/ |
D | arena_allocator.cc | 196 size_t total = ptr_ - begin_; in BytesUsed() 208 begin_(nullptr), in ArenaAllocator() 218 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated() 287 begin_ = new_arena->Begin(); in AllocFromNewArena() 288 DCHECK_ALIGNED(begin_, kAlignment); in AllocFromNewArena() 289 ptr_ = begin_ + bytes; in AllocFromNewArena() 314 if (ptr >= begin_ && ptr < end_) { in Contains()
|
D | mem_map.cc | 661 std::swap(begin_, other.begin_); in SwapMembers() 673 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap() 676 CHECK(begin_ == nullptr); in MemMap() 680 CHECK(begin_ != nullptr); in MemMap() 716 DCHECK_LE(begin_ + size_, reinterpret_cast<uint8_t*>(base_begin_) + base_size_); in RemapAtEnd() 717 DCHECK_ALIGNED(begin_, kPageSize); in RemapAtEnd() 721 uint8_t* old_end = begin_ + size_; in RemapAtEnd() 728 size_t new_size = new_end - reinterpret_cast<uint8_t*>(begin_); in RemapAtEnd() 730 DCHECK_LE(begin_ + new_size, reinterpret_cast<uint8_t*>(base_begin_) + new_base_size); in RemapAtEnd() 784 DCHECK_EQ(begin_, base_begin_); in ReleaseReservedMemory() [all …]
|
D | mem_map.h | 241 return begin_; in Begin() 375 uint8_t* begin_ = nullptr; // Start of data. May be changed by AlignBy. variable
|
D | arena_allocator.h | 373 uint8_t* begin_; variable
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 226 const uint8_t* file_start = reinterpret_cast<const uint8_t*>(begin_); in CheckListSize() 388 const dex::MapList* map = reinterpret_cast<const dex::MapList*>(begin_ + header_->map_off_); in CheckMap() 510 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ 516 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ 523 if (!DecodeSignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ 590 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + idx)->class_idx_; in CheckClassDataItemField() 628 *(reinterpret_cast<const dex::MethodId*>(begin_ + header_->method_ids_off_) + idx); in CheckClassDataItemMethod() 708 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding() 925 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + index)-> in FindClassIndexAndDef() 929 (reinterpret_cast<const dex::MethodId*>(begin_ + header_->method_ids_off_) + index)-> in FindClassIndexAndDef() [all …]
|
D | dex_file_verifier.h | 51 begin_(begin), in DexFileVerifier() 210 const uint8_t* const begin_; variable
|
D | dex_file.cc | 105 : begin_(base), in DexFile() 127 CHECK(begin_ != nullptr) << GetLocation(); in DexFile() 132 CHECK_ALIGNED(begin_, alignof(Header)); in DexFile()
|
D | dex_file.h | 696 return begin_; in Begin() 811 const uint8_t* const begin_; variable
|
/art/runtime/gc/space/ |
D | region_space.h | 380 begin_(nullptr), in Region() 393 begin_ = begin; in Init() 427 DCHECK_EQ(begin_, Top()); in IsFree() 461 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge() 474 DCHECK_EQ(begin_, Top()); in IsLargeTail() 549 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes() 567 return begin_; in Begin() 583 return begin_ <= reinterpret_cast<uint8_t*>(ref) && reinterpret_cast<uint8_t*>(ref) < end_; in Contains() 593 top_.store(begin_ + num_bytes, std::memory_order_relaxed); in RecordThreadLocalAllocations() 604 uint8_t* begin_; // The begin address of the region. variable
|
D | region_space-inl.h | 496 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated() 497 return static_cast<size_t>(Top() - begin_); in BytesAllocated() 499 DCHECK_EQ(begin_, Top()); in BytesAllocated() 503 DCHECK_LE(begin_, Top()); in BytesAllocated() 508 bytes = static_cast<size_t>(Top() - begin_); in BytesAllocated() 517 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated() 521 DCHECK_EQ(begin_, Top()); in ObjectsAllocated()
|
D | malloc_space.cc | 147 SetEnd(begin_ + growth_limit); in SetGrowthLimit() 188 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace() 190 DCHECK_ALIGNED(begin_, kPageSize); in CreateZygoteSpace() 199 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace()
|
D | space.h | 270 return begin_; in Begin() 326 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) { in ContinuousSpace() 330 uint8_t* begin_; variable
|
D | large_object_space.h | 89 return begin_; in Begin() 140 uint8_t* begin_; variable
|
D | large_object_space.cc | 116 total_objects_allocated_(0), begin_(begin), end_(end) { in LargeObjectSpace() 154 if (begin_ == nullptr || begin_ > reinterpret_cast<uint8_t*>(obj)) { in Alloc() 155 begin_ = reinterpret_cast<uint8_t*>(obj); in Alloc()
|
D | bump_pointer_space.h | 91 return growth_end_ - begin_; in Capacity()
|
D | region_space.cc | 905 << reinterpret_cast<void*>(begin_) in Dump() 966 top_.store(begin_, std::memory_order_relaxed); in Clear() 973 ZeroAndProtectRegion(begin_, end_); in Clear()
|
D | rosalloc_space.cc | 432 SetEnd(begin_ + starting_size_); in Clear()
|