Home
last modified time | relevance | path

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

12

/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.h182 : 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
Doat_file.cc173 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/
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.cc661 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 …]
Dmem_map.h241 return begin_; in Begin()
375 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.cc226 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 …]
Ddex_file_verifier.h51 begin_(begin), in DexFileVerifier()
210 const uint8_t* const begin_; variable
Ddex_file.cc105 : begin_(base), in DexFile()
127 CHECK(begin_ != nullptr) << GetLocation(); in DexFile()
132 CHECK_ALIGNED(begin_, alignof(Header)); in DexFile()
Ddex_file.h696 return begin_; in Begin()
811 const uint8_t* const begin_; variable
/art/runtime/gc/space/
Dregion_space.h380 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
Dregion_space-inl.h496 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()
Dmalloc_space.cc147 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()
Dspace.h270 return begin_; in Begin()
326 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) { in ContinuousSpace()
330 uint8_t* begin_; variable
Dlarge_object_space.h89 return begin_; in Begin()
140 uint8_t* begin_; variable
Dlarge_object_space.cc116 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()
Dbump_pointer_space.h91 return growth_end_ - begin_; in Capacity()
Dregion_space.cc905 << reinterpret_cast<void*>(begin_) in Dump()
966 top_.store(begin_, std::memory_order_relaxed); in Clear()
973 ZeroAndProtectRegion(begin_, end_); in Clear()

12