Home
last modified time | relevance | path

Searched refs:dependents (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dcha_test.cc46 auto dependents = cha.GetDependents(METHOD1); in TEST_F() local
47 ASSERT_EQ(dependents.size(), 1u); in TEST_F()
48 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F()
49 ASSERT_EQ(dependents[0].second, METHOD_HEADER2); in TEST_F()
54 dependents = cha.GetDependents(METHOD1); in TEST_F()
55 ASSERT_EQ(dependents.size(), 2u); in TEST_F()
56 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F()
57 ASSERT_EQ(dependents[0].second, METHOD_HEADER2); in TEST_F()
58 ASSERT_EQ(dependents[1].first, METHOD3); in TEST_F()
59 ASSERT_EQ(dependents[1].second, METHOD_HEADER3); in TEST_F()
[all …]
Dcha.cc63 ListOfDependentPairs& dependents = map_it->second; in RemoveDependentsWithMethodHeaders() local
64 dependents.erase( in RemoveDependentsWithMethodHeaders()
66 dependents.begin(), in RemoveDependentsWithMethodHeaders()
67 dependents.end(), in RemoveDependentsWithMethodHeaders()
71 dependents.end()); in RemoveDependentsWithMethodHeaders()
74 if (dependents.empty()) { in RemoveDependentsWithMethodHeaders()