/art/runtime/gc/collector/ |
H A D | immune_region.cc | 41 mirror::Object* space_begin = reinterpret_cast<mirror::Object*>(space->Begin()); 60 begin_ <= reinterpret_cast<mirror::Object*>(space->Begin()) &&
|
H A D | mark_compact.cc | 123 bump_pointer_ = reinterpret_cast<byte*>(space_->Begin()); 126 objects_before_forwarding_->VisitMarkedRange(reinterpret_cast<uintptr_t>(space_->Begin()), 191 "objects before forwarding", space_->Begin(), space_->Size())); 194 "objects with lock words", space_->Begin(), space_->Size())); 277 std::vector<Object*> temp(mark_stack_->Begin(), mark_stack_->End()); 362 bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), 374 objects_before_forwarding_->VisitMarkedRange(reinterpret_cast<uintptr_t>(space_->Begin()), 526 objects_before_forwarding_->VisitMarkedRange(reinterpret_cast<uintptr_t>(space_->Begin()),
|
/art/runtime/gc/space/ |
H A D | bump_pointer_space.cc | 56 : ContinuousMemMapAllocSpace(name, mem_map, mem_map->Begin(), mem_map->Begin(), mem_map->End(), 68 memset(Begin(), 0, Limit() - Begin()); 70 CHECK_NE(madvise(Begin(), Limit() - Begin(), MADV_DONTNEED), -1) << "madvise failed"; 73 SetEnd(Begin()); 86 << reinterpret_cast<void*>(Begin()) << "-" << reinterpret_cast<void*>(End()) << " - " 154 byte* pos = Begin(); 164 main_end = Begin() [all...] |
H A D | malloc_space.cc | 49 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->Begin()))); 53 Begin(), NonGrowthLimitCapacity())); 58 Begin(), NonGrowthLimitCapacity())); 139 CHECK_LE(new_end, Begin() + Capacity()); 143 CHECK_GE(original_end + increment, Begin()); 177 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" 197 byte* end = mem_map->Begin() + starting_size_; 222 << " begin=" << reinterpret_cast<void*>(Begin())
|
H A D | large_object_space.h | 74 byte* Begin() const { function in class:art::gc::space::LargeObjectSpace 83 return End() - Begin(); 88 return Begin() <= byte_obj && byte_obj < End(); 102 // Begin and end, may change as more large objects are allocated. 159 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; 165 return reinterpret_cast<uintptr_t>(Begin()) + slot * kAlignment;
|
H A D | zygote_space.cc | 50 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map->Begin()), 65 : ContinuousMemMapAllocSpace(name, mem_map, mem_map->Begin(), mem_map->End(), mem_map->End(), 72 << " begin=" << reinterpret_cast<void*>(Begin())
|
H A D | dlmalloc_space.cc | 53 void* mspace = CreateMspace(mem_map->Begin(), starting_size, initial_size); 60 byte* end = mem_map->Begin() + starting_size; 66 byte* begin = mem_map->Begin(); 293 madvise(GetMemMap()->Begin(), GetMemMap()->Size(), MADV_DONTNEED); 296 SetEnd(Begin() + starting_size_); 297 mspace_ = CreateMspace(mem_map_->Begin(), starting_size_, initial_size_);
|
H A D | large_object_space.cc | 120 mirror::Object* obj = reinterpret_cast<mirror::Object*>(mem_map->Begin()); 179 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); 291 return new FreeListSpace(name, mem_map, mem_map->Begin(), mem_map->End()); 308 allocation_info_ = reinterpret_cast<AllocationInfo*>(allocation_info_map_->Begin()); 341 DCHECK(Contains(obj)) << reinterpret_cast<void*>(Begin()) << " " << obj << " " 467 << " begin: " << reinterpret_cast<void*>(Begin()) 471 GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(Begin())); 509 if (Begin() >= End()) { 519 reinterpret_cast<uintptr_t>(Begin()),
|
H A D | bump_pointer_space.h | 43 // guaranteed to be granted, if it is required, the caller should call Begin on the returned 116 return Begin() == End(); 125 return byte_obj >= Begin() && byte_obj < End(); 169 // allocation. The main block starts at the space Begin().
|
H A D | image_space.h | 73 return *reinterpret_cast<ImageHeader*>(Begin());
|
H A D | space.h | 249 byte* Begin() const { function in class:art::gc::space::ContinuousSpace 275 return End() - Begin(); 283 return Limit() - Begin(); 290 return byte_ptr >= Begin() && byte_ptr < Limit();
|
/art/compiler/ |
H A D | elf_stripper.cc | 115 memmove(elf_file->Begin() + offset, 116 elf_file->Begin() + old_sh->sh_offset, 124 memcpy(elf_file->Begin() + offset, §ion_headers[0], section_headers_size_in_bytes);
|
H A D | elf_patcher.cc | 56 reinterpret_cast<uintptr_t>(oat_file->Begin()), cb, cb_data, error_msg); 67 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); 122 CHECK_GE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin())); 124 uintptr_t off = patch_ptr - reinterpret_cast<uintptr_t>(oat_file_->Begin()); 127 CHECK_GE(ret, reinterpret_cast<uintptr_t>(elf_file_->Begin())); 171 uintptr_t loc = patch_ptr - (reinterpret_cast<uintptr_t>(oat_file_->Begin()) + 173 CHECK_GT(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin()) + 205 uintptr_t code_base = reinterpret_cast<uintptr_t>(target_oat->Begin()); 274 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size, 280 memcpy(elf_file_->Begin() [all...] |
/art/runtime/gc/accounting/ |
H A D | card_table.cc | 71 byte* cardtable_begin = mem_map->Begin(); 95 byte* card_start = CardFromAddr(space->Begin()); 111 byte* begin = mem_map_->Begin() + offset_;
|
H A D | atomic_stack.h | 143 T* Begin() const { function in class:art::gc::accounting::AtomicStack 165 std::sort(Begin(), End()); 175 return std::binary_search(Begin(), End(), value); 179 return std::find(Begin(), End(), value) != End(); 216 byte* addr = mem_map_->Begin();
|
H A D | remembered_set.cc | 59 card_table->ModifyCardsAtomic(space_->Begin(), space_->End(), AgeCardVisitor(), card_visitor); 170 DCHECK_LE(space_->Begin(), start);
|
H A D | space_bitmap.cc | 40 uword* bitmap_begin = reinterpret_cast<uword*>(mem_map->Begin()); 100 std::copy(source_bitmap->Begin(), source_bitmap->Begin() + source_bitmap->Size() / kWordSize, Begin());
|
/art/runtime/ |
H A D | mem_map.h | 102 byte* Begin() const { function in class:art::MemMap 111 return Begin() + Size(); 127 return Begin() <= addr && addr < End();
|
H A D | oat_file.cc | 51 oat_file->begin_ = elf_file->Begin() + hdr->sh_offset; 52 oat_file->end_ = elf_file->Begin() + hdr->sh_size + hdr->sh_offset; 230 const byte* oat = Begin(); 241 Begin(), sizeof(OatHeader), GetOatHeader().GetKeyValueStoreSize(), 301 const uint8_t* dex_file_pointer = Begin() + dex_file_offset; 348 return *reinterpret_cast<const OatHeader*>(Begin()); 351 const byte* OatFile::Begin() const { function in class:art::OatFile 464 const byte* oat_class_pointer = oat_file_->Begin() + oat_class_offset; 540 return reinterpret_cast<const uint8_t*>(oat_method_offsets) - oat_file_->Begin(); 574 oat_file_->Begin(), [all...] |
H A D | elf_file.h | 55 byte* Begin() const { function in class:art::ElfFile 56 return map_->Begin(); 145 // Check whether the offset is in range, and set to target to Begin() + offset if OK.
|
H A D | elf_file.cc | 206 program_headers_start_ = Begin() + GetHeader().e_phoff; 286 Begin() + section_header->sh_offset) { 290 << " != " << reinterpret_cast<void*>(Begin() + section_header->sh_offset); 326 if (Begin() + offset >= End()) { 331 *target = Begin() + offset; 348 if (Begin() + section_header->sh_offset == source) { 354 } else if (Begin() + section_header->sh_offset == target) { 443 CHECK(map_->Begin() != nullptr) << file_->GetPath(); 445 header_ = reinterpret_cast<Elf32_Ehdr*>(map_->Begin()); 929 byte* strings = Begin() [all...] |
/art/runtime/native/ |
H A D | java_lang_DexCache.cc | 34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin()));
|
/art/compiler/utils/ |
H A D | scoped_arena_allocator.cc | 72 return top_arena_->Begin(); 87 size_t allocated = static_cast<size_t>(top_ptr_ - top_arena_->Begin()); 132 mark_ptr_ = arena_stack_->top_ptr_ = mark_arena_->Begin();
|
H A D | arena_allocator.cc | 123 memory_ = map_->Begin(); 142 memset(Begin(), 0, bytes_allocated_); 251 ptr_ = begin_ = new_arena->Begin();
|
/art/patchoat/ |
H A D | patchoat.cc | 298 if (out->WriteFully(reinterpret_cast<char*>(oat_file_->Begin()), expect) && 317 if (out->WriteFully(reinterpret_cast<char*>(image_->Begin()), expect) && 327 ImageHeader* image_header = reinterpret_cast<ImageHeader*>(image_->Begin()); 349 uintptr_t begin = reinterpret_cast<uintptr_t>(heap_->Begin()); 375 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); 378 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); 380 return reinterpret_cast<mirror::Object*>(image_->Begin() + heap_off); 480 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); 508 OatHeader* oat_header = reinterpret_cast<OatHeader*>(oat_file_->Begin() + rodata_sec->sh_offset); 584 Elf32_Sym* syms = reinterpret_cast<Elf32_Sym*>(oat_file_->Begin() [all...] |