/art/runtime/ |
D | mapping_table.h | 32 const uint8_t* table = encoded_table_; in TotalSize() local 33 if (table == nullptr) { in TotalSize() 36 return DecodeUnsignedLeb128(&table); in TotalSize() 41 const uint8_t* table = encoded_table_; in DexToPcSize() local 42 if (table == nullptr) { in DexToPcSize() 45 uint32_t total_size = DecodeUnsignedLeb128(&table); in DexToPcSize() 46 uint32_t pc_to_dex_size = DecodeUnsignedLeb128(&table); in DexToPcSize() 52 const uint8_t* table = encoded_table_; in FirstDexToPcPtr() local 53 if (table != nullptr) { in FirstDexToPcPtr() 54 uint32_t total_size = DecodeUnsignedLeb128(&table); in FirstDexToPcPtr() [all …]
|
D | vmap_table.h | 32 explicit VmapTable(const uint8_t* table) : table_(table) { in VmapTable() argument 37 const uint8_t* table = table_; variable 38 size_t size = DecodeUnsignedLeb128(&table); 40 uint16_t adjusted_entry = DecodeUnsignedLeb128(&table); 42 adjusted_entry = DecodeUnsignedLeb128(&table); 48 const uint8_t* table = table_; in Size() local 49 return DecodeUnsignedLeb128(&table); in Size() 64 const uint8_t* table = table_; in IsInContext() local 66 size_t end = DecodeUnsignedLeb128(&table); in IsInContext() 75 uint16_t adjusted_entry = DecodeUnsignedLeb128(&table); in IsInContext() [all …]
|
D | profiler.cc | 476 table[i] = nullptr; in ProfileSampleResults() 491 if (table[index] == nullptr) { in Put() 492 table[index] = new Map(); in Put() 494 Map::iterator i = table[index]->find(method); in Put() 495 if (i == table[index]->end()) { in Put() 496 (*table[index])[method] = 1; in Put() 580 Map *map = table[i]; in Write() 694 delete table[i]; in Clear() 695 table[i] = nullptr; in Clear()
|
D | indirect_reference_table.h | 227 explicit IrtIterator(IrtEntry* table, size_t i, size_t capacity) in IrtIterator() argument 229 : table_(table), i_(i), capacity_(capacity) { in IrtIterator()
|
D | profiler.h | 125 Map *table[kHashSize]; variable
|
/art/compiler/ |
D | gc_map_builder.h | 29 GcMapBuilder(std::vector<uint8_t>* table, size_t entries, uint32_t max_native_offset, in GcMapBuilder() argument 35 in_use_(entries), table_(table) { in GcMapBuilder() 37 table->resize((EntryWidth() * entries) + sizeof(uint32_t)); in GcMapBuilder() 39 (*table)[0] = native_offset_width_ & 7; in GcMapBuilder() 41 (*table)[0] |= (references_width_ << 3) & 0xFF; in GcMapBuilder() 42 (*table)[1] = (references_width_ >> 5) & 0xFF; in GcMapBuilder() 44 (*table)[2] = entries & 0xFF; in GcMapBuilder() 45 (*table)[3] = (entries >> 8) & 0xFF; in GcMapBuilder()
|
/art/compiler/dex/quick/mips/ |
D | call_mips.cc | 65 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargeSparseSwitch() local 67 DumpSparseSwitchTable(table); in GenLargeSparseSwitch() 72 tab_rec->table = table; in GenLargeSparseSwitch() 74 int elements = table[1]; in GenLargeSparseSwitch() 142 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargePackedSwitch() local 144 DumpPackedSwitchTable(table); in GenLargePackedSwitch() 149 tab_rec->table = table; in GenLargePackedSwitch() 151 int size = table[1]; in GenLargePackedSwitch() 160 int low_key = s4FromSwitchData(&table[2]); in GenLargePackedSwitch() 224 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenFillArrayData() local [all …]
|
/art/compiler/dex/quick/x86/ |
D | call_x86.cc | 31 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargeSparseSwitch() local 33 DumpSparseSwitchTable(table); in GenLargeSparseSwitch() 35 int entries = table[1]; in GenLargeSparseSwitch() 36 const int32_t* keys = reinterpret_cast<const int32_t*>(&table[2]); in GenLargeSparseSwitch() 64 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargePackedSwitch() local 66 DumpPackedSwitchTable(table); in GenLargePackedSwitch() 71 tab_rec->table = table; in GenLargePackedSwitch() 73 int size = table[1]; in GenLargePackedSwitch() 99 int low_key = s4FromSwitchData(&table[2]); in GenLargePackedSwitch() 138 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenFillArrayData() local [all …]
|
/art/compiler/dex/ |
D | vreg_analysis.cc | 406 void MIRGraph::DumpRegLocTable(RegLocation* table, int count) { in DumpRegLocTable() argument 412 table[i].orig_sreg, storage_name[table[i].location], in DumpRegLocTable() 413 table[i].wide ? 'W' : 'N', table[i].defined ? 'D' : 'U', in DumpRegLocTable() 414 table[i].fp ? 'F' : table[i].ref ? 'R' :'C', in DumpRegLocTable() 415 table[i].is_const ? 'c' : 'n', in DumpRegLocTable() 416 table[i].high_word ? 'H' : 'L', table[i].home ? 'h' : 't', in DumpRegLocTable() 417 table[i].reg.GetRawBits(), in DumpRegLocTable() 418 table[i].s_reg_low); in DumpRegLocTable() 424 table[i].orig_sreg, storage_name[table[i].location], in DumpRegLocTable() 425 table[i].wide ? 'W' : 'N', table[i].defined ? 'D' : 'U', in DumpRegLocTable() [all …]
|
D | mir_graph.h | 685 void DumpRegLocTable(RegLocation* table, int count);
|
/art/compiler/dex/quick/arm64/ |
D | call_arm64.cc | 47 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargeSparseSwitch() local 49 DumpSparseSwitchTable(table); in GenLargeSparseSwitch() 54 tab_rec->table = table; in GenLargeSparseSwitch() 56 uint32_t size = table[1]; in GenLargeSparseSwitch() 99 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargePackedSwitch() local 101 DumpPackedSwitchTable(table); in GenLargePackedSwitch() 106 tab_rec->table = table; in GenLargePackedSwitch() 108 uint32_t size = table[1]; in GenLargePackedSwitch() 118 int low_key = s4FromSwitchData(&table[2]); in GenLargePackedSwitch() 160 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenFillArrayData() local [all …]
|
/art/compiler/dex/quick/ |
D | codegen_util.cc | 351 MappingTable table(&encoded_mapping_table_[0]); in CodegenDump() local 353 table.PcToDexSize(), table.PcToDexBegin()); in CodegenDump() 355 table.DexToPcSize(), table.DexToPcBegin()); in CodegenDump() 560 if (tab_rec->table[0] == Instruction::kSparseSwitchSignature) { in InstallSwitchTables() 561 const int32_t* keys = reinterpret_cast<const int32_t*>(&(tab_rec->table[2])); in InstallSwitchTables() 562 for (int elems = 0; elems < tab_rec->table[1]; elems++) { in InstallSwitchTables() 574 DCHECK_EQ(static_cast<int>(tab_rec->table[0]), in InstallSwitchTables() 576 for (int elems = 0; elems < tab_rec->table[1]; elems++) { in InstallSwitchTables() 596 code_buffer_.push_back(tab_rec->table[i] & 0xFF); in InstallFillArrayData() 597 code_buffer_.push_back((tab_rec->table[i] >> 8) & 0xFF); in InstallFillArrayData() [all …]
|
D | gen_common.cc | 2045 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenSmallPackedSwitch() local 2046 const uint16_t entries = table[1]; in GenSmallPackedSwitch() 2048 const int32_t* as_int32 = reinterpret_cast<const int32_t*>(&table[2]); in GenSmallPackedSwitch() 2088 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenPackedSwitch() local 2090 DumpSparseSwitchTable(table); in GenPackedSwitch() 2093 const uint16_t entries = table[1]; in GenPackedSwitch() 2103 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenSmallSparseSwitch() local 2104 const uint16_t entries = table[1]; in GenSmallSparseSwitch() 2106 const int32_t* keys = reinterpret_cast<const int32_t*>(&table[2]); in GenSmallSparseSwitch() 2118 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenSparseSwitch() local [all …]
|
D | mir_to_lir.h | 241 const uint16_t* table; // Original dex data. member 691 void DumpSparseSwitchTable(const uint16_t* table); 692 void DumpPackedSwitchTable(const uint16_t* table);
|
/art/compiler/dex/quick/arm/ |
D | call_arm.cc | 47 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargeSparseSwitch() local 49 DumpSparseSwitchTable(table); in GenLargeSparseSwitch() 54 tab_rec->table = table; in GenLargeSparseSwitch() 56 uint32_t size = table[1]; in GenLargeSparseSwitch() 95 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenLargePackedSwitch() local 97 DumpPackedSwitchTable(table); in GenLargePackedSwitch() 102 tab_rec->table = table; in GenLargePackedSwitch() 104 uint32_t size = table[1]; in GenLargePackedSwitch() 114 int low_key = s4FromSwitchData(&table[2]); in GenLargePackedSwitch() 151 const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset; in GenFillArrayData() local [all …]
|
/art/runtime/mirror/ |
D | art_method.cc | 154 MappingTable table(entry_point != nullptr ? in ToDexPc() local 156 if (table.TotalSize() == 0) { in ToDexPc() 165 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToDexPc() 172 for (It2 cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToDexPc() 187 MappingTable table(entry_point != nullptr ? in ToNativePc() local 189 if (table.TotalSize() == 0) { in ToNativePc() 195 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToNativePc() 202 for (It2 cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToNativePc()
|
D | class.cc | 821 ObjectArray<ArtMethod>* table = GetVTableDuringLinking(); in PopulateEmbeddedImtAndVTable() local 822 CHECK(table != nullptr) << PrettyClass(this); in PopulateEmbeddedImtAndVTable() 823 SetEmbeddedVTableLength(table->GetLength()); in PopulateEmbeddedImtAndVTable() 824 for (int32_t i = 0; i < table->GetLength(); i++) { in PopulateEmbeddedImtAndVTable() 825 SetEmbeddedVTableEntry(i, table->GetWithoutChecks(i)); in PopulateEmbeddedImtAndVTable()
|
/art/test/098-ddmc/ |
D | expected.txt | 2 …ry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of mess… 14 …ry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of mess… 23 …ry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of mess…
|
/art/compiler/optimizing/ |
D | code_generator.cc | 344 MappingTable table(data_ptr); in BuildMappingTable() local 345 CHECK_EQ(table.TotalSize(), total_entries); in BuildMappingTable() 346 CHECK_EQ(table.PcToDexSize(), pc2dex_entries); in BuildMappingTable() 347 auto it = table.PcToDexBegin(); in BuildMappingTable() 348 auto it2 = table.DexToPcBegin(); in BuildMappingTable() 355 CHECK(it == table.PcToDexEnd()); in BuildMappingTable() 356 CHECK(it2 == table.DexToPcEnd()); in BuildMappingTable()
|
/art/runtime/gc/collector/ |
D | mark_compact.cc | 239 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() local 240 if (table != nullptr) { in UpdateAndMarkModUnion() 245 table->UpdateAndMarkReferences(MarkHeapReferenceCallback, this); in UpdateAndMarkModUnion() 346 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateReferences() local 347 if (table != nullptr) { in UpdateReferences() 353 table->UpdateAndMarkReferences(&UpdateHeapReferenceCallback, this); in UpdateReferences()
|
D | semi_space.cc | 321 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects() local 322 if (table != nullptr) { in MarkReachableObjects() 328 table->UpdateAndMarkReferences(MarkHeapReferenceCallback, this); in MarkReachableObjects()
|
/art/oatdump/ |
D | oatdump.cc | 777 MappingTable table(oat_method.GetMappingTable()); in DumpMappingTable() local 778 if (table.TotalSize() != 0) { in DumpMappingTable() 781 if (table.PcToDexSize() != 0) { in DumpMappingTable() 784 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingTable() 789 if (table.DexToPcSize() != 0) { in DumpMappingTable() 792 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in DumpMappingTable() 802 MappingTable table(oat_method.GetMappingTable()); in DumpMappingAtOffset() local 803 if (suspend_point_mapping && table.PcToDexSize() > 0) { in DumpMappingAtOffset() 805 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingAtOffset() 811 } else if (!suspend_point_mapping && table.DexToPcSize() > 0) { in DumpMappingAtOffset() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 1311 void LayoutCalleeSaveFrame(StackReference<mirror::ArtMethod>** m, void* sp, HandleScope** table, in LayoutCalleeSaveFrame() argument 1336 *table = reinterpret_cast<HandleScope*>(sp8_table); in LayoutCalleeSaveFrame() 1337 (*table)->SetNumberOfReferences(num_handle_scope_references_); in LayoutCalleeSaveFrame() 1355 uint8_t* LayoutJNISaveFrame(StackReference<mirror::ArtMethod>** m, void* sp, HandleScope** table, in LayoutJNISaveFrame() argument 1360 LayoutCalleeSaveFrame(m, sp, table, handle_scope_entries); in LayoutJNISaveFrame() 1373 uint32_t shorty_len, HandleScope** table, uint32_t* handle_scope_entries, in ComputeLayout() argument 1379 uint8_t* sp8 = LayoutJNISaveFrame(m, reinterpret_cast<void*>(*m), table, handle_scope_entries); in ComputeLayout() 1721 HandleScope* table = reinterpret_cast<HandleScope*>(reinterpret_cast<uint8_t*>(sp) in artQuickGenericJniEndTrampoline() local 1723 lock = table->GetHandle(0).ToJObject(); in artQuickGenericJniEndTrampoline()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 221 StringTable& table = *reinterpret_cast<StringTable*>(arg); in PreloadDexCachesStringsCallback() local 223 table[string->ToModifiedUtf8()] = string; in PreloadDexCachesStringsCallback()
|
/art/runtime/gc/ |
D | heap.cc | 2697 accounting::ModUnionTable* table = FindModUnionTableFromSpace(space); in ProcessCards() local 2699 if (table != nullptr) { in ProcessCards() 2703 table->ClearCards(); in ProcessCards()
|