Home
last modified time | relevance | path

Searched refs:table_index (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Dimt_conflict_table.h113 uint32_t table_index = 0; in Visit() local
115 ArtMethod* interface_method = GetInterfaceMethod(table_index, pointer_size); in Visit()
119 ArtMethod* implementation_method = GetImplementationMethod(table_index, pointer_size); in Visit()
123 SetInterfaceMethod(table_index, pointer_size, updated.first); in Visit()
126 SetImplementationMethod(table_index, pointer_size, updated.second); in Visit()
128 ++table_index; in Visit()
135 uint32_t table_index = 0; in Lookup() local
137 ArtMethod* current_interface_method = GetInterfaceMethod(table_index, pointer_size); in Lookup()
142 return GetImplementationMethod(table_index, pointer_size); in Lookup()
144 ++table_index; in Lookup()
[all …]
Dindirect_reference_table.h265 static constexpr uintptr_t EncodeIndex(uint32_t table_index) { in EncodeIndex() argument
267 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kIRTSerialBits - kKindBits); in EncodeIndex()
268 return (static_cast<uintptr_t>(table_index) << kKindBits << kIRTSerialBits); in EncodeIndex()
289 constexpr uintptr_t EncodeIndirectRef(uint32_t table_index, uint32_t serial) const { in EncodeIndirectRef() argument
290 DCHECK_LT(table_index, max_entries_); in EncodeIndirectRef()
291 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_); in EncodeIndirectRef()
301 IndirectRef ToIndirectRef(uint32_t table_index) const { in ToIndirectRef() argument
302 DCHECK_LT(table_index, max_entries_); in ToIndirectRef()
303 uint32_t serial = table_[table_index].GetSerial(); in ToIndirectRef()
304 return reinterpret_cast<IndirectRef>(EncodeIndirectRef(table_index, serial)); in ToIndirectRef()
/art/runtime/jni/
Dlocal_reference_table.h392 static constexpr size_t GetTableSize(size_t table_index) { in GetTableSize() argument
394 return kSmallLrtEntries << (table_index != 0u ? table_index - 1u : 0u); in GetTableSize()
416 size_t table_index = in GetEntry() local
418 LrtEntry* table = tables_[table_index]; in GetEntry()
Dlocal_reference_table.cc614 const size_t table_index = NumTablesForSize(table_size); in Trim() local
616 mem_map_index = table_index - MaxSmallTables(); in Trim()
619 LrtEntry* table = tables_[table_index]; in Trim()
662 size_t table_index = 0u; in VisitRootsInternal() local
664 size_t count = std::min<size_t>(remaining, GetTableSize(table_index)); in VisitRootsInternal()
665 visit_table(tables_[table_index], count); in VisitRootsInternal()
666 ++table_index; in VisitRootsInternal()
/art/oatdump/
Doatdump.cc2867 size_t table_index = 0; in PrintTable() local
2869 ArtMethod* ptr = table->GetInterfaceMethod(table_index, pointer_size); in PrintTable()
2873 table_index++; in PrintTable()
3014 size_t table_index = 0; in DumpIMTForMethod() local
3016 ArtMethod* ptr2 = current_table->GetInterfaceMethod(table_index, pointer_size); in DumpIMTForMethod()
3020 table_index++; in DumpIMTForMethod()