Home
last modified time | relevance | path

Searched refs:begin_ (Results 1 – 25 of 25) sorted by relevance

/art/runtime/gc/collector/
Dimmune_region.h47 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
Dmark_sweep.cc842 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()
Dimmune_spaces_test.cc36 begin_ = begin; in DummyOatFile()
/art/runtime/gc/accounting/
Datomic_stack.h76 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 …]
Dspace_bitmap_test.cc46 begin_(begin), in BitmapVerify()
50 EXPECT_TRUE(obj >= begin_); in operator ()()
56 const mirror::Object* begin_; member in art::gc::accounting::BitmapVerify
/art/cmdline/
Dtoken_range.h44 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/
Doat_file-inl.h41 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()
Doat_file.h212 : begin_(base), code_offset_(code_offset) { in OatMethod()
231 return reinterpret_cast<T>(begin_ + offset); in GetOatPointer()
234 const uint8_t* begin_; variable
394 const uint8_t* begin_; variable
Doat_file.cc174 begin_ = begin; in SetBegin()
335 begin_ = FindDynamicSymbolAddress("oatdata", &symbol_error_msg); in ComputeFields()
336 if (begin_ == nullptr) { in ComputeFields()
1260 if (vaddr <= context->begin_ && context->begin_ < vaddr + memsz) { in PreSetup()
1291 const uint8_t* const begin_; in PreSetup()
1710 begin_(nullptr), in OatFile()
1734 CHECK(begin_ != nullptr); in Begin()
1735 return begin_; in Begin()
/art/libartbase/base/
Darena_allocator.cc196 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()
Dmem_map.cc668 std::swap(begin_, other.begin_); in SwapMembers()
680 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap()
683 CHECK(begin_ == nullptr); in MemMap()
687 CHECK(begin_ != nullptr); in MemMap()
723 DCHECK_LE(begin_ + size_, reinterpret_cast<uint8_t*>(base_begin_) + base_size_); in RemapAtEnd()
724 DCHECK_ALIGNED(begin_, kPageSize); in RemapAtEnd()
728 uint8_t* old_end = begin_ + size_; in RemapAtEnd()
735 size_t new_size = new_end - reinterpret_cast<uint8_t*>(begin_); in RemapAtEnd()
737 DCHECK_LE(begin_ + new_size, reinterpret_cast<uint8_t*>(base_begin_) + new_base_size); in RemapAtEnd()
791 DCHECK_EQ(begin_, base_begin_); in ReleaseReservedMemory()
[all …]
Dmem_map.h241 return begin_; in Begin()
379 uint8_t* begin_ = nullptr; // Start of data. May be changed by AlignBy. variable
Darena_allocator.h373 uint8_t* begin_; variable
/art/libdexfile/dex/
Ddex_file_verifier.cc200 begin_(begin), in DexFileVerifier()
376 const uint8_t* const begin_; member in art::dex::DexFileVerifier
520 size_t offset = reinterpret_cast<const uint8_t*>(start) - begin_; in CheckListSize()
659 const dex::MapList* map = reinterpret_cast<const dex::MapList*>(begin_ + header_->map_off_); in CheckMap()
770 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
776 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
783 if (!DecodeSignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
847 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + idx)->class_idx_; in CheckClassDataItemField()
875 *(reinterpret_cast<const dex::MethodId*>(begin_ + header_->method_ids_off_) + idx); in CheckClassDataItemMethod()
932 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding()
[all …]
Ddex_file.cc106 : begin_(base), in DexFile()
128 CHECK(begin_ != nullptr) << GetLocation(); in DexFile()
133 CHECK_ALIGNED(begin_, alignof(Header)); in DexFile()
Ddex_file.h699 return begin_; in Begin()
814 const uint8_t* const begin_; variable
/art/runtime/gc/space/
Dregion_space-inl.h491 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated()
492 return static_cast<size_t>(Top() - begin_); in BytesAllocated()
494 DCHECK_EQ(begin_, Top()); in BytesAllocated()
498 DCHECK_LE(begin_, Top()); in BytesAllocated()
501 bytes = thread_->GetTlabEnd() - begin_; in BytesAllocated()
503 bytes = static_cast<size_t>(Top() - begin_); in BytesAllocated()
512 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated()
516 DCHECK_EQ(begin_, Top()); in ObjectsAllocated()
Dregion_space.h391 begin_(nullptr), in Region()
404 begin_ = begin; in Init()
438 DCHECK_EQ(begin_, Top()); in IsFree()
472 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge()
485 DCHECK_EQ(begin_, Top()); in IsLargeTail()
560 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes()
578 return begin_; in Begin()
594 return begin_ <= reinterpret_cast<uint8_t*>(ref) && reinterpret_cast<uint8_t*>(ref) < end_; in Contains()
603 top_.store(begin_ + num_bytes, std::memory_order_relaxed); in RecordThreadLocalAllocations()
614 uint8_t* begin_; // The begin address of the region. variable
Dmalloc_space.cc146 SetEnd(begin_ + growth_limit); in SetGrowthLimit()
187 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace()
189 DCHECK_ALIGNED(begin_, kPageSize); in CreateZygoteSpace()
198 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace()
Dspace.h270 return begin_; in Begin()
328 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) { in ContinuousSpace()
332 uint8_t* begin_; variable
Dlarge_object_space.h89 return begin_; in Begin()
141 uint8_t* begin_; variable
Dlarge_object_space.cc117 total_objects_allocated_(0), begin_(begin), end_(end) { in LargeObjectSpace()
155 if (begin_ == nullptr || begin_ > reinterpret_cast<uint8_t*>(obj)) { in Alloc()
156 begin_ = reinterpret_cast<uint8_t*>(obj); in Alloc()
Dbump_pointer_space.h91 return growth_end_ - begin_; in Capacity()
Dregion_space.cc943 << reinterpret_cast<void*>(begin_) in Dump()
1004 top_.store(begin_, std::memory_order_relaxed); in Clear()
1011 ZeroAndProtectRegion(begin_, end_); in Clear()
Drosalloc_space.cc432 SetEnd(begin_ + starting_size_); in Clear()