/art/runtime/gc/accounting/ |
D | atomic_stack.h | 48 DCHECK(begin_ != NULL); in Reset() 83 *start_address = &begin_[index]; in AtomicBumpBack() 84 *end_address = &begin_[new_index]; in AtomicBumpBack() 88 DCHECK_EQ(begin_[i], static_cast<T>(0)) in AtomicBumpBack() 98 DCHECK_EQ(begin_[i], static_cast<T>(0)) << "i=" << i; in AssertAllZero() 110 begin_[index] = value; in PushBack() 117 return begin_[back_index_.LoadRelaxed()]; in PopBack() 125 return begin_[index]; in PopFront() 144 return const_cast<T*>(begin_ + front_index_.LoadRelaxed()); in Begin() 148 return const_cast<T*>(begin_ + back_index_.LoadRelaxed()); in End() [all …]
|
D | space_bitmap_test.cc | 45 begin_(begin), in BitmapVerify() 49 EXPECT_TRUE(obj >= begin_); in operator ()() 55 const mirror::Object* begin_; member in art::gc::accounting::BitmapVerify
|
/art/runtime/gc/collector/ |
D | immune_region.h | 49 return reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(begin_) < size_; in ContainsObject() 52 begin_ = begin; in SetBegin() 65 size_ = reinterpret_cast<uintptr_t>(end_) - reinterpret_cast<uintptr_t>(begin_); in UpdateSize() 68 mirror::Object* begin_; variable
|
D | immune_region.cc | 47 if (space_limit <= begin_) { // Space is before the immune region. in AddContinuousSpace() 60 begin_ <= reinterpret_cast<mirror::Object*>(space->Begin()) && in ContainsSpace()
|
D | mark_sweep.cc | 695 begin_(begin), in CardScanTask() 702 byte* const begin_; member in art::gc::collector::CardScanTask 713 size_t cards_scanned = card_table->Scan(bitmap_, begin_, end_, visitor, minimum_age_); in Run() 714 VLOG(heap) << "Parallel scanning cards " << reinterpret_cast<void*>(begin_) << " - " in Run() 826 : MarkStackTask<false>(thread_pool, mark_sweep, 0, NULL), bitmap_(bitmap), begin_(begin), in RecursiveMarkTask() 832 const uintptr_t begin_; member in art::gc::collector::RecursiveMarkTask 842 bitmap_->VisitMarkedRange(begin_, end_, visitor); in Run()
|
/art/runtime/ |
D | oat_file-inl.h | 38 return reinterpret_cast<const byte*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset() 54 return reinterpret_cast<const byte*>(&method_header->code_size_) - begin_; in GetQuickCodeSizeOffset() 83 return static_cast<uint32_t>(mapping_table != nullptr ? mapping_table - begin_ : 0u); in GetMappingTableOffset() 91 return reinterpret_cast<const byte*>(&method_header->mapping_table_offset_) - begin_; in GetMappingTableOffsetOffset() 96 return static_cast<uint32_t>(vmap_table != nullptr ? vmap_table - begin_ : 0u); in GetVmapTableOffset() 104 return reinterpret_cast<const byte*>(&method_header->vmap_table_offset_) - begin_; in GetVmapTableOffsetOffset()
|
D | oat_file.cc | 51 oat_file->begin_ = elf_file->Begin() + hdr->sh_offset; in OpenWithElfFile() 62 oat_file->begin_ = &oat_contents[0]; in OpenMemory() 141 : location_(location), begin_(NULL), end_(NULL), is_executable_(is_executable), in OatFile() 167 begin_ = reinterpret_cast<byte*>(dlsym(dlopen_handle_, "oatdata")); in Dlopen() 168 if (begin_ == NULL) { in Dlopen() 173 if (requested_base != NULL && begin_ != requested_base) { in Dlopen() 176 begin_, requested_base); in Dlopen() 203 begin_ = elf_file_->FindDynamicSymbolAddress("oatdata"); in ElfFileOpen() 204 if (begin_ == NULL) { in ElfFileOpen() 208 if (requested_base != NULL && begin_ != requested_base) { in ElfFileOpen() [all …]
|
D | mem_map.cc | 478 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap() 481 CHECK(begin_ == nullptr); in MemMap() 485 CHECK(begin_ != nullptr); in MemMap() 500 DCHECK_LE(begin_ + size_, reinterpret_cast<byte*>(base_begin_) + base_size_); in RemapAtEnd() 501 DCHECK(IsAligned<kPageSize>(begin_)); in RemapAtEnd() 505 byte* old_end = begin_ + size_; in RemapAtEnd() 512 size_ = new_end - reinterpret_cast<byte*>(begin_); in RemapAtEnd() 514 DCHECK_LE(begin_ + size_, reinterpret_cast<byte*>(base_begin_) + base_size_); in RemapAtEnd()
|
D | mem_map.h | 103 return begin_; in Begin() 156 byte* const begin_; // Start of data. variable
|
D | dex_file_verifier.cc | 179 const byte* file_start = reinterpret_cast<const byte*>(begin_); in CheckListSize() 288 const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + in CheckMap() 506 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(byte), "section")) { in CheckPadding() 815 const byte* file_end = begin_ + size_; in CheckIntraStringDataItem() 1236 aligned_offset = ptr_ - begin_; in CheckIntraSectionIterate() 1310 size_t next_offset = ptr_ - begin_; in CheckIntraDataSection() 1320 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckIntraSection() 1325 ptr_ = begin_; in CheckIntraSection() 1352 ptr_ = begin_ + header_->header_size_; in CheckIntraSection() 1364 offset = ptr_ - begin_; in CheckIntraSection() [all …]
|
D | dex_file-inl.h | 29 const byte* ptr = begin_ + string_id.string_data_off_; in GetStringLength() 36 const byte* ptr = begin_ + string_id.string_data_off_; in GetStringDataAndUtf16Length()
|
D | dex_file_verifier.h | 38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location), in DexFileVerifier() 115 const byte* const begin_; variable
|
D | oat_file.h | 165 return reinterpret_cast<T>(begin_ + offset); in GetOatPointer() 168 const byte* begin_; variable 322 const byte* begin_; variable
|
D | dex_file.h | 661 const byte* addr = begin_ + class_def.interfaces_off_; in GetInterfacesList() 671 return begin_ + class_def.class_data_off_; in GetClassData() 680 const byte* addr = begin_ + code_off; in GetCodeItem() 733 const byte* addr = begin_ + proto_id.parameters_off_; in GetProtoParameters() 742 return begin_ + class_def.static_values_off_; in GetEncodedStaticFieldValuesArray() 766 return begin_ + code_item->debug_info_off_; in GetDebugInfoStream() 866 return begin_; in Begin() 948 const byte* const begin_; variable
|
D | dex_file.cc | 343 : begin_(base), in DexFile() 358 CHECK(begin_ != NULL) << GetLocation(); in DexFile()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 126 SetEnd(begin_ + growth_limit); in SetGrowthLimit() 167 DCHECK(IsAligned<accounting::CardTable::kCardSize>(begin_)); in CreateZygoteSpace() 169 DCHECK(IsAligned<kPageSize>(begin_)); in CreateZygoteSpace() 177 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace()
|
D | space.h | 250 return begin_; in Begin() 306 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) { in ContinuousSpace() 310 byte* begin_; variable
|
D | large_object_space.h | 75 return begin_; in Begin() 103 byte* begin_; variable
|
D | large_object_space.cc | 90 total_objects_allocated_(0), begin_(begin), end_(end) { in LargeObjectSpace() 125 begin_ = std::min(begin_, reinterpret_cast<byte*>(obj)); in Alloc()
|
D | bump_pointer_space.h | 85 return growth_end_ - begin_; in Capacity()
|
D | rosalloc_space.cc | 352 SetEnd(begin_ + starting_size_); in Clear()
|
/art/compiler/utils/ |
D | arena_allocator.cc | 204 begin_(nullptr), in ArenaAllocator() 215 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated() 251 ptr_ = begin_ = new_arena->Begin(); in ObtainNewArenaForAllocation()
|
D | arena_allocator.h | 194 uint8_t* begin_; variable
|