Home
last modified time | relevance | path

Searched refs:root (Results 1 – 24 of 24) sorted by relevance

/art/compiler/sea_ir/ir/
Dregions_test.cc28 sea_ir::Region* root = sg.GetNewRegion(); in TEST_F() local
33 EXPECT_TRUE(std::find(regions->begin(), regions->end(), root) != regions->end()); in TEST_F()
37 sg.AddEdge(root, then_region); in TEST_F()
38 std::vector<sea_ir::Region*>* succs = root->GetSuccessors(); in TEST_F()
43 EXPECT_EQ(root, preds->at(0)); in TEST_F()
45 sg.AddEdge(root, else_region); in TEST_F()
46 succs = root->GetSuccessors(); in TEST_F()
52 EXPECT_EQ(root, preds->at(0)); in TEST_F()
55 EXPECT_EQ(root, preds->at(0)); in TEST_F()
/art/runtime/
Dintern_table.cc61 for (auto& root : new_strong_intern_roots_) { in VisitRoots() local
62 mirror::String* old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
63 root.VisitRoot(callback, arg, RootInfo(kRootInternedString)); in VisitRoots()
64 mirror::String* new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
154 mirror::Object* root = image_space->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); in AddImageStringsToTable() local
155 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>(); in AddImageStringsToTable()
185 mirror::Object* root = image->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); in LookupStringFromImage() local
186 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>(); in LookupStringFromImage()
279 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) const { in operator ()()
283 return static_cast<size_t>(root.Read()->GetHashCode()); in operator ()()
Dread_barrier-inl.h47 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root) { in BarrierForRoot() argument
48 MirrorType* ref = *root; in BarrierForRoot()
Dcommon_runtime_test.cc119 std::string root; in SetUpAndroidRoot() local
122 root += android_build_top; in SetUpAndroidRoot()
127 root += cwd; in SetUpAndroidRoot()
131 root += "/out/host/linux-x86"; in SetUpAndroidRoot()
133 root += "/out/host/darwin-x86"; in SetUpAndroidRoot()
137 setenv("ANDROID_ROOT", root.c_str(), 1); in SetUpAndroidRoot()
Dread_barrier.h46 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root)
Dreference_table.cc246 for (GcRoot<mirror::Object>& root : entries_) { in VisitRoots()
247 root.VisitRoot(visitor, arg, root_info); in VisitRoots()
Dgc_root.h71 typedef void (RootCallback)(mirror::Object** root, void* arg, const RootInfo& root_info);
Dintern_table.h102 std::size_t operator()(const GcRoot<mirror::String>& root) const NO_THREAD_SAFETY_ANALYSIS;
Dclass_linker.cc1708 for (GcRoot<mirror::Class>& root : class_table_) { in VisitClassRoots()
1709 root.VisitRoot(callback, arg, RootInfo(kRootStickyClass)); in VisitClassRoots()
1711 for (GcRoot<mirror::Class>& root : pre_zygote_class_table_) { in VisitClassRoots()
1712 root.VisitRoot(callback, arg, RootInfo(kRootStickyClass)); in VisitClassRoots()
1715 for (auto& root : new_class_roots_) { in VisitClassRoots() local
1716 mirror::Class* old_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots()
1717 root.VisitRoot(callback, arg, RootInfo(kRootStickyClass)); in VisitClassRoots()
1718 mirror::Class* new_ref = root.Read<kWithoutReadBarrier>(); in VisitClassRoots()
1781 for (GcRoot<mirror::Class>& root : class_table_) { in VisitClasses()
1782 if (!visitor(root.Read(), arg)) { in VisitClasses()
[all …]
Dclass_linker_test.cc367 static void TestRootVisitor(mirror::Object** root, void*, const RootInfo&) { in TestRootVisitor() argument
368 EXPECT_TRUE(*root != NULL); in TestRootVisitor()
Dclass_linker.h705 std::size_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS;
Dthread.cc2248 static void VerifyRoot(mirror::Object** root, void* /*arg*/, const RootInfo& /*root_info*/) in VerifyRoot() argument
2250 VerifyObject(*root); in VerifyRoot()
/art/runtime/gc/collector/
Dmark_sweep.h186 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
190 static void VerifyRootMarked(mirror::Object** root, void* arg, const RootInfo& root_info)
198 static void MarkRootParallelCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
222 static void VerifyImageRootVisitor(mirror::Object* root, void* arg)
248 static void VerifyRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info);
250 void VerifyRoot(const mirror::Object* root, const RootInfo& root_info) NO_THREAD_SAFETY_ANALYSIS;
Dmark_compact.cc297 mirror::Object* MarkCompact::MarkObjectCallback(mirror::Object* root, void* arg) { in MarkObjectCallback() argument
298 reinterpret_cast<MarkCompact*>(arg)->MarkObject(root); in MarkObjectCallback()
299 return root; in MarkObjectCallback()
312 void MarkCompact::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { in MarkRootCallback() argument
313 reinterpret_cast<MarkCompact*>(arg)->MarkObject(*root); in MarkRootCallback()
316 void MarkCompact::UpdateRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { in UpdateRootCallback() argument
317 mirror::Object* obj = *root; in UpdateRootCallback()
320 *root = new_obj; in UpdateRootCallback()
Dmark_compact.h117 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
120 static mirror::Object* MarkObjectCallback(mirror::Object* root, void* arg)
183 static void UpdateRootCallback(mirror::Object** root, void* arg, const RootInfo& /*root_info*/)
Dmark_sweep.cc459 void MarkSweep::MarkRootParallelCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { in MarkRootParallelCallback() argument
460 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNullParallel(*root); in MarkRootParallelCallback()
463 void MarkSweep::VerifyRootMarked(Object** root, void* arg, const RootInfo& /*root_info*/) { in VerifyRootMarked() argument
464 CHECK(reinterpret_cast<MarkSweep*>(arg)->IsMarked(*root)); in VerifyRootMarked()
467 void MarkSweep::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { in MarkRootCallback() argument
468 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNull(*root); in MarkRootCallback()
471 void MarkSweep::VerifyRootCallback(Object** root, void* arg, const RootInfo& root_info) { in VerifyRootCallback() argument
472 reinterpret_cast<MarkSweep*>(arg)->VerifyRoot(*root, root_info); in VerifyRootCallback()
475 void MarkSweep::VerifyRoot(const Object* root, const RootInfo& root_info) { in VerifyRoot() argument
477 if (heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(root) == nullptr) { in VerifyRoot()
[all …]
Dsemi_space.cc577 mirror::Object* SemiSpace::MarkObjectCallback(mirror::Object* root, void* arg) { in MarkObjectCallback() argument
578 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObjectCallback()
593 void SemiSpace::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { in MarkRootCallback() argument
594 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in MarkRootCallback()
596 if (*root != ref.AsMirrorPtr()) { in MarkRootCallback()
597 *root = ref.AsMirrorPtr(); in MarkRootCallback()
Dsemi_space.h136 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
139 static mirror::Object* MarkObjectCallback(mirror::Object* root, void* arg)
/art/
DAndroid.mk324 --android-root=$(PRODUCT_OUT)/system --include-patch-information \
374 adb root && sleep 3
381 adb root && sleep 3
388 adb root && sleep 3
395 adb root && sleep 3
405 adb root && sleep 3
415 adb root && sleep 3
425 adb root && sleep 3
435 adb root && sleep 3
445 adb root && sleep 3
/art/build/
DAndroid.oat.mk38 --host --android-root=$$(HOST_OUT) --include-patch-information
61 --android-root=$$(PRODUCT_OUT)/system --include-patch-information
/art/runtime/gc/accounting/
Dmod_union_table.cc100 void operator()(Object* root) const in operator ()()
103 DCHECK(root != NULL); in operator ()()
105 root->VisitReferences<kMovingClasses>(ref_visitor, VoidFunctor()); in operator ()()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc218 static void PreloadDexCachesStringsCallback(mirror::Object** root, void* arg, in PreloadDexCachesStringsCallback() argument
222 mirror::String* string = const_cast<mirror::Object*>(*root)->AsString(); in PreloadDexCachesStringsCallback()
/art/runtime/gc/
Dheap.cc2280 static void RootMatchesObjectVisitor(mirror::Object** root, void* arg, in RootMatchesObjectVisitor() argument
2283 if (*root == obj) { in RootMatchesObjectVisitor()
2322 static void VerifyRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info) in VerifyRootCallback() argument
2325 if (!visitor->VerifyReference(nullptr, *root, MemberOffset(0))) { in VerifyRootCallback()
2326 LOG(ERROR) << "Root " << *root << " is dead with type " << PrettyTypeOf(*root) in VerifyRootCallback()
/art/compiler/utils/
Dassembler_thumb_test.cc69 std::string root; in GetAndroidToolsDir() local
72 root += android_build_top; in GetAndroidToolsDir()
77 root += cwd; in GetAndroidToolsDir()
82 std::string toolsdir = root; in GetAndroidToolsDir()