Home
last modified time | relevance | path

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

12

/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()
150 *start_address = begin_ + index; in BumpBack()
151 *end_address = begin_ + new_index; in BumpBack()
155 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) in BumpBack()
169 begin_[index].Assign(value); in PushBack()
178 T* ret = begin_[index].AsMirrorPtr(); in PopBack()
[all …]
Dspace_bitmap_test.cc82 begin_(begin), in BitmapVerify()
86 EXPECT_TRUE(obj >= begin_); in operator ()()
92 const mirror::Object* begin_; member in art::gc::accounting::BitmapVerify
/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_compact.cc1521 begin_(begin), in RefsUpdateVisitor()
1534 update = (!kCheckBegin || ref >= begin_) && (!kCheckEnd || ref < end_); in operator ()()
1572 uint8_t* const begin_; member in art::gc::collector::MarkCompact::RefsUpdateVisitor
2036 return data.begin_ <= to_space_start && to_space_start < data.end_; in MapProcessedPages()
3417 DCHECK_EQ(static_cast<ssize_t>(data.shadow_.Size()), data.end_ - data.begin_); in KernelPreparation()
3423 RegisterUffd(data.begin_, in KernelPreparation()
3427 KernelPrepareRangeForUffd(data.begin_, in KernelPreparation()
3433 RegisterUffd(data.begin_, in KernelPreparation()
3555 if (data.begin_ <= fault_page && data.end_ > fault_page) { in SigbusHandler()
3576 return data.begin_ <= fault_page && data.end_ > fault_page; in SigbusHandler()
[all …]
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()
1000 begin_(begin), in RecursiveMarkTask()
1005 const uintptr_t begin_; member in art::gc::collector::MarkSweep::RecursiveMarkTask
1015 bitmap_->VisitMarkedRange(begin_, end_, visitor); in Run()
Dmark_compact.h674 begin_(begin), in LinearAllocSpaceData()
680 uint8_t* begin_; variable
/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/libartbase/base/
Darena_allocator.cc192 size_t total = ptr_ - begin_; in BytesUsed()
204 begin_(nullptr), in ArenaAllocator()
214 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated()
269 begin_ = nullptr; in ResetCurrentArena()
290 begin_ = new_arena->Begin(); in AllocFromNewArena()
291 DCHECK_ALIGNED(begin_, kAlignment); in AllocFromNewArena()
292 ptr_ = begin_ + bytes; in AllocFromNewArena()
317 if (ptr >= begin_ && ptr < end_) { in Contains()
Dmem_map.cc703 std::swap(begin_, other.begin_); in SwapMembers()
715 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap()
718 CHECK(begin_ == nullptr); in MemMap()
722 CHECK(begin_ != nullptr); in MemMap()
758 DCHECK_LE(begin_ + size_, reinterpret_cast<uint8_t*>(base_begin_) + base_size_); in RemapAtEnd()
759 DCHECK_ALIGNED_PARAM(begin_, GetPageSize()); in RemapAtEnd()
763 uint8_t* old_end = begin_ + size_; in RemapAtEnd()
770 size_t new_size = new_end - reinterpret_cast<uint8_t*>(begin_); in RemapAtEnd()
772 DCHECK_LE(begin_ + new_size, reinterpret_cast<uint8_t*>(base_begin_) + new_base_size); in RemapAtEnd()
826 DCHECK_EQ(begin_, base_begin_); in ReleaseReservedMemory()
[all …]
Dmem_map.h260 return begin_; in Begin()
415 uint8_t* begin_ = nullptr; // Start of data. May be changed by AlignBy. variable
Darena_allocator.h394 uint8_t* begin_; variable
/art/runtime/oat/
Doat_file-inl.h42 return reinterpret_cast<const uint8_t*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset()
71 return static_cast<uint32_t>(vmap_table != nullptr ? vmap_table - begin_ : 0u); in GetVmapTableOffset()
98 return reinterpret_cast<const void *>(begin_ + code_offset_); in GetQuickCode()
Doat_file.h237 : begin_(base), code_offset_(code_offset) { in OatMethod()
251 const uint8_t* begin_;
433 const uint8_t* begin_; variable
Doat_file.cc183 begin_ = begin; in SetBegin()
347 begin_ = FindDynamicSymbolAddress("oatdata", &symbol_error_msg); in ComputeFields()
348 if (begin_ == nullptr) { in ComputeFields()
1458 if (vaddr <= context->begin_ && context->begin_ < vaddr + memsz) { in PreSetup()
1491 const uint8_t* const begin_; in PreSetup()
2023 begin_(nullptr), in OatFile()
2049 CHECK(begin_ != nullptr); in Begin()
2050 return begin_; in Begin()
/art/runtime/gc/space/
Dregion_space-inl.h489 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated()
490 return static_cast<size_t>(Top() - begin_); in BytesAllocated()
492 DCHECK_EQ(begin_, Top()); in BytesAllocated()
496 DCHECK_LE(begin_, Top()); in BytesAllocated()
499 bytes = thread_->GetTlabEnd() - begin_; in BytesAllocated()
501 bytes = static_cast<size_t>(Top() - begin_); in BytesAllocated()
510 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated()
514 DCHECK_EQ(begin_, Top()); in ObjectsAllocated()
Dregion_space.h398 begin_(nullptr), in Region()
411 begin_ = begin; in Init()
445 DCHECK_EQ(begin_, Top()); in IsFree()
479 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge()
492 DCHECK_EQ(begin_, Top()); in IsLargeTail()
567 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes()
585 return begin_; in Begin()
601 return begin_ <= reinterpret_cast<uint8_t*>(ref) && reinterpret_cast<uint8_t*>(ref) < end_; in Contains()
610 top_.store(begin_ + num_bytes, std::memory_order_relaxed); in RecordThreadLocalAllocations()
627 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_PARAM(begin_, gPageSize); in CreateZygoteSpace()
198 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace()
Dspace.h273 return begin_; in Begin()
331 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) { in ContinuousSpace()
335 uint8_t* begin_; variable
Dlarge_object_space.h89 return begin_; in Begin()
153 uint8_t* begin_; variable
Dlarge_object_space.cc119 total_objects_allocated_(0), begin_(begin), end_(end) { in LargeObjectSpace()
160 if (begin_ == nullptr || begin_ > reinterpret_cast<uint8_t*>(obj)) { in Alloc()
161 begin_ = reinterpret_cast<uint8_t*>(obj); in Alloc()
Dbump_pointer_space.h101 return growth_end_ - begin_; in Capacity()
Dregion_space.cc961 << reinterpret_cast<void*>(begin_) in Dump()
1022 top_.store(begin_, std::memory_order_relaxed); in Clear()
1029 ZeroAndProtectRegion(begin_, end_, /* release_eagerly= */ true); in Clear()
Dimage_space.cc2390 : diff_(diff), begin_(begin), size_(size) {} in SimpleRelocateVisitor()
2415 return raw_ptr - begin_ < size_; in InSource()
2422 return src_ptr - begin_ < size_; in InDest()
2427 const uint32_t begin_; member in art::gc::space::ImageSpace::BootImageLoader::SimpleRelocateVisitor
2441 begin_(begin), in SplitRangeRelocateVisitor()
2443 DCHECK_NE(begin_, bound_); in SplitRangeRelocateVisitor()
2445 DCHECK_LT(bound_ - begin_, size_); in SplitRangeRelocateVisitor()
2459 return raw_ptr - begin_ < size_; in InSource()
2466 const uint32_t begin_; member in art::gc::space::ImageSpace::BootImageLoader::SplitRangeRelocateVisitor
/art/libdexfile/dex/
Ddex_file.h94 MemoryDexFileContainer(const uint8_t* begin, const uint8_t* end) : begin_(begin), end_(end) {} in MemoryDexFileContainer()
95 MemoryDexFileContainer(const uint8_t* begin, size_t size) : begin_(begin), end_(begin + size) {} in MemoryDexFileContainer()
99 const uint8_t* Begin() const override { return begin_; } in Begin()
103 const uint8_t* const begin_;
811 const uint8_t* Begin() const { return begin_; } in Begin()
941 const uint8_t* const begin_; variable
Ddex_file.cc139 size_t size = container->End() - begin_; in GetSection()
145 if (CompactDexFile::IsMagicValid(begin_)) { in GetSection()
158 : begin_(base), in DexFile()
178 CHECK(begin_ != nullptr) << GetLocation(); in DexFile()
182 CHECK_ALIGNED(begin_, alignof(Header)); in DexFile()

12