Lines Matching refs:visited
858 HashSet<mirror::Object*>* visited, in PruneObjectReferenceVisitor() argument
860 : image_writer_(image_writer), early_exit_(early_exit), visited_(visited), result_(result) {} in PruneObjectReferenceVisitor()
921 HashSet<mirror::Object*> visited; in PruneImageClass() local
922 return PruneImageClassInternal(klass, &early_exit, &visited); in PruneImageClass()
928 HashSet<mirror::Object*>* visited) { in PruneImageClassInternal() argument
930 DCHECK(visited != nullptr); in PruneImageClassInternal()
941 if (visited->find(klass.Ptr()) != visited->end()) { in PruneImageClassInternal()
945 visited->insert(klass.Ptr()); in PruneImageClassInternal()
966 visited); in PruneImageClassInternal()
972 visited); in PruneImageClassInternal()
985 result = result || PruneImageClassInternal(ref->AsClass(), &my_early_exit, visited); in PruneImageClassInternal()
988 result = result || PruneImageClassInternal(type, &my_early_exit, visited); in PruneImageClassInternal()
993 PruneObjectReferenceVisitor visitor(this, &my_early_exit, visited, &tmp); in PruneImageClassInternal()
1003 result = result || PruneImageClassInternal(klass->GetSuperClass(), &my_early_exit, visited); in PruneImageClassInternal()
1012 auto it = visited->find(klass.Ptr()); in PruneImageClassInternal()
1013 DCHECK(it != visited->end()); in PruneImageClassInternal()
1014 visited->erase(it); in PruneImageClassInternal()
1018 if (result == true || !my_early_exit || visited->empty()) { in PruneImageClassInternal()