Home
last modified time | relevance | path

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

123

/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 …]
Dclass_table_test.cc84 ClassTable table; in TEST_F() local
85 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u); in TEST_F()
86 EXPECT_EQ(table.NumNonZygoteClasses(class_loader.Get()), 0u); in TEST_F()
89 table.Insert(h_X.Get()); in TEST_F()
90 EXPECT_EQ(table.LookupByDescriptor(h_X.Get()), h_X.Get()); in TEST_F()
91 EXPECT_EQ(table.Lookup(descriptor_x, ComputeModifiedUtf8Hash(descriptor_x)), h_X.Get()); in TEST_F()
92 EXPECT_EQ(table.Lookup("NOT_THERE", ComputeModifiedUtf8Hash("NOT_THERE")), nullptr); in TEST_F()
93 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u); in TEST_F()
94 EXPECT_EQ(table.NumNonZygoteClasses(class_loader.Get()), 1u); in TEST_F()
97 table.FreezeSnapshot(); in TEST_F()
[all …]
Dtype_lookup_table_test.cc36 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); in TEST_F() local
37 ASSERT_NE(nullptr, table.get()); in TEST_F()
38 ASSERT_NE(nullptr, table->RawData()); in TEST_F()
39 ASSERT_EQ(32U, table->RawDataLength()); in TEST_F()
45 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); in TEST_P() local
46 ASSERT_NE(nullptr, table.get()); in TEST_P()
50 uint32_t class_def_idx = table->Lookup(descriptor, hash); in TEST_P()
Dbytecode_utils.h63 const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset; in DexSwitchTable() local
64 DCHECK_EQ(table[0], sparse_ ? static_cast<uint16_t>(Instruction::kSparseSwitchSignature) in DexSwitchTable()
66 num_entries_ = table[1]; in DexSwitchTable()
67 values_ = reinterpret_cast<const int32_t*>(&table[2]); in DexSwitchTable()
135 explicit DexSwitchTableIterator(const DexSwitchTable& table) in DexSwitchTableIterator() argument
136 : table_(table), in DexSwitchTableIterator()
Dintern_table.cc393 for (UnorderedSet& table : tables_) { in WriteToMemory()
394 for (GcRoot<mirror::String>& string : table) { in WriteToMemory()
405 for (UnorderedSet& table : tables_) { in Remove()
406 auto it = table.Find(GcRoot<mirror::String>(s)); in Remove()
407 if (it != table.end()) { in Remove()
408 table.Erase(it); in Remove()
417 for (UnorderedSet& table : tables_) { in Find()
418 auto it = table.Find(GcRoot<mirror::String>(s)); in Find()
419 if (it != table.end()) { in Find()
428 for (UnorderedSet& table : tables_) { in Find()
[all …]
Dimage-inl.h74 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos); in VisitPackedImtConflictTables() local
75 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) { in VisitPackedImtConflictTables()
78 pos += table->ComputeSize(pointer_size); in VisitPackedImtConflictTables()
/art/runtime/gc/accounting/
Dmod_union_table_test.cc194 std::unique_ptr<ModUnionTable> table(ModUnionTableFactory::Create( in RunTest() local
196 ASSERT_TRUE(table.get() != nullptr); in RunTest()
218 table->ProcessCards(); in RunTest()
221 table->UpdateAndMarkReferences(&collector_before); in RunTest()
229 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1))); in RunTest()
230 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj2))); in RunTest()
233 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj3))); in RunTest()
234 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj4))); in RunTest()
238 table->Verify(); in RunTest()
242 table->Dump(oss); in RunTest()
[all …]
/art/compiler/dex/
Ddex_to_dex_decompiler_test.cc99 ArrayRef<const uint8_t> table; in RunTest() local
101 table = compiled_method->GetVmapTable(); in RunTest()
104 *it.GetMethodCodeItem(), table, /* decompile_return_instruction */ true); in RunTest()
111 ArrayRef<const uint8_t> table; in RunTest() local
113 table = compiled_method->GetVmapTable(); in RunTest()
116 *it.GetMethodCodeItem(), table, /* decompile_return_instruction */ true); in RunTest()
/art/tools/ahat/src/
DSizeTable.java44 static void table(Doc doc, Column left, boolean showDiff, Column... columns) { in table() method in SizeTable
54 doc.table(cols.toArray(new Column[cols.size()])); in table()
85 static void table(Doc doc, boolean showDiff, Column... columns) { in table() method in SizeTable
88 table(doc, new Column("", Column.Align.LEFT, false), showDiff, columns); in table()
DDoc.java58 void table(Column... columns); in table() method
71 void table(DocString description, List<Column> subcols, List<Column> cols); in table() method
DSitePrinter.java35 HeapTable.TableConfig<Site> table = new HeapTable.TableConfig<Site>() { in printSite() local
61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
Dstyle.css32 table td {
38 table th {
DSiteHandler.java57 HeapTable.TableConfig<Site> table = new HeapTable.TableConfig<Site>() { in handle() local
79 HeapTable.render(doc, query, SITES_CALLED_ID, table, mSnapshot, children); in handle()
83 SizeTable.table(doc, mSnapshot.isDiffed(), in handle()
DObjectHandler.java92 SizeTable.table(doc, new Column(""), inst != base && !base.isPlaceHolder()); in handle()
122 doc.table( in printArrayElements()
166 doc.table( in printFields()
224 doc.table(new Column("Object")); in printReferences()
236 doc.table(new Column("Object")); in printReferences()
266 doc.table(new Column(""), new Column("Path Element")); in printGcRootPath()
DHtmlDoc.java81 public void table(Column... columns) { in table() method in HtmlDoc
102 public void table(DocString description, List<Column> subcols, List<Column> cols) { in table() method in HtmlDoc
/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/
Dblock_builder.cc87 DexSwitchTable table(instruction, dex_pc); in CreateBranchTargets() local
88 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in CreateBranchTargets()
93 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in CreateBranchTargets()
170 DexSwitchTable table(instruction, dex_pc); in ConnectBasicBlocks() local
171 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in ConnectBasicBlocks()
175 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in ConnectBasicBlocks()
/art/test/423-invoke-interface/
Dinfo.txt2 a conflict in our imt table.
/art/compiler/driver/
Dcompiled_method_storage.h58 const LengthPrefixedArray<uint8_t>* DeduplicateVMapTable(const ArrayRef<const uint8_t>& table);
59 void ReleaseVMapTable(const LengthPrefixedArray<uint8_t>* table);
Dcompiled_method_storage.cc220 const ArrayRef<const uint8_t>& table) { in DeduplicateVMapTable() argument
221 return AllocateOrDeduplicateArray(table, &dedupe_vmap_table_); in DeduplicateVMapTable()
224 void CompiledMethodStorage::ReleaseVMapTable(const LengthPrefixedArray<uint8_t>* table) { in ReleaseVMapTable() argument
225 ReleaseArrayIfNotDeduplicated(table); in ReleaseVMapTable()
/art/runtime/interpreter/mterp/
DREADME.txt23 handler-style <computed-goto|jump-table>
27 be done via table-start-address + (opcode * handler-size). With
28 jump-table style, handlers may be of any length, and the generated
29 table is an array of pointers to the handlers. This command is required,
35 this will need to be a power of 2. For jump-table implementations,
48 jump table (for jump-table interpreters).
77 in the alternate handler table. The opcode definition will come from
137 In jump table implementations, %break is ignored.
189 located at the base of the handler table + (opcode * 128).
/art/test/589-super-imt/
Dinfo.txt2 subclass won't use the ImtConflictTable table of its super class.
/art/test/155-java-set-resolved-type/
Dinfo.txt2 type in the dex cache while it was not in the class loader's class table.
/art/test/158-app-image-class-table/
Dinfo.txt1 Regression test for app image class table being erroneously omitted
/art/test/501-regression-packed-switch/
Dinfo.txt3 Regression test for the arm64 mterp miscalculating the switch table

123