Home
last modified time | relevance | path

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

/art/runtime/
Dmapping_table.h32 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 …]
Dvmap_table.h32 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 …]
Dprofiler.cc476 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()
Dindirect_reference_table.h227 explicit IrtIterator(IrtEntry* table, size_t i, size_t capacity) in IrtIterator() argument
229 : table_(table), i_(i), capacity_(capacity) { in IrtIterator()
Dprofiler.h125 Map *table[kHashSize]; variable
/art/compiler/
Dgc_map_builder.h29 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/
Dcall_mips.cc65 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/
Dcall_x86.cc31 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/
Dvreg_analysis.cc406 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 …]
Dmir_graph.h685 void DumpRegLocTable(RegLocation* table, int count);
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc47 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/
Dcodegen_util.cc351 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 …]
Dgen_common.cc2045 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 …]
Dmir_to_lir.h241 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/
Dcall_arm.cc47 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/
Dart_method.cc154 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()
Dclass.cc821 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/
Dexpected.txt2 …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/
Dcode_generator.cc344 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/
Dmark_compact.cc239 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()
Dsemi_space.cc321 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects() local
322 if (table != nullptr) { in MarkReachableObjects()
328 table->UpdateAndMarkReferences(MarkHeapReferenceCallback, this); in MarkReachableObjects()
/art/oatdump/
Doatdump.cc777 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/
Dquick_trampoline_entrypoints.cc1311 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/
Ddalvik_system_VMRuntime.cc221 StringTable& table = *reinterpret_cast<StringTable*>(arg); in PreloadDexCachesStringsCallback() local
223 table[string->ToModifiedUtf8()] = string; in PreloadDexCachesStringsCallback()
/art/runtime/gc/
Dheap.cc2697 accounting::ModUnionTable* table = FindModUnionTableFromSpace(space); in ProcessCards() local
2699 if (table != nullptr) { in ProcessCards()
2703 table->ClearCards(); in ProcessCards()