Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 61) 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_OBJ_PTR_EQ(table.LookupByDescriptor(h_X.Get()), h_X.Get()); in TEST_F()
91 EXPECT_OBJ_PTR_EQ(table.Lookup(descriptor_x, ComputeModifiedUtf8Hash(descriptor_x)), h_X.Get()); in TEST_F()
92 EXPECT_TRUE(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 …]
Dstack_map.cc39 auto& table = this->*member_pointer; in CodeInfo() local
44 table.Decode(reader2); in CodeInfo()
45 callback(i, &table, reader2.GetReadRegion()); in CodeInfo()
48 table.Decode(reader); in CodeInfo()
49 callback(i, &table, reader.GetReadRegion().Subregion(bit_offset)); in CodeInfo()
224 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats() argument
226 Stats& table_stats = stats[table->GetName()]; in CollectSizeStats()
228 table_stats["Header"].AddBits(region.size_in_bits() - table->DataBitSize()); in CollectSizeStats()
229 const char* const* column_names = table->GetColumnNames(); in CollectSizeStats()
230 for (size_t c = 0; c < table->NumColumns(); c++) { in CollectSizeStats()
[all …]
Dintern_table-inl.h131 for (Table::InternalTable& table : tables) { in VisitInterns()
134 (visit_boot_images && table.IsBootImage()) || in VisitInterns()
135 (visit_non_boot_images && !table.IsBootImage()); in VisitInterns()
137 for (auto& intern : table.set_) { in VisitInterns()
152 for (const Table::InternalTable& table : tables) { in CountInterns() local
155 (visit_boot_images && table.IsBootImage()) || in CountInterns()
156 (visit_non_boot_images && !table.IsBootImage()); in CountInterns()
158 ret += table.set_.size(); in CountInterns()
Dalloc_instrumentation.md2 checks for both allocation instrumentation and allocator changes by a single function table
6 When we call an allocation routine, we always indirect through a thread-local function table that
11 The function table is thread-local. There appears to be no logical necessity for that; it just
14 - The function table is switched out by `InstrumentQuickAllocEntryPoints[Locked]`, and a
21 the function table.
23 Mutual exclusion in the dispatch table is thus ensured by the fact that it is only updated while
29 1. Suspend all threads when swapping out the dispatch table, and
Dintern_table.cc311 for (InternalTable& table : tables_) { in Remove()
312 auto it = table.set_.find(GcRoot<mirror::String>(s)); in Remove()
313 if (it != table.set_.end()) { in Remove()
314 table.set_.erase(it); in Remove()
323 for (InternalTable& table : tables_) { in Find()
324 auto it = table.set_.find(GcRoot<mirror::String>(s)); in Find()
325 if (it != table.set_.end()) { in Find()
334 for (InternalTable& table : tables_) { in Find()
335 auto it = table.set_.find(string); in Find()
336 if (it != table.set_.end()) { in Find()
[all …]
Dquicken_info.h68 QuickenInfoTable table(data); in SizeInBytes()
69 return table.data_ + table.NumIndices() * 2 - data.data(); in SizeInBytes()
Ddebug_print.cc80 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders() local
82 << "/" << static_cast<const void*>(table); in DescribeLoaders()
87 (table != nullptr) ? table->Lookup(class_descriptor, hash) : nullptr; in DescribeLoaders()
/art/libartbase/base/
Dbit_table_test.cc40 BitTableBase<1> table(reader); in TEST() local
42 EXPECT_EQ(0u, table.NumRows()); in TEST()
61 BitTableBase<1> table(reader); in TEST() local
63 EXPECT_EQ(4u, table.NumRows()); in TEST()
64 EXPECT_EQ(42u, table.Get(0)); in TEST()
65 EXPECT_EQ(kNoValue, table.Get(1)); in TEST()
66 EXPECT_EQ(1000u, table.Get(2)); in TEST()
67 EXPECT_EQ(kNoValue, table.Get(3)); in TEST()
68 EXPECT_EQ(10u, table.NumColumnBits(0)); in TEST()
84 BitTableBase<1> table(reader); in TEST() local
[all …]
Dbit_table.h112 BitTableAccessor(const BitTableBase<kNumColumns>* table, uint32_t row) in BitTableAccessor() argument
113 : table_(table), row_(row) { in BitTableAccessor()
164 const_iterator(const BitTable* table, uint32_t row) : table_(table), row_(row) {} in const_iterator() argument
372 BitTableBase<kNumColumns> table; in Encode() local
374 table.Decode(reader); in Encode()
375 DCHECK_EQ(size(), table.NumRows()); in Encode()
377 DCHECK_EQ(column_bits[c], table.NumColumnBits(c)); in Encode()
381 DCHECK_EQ(rows_[r][c], table.Get(r, c)) << " (" << r << ", " << c << ")"; in Encode()
459 BitTableBase<1> table; in Encode() local
461 table.Decode(reader); in Encode()
[all …]
/art/libdexfile/dex/
Dtype_lookup_table_test.cc33 TypeLookupTable table = TypeLookupTable::Create(*dex_file); in TEST_F() local
34 ASSERT_TRUE(table.Valid()); in TEST_F()
35 ASSERT_NE(nullptr, table.RawData()); in TEST_F()
36 ASSERT_EQ(32U, table.RawDataLength()); in TEST_F()
41 TypeLookupTable table(TypeLookupTable::Create(*dex_file)); in TEST_P() local
42 ASSERT_TRUE(table.Valid()); in TEST_P()
46 uint32_t class_def_idx = table.Lookup(descriptor, hash); in TEST_P()
Dbytecode_utils.h34 const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset; in DexSwitchTable() local
35 DCHECK_EQ(table[0], sparse_ ? static_cast<uint16_t>(Instruction::kSparseSwitchSignature) in DexSwitchTable()
37 num_entries_ = table[1]; in DexSwitchTable()
38 values_ = reinterpret_cast<const int32_t*>(&table[2]); in DexSwitchTable()
106 explicit DexSwitchTableIterator(const DexSwitchTable& table) in DexSwitchTableIterator() argument
107 : table_(table), in DexSwitchTableIterator()
/art/test/928-jni-table/
DAndroid.bp3 // Build rules for ART run-test `928-jni-table`.
16 name: "art-run-test-928-jni-table",
21 ":art-run-test-928-jni-table-expected-stdout",
22 ":art-run-test-928-jni-table-expected-stderr",
28 name: "art-run-test-928-jni-table-expected-stdout",
29 out: ["art-run-test-928-jni-table-expected-stdout.txt"],
36 name: "art-run-test-928-jni-table-expected-stderr",
37 out: ["art-run-test-928-jni-table-expected-stderr.txt"],
/art/test/1911-get-local-var-table/
DAndroid.bp3 // Build rules for ART run-test `1911-get-local-var-table`.
16 name: "art-run-test-1911-get-local-var-table",
21 ":art-run-test-1911-get-local-var-table-expected-stdout",
22 ":art-run-test-1911-get-local-var-table-expected-stderr",
28 name: "art-run-test-1911-get-local-var-table-expected-stdout",
29 out: ["art-run-test-1911-get-local-var-table-expected-stdout.txt"],
36 name: "art-run-test-1911-get-local-var-table-expected-stderr",
37 out: ["art-run-test-1911-get-local-var-table-expected-stderr.txt"],
Dinfo.txt1 Tests getting local variable table from JVMTI
/art/test/158-app-image-class-table/
DAndroid.bp3 // Build rules for ART run-test `158-app-image-class-table`.
16 name: "art-run-test-158-app-image-class-table",
21 ":art-run-test-158-app-image-class-table-expected-stdout",
22 ":art-run-test-158-app-image-class-table-expected-stderr",
28 name: "art-run-test-158-app-image-class-table-expected-stdout",
29 out: ["art-run-test-158-app-image-class-table-expected-stdout.txt"],
36 name: "art-run-test-158-app-image-class-table-expected-stderr",
37 out: ["art-run-test-158-app-image-class-table-expected-stderr.txt"],
/art/runtime/gc/accounting/
Dmod_union_table_test.cc195 std::unique_ptr<ModUnionTable> table(ModUnionTableFactory::Create( in RunTest() local
197 ASSERT_TRUE(table.get() != nullptr); in RunTest()
219 table->ProcessCards(); in RunTest()
222 table->UpdateAndMarkReferences(&collector_before); in RunTest()
230 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1))); in RunTest()
231 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj2))); in RunTest()
234 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj3))); in RunTest()
235 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj4))); in RunTest()
239 table->Verify(); in RunTest()
243 table->Dump(oss); in RunTest()
[all …]
/art/tools/ahat/src/main/com/android/ahat/
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()
DSiteHandler.java58 HeapTable.TableConfig<Site> table = new HeapTable.TableConfig<Site>() { in handle() local
80 HeapTable.render(doc, query, SITES_CALLED_ID, table, mSnapshot, children); in handle()
84 SizeTable.table(doc, mSnapshot.isDiffed(), in handle()
/art/compiler/optimizing/
Dblock_builder.cc111 DexSwitchTable table(instruction, dex_pc); in CreateBranchTargets() local
112 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in CreateBranchTargets()
117 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in CreateBranchTargets()
194 DexSwitchTable table(instruction, dex_pc); in ConnectBasicBlocks() local
195 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in ConnectBasicBlocks()
199 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in ConnectBasicBlocks()
415 DexSwitchTable table(instruction, dex_pc); in InsertSynthesizedLoopsForOsr() local
416 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in InsertSynthesizedLoopsForOsr()
/art/tools/luci/config/luci-notify/email-templates/
Ddefault.template5 <table>
34 </table>
/art/tools/ahat/etc/
Dstyle.css32 table td {
38 table th {
/art/test/423-invoke-interface/
Dinfo.txt2 a conflict in our imt table.

123