Home
last modified time | relevance | path

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

123

/art/runtime/
Dclass_table_test.cc89 ClassTable table; in TEST_F() local
90 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u); in TEST_F()
91 EXPECT_EQ(table.NumNonZygoteClasses(class_loader.Get()), 0u); in TEST_F()
94 table.Insert(h_X.Get()); in TEST_F()
95 EXPECT_OBJ_PTR_EQ(table.LookupByDescriptor(h_X.Get()), h_X.Get()); in TEST_F()
96 EXPECT_OBJ_PTR_EQ(table.Lookup(descriptor_x, ComputeModifiedUtf8Hash(descriptor_x)), h_X.Get()); in TEST_F()
97 EXPECT_TRUE(table.Lookup("NOT_THERE", ComputeModifiedUtf8Hash("NOT_THERE")) == nullptr); in TEST_F()
98 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u); in TEST_F()
99 EXPECT_EQ(table.NumNonZygoteClasses(class_loader.Get()), 1u); in TEST_F()
102 table.FreezeSnapshot(); in TEST_F()
[all …]
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.cc83 for (Table::InternalTable& table : strong_interns_.tables_) { in VisitRoots()
84 auto it = table.set_.FindWithHash(GcRoot<mirror::String>(old_ref), hash); in VisitRoots()
85 if (it != table.set_.end()) { in VisitRoots()
325 for (InternalTable& table : tables_) { in Remove()
326 auto it = table.set_.FindWithHash(GcRoot<mirror::String>(s), hash); in Remove()
327 if (it != table.set_.end()) { in Remove()
328 table.set_.erase(it); in Remove()
341 for (Table::InternalTable& table : MakeIterationRange(tables_.begin(), mid)) { in Find()
342 DCHECK(table.set_.FindWithHash(GcRoot<mirror::String>(s), hash) == table.set_.end()); in Find()
346 for (Table::InternalTable& table : ReverseRange(MakeIterationRange(mid, tables_.end()))) { in Find()
[all …]
Dintern_table-inl.h150 for (Table::InternalTable& table : tables) { in VisitInterns()
152 const bool visit = table.IsBootImage() ? visit_boot_images : visit_non_boot_images; in VisitInterns()
154 for (auto& intern : table.set_) { in VisitInterns()
168 for (const Table::InternalTable& table : tables) { in CountInterns() local
170 const bool visit = table.IsBootImage() ? visit_boot_images : visit_non_boot_images; in CountInterns()
172 ret += table.set_.size(); in CountInterns()
Ddebug_print.cc78 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders() local
80 << "/" << static_cast<const void*>(table); in DescribeLoaders()
85 (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
374 BitTableBase<kNumColumns> table; in Encode() local
376 table.Decode(reader); in Encode()
377 DCHECK_EQ(size(), table.NumRows()); in Encode()
379 DCHECK_EQ(column_bits[c], table.NumColumnBits(c)); in Encode()
383 DCHECK_EQ(rows_[r][c], table.Get(r, c)) << " (" << r << ", " << c << ")"; in Encode()
462 BitTableBase<1> table; in Encode() local
464 table.Decode(reader); in Encode()
[all …]
/art/runtime/oat/
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()
171 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats() argument
173 Stats& table_stats = stats[table->GetName()]; in CollectSizeStats()
175 table_stats["Header"].AddBits(region.size_in_bits() - table->DataBitSize()); in CollectSizeStats()
176 const char* const* column_names = table->GetColumnNames(); in CollectSizeStats()
177 for (size_t c = 0; c < table->NumColumns(); c++) { in CollectSizeStats()
[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/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/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/runtime/gc/accounting/
Dmod_union_table_test.cc196 std::unique_ptr<ModUnionTable> table(ModUnionTableFactory::Create( in RunTest() local
198 ASSERT_TRUE(table.get() != nullptr); in RunTest()
220 table->ProcessCards(); in RunTest()
223 table->UpdateAndMarkReferences(&collector_before); in RunTest()
231 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1))); in RunTest()
232 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj2))); in RunTest()
235 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj3))); in RunTest()
236 ASSERT_FALSE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj4))); in RunTest()
240 table->Verify(); in RunTest()
244 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/runtime/jni/
Dlocal_reference_table-inl.h77 LrtEntry* table = tables_[i]; in GetReferenceEntryIndex() local
79 if (!std::less<const LrtEntry*>()(entry, table) && in GetReferenceEntryIndex()
80 std::less<const LrtEntry*>()(entry, table + table_size)) { in GetReferenceEntryIndex()
82 dchecked_integral_cast<size_t>(entry - table); in GetReferenceEntryIndex()
/art/compiler/optimizing/
Dblock_builder.cc105 DexSwitchTable table(instruction, dex_pc); in CreateBranchTargets() local
106 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in CreateBranchTargets()
111 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in CreateBranchTargets()
181 DexSwitchTable table(instruction, dex_pc); in ConnectBasicBlocks() local
182 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in ConnectBasicBlocks()
186 if (table.ShouldBuildDecisionTree() && !s_it.IsLast()) { in ConnectBasicBlocks()
402 DexSwitchTable table(instruction, dex_pc); in InsertSynthesizedLoopsForOsr() local
403 for (DexSwitchTableIterator s_it(table); !s_it.Done(); s_it.Advance()) { in InsertSynthesizedLoopsForOsr()
/art/tools/luci/config/generated/luci-notify/email-templates/
Ddefault.template5 <table>
34 </table>
/art/tools/luci/config/
Dluci-notify.template5 <table>
34 </table>
/art/test/423-invoke-interface/
Dinfo.txt2 a conflict in our imt table.
/art/test/836-32768classes/
Dinfo.txt2 shift behavior in the type lookup table code.

123